Post Go back to editing

ADPD 4100 SPI Connections

Are there any reference circuit diagrams available which illustrate the SPI connections between ADPD4100 and a primary device. I am currently connecting the DVDD1 (E1) to +1.8V; DGND (E2) to GND; SCLK (C2) to primary SCK output; SPI MISO (C1) to primary MISO; SPI MOSI (D1) to primary MOSI; and SPI CS (D2) to primary CS.

However, when I call

adi_adpddrv_OpenDriver()
on the primary it always gives an error. I am using an Arduino UNO as the primary. I am using a bi-directional logic-level converted to establish communication between ADPD4100 and the UNO. I have tested the logic-level converter separately and it is fast enough for SPI communication for this application.

Do you have any suggestions on how I can proceed with debugging?

Any help is highly appreciated. Thank you very much!

Parents
  • Hi,

    On AVDD, DVDD1, DVDD2 connect 1.8VDC and connect GND to AGND, DGND, LGND & IOGND.

    On IOVDD connect your SPI/I2C logic level voltage, I think UNO SPI logic level is 3.6VDC.

    Regards,

    Optical Support Team.

  • Thank you for your reply!  I made the connections according to your instructions.

    I have been trying to query the chip ID by using adi_adpddrv_RegRead to read the value of ADPD4x_REG_CHIP_ID. I probed the SPI signals in a logic analyzer and I found that SPI CLK, CS, MOSI are being driven as expected, i.e., the logic analyzer is able to determine the MOSI bits as b00000000, b00010000, which are the correct values for reading the register 0x0008. However, the ADPD chip provides no response, the MISO bits are all zeroes.

    Is there a way to determine whether the ADPD4100 is functioning properly or is powered properly without using SPI at all? Perhaps by measuring the voltage level on some pin or something else?

    Thanks in advance!

  • Hi,

    Is it possible for you to share the sensor picture which you are using?

    Regards,

    Optical Support Team.

  • Sure, I am using ADPD4100 which has been soldered to a BGA prototyping board. I know there may be some defects in BGA soldering so I was wondering if there was any hardware check I can perform before establishing communication over SPI.

    If this doesn't work, I will try SPI communication between the UNO and the EVAL-ADPD4100Z-PPG.

  • Hi,

    It's better to try with EVAL-ADPD4100ZPPG. So, that we can get confimation like UNO platform is able to communicate with ADPD4100 sensor. Once the communication is estabilished you can try BGA board.

    Regards,

    Optical Support Team.

Reply Children