Esp32S3 : Is there any input capture function/module in the Esp32S3 please ?

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : Is there any input capture function/module in the Esp32S3 please ?

Postby ThomasESP32 » Tue Nov 05, 2024 8:36 am

Good morning,

I am working with an Esp32S3 in a project and I need to determine the frequency of an external clock
running normally at 32768 Hz (which can drift).

Do you think the esp32S3 has an input capture module that I can use to count the number of rising edge
of that clock per second please ?
If the answer is yes, do you think I can use the pin 18 for that clock in order to realise this function ?

Could you help me on the subject please ?
Best regards,

Thomas TRUILHE


ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Esp32S3 : Is there any input capture function/module in the Esp32S3 please ?

Postby ESP_Sprite » Wed Nov 06, 2024 12:33 am

Also the MCPWM module may have something you can use.

ThomasESP32
Posts: 229
Joined: Thu Jul 14, 2022 5:15 am

Re: Esp32S3 : Is there any input capture function/module in the Esp32S3 please ?

Postby ThomasESP32 » Thu Nov 07, 2024 4:37 pm

Thank you, using the pulse counter module, I managed to implement the functionnality.
Best regards,

Thomas TRUILHE

Who is online

Users browsing this forum: abbas1375 and 128 guests