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.

ADS1248: Communication with ADS1248

Part Number: ADS1248

Hi,

I am trying to communicate from my microcontroller over SPI to ADS1248. I am following pseudo-code mentioned in the datasheet. But I am not able to read any register. Is there any simple way just to very the ADS1248 chip is getting commands over SPI and some valuable data out to microcontroller.

Thank You

  • Hi Suraj!

    Welcome to our e2e Forum! Can you give us an idea of how have your ADS1248 connected to you micro controller? Perhaps post a schematic and maybe provide some detail (O-scope or logic analyzer) on the communications lines between the MCU and ADC?
  • Suraj,


    Here are a few quick hints that might help:

    - Make sure that START and /RESET are both high
    - The SPI is MODE 1, so that SCLK dwells low and the data is clocked in on the SCLK falling edge
    - /CS should stay low through the entire communication, not isolated byte-to-byte. For example, if you're writing to the register, /CS goes low, then you send the WREG command, the number of bytes-1, and then the data. After that /CS returns high
    - Verify that the communications meet the timing and switching specs.

    As Tom mentioned, get a scope shot or logic analyzer shot to look at the communication lines, and post them back here. It's easiest to help debug communication problems.


    Joseph Wu