The issue of returning 0x18 error in SPI communication with PN5190

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

The issue of returning 0x18 error in SPI communication with PN5190

601 Views
KingJin
Contributor I

PNEV5190BP development board wired to my development board, porting NFcdlibEx6_LPCD to my board. SPI is connected, but there is an issue. After setting SWITCH_MODE_NORMAL (0x20), an error of 0x18 occurs whenever any command is sent again.

As shown below:

I (22516) write data: 7f 20 01 00
I (22542) Read data: ff 80 00 08
I (22543) Read data: ff 01 00 00 00 01 00 00 00
I (22620) write data: 7f 23 00 08 02 00 00 00 00 00 4a 01
I (22656) Read data: ff 23 00 01 18 ff ff ff ff
 
I modified the program and attempted to read the version number, but encountered the same 0x18 error.
 
I (41484) write data: 7f 20 01 00
I (41510) Read data: ff 80 00 08
I (41511) Read data: ff 01 00 00 00 01 00 00 00
I (41575) write data: 7f 27 00 00
I (41617) Read data: ff 27 00 01 18 ff ff ff ff
 
What is the reason for this, please help me, thanks!
Tags (1)
0 Kudos
Reply
0 Replies