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 perio

PWM fast stop operation

2022-11-11 Thread Petro Karashchenko
Hello team, Recently I had a project where I had to control a motor using PWM. In general things worked pretty well, but I've met an issue when I need to stop PWM as soon as possible. My custom board is based on SAMv7 and uses the standard NuttX PWM driver. The issue with the SAMv7 PWM peripheral