PN512 selftest problems

Forum / MIFARE and NFC Reader IC`s / PN512 selftest problems

Tagged: 

  • 17. January 2018 at 16:09
    Hi everybody. I am trying to perform a selftest on the PN512 chip but the data I receive is not correct. It seems that a buffer overflow happened and some data got overwritten, 16B to be exact. The expected data is 80B long and the FIFO buffer is only 64B long. I have just started working with this chip and any help would be great.
    Thanks
    + 0  |  - 0

    Re: PN512 selftest problems

    18. January 2018 at 14:30
    Hi Vladimir,

    The FIFO size is not relevant here. You must only ensure, that you can read the FIFO as fast as the Reader fill it. If the interrupt request for a non-empty FIFO occurs, you must read and save the data unless the FIFO is empty.

    If the FIFO size is small, the response time must be short. On larger FIFOs you can accept larger response times.

    The TapLinx team

    + 0  |  - 0

    Re: PN512 selftest problems

    18. January 2018 at 15:19
    Hi,

    Thanks for the response.
    The problem was not with the FIFO buffer but with the datasheet as it seems. In the PN512 datasheet, section 20. Errata sheet, the selftest answer is not correct. It seems that during copying of the data, two lines were copied twice and then instead of a 64B answer there is a 80B answer with 16B that are repeated (bytes 48-63). Here is the data from the datasheet:
    00h, AAh, E3h, 29h, 0Ch, 10h, 29zhh, 6Bh,
    76h, 8Dh, AFh, 4Bh, A2h, DAh, 76h, 99h
    C7h, 5Eh, 24h, 69h, D2h, BAh, FAh, BCh
    3Eh, DAh, 96h, B5h, F5h, 94h, B0h, 3Ah
    4Eh, C3h, 9Dh, 94h, 76h, 4Ch, EAh, 5Eh
    38h, 10h, 8Fh, 2Dh, 21h, 4Bh, 52h, BFh
    4Eh, C3h, 9Dh, 94h, 76h, 4Ch, EAh, 5Eh
    38h, 10h, 8Fh, 2Dh, 21h, 4Bh, 52h, BFh

    FBh, F4h, 19h, 94h, 82h, 5Ah, 72h, 9Dh
    BAh, 0Dh, 1Fh, 17h, 56h, 22h, B9h, 08h.
    + 0  |  - 0

    Re: PN512 selftest problems

    2. September 2018 at 17:50
    wow great information totally love it buddy..
    <blockquote class="wp-embedded-content" data-secret="C3tSnOVDVS"><a href="https://getapkmarket-apk.com/"></a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://getapkmarket-apk.com/embed/#?secret=C3tSnOVDVS" data-secret="C3tSnOVDVS" width="500" height="282" title="“” — GetApkMarket - Download Apk Latest Version For Android" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
    <blockquote class="wp-embedded-content" data-secret="RxKW44nzDy"><a href="https://acmarketios.com/"></a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://acmarketios.com/embed/#?secret=RxKW44nzDy" data-secret="RxKW44nzDy" width="500" height="282" title="“” — ACMarket - APK Download Latest Version for Android, PC & iOS" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
    https://tweakbox.online
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.