PN512 register setup as mifare reader to read Mifare Classic 4k cards

Forum / MIFARE and NFC Reader IC`s / PN512 / PN512 register setup as mifare reader to read Mifare Classic 4k cards

  • 15. September 2017 at 11:10
    Hi,

    can anyone help with a proper setup of the PN512 as reader/initiator to read Mifare Classic 4k cards? The suggested values in application note: AN11038 does not suffice and the NxpNfcRdLib is a bit confusing. I keep getting an error value of 0x54 when trying to detect a card. Code is implemented on a microcontroller:ATXMega64U avr.

    Here is my setup:
    PageReg0 = 0x00
    PageReg1 = 0x00
    PageReg2 = 0x00
    PageReg3 = 0x00
    ControlReg = 0x10
    BitFramingReg = 0x00
    CollReg = 0xA0
    ModeReg = 0x01
    TxModeReg = 0x00
    RxModeReg = 0x00
    TxControlReg = 0x82
    TxAutoReg = 0x00
    TxSelReg = 0x10);
    RxSelReg = 0x84);
    RxThresholdReg = 0x74
    DemodReg = 0x4D
    FelNFC1Reg = 0x00
    FelNFC2Reg = 0x00
    MifNFCReg = 0x62
    ManualRCVReg = 0x00
    TypeBReg = 0x00
    SerialSpeedReg = 0x9A
    RFCfgReg = 0x59
    GsNOnReg = 0xF4
    CWGsPReg = 0x3F
    ModGsPReg = 0x03

    Thanks
    Phlip
    + 0  |  - 0
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.