STM32F407: Combining/modulating two PWM signals (logical AND) into one output
I have a requirement to generate two PWM signals on an STM32F407G MCU
As an example, the images of the signal I want to do are:
There are many methods to generate signals in this way, it can be done by writing an interrupt function as an example, it can be done using gated mode and IRTIM can be used. However, it is necessary to reverse the signal coming through IRTIM and stm32 cards that support IRTIM are very few.
Which method works most stably without keeping the processor busy?
And can you show a sample project setup that performs this function?
Thank you everyone, and I wish you healthy days
