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 Reply
  • I see, thank you for clarifying. I am not able to find pin P5_12 in the user guide:

    https://www.analog.com/media/en/technical-documentation/user-guides/eval-adpd4100z-ppg-ug-1795.pdf.

    I am currently making the following connections:

    1. CS from UNO -> Logic Level Converter (LLC) ->  CONN1_SPI1_CS0/P1_9

    2. SPI CLK from UNO -> LLC -> CONN1_SPI1_CLK/P1_6

    3. MISO from UNO <- LLC <- CONN1_SPI1_MISO/P1_8

    4. MOSI from UNO -> LLC -> CONN1_SPI1_MOSI/P1_7

    5. VBOOST (PIN 3 and 4 of ribbon cable) -> 3.3VDC

    6. GND_LOCAl (PIN 15 and 16 of ribbon cable) -> GND.

    After making these connections, I observe that I am getting nonsensical values in my logic analyzer. The following figure shows the SPI waveforms when all the connections are made as mentioned above:

    However, when I disconnect the CS connection keeping everything else the same, I observe that the data makes sense, but I am not able to get the chip id, of course. The following figure shows the SPI waveforms without the CS connection:

    I am not able to understand why this is happening. Am I missing something? I would appreciate any help or suggestions. Thank you very much!

Children