Re: PWM fast stop operation

2022-11-12 Thread Alan C. Assis
Hi Petro, Maybe instead of creating an override you can create a capability like exists for SDIO on NuttX. It could be used to control features/characteristics unique for some PWM controllers. Buf of course it will need some override/sync flag because some applications will prefer to wait up to

Re: PWM fast stop operation

2022-11-12 Thread Petro Karashchenko
Hello David, Thanks for your reply. I fully understand that. In my case I have the half bridge schema of four pins and PWM frequency is very low. In case I need to do immediate stop I need to stop pulse generation and short pin to the ground. It is more because the overall half bridge solution is

RE: PWM fast stop operation

2022-11-11 Thread David Sidrane
Hi Petro, On the STM32 there are shadow registers that buffer the updated data to ensure that outputs are updated synchronously with the end of the period. There is a bit that can be set to force the update to the shadowed registers to be immediate, which will change the count of the current