Search found 3 matches

by FO_swe
Sat Oct 04, 2025 6:42 pm
Forum: ESP32 Arduino
Topic: Capture timer sync for MCPWM unit 0 and 1
Replies: 2
Views: 3076

Re: Capture timer sync for MCPWM unit 0 and 1

SOLVED

As I had two capture inputs free I made a simple solution.

One capture input on each unit is connected to the same GPIO output. The output is toggled during setup and the capture timer values for MCPWM unit 0 and MCPWM unit 1 are stored on the positive edge and I can use those values to ...
by FO_swe
Fri Oct 03, 2025 5:47 pm
Forum: ESP32 Arduino
Topic: Capture timer sync for MCPWM unit 0 and 1
Replies: 2
Views: 3076

Re: Capture timer sync for MCPWM unit 0 and 1

No examples or ideas on how to sync the capture timers of unit 0 and 1?
by FO_swe
Mon Jul 07, 2025 10:32 pm
Forum: ESP32 Arduino
Topic: Capture timer sync for MCPWM unit 0 and 1
Replies: 2
Views: 3076

Capture timer sync for MCPWM unit 0 and 1

I¨m dabbling with a Time Delay Of Arrival (TDOA) system using four microphones. The microphones provides a digital output when the sound level reaches above a threshold set by a potentiometer.

As each MCPWM unit only has three capture channels I need to capture using both MCPWM unit 0 and unit 1 ...

Go to advanced search