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 |
|
| PA26 | COMP0 | IN0+ | J4_38 |
|
| PA27 | COMP0 | IN0- | J4_37 |
|
| PA20 | DEBUGSS | SWCLK | J2_13 |
|
| PA19 | DEBUGSS | SWDIO | J2_17 |
|
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 Board→Configure 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.