STM32G4 ADC Trigger using PWM out pin to measure the frequency
Hi,
We want pwm out raising edge should trigger the adc conversion after that callback should trigger then we can able to measure input adc frequency.
We know timer peripheral can trigger the adc we don't know how to implement.
Which timer we has to use for our application (HRTIM, Advanced Timer).
Adc callback should trigger every pwm raising edge to get the adc value and the timestamp to calculate the frequency.
Please help to get solve this issue.