Skip to main content
MM..1
Chief III
April 25, 2025
Question

IR RC5 connected to LPTIM3_IN1 howto

  • April 25, 2025
  • 1 reply
  • 313 views

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?

1 reply

ST Employee
May 5, 2025

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,

"Please mark my answer as best by clicking on the “Accept as solution"" button if it fully answered your question. This will help other users find this solution faster.​"