STM32 TIMERS #9. One Pulse Mode

  Рет қаралды 13,163

ControllersTech

ControllersTech

Күн бұрын

Пікірлер: 17
@Iswit
@Iswit Жыл бұрын
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.
@cezis666
@cezis666 Жыл бұрын
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😊
@FrancescoGomez-n9k
@FrancescoGomez-n9k 10 ай бұрын
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 :)
@beneflores
@beneflores 2 ай бұрын
I was unable to update the number of times at run time
@arshamsharifnia5474
@arshamsharifnia5474 Жыл бұрын
Keep up the good work
@farukdemirta
@farukdemirta 4 ай бұрын
thank you so much bro
@terlumunjoseph6779
@terlumunjoseph6779 Жыл бұрын
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
@sugiyartosugiyarto1587
@sugiyartosugiyarto1587 Жыл бұрын
Sir how make programable delay with one pulse mode???
@quanhong2024
@quanhong2024 Жыл бұрын
Love you so much
@ernestomazonvaladez1943
@ernestomazonvaladez1943 Жыл бұрын
I have a question. Is it possible to trigger the timer pulses using software?
@ControllersTech
@ControllersTech Жыл бұрын
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.
@ernestomazonvaladez1943
@ernestomazonvaladez1943 Жыл бұрын
@@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.
@ControllersTech
@ControllersTech Жыл бұрын
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.
@kekecjan
@kekecjan Жыл бұрын
trigger source pin is set up as OUTPUT !!!! its flowing 45mA wich isn't good !!! pin has to be as INPUT !!!
@kekecjan
@kekecjan Жыл бұрын
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.
@MyMcMichael
@MyMcMichael Жыл бұрын
Its weird... My Trigger Input is getting defined as Output :(
@kekecjan
@kekecjan Жыл бұрын
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.
How to Interface BLDC MOTOR with STM32
13:03
ControllersTech
Рет қаралды 25 М.
STM32 TIMERS #5. Master Slave Synchronization using the TRIGGER MODE
15:38
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
STM32 TIMERS #10. Slave Gated Mode
7:38
ControllersTech
Рет қаралды 5 М.
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 860 М.
DAC in STM32 || Sine wave || HAL || CubeIDE
16:07
ControllersTech
Рет қаралды 68 М.
DHT11 Temperature and Humidity Sensor with STM32
12:41
The Embedded Things
Рет қаралды 1,5 М.
STM32 Guide #3: PWM + Timers
20:24
Mitch Davis
Рет қаралды 153 М.
STM32 TIMERS #2. PWM Input
16:23
ControllersTech
Рет қаралды 34 М.
STM32 + OLED = Display Anything
18:01
Nick Electronics
Рет қаралды 25 М.
WS2812 LED with STM32 || PWM using DMA
29:18
ControllersTech
Рет қаралды 53 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН