cancel
Showing results for 
Search instead for 
Did you mean: 

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

pososos
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
Ulysses HERNIOSUS
ST Employee

Hi pososos,

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

Regards, Ulysses

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.

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