SLAAEO6 September   2024 MSPM0G3507

 

  1.   1
  2. Description
  3. Required Peripherals
  4. Compatible Devices
  5. Design Steps
  6. Design Considerations
  7. Software Flow Chart
  8. Application Code
  9. Results
  10. Additional Resources
  11. 10E2E
  12.   Trademarks

Description

This subsystem demonstrates how to represent multiple comparators with a single integrated comparator and software in an MSPM0 microcontroller. The process allows the designer to maximize the comparator function and utilize more theoretical comparators than are physically on the device. This example specifically cycles through three different comparator configurations and input pins while setting three output pins with the results as shown in Figure 1-1.

MSPM0G3507, MSPM0L1306 Theoretical Function of
                    Scanning Comparator Subsystem Figure 1-1 Theoretical Function of Scanning Comparator Subsystem

Utilizing the customizable IO MUXing for the MSPM0 comparator, this example enables multiple signal inputs for the same comparator. The three signal inputs for this example are on the COMP_IN0+, COMP_IN0-, and COMP_IN1- pins as shown in Figure 1-2.

MSPM0G3507, MSPM0L1306 Comparator Input and Output
                    MUXes Figure 1-2 Comparator Input and Output MUXes