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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
