STM32L4S7VIT6 PA1 pin for Timer2 PWM Input Capture
Dear Sir,
One of our applications we are using STM32L4S7VIT6 100 pin micro-controller. From external peripheral PWM type signal is coming to Port Pin PA1. We want to measure Frequency and Duty Cycle. It requires two channels of timer. Whereas this pin is supporting only one channel (TIM2-Channel 2) from datasheet. Please suggest how to configure TIM2 for this purpose. Also, request you to share the configuration code.
Thanks, and regards,
Harikant
