SLAAEU3 June   2025 MSPM0C1104

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Four Wire Cooling Fans
  5. 2Cooling FAN Controller with MSPM0 Designs
    1. 2.1 Design with MSPM0C1104 and MSPM0C1106
    2. 2.2 Design with MSPM0H3215 and MSPM0H3216
  6. 3Software Introduction
    1. 3.1 Software Working Flow
    2. 3.2 Function Description
      1. 3.2.1 PWM Output
      2. 3.2.2 TACH Capture
      3. 3.2.3 ADC Sample
      4. 3.2.4 FAN Fault Detection and Overflow Maximum Value
    3. 3.3 I2C Communication Protocol
    4. 3.4 Registers Definition in the Demo
  7. 4Demo Test with Hardware
    1. 4.1 Hardware Setup
    2. 4.2 Software Setup
    3. 4.3 Running Demo Code
  8. 5Summary
  9. 6References

I2C Communication Protocol

For the I2C communication protocol, use Figure 3-2 using 0x40 as the address.

 Write One Byte to Register
          0x0E Figure 3-2 Write One Byte to Register 0x0E
 Write Two Bytes to Register
          0x0E Figure 3-3 Write Two Bytes to Register 0x0E
 Write Two Bytes to Register
          0x0E Figure 3-4 Write Two Bytes to Register 0x0E
 Read Two Bytes from Register
          0x0E Figure 3-5 Read Two Bytes from Register 0x0E

The demo can only support one or two bytes in read or write mode.