-23-
v7.0
Time of execution of the functions
9. Time of execution of the functions
This function converts from a pointer to uint8_t’s to an integer. When we want to read a number from an RFID card, this function
is useful to convert from ASCII code to the format we can understand, an integer.
•
init(): 25-30 ms
•
authenticate(): 20 ms
•
read(): 25 ms
•
write(): 25 ms
So a full read or write in a block process (init+autheread or init+authewrite) could take around 75 ms. However,
a standard UID read (init) can take just 25 ms.
There is a mechanism inside the
init()
function so that if no card is detected, then not all the function is executed. This feature
allows to search for a new card faster.
In the read_all_blocks example, all the 64 blocks in a Mifare® Classic 1k card are read in about 2.6 s. This indicates that the
maximum read rate is 393 bytes per second.