Hi,

You do not need DMA. From this picture, CMOD[1:0] != 0:0, you use the CPWM mod. So you can directly write the new MOD value. The value will stored in buffer. When the counter changes from MOD to MOD-1, the MOD will updated from buffer. And your duration is also changed.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------