When generating an output waveform, here are a few things to consider:
- Waveform period is equal to the DMA update timer
period times the number of points in the waveform. More points enable a smoother
waveform but a longer period.
- At maximum speed,
consider the DAC8 settling time of about 1.5μs
- In this example, there are 256-points and the DMA
updates the points every 40μs.
- 256 point × 40μs =
10.24ms waveform period = approximately 98Hz output
- Some MSPM0Gxx devices have standalone 12-bit DAC
modules that do not have to be buffered by the integrated OPAx.