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

FlexSPI + QSPI NOR on the i.MX RT1062: Configuration and Verifying Max Speed

How I configured FlexSPI for a Winbond W25Q128JV, measured 518 Mbps read (97% of theoretical), and why the write measurement that looked great was actually a bug in my busy-poll loop.

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

i.MX RT1062 Pin Config: Pull/Keeper, Drive Strength and Slew Rate

What each IOMUXC pad-control field actually does, how to derive the right value from the schematic instead of trusting the config tool’s defaults, and the SD-card bug those defaults caused on my board.

July 25, 2026 · 9 min · 1755 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