资 源 简 介
The National ID Reader is a demonstration of a reader to read the information from a National ID card and to display the information on a PC. The demonstration is a reference design for the China National second generation ID card reader using a μPSD32xx or μPSD33xx 8051 core for the microcontroller, and the CRX14 as the contactless coupler. The demonstration communicates with the PC using the USB or RS232 interface. The demonstration complies fully with the ISO14443 type-B standards.TABLE OF CONTENTSHardware Description of the National ID Reader 1Figure 1. System Block Diagram . . . . 1Main Control Board . . 4Boosted Antenna Board . . . . 4Figure 2. Boosted Antenna Block Diagram . . . . 4CRX14 . . . 4Debugging Procedure 5Test the Output of the CRX14 . 5Test the Output of the Class E Amplifier 5Optimize the Antenna . 5Figure 3. Testing the Output of Class E Amplifier . 5Figure 4. Circuit for the Antenna System on the Board . . 6Check the Filter and Amplifier . 6Figure 5. Checking the Amplifier Output 7Figure 6. Checking RFIN . . . . 8The FIRMWARE . . . . 9Figure 7. Block Diagram . . . . . 9Figure 8. Memory Map and Address Space . . . 9Figure 11.Boosted Antenna Board . 15APPENDIX B.PC Software User Guide 16Figure 12.Running setup.exe . . . . . 16Figure 13.Running setup.exe . . . . . 17Figure 14.Running SIDDemo.exe . . 17Figure 15.Selecting the RS232 or USB Connection 18Figure 16.Keil Compiler Settings . . . 19APPENDIX C.PSDSoft Design Summary File 20REVISION HISTORY . . . 21Table 7. Document Revision History . . . . . 21Figure 9. Firmware Flow Chart . . . . . 10Communication Protocol between PC and μPSD . . . 11Table 1. Read processing: Terminal to PC (Read Data Send) Data Frame Format . . . . . 11Table 2 . .Write processing: PC to Terminal to PC (Write Data Send) Data Frame Format11Table 3. Terminal to PC (Acknowledgement) Data Frame Format . . 11National ID Card Demonstration Structure . . . . 11Block 7-9 (11 Bytes) 11Table 4 . 11Block 10-13 (16 Bytes) . . . . 11Block 14-23 (40 Bytes) . . . . 11Block 24-43 (80 Bytes) . . . . 11Summary of the CRX14 Control Driver 12Detailed Description of Key Routines . . . . . 12Porting Strategy 13Summary of USB HID Driver . . . 13Table 5. List of Header Files 13Table 6. List of C Source Files . . . . . 13Interface Switch 13APPENDIX A.Schematic Diagrams . . . . 14Figure 10.Main Control Board 14Figure 11.Boosted Antenna Board . . 15APPENDIX B.PC Software User Guide . 16Figure 12.Running setup.exe 16Figure 13.Running setup.exe 17Figure 14.Running SIDDemo.exe . . . 17Figure 15.Selecting the RS232 or USB Connection . . . . 18Figure 16.Keil Compiler Settings . . . . 19APPENDIX C.PSDSoft Design Summary File . . 20REVISION HISTORY 21Table 7. Document Revision History 21