cancel
Showing results for 
Search instead for 
Did you mean: 

DMA Transfer with TIM12 trigger in STM32H755

chrkaras
Associate II

Hello everybody,

 

I am currently trying to trigger a DMA request with TIM12. I have configured the timer in PWM Input Mode on CH1. While for every other timer there is available a DMA request, there is nothing for TIM12 except the one bellow(in RF0399):

chrkaras_0-1768614529297.png

 

Is there any trick to come around from it? I found some older discussion but i didn't have any luck:
How to trigger SPI DMA transfer using TIM12 TRGO on STM32H7  

Timer events as DMA triggers - Improving the current situation in CubeMX/HAL 

 

Thanks in advance for your time!

1 REPLY 1
TDK
Super User

The only event from TIM12 with a DMA trigger is TRGO, as you saw. No way around that.

The TRGO event is configurable. Luckily, you can set it to trigger on the CC1IF flag which is exactly what you want.

TDK_0-1768617385153.png

 

Might not be clickable in STM32CubeMX but the hardware definitely supports it.

If you feel a post has answered your question, please click "Accept as Solution".