AnsweredAssumed Answered

Get PWM output state for interrupt purposes STM32F215

Question asked by Zarckk on Feb 1, 2018
Latest reply on Feb 1, 2018 by John Craven

Hi,

 

I'm working on STM32F215 and I generate a PWM output on TIM1. This signal is going to an other device.

For synchronization purposes on this signal, I would like to get the rising and falling edge of it.

 

My first thought is to link the PWM ouptut directly to a EXTI pin in order to get my edges interrupt.

 

I just begin working with Timer but I'm just there is a simple way to get those PWM informations.

 

Could you please help me with a code example/interrupt configuration ?

 

Thank you very much,

Marc

Outcomes