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.

ADS1018: ADS1018 SPI setting

Part Number: ADS1018

Hi team,

My customer is using AD1018 in their design and they found if they follow the datasheet to set MODE1, CPOL = 0, CPHA = 1, it cannot communicate with our TMS320F280048. However, changing the setting to MODE0 , CPOL = 0, CPHA = 0 can establish the communication.

Could you please check if the datasheet on page 21 is wrong?

 

Thanks a lot.

 

Best Regards,

Wei-Hao

  • Wei-Hao,

    The ADS1018-Q1 datasheet is correct. CPOL=0 and the SCLK dwells low and CPHA=1 and the data should be read on the falling edge of the SCLK. I've used this device and the SPI Mode is correct.

    However, in the documentation for the TMS320F280048, you'll find that the definition of the SPI modes is different than what most manufacturers define it. If you look at the TMS320F28004x Microcontrollers Technical Reference Manual (Rev. C) on page 2217, you can find this note:

    Just in case you need the link:

    If you need to check, have the customer use an oscilloscope or logic analyzer to read the SPI coming out of the device.

    Joseph Wu