This example shows the implementation of using MSPM0 to realize the MSPM0 L2 gauge solution based on MSPM0G3507 with BQ76952 EVM. After inputting a battery model and finishing parameter setting, users can get the runtime SOC with only the voltage, current and temperature input.
Peripheral | Pin | Function |
---|---|---|
SYSCTL | ||
TIMG0 | ||
I2C1 | PB3 | I2C Serial Data line (SDA) |
I2C1 | PB2 | I2C Serial Clock line (SCL) |
UART0 | PA11 | RX Pin |
UART0 | PA10 | TX Pin |
EVENT | ||
MATHACL | ||
DEBUGSS | PA20 | Debug Clock |
DEBUGSS | PA19 | Debug Data In Out |
Visit LP_MSPM0G3507 for LaunchPad information, including user guide and hardware files.
Pin | Peripheral | Function | LaunchPad Pin | LaunchPad Settings |
---|---|---|---|---|
PB3 | I2C1 | SDA | J1_10 |
|
PB2 | I2C1 | SCL | J1_9 |
|
PA11 | UART0 | RX | J4_33/J26_6 |
|
PA10 | UART0 | TX | J4_34/J26_5 |
|
PA20 | DEBUGSS | SWCLK | N/A |
|
PA19 | DEBUGSS | SWDIO | N/A |
|
This project was developed for a superset device included in the LP_MSPM0G3507 LaunchPad. Please visit the CCS User's Guide for information about migrating to other MSPM0 devices.
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-MSPM0G3507 User's Guide.
This example was developed and tested based on MSPM0G3507. Please refer to the related app note for more details.