Search found 2 matches

by CityLark
Sat Jul 10, 2021 7:59 am
Forum: General Discussion
Topic: ESP32 MCPWM Input Capture Problem
Replies: 7
Views: 11484

Re: ESP32 MCPWM Input Capture Problem

dude! I've solved this problem
0e7fc16e3569522c4051c93399fdaf7.png
0e7fc16e3569522c4051c93399fdaf7.png (11.68 KiB) Viewed 6446 times
!!!

It's because those calculations in the example code uses integer division so the detail of the number is discarded, use some float calculations and It will be smooth as you wish
by CityLark
Sat Jul 10, 2021 3:57 am
Forum: General Discussion
Topic: ESP32 MCPWM Input Capture Problem
Replies: 7
Views: 11484

Re: ESP32 MCPWM Input Capture Problem

Dude I have the same question. why 125us? the timer frequency capture uses is 8khz? why it's not 80M as same as the apb clock 8khz is totally not enough for a coder capture!