Document Version 1.0
Last revised on
2018-‐10-‐22
Page 73 of 79
Reference Manual for uTrust 5501 F Reader/Writer Module
6.3.5.11.
CONTACT_GET_SET_ETU
This escape command is used by the host to get/set the current ETU for smart cards. Once set, the
new ETU value will take effect immediately.
Input:
The input buffer contains the escape code followed by an 8 bit get/set identifier. For set ETU, a
DWORD specifying the value to be set follows:
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Value
Description
Wait time
Escape
code(0x80)
0x01
SET ETU
BIT31-‐BIT24
BIT23-‐BIT16
BIT15-‐BIT8 BIT7-‐BIT0
0x00
GET ETU
-‐
-‐
-‐
-‐
Output:
For both set and get ETU, the output will be the following:
Byte0
Byte1
Byte2
Byte3
ETU value
BIT31-‐BIT24
BIT23-‐BIT16
BIT15-‐BIT8
BIT7-‐BIT0
DataIn =
80 00
DataOut:
00 00 01 40
(4 bytes)
6.3.5.12.
CONTACT_GET_SET_WAITTIME
This Escape command is used to get/set the Character/Block Waiting Time for smartcards. The wait
time is specified in terms of ETU. Once set, the new Wait time will take effect from the next card
communication.
Input:
The input buffer contains the escape code followed by an 8 bit get/set identifier, an 8 bit wait time
identifier, and a 32 bit wait time value. BWT must be specified in units of 1.25ms, and CWT in units of
ETU.
Byte0
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Value
Description
Value
Description
Wait time in ETU
Escape
code
(0x81)
0x01
SET
Wait
time
0x00
CWT
BIT31-‐
BIT24
BIT23-‐
BIT16
BIT15-‐
BIT8
BIT7-‐
BIT0
0x01
BWT
0x00
GET
Wait
time
0x00
CWT
-‐
-‐
-‐
-‐
0x01
BWT
Output:
For both get/set wait time, the output will be the following:
Byte0
Byte1
Byte2
Byte3
Wait time in ETU
BIT31-‐BIT24
BIT23-‐BIT16
BIT15-‐BIT8
BIT7-‐BIT0