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

ADC Sample

In this demo code, provide an ADC channel to sample a signal from a temperature thermistor. The ADC value uses two registers to show and start from 0x40. In the test, the register using TMP61 on the LP-MSPM0L1306 to obtain the temperature of the environment. The ADC sample rate is approximately 1.6Hz that uses the zero event trigger of the capture timer of the ADC to start the sample. For this demo, the period time setting of the capture timer is 600ms.