当前位置:网站首页>STM32 serial communication principle
STM32 serial communication principle
2022-07-03 09:41:00 【two thousand and twenty-one point zero nine】
Parallel communication , For example, transmission 8 position , Then use 8 One pin , Transmit at the same time .
serial communication , transmission 8 position , With one pin , In turn .



Synchronous communication , use cloc The falling edge or rising edge of a clock , To determine sending and receiving .
asynchronous communication , Through the baud rate agreed between the receiving end and the sending end , To determine sending and receiving .

Full duplex communication is generally , There are independent sending and receiving ports .
Synchronous communication has , Clock signal .

USART It can also be used as USRT use .

The left figure is used between single-chip computers , The right figure is used between MCU and computer , To pass RS232 Level conversion .





1、 Accept 、 Send path .
2、f103, A serial port 1——PCLK2. A serial port 2、3、4、5——PCLK1.

3、USARTDIV It can be decimal or integer 、 And it has to be 1/16 Integer multiple , Such as 2/16、3/16, because DIV_mantissa、DIV_Fraction.
4、SR Status flag bit during transmission .CR1 On the right 4 position , Enable bit .CR1 On the left 4 position , Interrupt enable bit .

边栏推荐
- QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
- Trial of the combination of RDS and crawler
- Leetcode daily question (2212. maximum points in an archery competition)
- Starting from 0, use pnpm to build a demo managed by monorepo
- [CSDN]C1训练题解析_第四部分_Web进阶
- 307. Range Sum Query - Mutable
- Leetcode daily question (1024. video sticking)
- How MySQL modifies null to not null
- Development of fire evacuation system
- LeetCode每日一题(1996. The Number of Weak Characters in the Game)
猜你喜欢

Win10 install elk
![[CSDN]C1训练题解析_第三部分_JS基础](/img/b2/68d53ad09688f7fc922ac65e104f15.png)
[CSDN]C1训练题解析_第三部分_JS基础

Nr-prach: access scenario and access process

Spark overview
![【顺利毕业】[1]-游览 [学生管理信息系统]](/img/91/72cdea3eb3f61315595330d2c9016d.png)
【顺利毕业】[1]-游览 [学生管理信息系统]
![【順利畢業】[1]-遊覽 [學生管理信息系統]](/img/91/72cdea3eb3f61315595330d2c9016d.png)
【順利畢業】[1]-遊覽 [學生管理信息系統]

Flink learning notes (VIII) multi stream conversion
![[CSDN]C1训练题解析_第四部分_Web进阶](/img/ee/2e9756cc0e2e6eda83e1b2304c0bd6.png)
[CSDN]C1训练题解析_第四部分_Web进阶

Arduino handles JSON data, arduinojson assistant

Flink learning notes (IX) status programming
随机推荐
1922. Count Good Numbers
Development of fire power monitoring system
LeetCode每日一题(1856. Maximum Subarray Min-Product)
【男保姆式】教你打开第一个微信小程序
【順利畢業】[1]-遊覽 [學生管理信息系統]
Flink CDC practice (including practical steps and screenshots)
Convert IP address to int
UCI and data multiplexing are transmitted on Pusch - placement of data and UCI positions (Part III)
文件系统中的目录与切换操作
The number of weak characters in the game (1996)
Leetcode daily question (2305. fair distribution of cookies)
LeetCode每日一题(2090. K Radius Subarray Averages)
顺利毕业[3]-博客系统 更新中。。。
Patent inquiry website
LeetCode每日一题(2109. Adding Spaces to a String)
IDEA远程断点调试jar包项目
Flink学习笔记(十)Flink容错机制
Long类型的相等判断
Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 4 --blinker_ DHT_ WiFi (lighting technology app control + temperature and humidity data app display)
从0开始使用pnpm构建一个Monorepo方式管理的demo