NFC reader library porting guide for LPC11u37h(Ver 5.12) - Switching the NFC frontend

Document created by Kan_Li Employee on Jun 20, 2018Last modified by Kan_Li Employee on Jun 21, 2018
Version 8Show Document
  • View in full screen mode

As NFC reader library 5.12 also supports PN5180, switching the NFC frontend from CLRC663 to PN5180 is quite easy based on previous porting. The porting also includes the hardware settings and software modification.


  • Hardware Setup for porting:

a) Remove resistors on PNEV5180B to disconnect the onboard lpc1769 from PN5180, following steps on page 16 of 

b) Connect LPCXpresso board for LPC11U37 with PNEV5180 as below:


  • Software Modification for porting:

1. Make a copy of Board_Lpc11u37Rc663.h , and change its name to "Board_Lpc11u37Pn5180.h", and import it into the DAL/boards folder.

2.Change the source code in the header file as below:

3. Add two more pins' definition and configuration for BUSY and DWL pins of PN5180, and new configuration for reset pin.

and modify the reset logic:

4.Change the IRQ interrupt trigger type to rising edge.

5.Include this header file in BoardSelection.h

6.Add this new configuration in ph_NxpBuild_App.h

7.Add this new configuration in phApp_Init.h

8.Add this new configuration in ph_NxpBuild_Platform.h

9.Add this new configuration in Settings.

10.Building result:

  • Testing result:

1 person found this helpful