cancel
Showing results for 
Search instead for 
Did you mean: 

X-NUCLEO-NFC06A1 doesn't read and write any tag, "NDEF NOT DETECTED" error

Wladimir
Associate II

Hello to all!

I have boards - NUCLEOL476RG and X-NUCLEO-NFC06A1 with project "STM32L476RG-Nucleo_PollingTagDetectNdef" running on it.

And got an error when trying to read any tag:

0693W000008xIJLQA2.pngWhen debugging program i found that error, its here in the code, doesn't match

apduParam->statusWord == RFAL_T4T_ISO7816_STATUS_COMPLETE

The walue of statusWord is 27266 instead of 36864 (0x9000)

0693W000008xILRQA2.jpgAppreciate for help and sorry for my english))

34 REPLIES 34
Wladimir
Associate II

Hello, Ulysses!

At the moment, the problem is that in the Tag Emulation mode, writing to the "tag" works, that is, the content of the ndefFile changes to what I write, but when reading the content of the ndefFile changes to the default - "st.com/st25-demo".

I am trying to track the exchange of useful data between phone and board, I looked at the contents of the array txBuf[100] in demoCE() function, but I did not see the default content of the tag ("st.com/st25-demo") there during data exchange.

Best regards.

Hi VIVAN.1,

it makes me curious and I will try to find some time next week to debug into this. In case you have additional findings, please let me know!

BR, Ulysses

Hi,

ok, thanks!)

Hi VIVAN.1,

Using v1.1.0 of X-CUBE-NFC6 I moved the demoCeInit() call from demoCE() to demoIni() and then the content of NDEF file started to stay in memory.

BR, Ulysses

Hi Ulysses!

Its working, thanks!

Best regards