2025-04-25 9:37 AM
I try understand how migrate X-CUBE-IRREMOTE receiver code to LPTIM. Is this doable in IN1 LPTIM3 pin ?
If not directly can LPTIM IN trigger next TIMx events?
2025-05-05 12:57 AM
Hello @MM..1 ,
To migrate the receiver code to LPTIM or any timer, it must support PWM input mode. The input capture function activates on edges with opposite polarity. Generally, LPTIMs support PWM output mode only. However, depending on the series, some timers support PWM input mode and can be used for this purpose.
For more information on the Infrared receiver for STM32, please refer to application note AN4834 via this link.
Kind regards,