[Revised] Emulating UART Part 2: Sending Data
In Part 1 we configured the timer and the transmit pin; in Part 2 we put that time base to work and actually send…
505 articles
In Part 1 we configured the timer and the transmit pin; in Part 2 we put that time base to work and actually send…
To achieve precise, deterministic sampling rates essential for digital signal processing and control systems, this guide explores using a hardware timer to trigger the…
Unlike UART or I2C, an SPI master never simply listens: clocks only run while the master transmits, so every read is inherently a simultaneous…
Until now, the timer has only known how to repeat — PWM painting the same waveform over and over, forever. Output Compare is the…
In this new series guide, we shall emulate the UART hardware using a clever combination of timers and DMA to achieve effortless, CPU-independent serial…
In Part 1, we used a timer to measure time; now we’ll put it to work generating signals instead. In this part, we configure…
In Part 3 of our series, we will configure GATT Services and Characteristics on the STM32WB55 to establish two-way data communication with your smartphone.…
This guide walks through building a lightweight, framed UART protocol for emulating a sensor, covering the frame layout, parser design, and error handling needed…
Accurate timing is a fundamental requirement in most embedded applications, whether for blinking an LED, polling a sensor, or driving communication protocols. This guide…
The Serial Peripheral Interface (SPI) is one of the most common protocols for connecting microcontrollers to external devices such as sensors, memory chips, and…