Miscellaneous ArticlesFixing PREEMPT_RT Spinlock Sleeping Invalid ContextUnder CONFIG_PREEMPT_RT=y , the Linux kernel converts standard spinlocks into sleeping…
Embedded OSFixing ThreadX Queue Stack Corruption on STM32ThreadX message queues are the primary inter-thread communication mechanism in Azure RTOS. A subtle…
Miscellaneous ArticlesFixing Flaky CI Pipelines in Embedded FirmwareFlaky CI pipelines waste engineering hours, erode trust in automation, and delay releases. In…
Embedded ConceptsFixing PWM Dead-Time Errors Causing MOSFET Shoot-ThroughPWM dead-time insertion is the silent killer of motor drive reliability. You configure the registers…Jithin TomOctober 26, 2026 7 min
Embedded OSFixing Zephyr Workqueue Deadlock From ISR ContextZephyr RTOS provides the workqueue subsystem as the standard architectural bridge between top-half…Jithin TomOctober 25, 2026 5 min
Embedded C/C++Linker Script Mastery: Memory Layout for Embedded FirmwareProblem Statement The linker script is the single source of truth for your firmware's memory…Jithin TomOctober 24, 2026 5 min
Miscellaneous ArticlesFixing PREEMPT_RT Spinlock Sleeping Invalid ContextJithin TomNovember 15, 2026 5 min
Embedded OSFixing ThreadX Queue Stack Corruption on STM32ThreadX message queues are the primary inter-thread communication mechanism in Azure RTOS. A subtle…Jithin TomNovember 13, 2026 7 min
Embedded C/C++Fixing Embedded C Code That Breaks With -O2 OptimizationYour firmware passes every test at -O0 . You flip the switch to -O2 for the release build and…Jithin TomNovember 12, 2026 4 min
Miscellaneous ArticlesFixing Flaky CI Pipelines in Embedded FirmwareFlaky CI pipelines waste engineering hours, erode trust in automation, and delay releases. In…Jithin TomOctober 27, 2026 6 min
Embedded ConceptsFixing PWM Dead-Time Errors Causing MOSFET Shoot-ThroughPWM dead-time insertion is the silent killer of motor drive reliability. You configure the registers…Jithin TomOctober 26, 2026 7 min
Miscellaneous ArticlesDebugging Bootloader Verify Failures in Field DeploymentsJithin TomOctober 22, 2026 6 min
Embedded ConceptsDebugging I2C Bus Contention in Multi-Master SystemsJithin TomOctober 21, 2026 4 min
Fixing Embedded C Code That Breaks With -O2 OptimizationYour firmware passes every test at -O0 . You flip the switch to -O2 for the release build and…Jithin TomNovember 12, 2026 4 min
Linker Script Mastery: Memory Layout for Embedded FirmwareProblem Statement The linker script is the single source of truth for your firmware's memory…Jithin TomOctober 24, 2026 5 min
Fixing UART Overrun Errors on NXP i.MX RT with FlexIOProblem Statement UART receiver overrun errors are among the most persistent failure modes in…Jithin TomOctober 13, 2026 5 min
Compile-Time Peripheral Register Init with C++20 constexprProblem: Runtime Register Initialization Overhead and Type Unsafety Traditional embedded C register…October 09, 2026 2 min
Bitwise Modulo in C: Optimizing Embedded SystemsBitwise modulo optimization is a critical technique for reducing latency in time-sensitive embedded…Jithin TomSeptember 26, 2026 5 min
Software UART using GPIO and Timer in Embedded CSoftware UART Timing Introduction When your embedded application needs more serial ports than the…Jithin TomSeptember 24, 2026 4 min
Fixing ESP32-S3 OTA Upgrade Boot Failure at 120MHzAn ESP32-S3 device runs stably at an 80 MHz SPI flash clock. To maximize execution speed and SPI bus…Jithin TomNovember 14, 2026 7 min
Fixing PWM Dead-Time Errors Causing MOSFET Shoot-ThroughPWM dead-time insertion is the silent killer of motor drive reliability. You configure the registers…Jithin TomOctober 26, 2026 7 min
Debugging I2C Bus Contention in Multi-Master SystemsProblem Statement I2C multi-master systems are common in embedded designs where multiple MCUs or…Jithin TomOctober 21, 2026 4 min
Fixing SPI Clock Phase Polarity Mismatch in Multi-SlaveSPI clock phase and polarity mismatches are among the most deceptive failure modes in multi-slave…Jithin TomOctober 11, 2026 5 min
Zephyr Workqueue API for Deferred Work in Embedded SystemsProblem: Blocking Threads in Interrupt Handlers In embedded systems, interrupt service routines…Jithin TomSeptember 27, 2026 6 min
Fixing Zephyr Deep Sleep Backup SRAM Retention on STM32When designing battery-powered embedded systems, engineers often face the challenge of preserving…Jithin TomSeptember 12, 2026 4 min
Fixing ThreadX Queue Stack Corruption on STM32ThreadX message queues are the primary inter-thread communication mechanism in Azure RTOS. A subtle…Jithin TomNovember 13, 2026 7 min
Fixing Zephyr Workqueue Deadlock From ISR ContextZephyr RTOS provides the workqueue subsystem as the standard architectural bridge between top-half…Jithin TomOctober 25, 2026 5 min
Analyzing RTOS Task Deadline Misses: Causes and SolutionsIntroduction In real-time computing systems, correctness depends not merely on the logical validity…Jithin TomOctober 20, 2026 7 min
Fixing Zephyr Bluetooth LE Connection Timeout IssuesProblem Statement Zephyr Bluetooth LE connection timeout issues occur when a BLE connection fails to…Jithin TomOctober 10, 2026 8 min
Reduce FreeRTOS Tick Rate to Extend Battery LifeBattery-operated embedded systems face constant pressure to maximize operational lifetime between…Jithin TomSeptember 30, 2026 5 min
Zephyr Dynamic Memory Allocation Failures: DebuggingIntroduction Dynamic memory allocation is a powerful feature in embedded systems, but it introduces…Jithin TomSeptember 29, 2026 5 min
Fixing PREEMPT_RT Spinlock Sleeping Invalid ContextUnder CONFIG_PREEMPT_RT=y , the Linux kernel converts standard spinlocks into sleeping…Jithin TomNovember 15, 2026 5 min
Fixing Flaky CI Pipelines in Embedded FirmwareFlaky CI pipelines waste engineering hours, erode trust in automation, and delay releases. In…Jithin TomOctober 27, 2026 6 min
Debugging Bootloader Verify Failures in Field DeploymentsSecure bootloader verification is the gatekeeper of firmware integrity — it ensures only…Jithin TomOctober 22, 2026 6 min
Embedded Linux Kernel Driver Debugging: Common IssuesEmbedded Linux kernel driver development presents unique challenges due to the tight integration…Jithin TomOctober 12, 2026 7 min
Reducing Firmware Size with CMake Dead Code EliminationProblem: Firmware Bloat from Unused Code Embedded firmware frequently grows beyond necessary size…Jithin TomOctober 08, 2026 8 min
Fixing TFLite Micro Model Loading Failures on STM32H7When deploying TensorFlow Lite Micro (TFLite Micro) models on STM32H7 microcontrollers, engineers…Jithin TomSeptember 23, 2026 5 min