Dear all,
I'm a student from Malysia and now doing a project that involved in writting a driver for a reader. Follow are some problem that i encounter while dealing with the waiting time. Please Help.
- From the ATR of my card, the parameter obtained are as follow:
ATR: 3B D6 18 00 81 B1 80 7D 1F 03 80 51 00 61 10 30 8F
F=372, D=12, CWI=13, BWI=7, T=1 Protocol; Card Frequency = 4MHz
Therefore the calculation of the CWT and BWT for T=1 protocol
CWT = 2^CWI + 11 etu
= 2^13 + 11 etu
= 8203 etu
= 63.57325ms
BWT = 2^BWI*960*(372*D/F) + 11
etu
= 2^7*960*(372*12/372) + 11 etu
= 1474571 etu
= 11.4279 second
Could you please verify whether the calculation for the CWT and BWT is correct or not?
- If the above calculation is correct, then that mean after I transmit a command to the card, then I need to wait for BWT=11.4279 second in order to get the 1st byte of the response and follow by CWT=63.57325ms to get the subsequent byte of the response. Why it took such a long time for the card to response to the command (as I know it only took less than 1 second but from the calculation it indicate differently)? Is there anything wrong? Please explain.
Your help is very much
appreciated.
Thanks.
reagrds,
jackie wong
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
