Dear all,
 
Follow are some problem that i encounter while dealing with the waiting time. Please Help.
 
 
  1. From the ATR of my card, the parameter obtained are as follow:
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?
 
  1. Is it true that BWT and CWT for T=1 protocol and work waiting time for T=0 protocol only in used for command that deal with the card? Other command that only deal with the reader like Open Reader command, Close Reader command and Set Reader Parameter command that only deal with the reader will not use the CWT and BWT.
 
  1. 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.
 
  1. For my project, I am connecting my reader to a MCU which act as the host. The card uses T1 protocol and we need to consider the CWT and BWT. Therefore this case, the CWT and BWT actually indicate the waiting time for the byte that transfer from the MCUàCard or Reader àCard?
 
  1. At the beginning, before my reader can deal with the card, I need to sent out a startup command to open the operation of the reader where it is done under default reader condition where it uses T=0 protocol. So, the command is only sent from the MCU à Reader where it does not deal with the card. Therefore, do we still need to consider the waiting time (CWT=WI*960 for T=0 Protocol) when we are receiving the response for the startup command (that mean each byte of the response must be receive by MCU within the CWT), since the waiting time only in used when we deal with the card?
Thanks a lot for helping.
 
Regards,
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

Reply via email to