cancel
Showing results for 
Search instead for 
Did you mean: 

Programming nfc08A1 with other microcontroller. Some questions

GabrielEsteban
Associate

I´m developing the PollingTagDetect (for nucleo L746RG) example code into s32k116 microcontroller. I´m only programming the NFC type A (get ID card) feature. There are three main steps, first it´s detect the card type, for this it´s needed to use the WUPA command (0xC7). After that, "start Rx,"end Rx " and "end Tx" flags are set to 1 (in my case I need to wait 1 ms); The second step is to send the "Transmit without CRC"(0xC5) command after save in fifo the 0x93 value, I saw the instantly previous configuration before send the command, therefore, i saved 82 registers (memory A + memory B). Mi code replicates all the configurations of example and behaviour until this point, but there is an exception, the "Gain reduction state register" (only as read register), which value starts to change after the card type detect and before the Transmit command, when this command is sent, this register value is 0 (equal for my code). In the example, after send the command, the "start Rx,"end Rx " and "end Tx" flags are set to 1, but in my case, the only flag set is  "end Tx", im waiting for 1ms to read this flag, I tried to wait 5ms, but the response is the same.  Any idea about what could be the problem?

 

Another issue is that NFC08A1 datasheet recommends to set NFC field on guard timer register to 5ms (0x21 value). The example keeps this value to 0 even though the NFC type A feature is used, I tried to set this value but for some reason this register changes to 0 without my permission. Is It mandatory to set this value for NFC type A communications? What is the reason why it don´t allow me to change the register value?

GabrielEsteban_0-1737553435281.png

 

0 REPLIES 0