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.

Is it compulsory to use SPI DRDY pin in ADS1298

Other Parts Discussed in Thread: ADS1298

Hi,

I am using ADS1298 with Freescale MC1322x. In the frescale chip there is no SPI_DRDY pin. Is it necessary to use SPI_DRDY.

Please suggest.

Balu

  • Hi Balu,

    The DRDY output from the ADS1298 would be used as an interrupt to your host processor - there is no need to have an 'SPI_DRDY' pin, any external interrupt capable pin would work.  While it is not 'compulsory' to use an interrupt, it is recommended.

  • Hi Tom,

    Thank you for your reply. It really helped.

    I am stuck with the initial configuration of the ADS1298.

    Before going into acquiring the signal, I wanted to test by toggling the GPIO signals.

    So here is what I have written.

    0x02; wake up

    0x12; RDATAC to RREG

    for(;;)
    {
    0x5400; Select 0x14h i.e GPIO register and write data to it
    0x01; GPIO 1 set 0
    delay(1000ms)

    0x5400;
    0x11; GPIO 1 set 1
    delay (1000ms)
    }

    I am not able to get any signals on GPIO.
    I have also tsken care of clock polarity and phase.
    Please help me out with this.

    Balu

  • Hi Balu,

    I saw the new post - let us know what you did regarding the SDATAC command.

  • Hi Tom,

    After the Wake Up command I sent SDATAC command followed by WREG and the rest is the same code for toggling the GPIO1 contents as mentioned earlier. 

    I am not able to get any signals, there are no variations on the GPIO pins.

    Also, let me know if there is any other way of making sure that the chip ADS1298 is functioning properly and also the registers are read and written correctly.

    I am using IAR embedded workbench for all the programming, and the SPI code (what we have written) is working fine between two freescale Mc1322x micros. 

    Thanks in advance,

    Balu

  • Sorry for the delay Balu,

    Send SDATAC and then use the RREG command - you should be able to read back the ID register to verify that your communication sequence is working correctly.