当前位置:网站首页>UART protocol timing summary
UART protocol timing summary
2022-06-24 00:03:00 【Passing bear~】
UART Work in asynchronous mode , No clock signal is needed , Its general format is : Start bit + Data bits + Check bit + Stop bit . Where the start bit 1 position , Data bits 5~8 position , Check bit 0 or 1 position , Stop bit 1、1.5 or 2 position . But the most The usual format is 1 Bit start bit 、8 Digit bit 、 No parity 、1 Bit stop bit , Short for 8/N/1.
8/N/1 The sequence diagram of the format is as follows :
When idle, the data line is specified as logical 1.
At baud rate 9600 For example , Start with 1/9600s When transmitting data bit by bit, the start bit is sent first , Specified as logical 0, The receiver will detect this falling edge , So as to start sampling and receiving data later . Set the sampling interval as N, When sampling 8N after , You can stop sampling .
The start bit is followed by the data bit , Send the lowest bit first , namely LSB First. because UART No clock signal , Therefore, the baud rate is used to determine the length of each bit , But to ensure the accuracy of the test , The actual sampling frequency will be higher than the baud rate , Generally, each bit will be sampled several times , Take the middle sampling value as the result of this bit .
Parity bits are generally not used .
The stop bit is generally used 1 position , Specified as logical 1, In addition to indicating the end of transmission , The stop bit can also play the role of clock synchronization .
It should be noted that , The logic here 0 It doesn't have to be 0V, This is related to the level standard used . about TTL In terms of level , Logic 0 yes 0V, Logic 1 Is a high level ( It's usually 3.3V or 5V); about RS-232 In terms of level , Logic 0 yes 3V15V, Logic 1 yes -3-15V.
except TX、RX、GND Out of signal ,UART There will also be such RTS、CTS Wait for flow control signal , Because it's not used much , There is no summary here .
边栏推荐
- log Network Execution Time
- Tupu software intelligent wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
- 如何入门机器学习?
- [things about gbase] gbase 8s high availability technology and case analysis (issue 02)
- 国内首款开源MySQL HTAP数据库即将发布,三大看点提前告知 石原子科技重磅推出
- 【Bug】C# IQueryable里的元素更改不了值
- Classical Chinese can be programmed???
- Learn PWN from CTF wiki - ret2text
- 数据库中索引原理及填充因子
- Save: software analysis, verification and test platform
猜你喜欢

NLP工程师是干什么的?工作内容是什么?

1. < tag dynamic programming and path combination problem > lt.62 Different paths + lt.63 Different paths II

DO280OpenShift访问控制--管理项目和账户

Tupu software intelligent wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment

return、const、volatile关键字
![Total number of combinations ii[each element can only be solved by + once]](/img/06/a40e28a1882a4278883202bc9c72d3.png)
Total number of combinations ii[each element can only be solved by + once]

Use of reverse tools IDA and GDB

docker 部署redis

Tiktok practice ~ password retrieval

Revit API:明细表 ViewSchedule
随机推荐
Three Solution to the problem of inaccuracy in radiographic testing under the condition of non full screen canvas of JS
C语言c89(c90)的所有的32个关键字分类
What is the use of AI technology in the medical field?
AI技术在医学领域有什么用?
This high imitation millet mall project is amazing
The easycvr program started abnormally as a service, but the process started normally. What is the reason?
APP性能优化之启动流程分析
docker 部署redis
==What is the difference between and equals?
Cvpr2019/ image translation: transgaga: geometry aware unsupervised image to image translation
Design of message push platform
2021-11-23: Regulations: l[1] corresponds to a, l[2] corresponds to B, l[3] corresponds to C
Six complete open source projects, learning enough at a time
WPF效果之Expander+ListBox
工作中一些常用的工具函數
云原生架构(05)-应用架构演进
不容错过 | 华为内部资料--成功的项目管理PPT(123页)
Restore IP address [standard backtracking + standard pruning]
1.< tag-动态规划和路径组合问题>lt.62. 不同路径 + lt.63. 不同路径 II
Server2022 activation