当前位置:网站首页>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 .
边栏推荐
- 软件测试工程师是做什么的 通过技术测试软件程序中是否有漏洞
- [22 graduation season] I'm a graduate yo~
- LeetCode每日一题(2232. Minimize Result by Adding Parentheses to Expression)
- Alibaba cloud notes for the first time
- Run flash demo on ECS
- Analysis of the implementation principle of an open source markdown to rich text editor
- Development of electrical fire system
- Design and development of biological instruments
- Global KYC service provider advance AI in vivo detection products have passed ISO international safety certification, and the product capability has reached a new level
- UCI and data multiplexing are transmitted on Pusch - placement of data and UCI positions (Part III)
猜你喜欢
Leetcode daily question (931. minimum falling path sum)
IDEA远程断点调试jar包项目
Uncle Wang's blog directory [constantly updating]
[combinatorics] Introduction to Combinatorics (combinatorial thought 2: mathematical induction | mathematical induction promotion | multiple induction thought)
Flink learning notes (VIII) multi stream conversion
PolyWorks script development learning notes (I) - script development environment
Flink学习笔记(十一)Table API 和 SQL
Matlab reads hexadecimal numbers and converts them into signed short
Hudi data management and storage overview
LeetCode每日一题(1162. As Far from Land as Possible)
随机推荐
【男保姆式】教你打开第一个微信小程序
【顺利毕业】[1]-游览 [学生管理信息系统]
The cyclic shift of PUCCH in NR channel is generated by MATLAB
PolyWorks script development learning notes (II) -treeview basic operations
Find all possible recipes from given supplies
Jestson Nano自定义根文件系统创建(支持NVIDIA图形库的最小根文件系统)
解决Editor.md上传图片获取不到图片地址问题
软件测试工程师是做什么的 通过技术测试软件程序中是否有漏洞
Implementing distributed lock with redis
MySQL Data Definition Language DDL common commands
一款开源的Markdown转富文本编辑器的实现原理剖析
PRACH --- originator
Run flash demo on ECS
Intelligent home design and development
Leetcode daily question (985. sum of even numbers after queries)
Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别
LeetCode每日一题(2090. K Radius Subarray Averages)
PolyWorks script development learning notes (4) - data import and alignment using file import
数字身份验证服务商ADVANCE.AI顺利加入深跨协 推进跨境电商行业可持续性发展
[graduation successful] [1] - tour [Student Management Information System]