PN5190 Power on sequene help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PN5190 Power on sequene help

644 Views
jr_hernandez
Contributor II

Hi,

I am trying to to connect eval board to my ESP32 and I am stuck at power on sequence.

I have done the HW changes requiered in Eval board PNEV5190B according to AN13425.

I have checked the VEN pin receives the pulse required for initial reset.

I have checked the SPI signals arrive to Module board where the PN5190 lies. But no answer in MISO pin, neither in IRQ pin.

FW gets stuck here:

jr_hernandez_0-1663576876496.png

jr_hernandez_1-1663576917094.png

The SWITCH mode message seems to be sent OK, but not sure if it is recieved ok in the PN5190.

Is there anything else I am missing?

Questions: 

IRQ is raised after the VEN or after receiving the SWITCH_MODE message?

IRQ is raised after a SPI WRITE ?

Can this issue be related to base FW in PN5190? I have updated it when using the cockPit, see pic below:

jr_hernandez_0-1663583708847.png

 

Regards, Ramon.

0 Kudos
3 Replies

631 Views
jr_hernandez
Contributor II

Hi,

Still trying to get the answer from the PN5190. The response is all 1's (0x FF FF FF FF). See pic below.

jr_hernandez_0-1663658202220.png

 

Why IRQ does not go low after responding?

Any clue?

Regards, Ramon.

 

0 Kudos

589 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

I would refer to the EVK board as such, use an SPI sniffer to trace a communication start and then compare with your own implementation.

also please refer to the instruction layer document for details of the SPI and TLV format.

https://www.nxp.com.cn/docs/en/data-sheet/PN5190_add.pdf

 

Regards

Daniel

0 Kudos

637 Views
jr_hernandez
Contributor II

Hi,

It turns out that my SPI driver was insertting 1 additional cero before the 0x7F. IRQ is being raised now. Great !

But Now, trying to get the answer...

Regards, Ramon.

0 Kudos