当前位置:网站首页>Serial communication learning

Serial communication learning

2022-06-13 04:32:00 Culvert.

The processor communicates with external devices

1、 Parallel communication
All bits of data are transmitted at the same time , It is fast but takes up pin resources

2、 serial communication
Data transmission in bit order , Relatively slow

(1) Synchronous communication : With clock synchronization signal
SPI、IIC signal communication

(2) asynchronous communication : Without clock signal
UART( full duplex )

3、STM32F407ZGT6 Of UART Pin

Serial number RXDTXD
1PA10(PB7)PA9(PB6)

4、 Serial port related registers
(1)USART_SR Status register

(2)USART_DR Data register

(3)USART_BRR Baud rate register

原网站

版权声明
本文为[Culvert.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280522367382.html