PN5180 and busy signal

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

PN5180 and busy signal

1,106 Views
mmarretta
Contributor I

We are currently working on OM25180FDK connected with a Nordic pn52 evaluation board.
We are porting the NxpNfcRdLib library (version 6.13).
For testing the library we use the example Nfcrdlib_SimplifiedAPI_ISO.
In the first initialization steps the example hangs due to persistence of busy signal after the last spi request.
In particular, the busy signal remains high after requesting the RF status.
I noticed that the problem occurs on the RF status request only if this happens after the disabling EMD_CONTROL.
Below are the SPI communication log and oscilloscope screenshots (yellow=SSEL, blu=BUSY, violet=SPI_CLK):

SPI -> 071202 (Read eeprom. Firmware Version, PHHAL_HW_PN5180_FIRMWARE_VERSION_ADDR. phhalHw_Pn5180.c:phhalHw_Pn5180_Init)
SPI <- 0104 (firmware version 4.1)
SPI -> 071701 (Read eeprom. Test Bus, PHHAL_HW_PN5180_TESTBUS_ENABLE_ADDR. phhalHw_Pn5180.c:phhalHw_Pn5180_Init)
SPI <- 00 (Test Bus disabled)
SPI -> 0201fbffffff (Write reg and Mask. IRQ_ENABLE. Bit 2 = 0. Disable Idle IRQ. phhalHw_Pn5180.c:phhalHw_Pn5180_Init)
SPI -> 0003ffff0f00 (Write reg. IRQ_SET_CLEAR. Clear all IRQs. phhalHw_Pn5180.c:408)
SPI -> 07e801 (Read eeprom. Read MISC_CONFIG value, PHHAL_HW_PN5180_DIGITAL_DELAY_CONFIG_ADDR. phhalHw_Pn5180.c:phhalHw_Pn5180_Init)
SPI <- 03 (Digital Delay enabled)
SPI -> 0228feffffff (Write reg and Mask. EMD_CONTROL. Bit 0 = 0. Disable EMD. phacDiscLoop_Sw.c:phacDiscLoop_Sw_Run)
SPI -> 041d (Read reg. RF_STATUS. phacDiscLoop_Sw_Int.c:phacDiscLoop_Sw_Int_TechDetectActivity)
SPI <- 50505050 (????????)

 

0 Kudos
Reply
1 Reply

1,059 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

For porting PN5180 front end to other MCU, there is an application note. AN11908.

 It describes what changes has to be performed, the examples used is connecting PN5180 to Freedom K82F board.
Section 5.2 Connecting the FRDM-K82F to the PNEV5180B

I would suggest you check the pin connection and schematics first.
You can download AN11908 from below link
https://www.nxp.com/docs/en/application-note/AN11908.pdf

 

Regards

Daniel

0 Kudos
Reply