×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    1

    Nokia 6212 and NFCIP-1 protocol

    Hi everyone!

    I have a question regarding the implementation of NFCIP-1 on Nokia 6212:
    Does said Nokia phone implement to the letter the passive mode (phone is the initiator) from the NFCIP-1 spec?

    The problem I have is as follows:
    I have an NFCIP-1 device that can be read by the Nokia phone. Works great, no problems whatsoever.
    Now I want to replace the phone with a PN512 chip connected to my PC. And everything goes fine, until I send the ATR_REQ command, which fails every time. I have no documentation for the NFCIP device, so I can't tell where's the problem. Although if I could send the frames in exactly the same way as the Nokia 6212, then this should work (as it works with the phone).
    I know this is very low level, and most of you will suggest to upgrade to PN53x as it takes care of the whole anticollision stuff, but this is not an option for me. I need to go through the anticollision manually and with the PN512 chip as this is the only chip available to me.

    Can anyone share some light on the subject?

    Cheers,
    MikeTT

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    1

    Re: Nokia 6212 and NFCIP-1 protocol

    Hi MikeTT

    The PN512 is a pure "Transceiver"-Chip, meaning it doesn't handle the complete NFC-IP1 protocol activation automatically.
    In Card-mode it supports a dedicated "AntiCollision"-command according to ISO 14443-3A. This command handles
    the Req-A, Anticollision and the Select-command autonomously for you (of course you have to fill it's transmission buffer upfront with the corresponding data).
    Once the anticollision was done and the Reader sent the ATR_REQ (or maybe also a RATS-command when using T=CL) you're in charge to fill the transmission buffer of PN512 manually with the ATR_RES by writing the FIFO-register. That's also valid for following DEP-exchanges or other commands.

    Upgrading to PN53x would make it much more simple as those devices handle the NFC-IP1 activation on their own; For DEP-exchanges you simply use a kind of "Get/Set"-Data commands.

    To sum up:
    1.) When using PN512 you have to read/write all it's registers on your own to exchange data
    2.) As the PN53x devices use an embedded firmware, you don't need to read/write the registers - you simply communicate with it by using the proprietary host protocol.

    Maybe you can also check the datasheet of PN512. NXP has recently uploaded it on their website (unencrypted).

    Hope that helped a bit,
    Patrick
    Last edited by p_w; 2010-09-17 at 08:01.

Similar Threads

  1. Replies: 6
    Last Post: 2010-03-22, 12:38
  2. 6212 NFCIP with ACR122
    By kahoTest in forum Near Field Communication
    Replies: 0
    Last Post: 2009-10-21, 18:00
  3. Accessing internal Mifare Nokia 6212 from external 6212 reader
    By jyck in forum Near Field Communication
    Replies: 2
    Last Post: 2009-03-06, 19:02
  4. NFCIP connection between 2 nokia 6212
    By r0h1 in forum Near Field Communication
    Replies: 1
    Last Post: 2009-02-13, 15:36
  5. Nokia 6212 & NFCIP-1
    By Alex_Polt in forum Near Field Communication
    Replies: 4
    Last Post: 2008-11-25, 13:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •