MSPM0G3507 Core Board

Overview

MSPM0G350x microcontrollers (MCUs) are part of the MSP highly integrated, ultra-low-power 32-bit MCU family based on the enhanced Arm® Cortex®-M0+ 32-bit core platform operating at up to 80-MHz frequency. These cost-optimized MCUs offer high-performance analog peripheral integration, support extended temperature ranges from -40 °C to 125 °C, and operate with supply voltages ranging from 1.62 V to 3.6 V.

The MSPM0G350x devices provide up to 128KB embedded flash program memory with built-in error correction code (ECC) and up to 32KB SRAM with a hardware parity option. These MCUs also incorporate a memory protection unit, 7-channel DMA, math accelerator, and a variety of peripherals including

  • Analog.

    • Two 12-bit 4-Msps ADCs.

    • Configurable internal shared voltage reference.

    • One 12-bit 1-Msps DAC.

    • Three high speed comparators with built-in reference DACs.

    • Two zero-drift zero-crossover op-amps with programmable gain.

  • Digital.

    • Two 16-bit advanced control timers.

    • Five general-purpose timers.

      • One 16-bit general-purpose timer for QEI interface.

      • One 32-bit high resolution general-purpose timer.

      • Two 16-bit timers with deadband support and up to 12 PWM Channels.

    • Two windowed-watchdog timers.

    • One RTC with alarm and calendar modes.

  • Data Integrity and Encryption.

    • One AES HW accelerator capable of CTR, CBC, and ECB modes.

    • One Cyclic Redundancy Check (CRC) accelerator.

    • One True Random Number Generator (TRNG).

  • Communication.

    • Four UARTs, one with support for advanced modes such as LIN and Manchester.

    • Two I2C supporting SMBUS/PMBUS and speeds up to FM+ (1Mbits/s).

    • Two SPI, one with max speed 32Mbits/s.

    • One CAN interface supporting CAN 2.0 A or B and CAN-FD.

Weact MSPM0G3507 development board

Zephyr uses the weact_mspm0g3507_core board for building Weact MSPM0G3507 development board

Features:

  • SWD header for external debugging (WCH-LinkE CMSIS-DAP / J-Link)

  • CH340X USB to UART converter for debugging

  • 1 user button, 1 user LED

  • Type-C connector for power supply

Details on the Weact MSPM0G3507 development board can be found on the Weact MSPM0G3507 development board Product Page.

Supported Features

The weact_mspm0g3507_core board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

weact_mspm0g3507_core/mspm0g3507 target

On-target memory for this board target: 32 KiB of RAM, 128 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

ADC

on-chip

TI MSPM0 ADC122

ti,mspm0-adc12

CAN

on-chip

TI MSPM0 CANFD1

ti,mspm0-canfd

Clock control

on-chip

TI MSPM0 Clock Control Module1

ti,mspm0-ckm

on-chip

TI MSPM0 Clock52

ti,mspm0-clk

on-chip

TI MSPM0 Phase Locked Loop1

ti,mspm0-pll

on-chip

TI MSPM0 oscillator22

ti,mspm0-osc

Comparator

on-chip

Texas Instruments MSPM0 Comparator Module with Reference DAC3

ti,mspm0-comparator

Counter

on-chip

TI MSPM0 counter node for MSPM0 SoCs4

ti,mspm0-timer-counter

CRC

on-chip

Texas Instruments MSPM0 CRC Accelerator1

ti,mspm0-crc

Cryptographic accelerator

on-chip

Texas Instruments MSPM0 G series Advanced Encryption Standard (AES) Engine This peripheral provides AES-128 and AES-256 encryption and decryption1

ti,mspm0-aes

DAC

on-chip

Texas Instruments MSPM0 G-Series Digital-to-Analog Converter (DAC)1

ti,mspm0-dac

DMA

on-chip

TI MSPM0 DMA1

ti,mspm0-dma

Flash controller

on-chip

TI MSPM0 internal flash controller1

ti,mspm0-flash-controller

GPIO & Headers

on-chip

TI MSPM0 GPIO11

ti,mspm0-gpio

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1

arm,v6m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node1

soc-nv-flash

OPAMP

on-chip

Texas Instruments MSPM0 zero-drift, chopper-stabilized Operational Amplifier (OPA)2

ti,mspm0-opa

Pin control

on-chip

TI MSPM0 pinctrl node1

ti,mspm0-pinctrl

PWM

on-chip

TI MSPM0 PWM node for MSPM0 SoCs2

ti,mspm0-timer-pwm

Regulator

on-chip

Texas Instruments MSPM0 Voltage Reference (VREF) Regulator1

ti,mspm0-vref

RNG

on-chip

Texas Instruments MSPM0 Series True Random Number Generator (TRNG)1

ti,mspm0-trng

RTC

on-chip

Texas Instruments MSPM0 RTC Driver1

ti,mspm0-rtc

Serial controller

on-chip

TI MSPM0 UART13

ti,mspm0-uart

SPI

on-chip

TEXAS INSTRUMENTS MSPM0 SERIAL PERIPHERAL INTERFACE (SPI)11

ti,mspm0-spi

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

System controller

on-chip

System Controller Registers R/W3

syscon

Timer

on-chip

ARMv6-M System Tick1

arm,armv6m-systick

on-chip

TI MSPM0 Timer6

ti,mspm0-timer

Watchdog

on-chip

MSPM0 Windowed Watchdog Timer2

ti,mspm0-watchdog

Building and Flashing

Building

Follow the Getting Started Guide instructions for Zephyr application development.

For example, to build the blinky application for the Weact MSPM0G3507 development board:

# From the root of the zephyr repository
west build -b weact_mspm0g3507_core samples/basic/blinky

The resulting zephyr.bin binary in the build directory can be flashed onto Weact MSPM0G3507 development board using the steps mentioned below.

Flashing

OpenOCD can be used to program the flash memory using a CMSIS-DAP probe (such as WCH-LinkE in ARM mode), which is configured by default in support/openocd.cfg. Ensure your OpenOCD installation includes support for target/ti/mspm0.cfg.

$ west flash

Flashing using J-Link:

$ west flash --runner jlink

Debugging

You can debug an application in the usual way. Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b weact_mspm0g3507_core samples/hello_world
west debug

References

TI MSPM0 MCU Page:

https://www.ti.com/microcontrollers-mcus-processors/arm-based-microcontrollers/arm-cortex-m0-mcus/overview.html

TI MSPM0G3507 Product Page:

https://www.ti.com/product/MSPM0G3507

TI MSPM0 SDK:

https://www.ti.com/tool/MSPM0-SDK