Method for realizing ISO7816 protocol with UART (universal asynchronous receiver/transmitter) of low-cost MCU (micro-control unit)

An ISO7816, low-cost technology, applied in the field of ISO7816 protocol, can solve the problem of high cost and achieve the effect of low implementation cost and good implementation effect

Inactive Publication Date: 2012-06-27
FUJIAN XINO COMM TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will inevitably cost more

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing ISO7816 protocol with UART (universal asynchronous receiver/transmitter) of low-cost MCU (micro-control unit)
  • Method for realizing ISO7816 protocol with UART (universal asynchronous receiver/transmitter) of low-cost MCU (micro-control unit)
  • Method for realizing ISO7816 protocol with UART (universal asynchronous receiver/transmitter) of low-cost MCU (micro-control unit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] A method utilizing the UART of a low-cost MCU to realize the ISO7816 protocol comprises the steps:

[0054] Hardware interface: such as figure 1 As shown, where RXD2 and TXD2 represent the transceiver pins of the UART of the MCU. CPU_CARD_IO1 represents the I / O pin of the smart IC card interface. Connect TX and RX to the I / O pins of the smart IC card through the triode.

[0055] The I / O timing diagram of the smart IC card is as follows: figure 2 As shown, the timing diagram of the UART of the MCU is as follows image 3 shown.

[0056] Data sending module:

[0057] The main functions of the data sending module include: converting data according to the encoding protocol (optional, completed by the upper layer protocol); sending data through the UART of the MCU or GPIO simulation; detecting the error signal of the smart IC card, and resending the data.

[0058]The way of data conversion: If the sampling is forward to the agreed encoding method, no conversion is requ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for realizing an ISO7816 protocol with a UART (universal asynchronous receiver/transmitter) of a low-cost MCU (micro-control unit), which comprises a character frame transmitting module and a character frame receiving module. The transmitting module is used for transmitting data according to a frame format of the ISO7816 protocol through the UART of the MCU or by a software to control GPIO (general purpose input/output), and is used for processing error signals of a smart card to initiate a retransmission operation. The receiving module is used for sampling data transmitted to the smart card through the UART of the MCU and performing even parity check for the sampled data, if verification fails, the error signals are triggered, and the smart card is informed to retransmit the data, otherwise, the receiving module is used for converting the received data and transmitting the converted data to an upper-layer protocol. The realization method is practically verified and passes through EMV (Europay+MasterCard+Visa) authentication of the China UnionPay testing center.

Description

【Technical field】 [0001] The invention relates to an electronic device with a contact type intelligent IC card interface, in particular to a method for realizing the ISO7816 protocol by utilizing the UART of a low-cost MCU. 【Background technique】 [0002] Integrated circuit card IC card for short, it is composed of one or more integrated circuit chips packaged on a plastic card the size of a credit card. The integrated circuit chip on the card communicates with the outside world through the contact electrodes on the card surface. The chip generally has a memory with a certain capacity, and has a logic circuit to realize calculation and data protection. [0003] IC cards are mainly used for identification, confidential data access and financial fields. They are substitutes for photoelectric cards and magnetic cards, and will be the development trend of card products in the future. As a general-purpose component, IC card has the characteristics of transnational use and cross...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42
Inventor 赵进云
Owner FUJIAN XINO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products