Hello,
We've been using the PN7412 with the CCID program from the examples package. Everything works correctly but the times we get to access the SAM are slow.
We have connected an Imx8mn with the PN7412 via USB. In the Imx8mn we run a small program that uses the PCSClite library (version 1.9.1) to communicate with the PN7412 . In the PN7412 we run the example "phExCcid" and we can communicate with the SAM without any problem.
Measuring the time from when we send a certain APDU command from the library until we receive the response takes about 12 ms and we need to reduce this time. We have tried to optimize to firmware in the PN7412 but we cannot reduce the time.
We have tested the same command using the NXP software called RFIDDiscover and the reader NXP Pegoda and the time for all the process is 7 ms approx. Although we have to take into account that we do not have access to the source code and we can only see the logs shown by the program.
We do not know where we can optimize the system to reduce the time, is the CCID specification the best way to communicate the Imx8mn and the PN7412?
Is there any configuration of the PN7412 that will help us to reduce the communication times?
Any help or insights would be greatly appreciated.
Hi
For the PN7412 CCID example I do not have particular recommendations of optimization. The obvious things are compiling for speed instead of balance/size.
For RFIDDiscover reader CLRD 730, there is PN7642 chip inside. The PN7642 is more powerful as the PN74xx. The PN74xx is based on a Cortex-M0 with 20Mhz while the PN76xx is a cortex-m33 with 90MHZ. So you can re-use the Pegoda 3 or order a PNEV7642 board.
Regards
Daniel