cancel
Showing results for 
Search instead for 
Did you mean: 

Changing duty cycle via DMA

aabba.1
Associate III

Hi,

I want to send via DMA different duty cycle to my TIM12 (I am trying to turn on a rgb led strip by using the method TIM+DMA ), but with CubeMx TIM12 don't have access to any DMA, any idea how I can reproduce?

I am using STM32H7B3 and can't change the pin (this pin don't have other TIM, other TIM have DMA)

Thank you

1 REPLY 1

TIM12_TRGO is trigger input to DMAMUX1, so you can use the DMAMUX request generator to generate a DMA request to transfer new value into TIM12_CCRx.

Maybe this is not something you can click in CubeMX, I don't use Cube/CubeMX. Read the DMAMUX chapter in RM.

JW