Specific card is not working well (st25R3916)
Hello ~!,
I am bringing up a board using ST25R3916.
The main chip is arm9 family and based on freertos.
The basic operation has been confirmed, but there is a problem that certain NFCA cards are not recognized well.
It does not mean that it cannot be recognized at all, but it is difficult to recognize only at a specific distance (about 3-4 cm).
At first I thought it was an RF performance issue, but after wiring the power, IRQ, SPI pins, etc. to my base board and the X-NUCLEO-NFC06A1 board, the results are the same.
I've been working on the "ST25NFC_Embedded_Lib_ST25R3916_1.4.0,FreeRTOS_polling" source code.
There is no problem origial source code on Nucleo L476, but similar problem can be seen when the priority of the nfcIsrTaskRunner thread is set equal to StartDefaultTask.
------------------------------------------------------------------------------------------------
/* definition and creation of nfcIsrTask */
const osThreadAttr_t nfcIsrTask_attributes = {
.name = "nfcIsrTask",
.priority = (osPriority_t) osPriorityNormal, //osPriorityHigh, orginal
.stack_size = 384
};
nfcIsrTaskHandle = osThreadNew(nfcIsrTaskRunner, NULL, &nfcIsrTask_attributes);
------------------------------------------------------------ ---------------------------------
In my custome board, simply adjusting the priority did not solve the problem, so I adjusted the porting points such as thread communication and timer similar to the sample code.
I would like to ask if you would like to get a hint for solving the problem.
Are there any other checkpoints?
