Skip to main content
aabba.1
Associate III
Nov 10, 2022 5:07 PM UTC
Question

Changing duty cycle via DMA

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

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
Nov 10, 2022 5:27 PM UTC

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