STM32F103C8T6 Bare-Metal Hardware Foundation
Power Domain
A 5 V micro-USB conncetor feeds the MIC5219-3. produces a clean 3.3 V rail. A green indicator LED confirms the rail is alive.
USB 5 V ──► LDO 3.3 V ──► VDD, VDDA
└──► LED (330 Ω → GND)
Clock Tree
The MCU can boot from three sources:
HSI – internal 8 MHz RC, ±1 %
HSE – external 8 MHz crystal, ±20 ppm
PLL – mul ...
Posted on Fri, 28 Aug 2026 16:05:50 +0000 by vtolbert
Understanding Rust FFI: Symbol Declaration, Address Resolution, and Linking Models
Rust’s Foreign Function Interface operates on the same compilation and linking principles as C and C++, with the unsafe keyword serving as the primary boundary marker. When developing bare-metal systems without the standard library, developers must manually manage the execution environment, including the program entry point and initial stack al ...
Posted on Thu, 27 Aug 2026 16:50:07 +0000 by RussW
Bare-Metal CAN Driver Implementation for S32K148
The S32K148 microcontroller supports three primary methods for CAN message transmission and reception: mailbox mode, FIFO mode, and DMA mode. Among these, mailbox mode offers simplest conceptual model and serves as a practical starting point for understanding CAN communication on this platform.
Key registers involved in mailbox-based CAN opera ...
Posted on Tue, 16 Jun 2026 16:34:56 +0000 by etones