Change the PWM duty cycle with EasyDMA in nRF Connect SDK

I need to change the PWM duty cycle through DMA.

Is there an example on how to do so in the nrf connect sdk?

Parents Reply
  • I have not found any examples for it unfortunately. If its only the initial duty cycle is should be fine to set in the initial function call. However if you want to change the duty cycle after the initial function call there is a potential for a issue where the CPU overwrites the memory area at the same time as the DMA tries to access it. 

    Regards

    Runar

    Note. From end of work today the office will be closed until Tuesday the 11th due to public holiday in Norway

Children
Related