Useful Links
Computer Science
Software Engineering
STM32 Microcontroller Development
1. Introduction to STM32 Microcontrollers
2. Foundational Knowledge
3. Setting Up the Development Environment
4. Core Architecture and System Control
5. General Purpose Input/Output (GPIO)
6. Interrupts and Exception Handling
7. Timers (TIM)
8. Direct Memory Access (DMA)
9. Serial Communication Interfaces
10. Analog Peripherals
11. Power Management and Low-Power Modes
12. Software Development and Architecture
13. Debugging and Testing
14. Advanced Topics and Peripherals
Serial Communication Interfaces
Universal Synchronous/Asynchronous Receiver/Transmitter (USART/UART)
USART vs UART Differences
Frame Format Configuration
Start Bit
Data Bits (7, 8, 9)
Parity Bit (None, Even, Odd)
Stop Bits (1, 1.5, 2)
Baud Rate Generation
Baud Rate Register (BRR)
Oversampling Configuration
Transmission and Reception
Polling Mode
Interrupt Mode
DMA Mode
Flow Control
Hardware Flow Control (RTS/CTS)
Software Flow Control (XON/XOFF)
Error Detection and Handling
Overrun Error
Framing Error
Parity Error
Noise Error
Multi-processor Communication
Address Mark Detection
Wake-up Methods
Serial Peripheral Interface (SPI)
SPI Protocol Overview
Master and Slave Modes
Clock Configuration
Clock Polarity (CPOL)
Clock Phase (CPHA)
SPI Modes (0, 1, 2, 3)
Data Frame Format
8-bit and 16-bit Frames
MSB/LSB First
Chip Select Management
Hardware NSS
Software NSS
Multi-slave Configuration
Communication Modes
Full-Duplex
Half-Duplex
Simplex
SPI with DMA
TX and RX DMA Configuration
Circular Buffer Implementation
Inter-Integrated Circuit (I2C)
I2C Protocol Fundamentals
Master and Slave Operation
Addressing Modes
7-bit Addressing
10-bit Addressing
General Call Address
I2C Transaction Structure
Start Condition
Address Phase
Data Phase
Stop Condition
Acknowledgment Handling
ACK and NACK Generation
ACK Failure Detection
Advanced I2C Features
Clock Stretching
Multi-master Arbitration
SMBus Compatibility
I2C Error Handling
Bus Error Detection
Arbitration Lost
Timeout Management
Previous
8. Direct Memory Access (DMA)
Go to top
Next
10. Analog Peripherals