ADS7038-Q1: Unable to establish communication with ADS7038 from TI controller F29H85X-SOM-EVM

Part Number: ADS7038-Q1
Other Parts Discussed in Thread: ADS7038, F29H85X-SOM-EVM

Hi Team

   Need an urgent support to establish establish communication with ADS7038 from TI controller F29H85X-SOM-EVM. We are always receiveing a value "2" or "1" for any given transmission request(write or read)

We verified the following on ADS7038 chip:

Supply to ADS is 5V in AVDD and DVDD

Trying to establish communication with example code of TI SPI_ex5_ext_loopback_dma with following modificaitons in code

  1. Removed loopback
  2. Changed Pins for SPI
  3. Transfer size adapted for ADS7038
  4. Rx DMA is configured
  5. Trying to read SYSTEM_STATUS register from ADS7038 and trying to write 1 in FIX_PAT to receive A5A pattern in DATA_CFG register for testing purpose

Attached below

1. code: spi_ex5_loopback_dma.c 

2. configuration in txt format spi_ex5_loopback_dma_ADS7038_syscfg.txt 

3. snippet of the picoscope.

PicoScopeImage.png

Thanks and regards

  • Hi Supritha,

    My apologies for not responding to this earlier.

    I have confirmed that register writes do not work if 32 SCLK cycles are provided. The instruction needs to be issued in 24 SCLKs.

    32 SCLKs can be used if CRC is enabled. Can you confirm whether CRC is enabled or disabled? 

    Assuming it is disabled, shortening the SPI frames from 32 SCLKs to 24 SCLKs should solve the problem.

    Regards,
    Joel