SDAA529 September 2026 MSPM33C321A
The MSP M33 SDK provides a QSPI flash driver (QSPI_FLASH.h) layered on top of the DriverLib QSPI module (DL_QSPI). The SDK example qspi_flash_readback_dma demonstrates the complete life cycle used in this application note: driver initialization, flash identification, quad-mode enablement, erase, DMA-based page program, and DMA-based quad read with verification.
The qspi_flash_readback_DMA example is provided in the MSP M33 SDK as a No-RTOS project with GCC, IAR, and TI Clang compiler variants. The project separates the reusable QSPI flash driver from the application:
NOR_FLASH_COMMANDS.h centralizes the flash-specific opcodes (read ID, write status, enable QPI, sector erase, page program, quad I/O read) and the dummy-cycle counts, so retargeting the example to a different NOR flash typically only requires editing this header against the new flash datasheet. QSPI_FLASH.c/.h implement the QSPIFLASH driver on top of DriverLib (DL_QSPI), and the .syscfg file generates the pin multiplexing, clock tree, and DMA channel configuration through SysConfig.
The example application executes the following sequence, checking the returned status after each step and latching an error flag on the first failure:
The subsections below walk through the key steps of this flow with code excerpts from the example.