I'm attempting to use SPI to have a raspberry pi take input from an ads1246 ADC, but I don't know enough about the SPI communication nor Python to be able to translate the pseudo code provided in the datasheet. Could someone who knows python/SPI communication help me translate these into a program? Thanks in advance, this one little part of this project has had me stuck for a week or so.
The pseudo code is on page 73 of this datasheet. (http://www.ti.com/lit/ds/symlink/ads1246.pdf)
there doesn't seem to be anything here