Post Go back to editing

Needed support in interfacing ADAS1000SDZ with a STM controller.

Dear guys, 

I have been trying to interface the ADAS1000SDZ(with J4 pins on the board) with a STM controller via SPI.

I haven't been able to read the registers from the device properly. When I try to read PACEAMPTH(0x07) register, it gives 0xffffff for the first most read operation.

But the following read and write operations gives me the timeout error with the SPI.

Kindly let me know if the 5 connections (MOSI, MISO, SCK, CS, GND) are enough for the communication, the clock needed to be provided from STM(SPI Master) for the SPI bus for proper communication, confirmation if CPOL=1 and CPHA=0.

Thank you 

Parents
  • hello PKP 

    5 connections (MOSI, MISO, SCK, CS, GND) are enough for the communication. use CPOL=1 and CPHA=1, and configure in a proper way.  Configure From Datasheet Table 56. Example 1: Initialize the ADAS1000 for ECG Capture and Start Streaming Data.

    Note: FRMCTL register should have been correct Configuration, otherwise you won't be able to get desired data.

    This should be working.

    Thanks

    Nitish Sharma

Reply
  • hello PKP 

    5 connections (MOSI, MISO, SCK, CS, GND) are enough for the communication. use CPOL=1 and CPHA=1, and configure in a proper way.  Configure From Datasheet Table 56. Example 1: Initialize the ADAS1000 for ECG Capture and Start Streaming Data.

    Note: FRMCTL register should have been correct Configuration, otherwise you won't be able to get desired data.

    This should be working.

    Thanks

    Nitish Sharma

Children