Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/ADS8638: Aurdino based Itsybitsy m4 express interfacing with AD8638 chip.

Part Number: ADS8638

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.

  • Hi Suresh,

    Can you please show me the timing plot captured with an oscilloscope and schematic? these will be helpful to address the issue. Thanks.

    Best regards,

    Dale

  • Hi Dale,

    Attached the timing plots and schematics.
    in schematics EN_U1 to EN_U12, SCK_U1 to SCK_U12, MO_U1 to MO_U12, MI_U1 to MI_U12 respectively.
    also a detail of itsybitsy m4 express schematics link in detail

    https://learn.adafruit.com/introducing-adafruit-itsybitsy-m4/downloads

    Thanks 
    Suresh



  • Hi Suresh,

    It's really difficult to check any potential issue in these videos. Would you please provide one scope shot of the digital communications lines together, including /CS, SCLK, DOUT and DIN? It will be great to have screen shots of timing that is zoomed in a closer for your writing and reading operations.

    Thanks&regards,

    Dale