Part Number: ADS8201
Hi All,
Now, I use ADS8021 to read ADC values by SPI communication.
Do the Below Steps for Configuration Ic.
- Write 0x00 to reg 0x08 > Ads8201_SetAdcTriggerScr(ADC_IDEL);
- Write 0x00 to reg 0x04 > Ads8201_ChannelSelection(CHANNEL_0);
- Write 0x00 to reg 0x05 > Ads8201_SetAdcScr(NO_AVERAGE, EDGE_TRIGGERED, ACTIVE_LOW, INT, FIFO_BUFF_ENABLED, CONVERT_START_THROUGH_SPI);
-
Write 0x02 to reg 0x06 > Ads8201_SetInterruptScr(DISABLE_INTERRUPT, ENABLE_INTERRUPT, DISABLE_INTERRUPT, DISABLE_INTERRUPT, DISABLE_INTERRUPT);
-
Write 0x05 to reg 0x08 > Ads8201_SetAdcTriggerScr(AUTO_TRIGGER_AUTO_CHANNEL_UPDATE_SINGLE_SCAN);
-
Write 0x00 for Read ADC > Ads8201_SpiRead(Add, &data, sizeof(uint8_t));I did not Get Any data on the MISO pin.
The SPI Mode is set 1 (CPOL = 0, CPHA = 1).
PFA for cycle
Anyone know sequence to read adc value(configure + read)
Thanks and best regards.




