This is a demo of NFC device to read and write the contactless card.
Kinets K60 tower board and NXP PN512 board are used for this test enviroment.

These connected pins from K60 tower board to PN512 RF board are listed as below:
SPI1:
SPI1_SIN : PTE1/SDHC0_D0
SPI1_SCK : PTE2/SDHC0_DCLK
SPI1_SOUT : PTE3/SDHC0_CMD
SPI1_PCS0 : PTE4/SDHC0_D3
Reset:
PTB9
External interrupt:
PTA26
Because the SPI1 port is used as the host interface of pn512, it is necessary to enable the SPI1 driver in the user configuration file of MQX.
To open the project file in the /build folder with CW10.5.
And the PSP and BSP libraries had to be built before test image is built, as they are needed in this test project.
The following diagram shows the serial numbers and block data of reading from the test card of Mifare one.
