EHUOYAN
YHY522R
RFID module
Page 31 of 36
02
D4
D6
Length
Error
BCC
-----------------------------UL commands-----------------------
14.2.27
Pages_Read_UL
This command reads 4 continuous pages data from the appointed start
page.
Table 86. Command--:Host
Æ
YHY522R
Send
Header
Length
Command
Data
XOR Checksum
0xAA 0xBB
0x03
0x28
Start page
BCC
Table 87. Response--: YHY522R
Æ
Host
Receive
Head
Length
Status
Data
XOR Checksum
Success 0xAA
0xBB 0x12
0x28
4 pages data:
16Bytes
BCC
Failure 0xAA
0xBB 0x02
0xD7
0xD5
Table 88. Example
Send
AA BB 03 28 03 28
Description
AA BB
03
28
03
28
Head
Length
COMMAND
Start page
BCC
Receive(Success)
AA BB 12 28
00 11 22 33 44 55 66 77 88 99 AA
00
BB CC DD EE
FF
3A (*)
Description
AA BB
12
28
00 .. FF
3A
Head
Length
Status
16 Bytes Data
BCC
Receive(Failure)
AA BB 02 D7 D5
Description
AA BB
02
D7
D5
Head
Length
Error
BCC
*If receive one block data include ‘AA’,then the ‘00’ will be added behind ‘AA’, but the length does
not add 1.
14.2.28
Page_Write_UL
This command write 4 bytes data into one page of the UL chip.
Table 89 Command--:Host
Æ
YHY522R
Send
Header
Length
Command
Data
XOR Checksum