AnsweredAssumed Answered

STM32L4 Demodulated Infrared Receiver Input

Question asked by Atilla Mete Turedi on Sep 27, 2017
Latest reply on Oct 4, 2017 by Atilla Mete Turedi

Greetings community,

 

I am developing an IR learning hardware that can transmit its learned IR codes as well. For the transmitter part, I will be using the IR_OUT pin (PA13).

 

For the receiver part, from AN4834, I understand that a General Purpose Timer needs to be configured in PWM input to capture incoming demodulated IR data. The STM32L4 has 3 x GP Timers, namely TIM15, TIM16 and TIM2, As TIM 15 and TIM 16 are used for the modulation of the transmitted Infrared signal, that leaves me only with TIM2 to be used for my specific purpose.

 

That brings it to my question; which pin should I connect the demodulated infrared signal at STM32L4 so I can use TIM2 as PWM input to capture the data stream.

 

Best Regards,

Mete

Outcomes