SLUAAX5 August 2024 BQ25750 , BQ40Z80 , MSPM0L1306
The block diagram shown above is the typical application of using the MSPM0L1306. For this application note, PA0, PA1, PA15 and P16 were used as I2C and SMBus lines. Those ports have to be configured either through sysconfig file provided by TI or manually defining before compile time. The clock speeds for both were 100kHz.
To verify normal operation of MCU, refer to the MSPM0L1306 LaunchPad Development Kit (LP‑MSPM0L1306) user's guide. TI has an extensive device driver library with multiple examples and use cases for different communication protocols. TI also provides an integrated development environment (IDE) to develop and debug code for the MCU, available through the cloud and on desktops. Applications using TI’s MSP MCU can leverage SMBus library and I2C library to interface with multiple devices with only the device addresses.
Once data can be transmitted and received by the MCU through TI’s function calls, the MCU has to translate such that the data can be sent through different communication protocols. Code executed on the MCU has to be mindful of the endianness of the data, and scaling of data based on the device properties (reserved bits in registers, bit step, and range). The functionality of the MCU can also be scaled to more than translating between communication protocols with the help of TI's extensive library and products.