Driving an LCD Backlight: FlexPWM vs. Controller-Generated CABC_PWM

Why I moved a product’s backlight off an MCU timer channel and onto the panel controller’s own PWM via MIPI DCS 0x51 — what it freed up, and the two traps in the migration.

July 25, 2026 · 10 min · 1963 words · Hoa Nguyen

Interrupts on the i.MX RT1062: GPIO vs ADC vs FlexPWM, and Auditing Your NVIC Table

The three interrupt sources follow one NVIC pattern but differ in where the trigger lives and how the flag clears. Plus the audit that matters: which of your ISRs sit above the FreeRTOS syscall barrier, and therefore must never touch a FreeRTOS API.

July 25, 2026 · 9 min · 1731 words · Hoa Nguyen