Readme

Example Summary

COMP is configured with external inputs and outputs enabling the analog output filter and hysteresis.

Peripherals & Pin Assignments

Peripheral Pin Function
SYSCTL
VREF
COMP0 PA11 COMP Output Pin
COMP0 PA26 COMP Positive Channel 0 Pin
COMP0 PA27 COMP Negative Channel 0 Pin
EVENT
DEBUGSS PA20 Debug Clock
DEBUGSS PA19 Debug Data In Out

BoosterPacks, Board Resources & Jumper Settings

Visit LP_MSPM0L1306 for LaunchPad information, including user guide and hardware files.

Pin Peripheral Function LaunchPad Pin LaunchPad Settings
PA11 COMP0 OUT J2_11/J4_35
  • PA11 can be connected to two locations in boosterpack connector:
    • J14 1:2: Connect pin to J2_11
    • J14 2:3: Connect pin to J4_35
PA26 COMP0 IN0+ J4_38
  • PA26 can be connected to LED2 Red
    • J12 OFF Disconnect from LED2 Red
PA27 COMP0 IN0- J4_37
  • PA27 can be connected to LED2 Blue
    • J13 OFF Disconnect from LED2 Blue
PA20 DEBUGSS SWCLK J2_13
  • PA20 is used by SWD during debugging
    • J101 15:16 ON Connect to XDS-110 SWCLK while debugging
    • J101 15:16 OFF Disconnect from XDS-110 SWCLK if using pin in application
PA19 DEBUGSS SWDIO J2_17
  • PA19 is used by SWD during debugging
    • J101 13:14 ON Connect to XDS-110 SWDIO while debugging
    • J101 13:14 OFF Disconnect from XDS-110 SWDIO if using pin in application

Device Migration Recommendations

This project was developed for a superset device included in the LP_MSPM0L1306 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 BoardConfigure Unused Pins.

For more information about jumper configuration to achieve low-power using the MSPM0 LaunchPad, please visit the LP-MSPM0L1306 User’s Guide.

Example Usage

Connect COMP_PIN+ and COMP_IN- pins to external circuitry. COMP_OUT will go HIGH if COMP_IN+ is > COMP_IN-. Otherwise COMP_OUT is low. Verify correct state is seen on COMP_OUT in.