Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of stm32 frequency reduction to realize high-speed card reader

A high-speed, card-reader technology, applied in the field of communication, can solve the problem of not meeting the high-speed communication requirements of the card reader, and achieve the effects of speeding up the reading speed, improving the communication speed, and improving the satisfaction

Inactive Publication Date: 2017-10-10
GUANGDONG HUADA INTERNET CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the wide application of card readers, people have higher and higher requirements for the reading efficiency of card readers, and the communication rate of 387096bps can no longer meet the high-speed communication needs of modern people for card readers.

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
  • A method of stm32 frequency reduction to realize high-speed card reader

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make those skilled in the art more clearly understand the purpose, technical solutions and advantages of the present invention, the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0015] refer to figure 1 As shown, in this embodiment, the method for reducing frequency of the STM32 to realize a high-speed card reader includes the following steps:

[0016] Step S1: Initialize the stack;

[0017] Step S2: Initialize the system clock of the STM32 microcontroller to 48Mhz;

[0018] Step S3: Initialize GPIO (General Purpose Input Output General Purpose Input Output);

[0019] Step S4: Initialize the USART interface of the STM32 microcontroller to 7816 mode, set the system clock to divide by 5, and set CLK to 4.8Mhz;

[0020] Step S5: According to ETU=(F / D)×(1 / f), the minimum value of ETU is obtained, wherein F / D is the baud rate conversion factor, and f is the CLK frequency of ISO7816 / smart card...

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 a high-speed card reader by reducing the frequency of STM32, including initializing the system clock of the STM32 microcontroller to 48Mhz; initializing GPIO; initializing the USART interface of the STM32 microcontroller to 7816 mode, and setting the system clock to 5 minutes frequency, CLK is set to 4.8Mhz; according to ETU=(F / D)×(1 / f), the minimum value of ETU is obtained, where F / D is the baud rate conversion factor, and f is the CLK frequency of ISO7816 / smart card. The present invention adopts STM32F103 micro-controller, system clock is set to 48Mhz, system clock frequency division by 5 makes CLK maximum value be 4.8Mhz, the minimum value of ETU is 2.42us according to this, according to ETU=(F / D)*(1 / f) Make the maximum communication rate reach 412903bps, which is 25807bps higher than the communication rate achieved when the original main frequency is 72Mhz. The invention has the advantages of increasing the communication rate of the card reader, accelerating the reading speed of the card reader and improving user satisfaction.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for realizing a high-speed card reader by reducing the frequency of an STM32. Background technique [0002] The current card reader mainly uses the STM32 micro control platform. The ISO7816 of the card reader is realized by the smart card mode of the USART (Universal Synchronous / Asynchronous Receiver / Transmitter) interface. The communication rate of the ISO7816 interface depends on the ETU (Elementary TimeU nit basic time unit), and the ISO7816 interface needs 10 ETUs when transmitting 1 byte. The value of ETU is determined by the clock frequency, and the relationship between ETU and clock frequency is: ETU=(F / D)×(1 / f), where F / D is the baud rate conversion factor, which depends on the smart card, and f is ISO7816 / The frequency of CLK of the smart card depends on the card reader. Since the value of ETU depends on F / D and f, the smaller the value of F / D, the larger the value...

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 Patents(China)
IPC IPC(8): G06K7/00
Inventor 张亚军梁杰
Owner GUANGDONG HUADA INTERNET CO LTD