PN5180 with Renesas microcontroller. Communication SPI issue

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

PN5180 with Renesas microcontroller. Communication SPI issue

966 Views
sylvainung
Contributor I

Hello ,

I would like to have some help about using the PN5180 chip with a Renesas RX231 family (R5F52318ADFP)

I use 2 demoboard:

- PN5180 : PNEV5180B 2.2

- Renesas : YR0K505231S000BE

On the PN5180 board, I removed all connections between the LPC1769 and the PN5180 for the SPI(MOSI, MISO, SCK, SSEL, BUSY, PN_RST and PN_IRQ).

I have integrated the NxpNFCRdLib to my program on the Renesas Chip but it doesn't work.

This is my SPI configuration: 2Mbps, CPOL=0, CPHA=0.

The SPI configuration is correct because when I strap MOSI to MISO, I can read the value that I sent.

So I tried to read a register of the PN5180 without using the library.

I write on the register 0x00(32 bits) the value 0x0000AA55 for test.

On the oscilloscope I can see the MOSI frame.

But when I read this register (in debug mode) I received only 3 bytes instead of 4 and the 3 bytes are all 0x00.

Could someone help me please?

Thanks in advance.

0 Kudos
2 Replies

632 Views
nandyala_narend
Contributor I

And i want to know , the secure firmware upload and NFC cockpit  virtual COM port with other controllers...??

0 Kudos

632 Views
nandyala_narend
Contributor I

I think check with IRQ pin that ready signal to PN5180 from IDLE mode.

May be if you give before SPI command sent, enabling  the IRQ may gives you reply

Narender

9492828887 

0 Kudos