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

Hardware Setup

Hardware requirements:

  • 1-6 4-wire cooling fans
  • LP-MSPM0L1306 as host device
  • LP- MSPM0C1104 or LP-MSPM0H3216 as fan controller board
  • Pull up circuits to pull up TACH or PWM signal
  • Logic analyzer such as Seleae to capture signals
  • Transistors or switches (Optional)
Table 4-1 Hardware Connection
Signal Host Device FAN Controller Device
LP-MSPM0L1306 LP-MSPM0C1104 LP-MSPM0H3216
I2C SCL PA1/I2C0_SCL PA11/I2C0_SCL PA11/I2C0_SCL
SDA PA0/I2C0_SDA PA0/I2C0_SDA PA0/I2C0_SDA
Temperature sensor Power J15-2 3V3 5V
Vsensor J1-2 PA27 PA27
Fan Fault Alert GPIO \ PA25 PA24
PWM FAN1 \ PA26 PA23
FAN2 \ PA2 PA18
FAN3 \ PA16 PA10
FAN4 \ PA23 PA6
FAN5 \ \ PB14
FAN6 \ \ PB13
TACH FAN1 \ PA28 PA8
FAN2 \ PA6 PA9
FAN3 \ PA17 PB17
FAN4 \ PA18 PA12
FAN5 \ \ PB8
FAN6 \ \ PA22

As mentioned above the temperature sensor is used the TMP61 on the LP-MSPM0L1306. Due to the calculation in the host demo code, TMP61 must be powered with the same power source with the ADC reference of the FAN controller device. (VDD). As a result, power the TMP61 from the FAN controller LaunchPad ™ listed in Table 4-1.

The TACH signal must be pulled up externally. In this test case, the signal pulls up with a 3k resistor to VDD.

For PWM signal, when the PWM channel of the fan module is open drain, the signal must be pulled up external that as same as TACH signal. If the PWM channel of the fan module is pull up to 5V internally, the channel can connect to the PWM control pin of the MSPM0H3216 directly. Resistors or switches must be added when using MSPM0C1104 and MSPM0C1106.