Thanks for great videos! Please make a video regarding Timer triggered DMA memory to peripheral transfer in multibuffer mode. Information about it uses is very limited and it would be nice if you could cover it😊
Thank you very much for this very useful and clear explication of One Pulse Mode programming. I tried it and it works very well. Now I have a problem. I need to have the output pulse on TIM1_CH1 as soon as the external input trigger arrives on TIM1_CH2 (without any delay) so I reduced CCR. When I set it to 1 I have a 1us delay as expected, but when I set it to 0 no pulses are generated. I am using a 64 Mhz clock, a 64-1 prescaler and an ARR of 10-1. I am working on an STM32H723VGTx (from WeAct Studio). Any help would be greatly appreciated :)
thank you very much but after i tried it I was only able to get only one of the timer1 output compare to give out the pulse but when I try using other channels, for instance, timer 1output compare chan 3, I get nothing I'm using timer 2 as master and timer1 as slave I am using the bluepill for tests
Solved : i didn't use output compare , i have user PWM and then you change ARR and CCR register to set the width and delay of the pulse. When i use output comper my input pin should be set as input wich it was not, i checked with amp meter also with register.
Yes its possible but you still need some kind of trigger signal. For example you can use the trigger source as the ITR (Internal Trigger) signal, which is internally connected between the timers. Check out the previous “timer synchronisation” videos in this series to understand how internal trigger works.
@@ControllersTech I want to implement a kind of burst oscillator. Consequently, I am trying to use the timer 1 usin the RCR function. For example, triggering via software, I would like to create 20 pulses at 4 kHz. The point is use the timer 1 as master and not as slave.
You can implement it in the way I described above. A timer is a slave to another timer but it still outputs the pulse. The slave part is only used to receive the trigger.
Solved : i didn't use output compare , i have used PWM and then you change ARR and CCR register to set the width and delay of the pulse. When i use output comper my input pin should be set as input wich it was not, i checked with amp meter also with register.
It is a very useful video and very well explained. The subtitles help a lot and the fact that it doesn't speak too fast.
Thanks for great videos! Please make a video regarding Timer triggered DMA memory to peripheral transfer in multibuffer mode. Information about it uses is very limited and it would be nice if you could cover it😊
Thank you very much for this very useful and clear explication of One Pulse Mode programming. I tried it and it works very well. Now I have a problem. I need to have the output pulse on TIM1_CH1 as soon as the external input trigger arrives on TIM1_CH2 (without any delay) so I reduced CCR. When I set it to 1 I have a 1us delay as expected, but when I set it to 0 no pulses are generated. I am using a 64 Mhz clock, a 64-1 prescaler and an ARR of 10-1. I am working on an STM32H723VGTx (from WeAct Studio).
Any help would be greatly appreciated :)
I was unable to update the number of times at run time
Keep up the good work
Sir how make programable delay with one pulse mode???
thank you so much bro
thank you very much but after i tried it I was only able to get only one of the timer1 output compare to give out the pulse but when I try using other channels, for instance, timer 1output compare chan 3, I get nothing I'm using timer 2 as master and timer1 as slave I am using the bluepill for tests
Love you so much
trigger source pin is set up as OUTPUT !!!! its flowing 45mA wich isn't good !!! pin has to be as INPUT !!!
Solved : i didn't use output compare , i have user PWM and then you change ARR and CCR register to set the width and delay of the pulse. When i use output comper my input pin should be set as input wich it was not, i checked with amp meter also with register.
I have a question. Is it possible to trigger the timer pulses using software?
Yes its possible but you still need some kind of trigger signal. For example you can use the trigger source as the ITR (Internal Trigger) signal, which is internally connected between the timers.
Check out the previous “timer synchronisation” videos in this series to understand how internal trigger works.
@@ControllersTech I want to implement a kind of burst oscillator. Consequently, I am trying to use the timer 1 usin the RCR function. For example, triggering via software, I would like to create 20 pulses at 4 kHz. The point is use the timer 1 as master and not as slave.
You can implement it in the way I described above. A timer is a slave to another timer but it still outputs the pulse. The slave part is only used to receive the trigger.
Its weird... My Trigger Input is getting defined as Output :(
Solved : i didn't use output compare , i have used PWM and then you change ARR and CCR register to set the width and delay of the pulse. When i use output comper my input pin should be set as input wich it was not, i checked with amp meter also with register.