CMPSSLITE: DAC Output

Brief

DACL output from CMPSSLITE

Details

This example demonstrates the Digital-to-Analog Converter (DAC) functionality of the CMPSSLITE peripheral

Block diagram

Signal Routing: DAC output is connected to an ADC input pin to verify the accuracy of the generated voltage

Test Cases:

  • Generates different voltage levels from 0 to 3.3V using the DAC

  • For each voltage level, the ADC samples the DAC output

  • Compares the measured output voltage against the expected input voltage

  • Validates that the error is within ±5% tolerance

Validation:

  • Validates that the CMPSSLITE DAC can accurately generate analog voltages across its full range

  • Logs all test results including input voltages, measured outputs, and error count

Peripherals used

CMPSSLITE
    High Comparator subysystem:
         COMPH: Unused
         DAC  : Unused
     Low Comparator subysystem:
         COMPH: Unused
         DAC  : Used
ADC
    Sequencers: 1
     SOCs: 1
     Trigger: Software
SoC
    SYSCTL
       CMPxL DAC Output      : Enable
       Analog Reference VREF : Internal 3.3V

External connections

DAC Out pin to ADC input pin loopback

  • Connect: BoosterPack header J3 pin 30 to BoosterPack header J3 pin 23

LED Details: PASS LED (LED8), FAIL LED (LED7)