在单片机开发中,UART、I2C、CAN等普遍在用,对它们的认识可能模棱两可,本文把它们整理了一下。本文较长,阅读时间大约10分钟。 UART通用异步收发器 UART口指的是一种物理接口形式(硬件)。 UART是异步,全双工串口总线。它比同步串口复杂很多。有两根线,一 ...
本篇博文简要介绍UART、I2C、SPI串行总线通信原理。更详细的说明请看以下三篇文章。 一文搞懂I2C总线通信 一文搞懂SPI通信协议 I2C (Inter-Integrated Circuit) 通信协议是一种多主从架构的串行通信总线,有两根双向的信号线:一根数据线SDA用于收发数据,一根时钟线 ...
A fundamental skill that embedded software developers need to master is understanding how to write drivers. Within an embedded system, there a typically two types of drivers: microcontroller ...
Hackaday regular [befinitiv] wrote into the tip line to let us know about a hack you might enjoy, wireless UART output from a bare STM32 microcontroller. Desiring the full printf debugging experience, ...