element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Dev Tools
  • Products
  • More
Dev Tools
Forum NXP - EXPLORE-NFC
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Dev Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 19 replies
  • Answers 6 answers
  • Subscribers 82 subscribers
  • Views 4130 views
  • Users 0 members are here
  • board
  • nfc
  • dev
  • pn512
  • pn532
Related

NXP - EXPLORE-NFC

maurosmartins
maurosmartins over 11 years ago

Hello all,

 

I'm currently seeking for NFC solutions, and I've found this EXPLORE-NFC - NXP - ADD ON BOARD, NFC, FOR RASPBERRY | Farnell Portugal

 

this uses PN512 and I have already found other dev boards using PN532.

 

My question would be, what are the main differences between the two? would they be library compatible (communicating by SPI)?


Thanks in advanced,


Best regards, Mauro.

  • Sign in to reply
  • Cancel

Top Replies

  • hadifikri
    hadifikri over 10 years ago in reply to hadifikri +1
    Never mind, I got it.
  • hadifikri
    hadifikri over 8 years ago in reply to julia-rakitina +1 suggested
    The library that I used with my pi (2 and 3) was downloaded from nxp website. You can get it from http://www.nxp.com/documents/software/SW3693.zip look for folder NxpNfcRdLib. I surely hope the library…
  • michaelneurohr
    michaelneurohr over 8 years ago in reply to julia-rakitina +1 suggested
    Hi Julia, you can find all required and up to date resources at NFC Reader Library|NXP The software you need is NFC Reader Library for Linux . Make sure to download version 4.040.05.011646. The corresponding…
  • michaelneurohr
    0 michaelneurohr over 11 years ago

    Hi Mauro,

    the main difference between the PN512 and the PN532 is that the PN532 is combined with a microcontroller. So if you are using the PN532 with the Raspberry Pi, you can not directly talk to the NFC reader IC but to the firmware on the microcontroller if the reader IC.

    If you are using the Explore-NFC with the Raspberry Pi, you can talk directly to the PN512 over the SPI interface. That offers more flexibility in using the reader IC. To make working with the PN512 more comfortable, NXP provides a reader library that is included in the example projects which can be downloaded.

     

    The PN512 is NFC Forum complaint, the PN532 is not.

    The PN512 is supported by the NXP Reader Library (sources are available for download), the PN532 is not supported.

     

    Both ICs are supporting the same tags.

     

    Best Regards,

    Michael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to michaelneurohr

    Hi Michael,

    I have PN512 and I use the Reader Library. I would like to change the key of the card. Can I do with this IC or not because I didn't find any solution for that.

     

    Thanks

    Grill

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelneurohr
    0 michaelneurohr over 11 years ago in reply to Former Member

    Hi,

    which NFC Tag/Card are you talking about?

     

    Michael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to michaelneurohr

    Hi,

    I would like to write this card:

    Mifare 1k S50 IC 13.56MHz

     

    Grill

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelneurohr
    0 michaelneurohr over 11 years ago in reply to Former Member

    Yes, that's possible.

    An example project about how to read/write Mifare Classic cards can be found here.

    Just download the project "PNEV512BPNEV512B MIFARE Classic Project for LPC1227 You can find the example in the main function of the main.c It uses the same library as the provided Raspberry project does


    Michael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to michaelneurohr

    Thanks. I'll try this I hope it'll work

     

    Grill.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Dear friends.

     

     

    I am  write a C library using SPI communication for interface the Board NFC EXPLORE PN512 with a micocrontroller 8 bit, 16 bit or 32 bit. This because lot off pleople dont has Raspeberry or prefere use this Board with another MCU, like in my case.


    After one week working in this projects I can manager the NFC EXPLORE register, for exemaple write and read the FIFO BUFFER, clear the configuration, transmitte data to RF anntena.


    Now I need any help to solve the last problem that is: Cannot send data to MIFARE card to read the UID or other data that is store in the card EEPROM.


    Below is my code:


    // THIS LINES OF CODE CONFIGURE THE DEVICE TO ENABLE RF ANTENA AND


    EXPLORE_NFC_PN512_ControlReg(0x05);

      EXPLORE_NFC_PN512_TxAutoReg();

      EXPLORE_NFC_PN512_RxThresholdReg();

      EXPLORE_NFC_PN512_RFCfgReg();

      EXPLORE_NFC_PN512_GsNOnReg();

      EXPLORE_NFC_PN512_TxControlReg();

     

      // CLEAR THE FIFO BUFFER BEFORE  WRITE THE COMMAND DO BE SEND TO RF

     

      EXPLORE_NFC_PN512_Clear_Fifo_Buffer();

      EXPLORE_NFC_PN512_WRITE_MB_INTO_FIFO_BUFFER(0x26);  // value write 0x26h command do quest card

     

    // NOW SEND THE FIFO CONTENT TO ANNTENA AND WAIT FOR MIFARE CARD RESPONSE

    // IN THIS PARTICULAR CASE I WAITING FOR 04h 00h

     

    EXPLORE_NFC_PN512_Start_Send();

    EXPLORE_NFC_PN512_Transmit();

    EXPLORE_NFC_PN512_Transceive();

     

        _delay_cycles (50000);

     

        nBytes=EXPLORE_NFC_PN512_GetFifoLevel(); // Get FiFo level

     

      _delay_cycles (50000);

     

        receiveData=EXPLORE_NFC_PN512_READ_FIFO_BUFFER_MB();  // Read Buffer

     

    ----------------------------------------------------------------------------------------------------------End Function-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please expert help me solv this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hadifikri
    0 hadifikri over 10 years ago in reply to michaelneurohr

    Hi Michael,

     

    I've been using nxpRdLib in Raspberry Pi for NFC-EXPLORE to read and write on MIFARE Classic 1K for a while now. So far I managed to read and write into the tag using KEY A authentication. However I need to set KEY A as a read only KEY and KEY B for write operation. I know that I have to write the access bits to setup the behavior. My problem is I never managed to authenticate the card using KEY B at all. Is there any example using NxpRdLib that performs authentication using KEY B?

     

    p/s : I've already successfully loaded KEY B into the phKeyStore and the KEY B is the default factory value verified using NFC Tag info (Android App).

    (edit): The current access bits setup allows for read and write operation using KEY A or KEY B for NFC sector and only write operation using KEY B for sector trailers.

    Regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hadifikri
    0 hadifikri over 10 years ago in reply to hadifikri

    Never mind, I got it.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • julia-rakitina
    0 julia-rakitina over 8 years ago in reply to hadifikri

    Hi hadifikri

     

    I need similar functionality, I have NFC-Explore and raspberry Pi2. I am giong to use Mifare Classic 1k

     

    How to implement this?
    I tried with NTAG216 cant find documentation to set a password

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube