MSPM0G3507 serial communication

Note: The voice interaction module needs to be burned with factory firmware. If the voice chip has not been flashed with firmware after receiving it, it does not need to be burned

1. Experimental preparation

2. Wiring diagram

mspm0g350Voice interaction module
PA0RX
PA1TX
GNDGND
5V5V

image-20250226172005606

3. Program download

image-20250226165128121

-

image-20250226165427045

image-20250226172056563

image-20250226172044978

image-20250226165817070

image-20250226172134626

image-20250226172209441

4.Achievement effect

image-20250226172634805

image-20250226172649596

The first and second bytes AA FF represent the frame header of the protocol, the third byte FF represents the broadcast function, and the fourth is the ID of the broadcast content. Here you can see "I am ready" is hexadecimal 67, so the program sends 0x67 to register 0x03 to broadcast the corresponding content. The fifth byte is the end frame.

image-20250226172711675

image-20250226173151484

image-20250226173212903

image-20250226141429180

The first and second bytes AA FF represent the frame header of the protocol, the third byte represents the ID of the ten function words of the chip, and the fourth is the command word ID. Here you can see "close light" is hexadecimal 0A. The fifth byte is the end frame.