Readme
Example Summary
Toggles three GPIO pins using HW toggle register.
Peripherals, Pin Functions, MCU Pins, Launchpad Pins
| Peripheral | Function | Pin | Launchpad Pin |
|---|---|---|---|
| GPIOB | Standard Output | PB22 | LED2 Blue |
| GPIOB | Standard Output | PB26 | LED2 Red |
| GPIOB | Standard Output | PB27 | LED2 Green |
| GPIOB | Standard Output | PB14 | J2_11 |
| BOARD | Debug Clock | PA20 | J19_16 |
| BOARD | Debug Data In Out | PA19 | J19_14 |
Device Migration Recommendations
This project was developed for a superset device included in the MSPM0 LaunchPad. Please visit the CCS User’s Guide for information about migrating to other MSPM0 devices.
Low-Power Recommendations
TI recommends to terminate unused pins by setting the corresponding functions to GPIO and configure the pins to output low or input with internal pullup/pulldown resistor.
SysConfig allows developers to easily configure unused pins by selecting Board→Configure Unused Pins.
For more information about jumper configuration to achieve low-power using the MSPM0 LaunchPad, please visit the LP-MSPM0G3519 User’s Guide.
Example Usage
Compile, load and run the example. RGB LEDs will toggle with red being opposite of blue and green.
USER_TEST_PIN GPIO will mimic the behavior of the LED1 and LED3 pins on the BoosterPack header and can be used to verify the LED behavior.