Timer trigger timer - example?
Hi! Im having trouble with setting timer2, when it overflows I want to add+1 to timer4 in slave mode =) to use timer2 as prescaler to timer4.
Can I ask for am example of this? Or some hints how to o this.
Im trying to follow timer cookbook. Synchronization.
Copy&paste code?
I set TIM2:
Prescaler:0
Period:65535
Trigger output: update event
TIM4:
Prescaler:0
Period:65535
Trigger input:TRG0
Then I start timer4, then timer2, tried hal_tim_start_it(&htim2); and hal_tim_base_start_it(&htim2);
Thank You :)
