Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I am currently trying to receive conversion data from three ADS8922B set up with the daisy-chain topology. I've read the data sheet, looked at the timing diagrams and just want to make sure I'm thinking about this correctly before I pull all of my hair out trying to make this work.
Current setup:
1) CCSv7
2) HALCoGen 4.07
3) RM48L952ZWT
I am using the MibSPI1 module to send data to, and receive data from, the daisy-chained ADCs. All connections are configured as SPI functional, with the exception of the CS pin; which is configured as a GPIO.
From what I understand, the ADC should be in SPI-00-S protocol when first powered on (which is what I want to use).
Questions:
1) Does every control register have a default value of all 0's?
2) If yes, do I still need to configure any control registers even if I plan to use their default configurations?
- Regarding data transfer, I plan on sending/receiving 11 bits at a time using the SPI 16-bit shift register.
3) Is this a proper method of sending the commands I want to use?
4) Which register on the ADC actually holds a conversion and how am I supposed to use a RD_REG to acquire that value?
5) Once I have successfully sent a RD_REG, when should I expect the response?
I know this is a lot. I plan to post some very basic code ideas that I plan to attempt as well as what I observe with my logic analyzer with respect to what I have sent.
As always, thank you for your time and consideration
Calvin