2023-11-09 06:12 PM
Hi
I'm using HRTIM in STM32G474RE to generate a complementary PWMs and trying to capture the frequency of the PWMs by using the capture 1, the trigger sources is "The update event triggers the capture"
However, when I was debugging the code, the value of CPT1x is always zero
I guessed the capture function does not work, could you please help me to figure out what's going wrong?
Thank you
2023-11-16 06:15 AM - edited 2023-11-16 07:43 AM
Hello @Joe_Napat,
Thank you for your question !
Here some remarks and interrogations :
I am waiting for your answer and don't hesitate to share some part of your code.
Best Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.