Driving an LCD Backlight: MCU PWM vs. the Display Controller's CABC_PWM

A TFT backlight can be dimmed by an MCU timer or by the display controller’s own PWM, set with the MIPI DCS brightness commands. What each option costs, what it frees up, and the traps when you move from one to the other.

November 10, 2026 · 9 min · 1716 words · Hoa Nguyen

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

How FlexSPI talks to a QSPI NOR on the i.MX RT1062: the two access paths, the LUT, the sampling clock that caps your frequency, and how to prove you run at full speed. Read speed is checked against the bus, write speed against the flash datasheet.

November 10, 2026 · 9 min · 1872 words · Hoa Nguyen

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

What each IOMUXC pad-control field on the i.MX RT10xx actually does, how to derive its value from the schematic and the protocol spec instead of trusting generated defaults, and a microSD interface as a worked example.

November 10, 2026 · 8 min · 1569 words · Hoa Nguyen

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

GPIO, ADC and FlexPWM interrupts follow one NVIC pattern but differ in where the trigger lives and how the flag clears. Plus the audit that matters with FreeRTOS: which ISRs sit above the syscall barrier, and therefore must never touch a FreeRTOS API.

November 10, 2026 · 9 min · 1782 words · Hoa Nguyen

Single Pair Ethernet in Practice: Bringing SPE into an Industrial Control System

What it takes in firmware to run a daisy chain of devices over Single Pair Ethernet: which port decides that the controller is gone, how a node learns its position, when to store the topology, why the receive interrupt lies, and how to update every device on the chain.

November 10, 2026 · 8 min · 1656 words · Hoa Nguyen