A microSD Active Object with QP/C and USDHC1 — and the Card-Detect Line That Lied

Building an SdCard active object on the i.MX RT1062: hardware card detect, the blocking-API problem that forces a worker task, and the coupled CD line that made detection fail unpredictably until I stopped trusting the interrupt.

July 25, 2026 · 11 min · 2189 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

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