SLAAEB3 may   2023 MSPM0L1106 , MSPM0L1106

PRODUCTION DATA  

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Hardware Connection
  6. 3Software Structure and Important Functions
    1. 3.1 System Initialization
    2. 3.2 Low-Level Command Control
    3. 3.3 High-Level Function
  7. 4Test Result of Important Functions
    1. 4.1 Read Alarm Status
    2. 4.2 Read Safety Status
    3. 4.3 Read PF Status
    4. 4.4 Read Current
    5. 4.5 Read All Temperatures
    6. 4.6 Read All Voltages
  8. 5References

Read Current

Read Current uses the DirectCommand function to read the CC2 current value from 0x3A and return the value. The read back value is reported in mA unit.

Table 4-4 shows how to read the 16-bit current measurement from CC2. The current value in the following waveform is 0x00F, which convert a decimal value of 15 mA.

Table 4-4 Read Current Command Description
Command Name Unit Type Description
0x3A CC2 Current userA I2 16-bit CC2 current
GUID-A3408EB0-04BB-474C-AD92-F3581D2A51C4-low.png Figure 4-4 Captured I2C Waveform for Current Reading