What is the best mode and physical connection scheme for comm with a serial ADC? The signals are Sclk, SData, and Chip Select. It is a 24 bit data stream. I need to 1)set CS low 2)send 24 clock cycles to SClk while reading Sdata on each transition and 3) reset CS
and , of course, convert the data stream to a number.
I can do this statically with simple IO but I need to be faster (hardware controlled). I looked at pattern IO. It looks like I should be using the REQ line as the clock source and a digital in, say A0 for my data in. I guess I could use a digital out from another port for a CS, which would limit my sample rate to whatever my software could handle. I have tried to use the Serial Input vi example, but the
REQ line only goes low once, instead of clocking. Is it looking for ACK? Is there a better way? Thanks.