Target hardware and tools MCU/board: STM32F103 series (e.g., STM32-F103-MINI) Toolchain: Keil MDK-ARM (uVision5 or newer) Optional: Serial terminal for observation 1. A minimal Keil project written entirely in assembly 1.1 Create the project Open Keil uVision, create a new project (example name: asm...
ADS1115 at a glance 16‑bit SAR ADC, low power Four analog inputs: AIN0–AIN3 (single‑ended) or differential pairs Supply: 2.0–5.5 V on VDD, GND reference Digital interface: I²C (SCL, SDA) Address select: ADDR pin (GND/ VDD/ SDA/ SCL) Optional comparator/alert output: ALERT/RDY Typical wiring to STM32...
This guide walks through bringing up 10/100M Ethernet on an STM32F429 board using STM32CubeMX to integrate FreeRTOS and LwIP with an external LAN8720 RMII PHY and an RJ45 (with integrated magnetics). 1. Hardware and pinout The LAN8720 connects to the STM32F429 via RMII. The typical signal mapping is...
SD cards are Flash-based storage modules widely used in embedded systems for logging runtime data and storing configuration. They expose two host interfaces: the native SD bus and the simpler SPI bus. This guide focuses on SPI mode, command framing, response handling, and a compact C driver demonstr...