Hello,
I use Nuclo F767 with micropython.
I need to set PWM in multiple timers, unfortunately, I noticed, that two different timers aren't synchronized.
Any help? And I also need to do PWM like in the picture below. and therefore I need some offset....
Thank you for any advice.
nucleo F767 PWM
Re: nucleo F767 PWM
Unfortunately you will need to configure the Timer peripheral directly via the registers.
This can be done with machine.mem32 and the register base and offsets in the stm module.
Here is an example: viewtopic.php?f=3&t=4847&p=27905#p27912
Re: nucleo F767 PWM
Thank you for your help. I am still not sure how to implement timer offset. Do you have some example?
I didn't find help for stm library.
I didn't find help for stm library.
-
- Posts: 1
- Joined: Thu Jul 28, 2022 11:15 am
Re: nucleo F767 PWM
Hello,
what is the timing of the PWM-signals? ms or µs? Is it possible to have one timer task firing single pulse timers with the needed signals?
If timing is really tight, a RP2040 might help with its PIO statemachine.
Regards, Kurt
what is the timing of the PWM-signals? ms or µs? Is it possible to have one timer task firing single pulse timers with the needed signals?
If timing is really tight, a RP2040 might help with its PIO statemachine.
Regards, Kurt
Re: nucleo F767 PWM
Hello, the timing is µs. I am not sure about firing single pulse timers.