Coding Raspberry Pi with an ADC - SPI -
i trying connect analogue digital converter raspberry pi. far able understand, rpi doesn't support bi-directional spi mode. adc using says spi compatible has inputs sclk, cnv , outputs clkout+ , clkout- , sd0+ , sd0-. leads me understand work bi-directional spi there serial data out. thinking of using pwm cnv (which think ce), gpio clock sclk , interrupt on falling edge of gpio clock digitally read each bit adc. don't understand spi in detail i've read quite requires sending data in order receive it. know if setup mentioned (without using spi) work? or missing spi , adc work while not in bi-directional mode?
we using raspberry pi 3 b adc - http://cds.linear.com/docs/en/datasheet/232316fa.pdf
thanks can provide.
read data sheet carefully, in particular pages 8 , 9. suggest tie cmos/lvds pin ground enable cmos mode. use "+"-pins. use sck spi clock, sd01+ spi data input rpi. connect gpio pin cnv.
observe rpi runs @ 3.3v, , adc's max rating 3v3, running ic right edge.
Comments
Post a Comment