SLAAEL1A January   2025  – August 2025 MSPM0C1105 , MSPM0C1106 , MSPM0G3507 , MSPM0H3216 , MSPM0L1306

 

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

Description

This DAC8 function generator subsystem example shows how to implement a basic function generator to output a sine wave using the integrated DAC8, a timer triggered DMA, and an OPAx module. A 256-point sine wave data table written in the code is loaded to the DAC8 about every 40μs using a timer to trigger the DMA transfers. This generates an approximate 98Hz, 256-point sine wave. The OPA is used to buffer the DAC output and route the signal to an external pin, PA22 (OPA0_Out).

MSPM0G3507, MSPM0L1306 DAC8 Function Generator Block
                    Diagram Figure 1-1 DAC8 Function Generator Block Diagram