AnsweredAssumed Answered

PN5180 with Renesas microcontroller. Communication SPI issue

Question asked by sylvainung on May 15, 2017

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.

Outcomes