All:
I will be working with the ADS131A04, and I have some questions.
Based on the datasheet and the example code, here is what I have seen for recommended initialization:
1. Set RESET pin high.
2. Wait for nDRDY to go low, or wait ~5 msec.
3. Send NULL.
4. Receive READY.
5. Send UNLOCK.
6. Receive UNLOCKED.
7. Send D_SYS_CFG contents.
8. Verify contents of D_SYS_CFG.
9. Send CLK1
10. Verify contents of CLK1
11. Send CLK2
12. Verify contents of CLK2
13. Send ADC_ENA
14. Send WAKEUP.
15. Receive 4 values first for output buffers to fill.
Questions:
1. Does the part assume 8bit SPI mode? (with Null output between received bytes?)
2. If the A_SYS_CFG needs to be configured, is that done before D_SYS_CFG?
3. If multiple ADCs are being used, does each ADC value need to be read 4 times after initialization?
Probably more questions to come...
Regards,
Todd Anderson