摘要
提出了一种CPU卡低层读写驱动接口的设计方案,该方案采用MCU的通用I/O引脚直接驱动CPU卡的方式实现。首先分析了CPU卡的接口特性及传输协议,介绍了方案设计时对MCU选型的注意事项和ESAM安全模块的功能及作用;接着基于Microchip公司的PIC16LF1946芯片,完成了方案中硬件接口设计和软件接口函数设计;最后对方案中给出的设计进行实现和接口验证测试。测试结果表明,该设计方案符合ISO7816标准的要求,能高效实现CPU卡的读写。
A MCU based design of CPU card reader is presented,which directly uses I / O port to drive the CPU card. Firstly the paper gives the input / output features of CPU cards. Secondly a security module( ESAM) is presented and some design issues are introduced. Finally a PIC16LF1946 MCU is chosen to implement the hardware part of CPU card reader and also the design of the software part is given. Experimental test proves that the design and implementation is complied with the ISO7816 standard and is efficient in reading and writing CPU card.
出处
《微型机与应用》
2016年第8期53-57,共5页
Microcomputer & Its Applications