当前位置:网站首页>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 .
边栏推荐
- Common software open source protocols
- [CSDN] C1 training problem analysis_ Part III_ JS Foundation
- Leetcode daily question (1162. as far from land as possible)
- MYSQL数据库底层基础专栏
- [male nanny style] teach you to open the first wechat applet
- Leetcode daily question (2305. fair distribution of cookies)
- Jestson Nano 从tftp服务器下载更新kernel和dtb
- 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
- LeetCode每日一题(1362. Closest Divisors)
- Chromium Embedded Framework (CEF) 介绍
猜你喜欢
Design and development of biological instruments
【顺利毕业】[1]-游览 [学生管理信息系统]
Flink learning notes (XI) table API and SQL
【順利畢業】[1]-遊覽 [學生管理信息系統]
Analysis of the implementation principle of an open source markdown to rich text editor
Spark cluster installation and deployment
NR technology -- MIMO
Runtime.getRuntime().gc() 和 Runtime.getRuntime().runFinalization() 的区别
MySQL data manipulation language DML common commands
小王叔叔的博客目录【持续更新中】
随机推荐
[graduation successful] [1] - tour [Student Management Information System]
Usage of pandas to obtain MySQL data
LeetCode每日一题(1162. As Far from Land as Possible)
Spark cluster installation and deployment
UCI and data multiplexing are transmitted on Pusch - Part I
Leetcode daily question (2109. adding spaces to a string)
1922. Count Good Numbers
LeetCode每日一题(985. Sum of Even Numbers After Queries)
Jetson nano custom boot icon kernel logo CBOOT logo
Getting started with shell programming
【順利畢業】[1]-遊覽 [學生管理信息系統]
Implementing distributed lock with redis
LeetCode每日一题(1024. Video Stitching)
QT sub window is blocked, and the main window cannot be clicked after the sub window pops up
PolyWorks script development learning notes (III) -treeview advanced operation
Arduino handles JSON data, arduinojson assistant
Flink学习笔记(十一)Table API 和 SQL
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)
Hudi data management and storage overview
Leetcode daily question (516. long palindromic subsequence)