Readme

Example Summary

The example is created to demo a self-calibratable, high precision and low-cost current detection solution based on MSPM0 internal OPAs. This solution supports bi-directional current detection, which is mostly suitable for BMS solutions. It can self-calibrate the voltage offset and GAIN setting of OPAs and do dynamic GAIN setting to reach high accuracy across low to high current.

Peripherals & Pin Assignments

Peripheral Pin Function
UART1 PA0 TX for data transmission
UART1 PA1 RX for data receiving
ADC0 PA21 ADC12 Channel 5 Pin for temperature detection
ADC0 PA26 ADC12 Channel 1 Pin for battery voltage detection
ADC0 PA18 ADC12 Channel 7 Pin
OPA0 PA22 OPA0 output as the bias voltage
OPA1 PA17 OPA1 IN0- input
OPA1 PA18 OPA1 IN+ input
DEBUGSS PA20 Debug Clock
DEBUGSS PA19 Debug Data In Out

BoosterPacks, Board Resources & Jumper Settings

Example Usage

This example was developed and tested based on MSPM0L1306. Please refer to the related app note for more details.