| Smart Card is a plastic card with a microprocessor chip embedded in it, it's convenient to take, and it provides a larger data storage, what's more, it bears the ability of protecting internal data, namely, the protected data would not be accessed under unauthorized conditions. Due to this high security, Smart card will play a progressively unsubstitutable role in the National Economic area, such as communication, finance, insurance, negotiable securities, and computer network security area. We'll be faced with more and more varied smart cards. But we have to equip specific smart card device or reader to communicate with smart card.The software and hardware design of smart card interface module of system on a chip based on MIPS processor is discussed in this dissertation. Firstly, the characteristic of MIPS processor of SOC is introduced, which is used as the main controller of the system, secondly, ISO7816 standard for smart card, which is constituted by International Standard Organization, is introduced. The functions accomplished by hardware or software are divided according to the Standard. The parts of smart card electronic characteristic, signal timing, character transmission protocol defined in Standard are implemented by hardware, and ATR data analysis, application protocol data unit transmission refered by Standard are implemented by software. In the part of hardware module, card inserted detection and reset, data reception and transmission, card deactivation are discussed separatedly according to the module's function; In the part of software module, smart card interface register configuration, transmission protocol parse and the applications of MIPS interrupt are discussed. Then, the design verification on virtual simulation platform and target board are executed individually, the methods and process of verification are discussed, the probable problems are notified, and the results are analyzed.Finally, the SCI module is integrated inside the chip, and reduce the cost of system. Besides, there are many programmable registers inside the SCI, so it possesses better compatible abilities, it could not only support smart card based on ISO7816, but also support smart card base on GSM, EMV Standards by debuging or updating software. |