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

Design Steps

Complete the following to implement or update the simple function generator output:

  1. Build and load a 256-point table of 8-bit DAC values for the desired waveform output.
  2. Configure the DMA in SysConfig to transfer a block of data to a fixed address of the DAC8. Subscribe the DMA transfer trigger to an event so the exact timing can be controlled by a timer.
  3. Configure a timer in SysConfig to publish a periodic event and trigger the DMA transfers.
  4. Enable the COMP in SysConfig to power the DAC8.
  5. Use SysConfig to configure and OPAx in buffer mode with the DAC8 as the input source and enable the output.