Skip to main content
Visitor II
February 6, 2024
Solved

ST25R3916B SPI communication problem, no answer for IC identity (ID)

  • February 6, 2024
  • 1 reply
  • 1640 views

Hi,

I have my own hardware and would like to verify if the ST25R3916B is responding.

I'm attempting to read the address 3F for the IC identity, which becomes 7F including the read mode.

NewFile4.png

However, I'm not receiving any response on the MISO line.

The IRQ pin is pulled up, and the SPI frequency is set to 1MHz.

What could be the issue? Is there something else I should check for?
Your assistance would be greatly appreciated.

    This topic has been closed for replies.
    Best answer by pososos

    Hi Ulysses HERNIOSUS,
    thank you for the quick reply! You helped me with that comment! I checked the hardware and found that I just needed to swap the MISO and MOSI lines. My mistake. It looks much better now:

    NewFile5.png
    I'm not sure why the response is slowly decreasing at the end.
    Should I pull up or pull down that line?
    Best regards.

    1 reply

    Technical Moderator
    February 7, 2024

    Hi pososos,

    looks right to me. MISO not being high-ohmic/input on your MCU? Incorrect cabling?

    Regards, Ulysses

    posososAuthorAnswer
    Visitor II
    February 7, 2024

    Hi Ulysses HERNIOSUS,
    thank you for the quick reply! You helped me with that comment! I checked the hardware and found that I just needed to swap the MISO and MOSI lines. My mistake. It looks much better now:

    NewFile5.png
    I'm not sure why the response is slowly decreasing at the end.
    Should I pull up or pull down that line?
    Best regards.

    Technical Moderator
    February 8, 2024

    Hi,

    ST25R3916B stops driving MISO once being deselected. There seems to be a pull-down in your system. Typically our driver sets bits miso_pd1/miso_pd2 inside ST25R3916B to have clean signals on MISO for the logic analyzer.

    BR, Ulysses