Tool/software: TI C/C++ Compiler
Hello Team,
Iam using an Ardino ITSYBITSY-m4 express device (from adafruit industries). and trying to connect to ADS8638 through SPI communication.
ie., itsybitsy m4 express module pins(22,11,12,13) ADS8638 pins (16,17,18, 19). Arduino IDE used.
Values not getting updated once. backend code is taken from https://github.com/atiselsts/osw/tree/master/src/chips/ads8638 and configured.
Queries:
1. Unable to read back the data from ADC.tried with reading back with inital value but reflecting as 0.
2. Used the Adruino logic
ads8638Read(&ADC_Data);
ADC_Data = ads8638RegRead(ADS8638_CHANNEL_0);
SPI.transfer(ADS8638_CHANNEL_0);
Serial.println(String(ADS8638_CHANNEL_0));
Serial.println(String(0x0c));
to read the 1st channel data (AIN0 pin)
Thanks
Suresh.