Other Parts Discussed in Thread: HALCOGEN
Hello,
I am now working on a TMS570ls12X launchpad, equipped with the TMS570ls1224 microcontroller.
For the use of my application, I need to communicates with and 18 bits ADC (AD7608 )
I plan to connect it on SPI3 module (no mibSPI, no parallel : simple and classical spi). I can figure out how to physically connect it (MOSI, MISO, CLCK and CS), but I'm not sure on how to actually get the data
So i would like some answers on the following generalities :
- As the ADC sends 18 bits for each channel converted, how should I configure the SPI module as the maximum word length is 16 bits ? For exemple, Is it possible to set the framesize to 9bits read two words for each conversion (I suppose this would require some "continuous" reception configuration, like enable continuous reception, get first word, disable continuous reception while getting the second word and so on ?)
- Any exemple of halcogen configuration for this ?
I'm quite lost about this, and would really appreciate your help !
Regardly,
Audry