
EHUOYAN YHY521X
Manual
Page 2 of 36
CONTENT
1.Introduction......................................................................................................................................4
2.Gengral description..........................................................................................................................4
3.Features.............................................................................................................................................4
4.Application information ..................................................................................................................5
5.Quick reference data........................................................................................................................5
6.Ordering information ......................................................................................................................6
7.Block diagram...................................................................................................................................6
8.Pinning information.........................................................................................................................6
8.1.Pining...........................................................................................................................…….7
8.2.Pin description............................................................................................................…….7
9.Functional description.....................................................................................................................7
10.Digital interface..............................................................................................................................8
10.1.UART interface ........................................................................................................…….8
10.2.Selection of the transfer speeds...............................................................................…….8
10.3.Transfer protocol .....................................................................................................…….8
10.3.1.Host to YHY521X transfer protocol............................................................…….9
10.3.2. YHY521X to Host transfer protocol...........................................................…….9
11.Interrupt request system .............................................................................................................10
12.Antenna Power ...........................................................................................................................10
13.External antenna..........................................................................................................................10
14.YHY521X Command set .............................................................................................................11
14.1.Commands overview..............................................................................................…….11
14.2.Commands and response.......................................................................................…….12
14.2.1.Detect_Clone................................................................................................…….12
14.2.3.MConfigure..................................................................................................…….12
14.2.4.Download_Keys...........................................................................................…….16
14.2.7.Antenna_Control.........................................................................................…….17
14.2.8.Sense_mode..................................................................................................…….17
14.2.15.Card_Sleep.................................................................................................…….18
14.2.16.Card_Type .................................................................................................…….19
14.2.17.Card_ID......................................................................................................…….20
14.2.18.Block_Read................................................................................................…….20
14.2.19.Block_Write...............................................................................................…….21
14.2.20.Value_Init...................................................................................................…….22
14.2.21.Value_Read................................................................................................…….23
14.2.22. Value_Inc..................................................................................................…….24
14.2.23. Value_Dec .................................................................................................…….25
14.2.24. Value_Backup...........................................................................................…….26
14.2.25.Sector_Read...............................................................................................…….27
14.2.26.Sector_Write..............................................................................................…….28
14.2.27. Pages_Read_UL........................................................................................…….29
14.2.28. Pages_Write_UL.......................................................................................…….30
14.2.29. Ntag_Read_Text.......................................................................................…….30
14.2.30. Ntag_Write_Text......................................................................................…….31
14.2.31. Ntag_Read_URL......................................................................................…….32
14.2.32. Ntag_Write_URL.....................................................................................…….33