2021-06-24 8:20 AM
I using the Demo code for ST25R3916 It takes long time to read RFID Card Tag , what might be causing that ?
I am using X-NUCLEO-NFCC06A1 eval board with ST25R3916 CHIP
Solved! Go to Solution.
2021-07-21 11:49 PM
Hi,
ERR_IO is not normal and indicates an issue on SPI/IRQ. The other two cases you hinted are likely just different manifestations of the same problem.
As hinted before Logic Analyzer traces are key in such a case.
Regards, Ulysses
2021-06-24 8:49 AM
Hi FNana.1,
please share some more details what you are observing:
The demo uses a 500ms delay after finding a card before starting next discovery. Maybe that is the reason for your observation. But will need more details.
Best Regards, Ulysses
2021-06-25 1:15 AM
Hi,
In addition to Ulysses answer: X-CUBE-NFC6 contains 2 demos (polling demo and ndef reading demo). Which one do you use?
Also, the totalDuration parameter of the rfalNfcDiscoverParam has impacts on the tag detection. What is the value of the totalDuration in your application?
The polling loop also tries to detect different technologies and then enter card emulation mode; if your application does not use all the various technologies, the detection of unused technologies can be removed (see techs2Find parameter).
Rgds
BT
2021-06-25 1:48 AM
Thanks for your help ,
What type of RFID cards :
Please define long time
Are you using X-CUBE-NFC6 ? On which Nucleo
Many thanks for your helps
2021-06-25 1:57 AM
Hi Brian TIDAL
Thanks for your reply ,
In addition to Ulysses answer: X-CUBE-NFC6 contains 2 demos (polling demo and ndef reading demo). Which one do you use?
I am using the : STSW-ST25R013 Linux demo of ST25R3916 for Raspberry Pi using X-NUCLEO-NFC06A1 , Polling demo
What is the value of the totalDuration in your application?
discParam.totalDuration = 1000U;
My application going use most of technologies , already disabled some.
Many thanks fro your help
2021-06-25 2:32 AM
Hi FNana.1,
it sounds then like a porting issue / interop issue. Are you using actually Raspberry Pi or did you port to your own board?
In any case I recommend:
#define ST25R3916_TEST_TMR_TOUT_8FC (ST25R3916_TEST_TMR_TOUT * 16950U)
==>
#define ST25R3916_TEST_TMR_TOUT_8FC (ST25R3916_TEST_TMR_TOUT * 1695U)
Best Regards, Ulysses
2021-06-25 2:49 AM
Hi Ulysses ,
Yes i have ported to iMX6 freescale board , which is the board ST25R3916 CHIP will be used .
Anything i need to apart the ones you've mentioned above ?
Many thanks
2021-06-25 2:52 AM
Hi Ulysses ,
Yes i have ported to iMX6 freescale board , which is the board ST25R3916 CHIP will be used on.
Anything i need to do , apart the ones you've mentioned above ?
Many thanks
2021-06-28 5:35 AM
Hi Ulysses ,
Thanks for your helps .
As you have suggested by turning the ST25R_SELFTEST and ST25R_SELFTEST_TIMER , i have done that and i have captured the INT signal via scope it is high for about ~197us . It is still take time ( 10 to 50s ) to read tags .
Please What could be wrong about porting ?
Many thanks
2021-06-28 5:44 AM
Hi, FNana.1,
no direct ideas what could be the reason. Is the polling running at right timing - every sec (look using LED tag or scope)?
Most helpful would be to look into a logic analyzer trace (SPI+IRQ) to see all the timings and sequences.
Best Regards, Ulysses