Configuring UART Communication on the MM32F5330 with Interrupt Handling
The following steps demonstrate how to establish a UART link between the MM32F5330 and an onboard CH340 USB-to-serial converter, utilizing pins PA9 (TX) and PA10 (RX). The implementation covers peripheral clock setup, GPIO multiplexing, UART configuration, and receive interrupt management.
Hardware Connection
The CH340 connects directly to the ...
Posted on Wed, 09 Sep 2026 16:23:25 +0000 by bob
Programming External SPI Flash on MM32F5330 through USART Host Interface
The MM32F5330 evaluation board is equipped with a 1 MB 25Q80 SPI NOR Flash and several USART/UART instances. By dedicating UART1 (PB6) to printf debug output and USART1 RX (PA10) to the host link, the MCU can receive a binary stream from a PC and persist it to external Flash.
Host Frame Format
The Python host transmits the file in fixed-size se ...
Posted on Thu, 13 Aug 2026 16:48:12 +0000 by thepriest
Configuring VSCode and CMake for MindMotion MM32F5330 Development
Toolchain Installation and Setup
To establish a robust development environment for the MM32F5330 microcontroller using Visual Studio Code, several core components must be installed sequentially. Begin by installing the VSCode editor itself. Following this, install the MinGW environment to provide necessary Unix-like tools on Windows. CMake is r ...
Posted on Tue, 16 Jun 2026 17:20:41 +0000 by misteryoji