Skip to main content
Visitor II
October 4, 2023
Solved

NFC03A1 with Raspberry Pi 4, tag not detecting

  • October 4, 2023
  • 1 reply
  • 4820 views

HW : Raspberry PI 4 with NFC03A1 board connected to SPI

SW : Linux_RFAL_st25r95_v2.0.4.tar.gz

we built and we are able to run on the Rpi board, poller example

issue :

ISO1444A tag not detected

SPI seems to be working, we observed IDN command responds with the details as per the datasheet

IRQ_OUT also seems to be correct  refer to log1.txt

rfalInitialize seems to be success. No errros

while ISO14443A tag detection we are observing err timeouts.. refer to log2.txt

pls advise

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    what I see in the trace is:

    • line 161: A protocolSelect command is sent to activate the RF field for ISO14443A operations. This command will cause a power consumption increase
    • line 181: response 00 00 to the protocolSelect command. The command has been taken into account
    • line 191 A Write Analog Config Register is sent. The beginning of the Rx buffer is OK (bytes 0x06) but then the Rx buffer has random values which show something abnormal (lines 200/202/204/206). Thus, it is likely that the extra power consumption due to the RF field activation cannot be satisfied.

    I suggest to try to supply both CN6.2 and CN6.4 with 2 different wires from 2 different RPi4 pins. Same for CN6.6 and CN6.7 (GND) to be connected on 2 different GND pins.

    Rgds

    BT

    1 reply

    Technical Moderator
    October 4, 2023

    Hi,

    the log2.txt shows that something is corrupted: from line 212, Tx is stuck on 0x00 and Rx is stuck on 0xFF.

    I would recommend to connect a logic analyzer on SPI(CLK/MISO/MOSI/SS) + IRQ_IN + IRQ_OUT and to share the trace.

    Do you use wire jumper or an interposer board between the RPi4 and the X-NUCLEO-NFC03A1?

    Rgds

    BT

    venukrishAuthor
    Visitor II
    October 5, 2023

    Thanks for the response Brian.

    we donot know why log2.txt is corrupted ? we would like to know from you?.. 

    we donot have logic analyser setup...

    Yes we are using jumper wires between RPI4 and NFC03A1

    1. can you provide a complete log of data sequence of 14443A commands and responses

    2. what should be calibration data for 14443A/B and 15693, we planned to use these 2 tags

     

    Technical Moderator
    October 5, 2023

    Hi,

    I can hardly comment on the corrupted log as the native Linux_RFAL_st25r95_v2.0.4.tar.gz package does not provide this logging. I guess the data are corrupted by a wrong connection.

    Make sure

    • to have the ground being properly connected,
    • to have the various wires ***not*** in the operating volume of the antenna (this would cause disturbance on the signals)
    • to have the 3V3 being properly connected

    I would recommend to use an interposer such as the ARPI 600 to avoid the wire jumpers.

    Regarding your question on calibration data, the FW includes the various setting for the 14443A/B and 15693 protocols.

    Rgds

    BT