Hi,
I'm trying to pull out data from the ADS8320 (a 16-bit ADC by Analog Devices. See bottom of page 10 in
How am I supposed to do this, in an elegant way? Of course I could bit bang those lines, but I hate doing that, because it adds load to the CPU, and doesn't take advantage of the SPI and DMA.
The AT91SAM7S256 allows holding the CS low until a new device is addressed, so I could initiate two 11-bit readings in a row (in such a way that the ADC would think it is a single CS assertion with 22 clock cycles inside), and discard the bits with no information, but that's still ugly to me. It would use the SPI, but not the DMA, and the two readings would be different (the first one should hold CS low. The second one should leave it high), which is kind of non-homogeneous.
Any more elegant ideas?
Thank you.