2018-11-19 09:04 AM
2018-11-19 09:19 AM
Have a pair of phase accumulators updating at your DAC output rate, feed the high order bits to a sine table and mix the two values and output to the DAC registers.
Gating via a mux might complicate things as you're going to have to account for how fast the new level outputs/stabilizes, and how quickly the mux switches.
I wouldn't tightly constrain the concept of outputting waveforms via a DAC to the L0, figure how it gets done in a general sense, and then apply the concepts to your own situation.
Being an embedded software engineer involves writing software, prepackaged solutions to address your specific hardware choices don't just fall out of the sky by happenstance.