NFC test with MQX4.1

Document created by W.p. Liu Employee on Jul 7, 2014Last modified by ebiz_ws_prod on Dec 13, 2017
Version 3Show Document
  • View in full screen mode

           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.

 

nfc_test.jpg
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.

debug_nfc.png

Original Attachment has been moved to: nfc-test-3a7f61e09ea63c36d8cd8a0700de969d044d9fec.zip

Attachments

    Outcomes