Search found 2 matches

by Alphabetix
Fri Feb 04, 2022 1:43 am
Forum: ESP32 Arduino
Topic: MCPWM Sync issue
Replies: 1
Views: 2925

Re: MCPWM Sync issue

For anyone interested, after pulling the mcpwm library apart, I found out what was wrong. Added the following line mcpwm_set_timer_sync_output(MCPWM_UNIT_0, MCPWM_TIMER_0, MCPWM_SWSYNC_SOURCE_TEZ); mcpwm_config_t pwm_config; pwm_config.frequency = PULSE_FREQUENCY; pwm_config.cmpr_a = 50.0; pwm_confi...
by Alphabetix
Wed Feb 02, 2022 7:00 am
Forum: ESP32 Arduino
Topic: MCPWM Sync issue
Replies: 1
Views: 2925

MCPWM Sync issue

Hey folks, I'm having two issues after upgrading via board manager to v2.0.2 I've fiddled for a few hours but I am stuck. The documentation is a bit "light" on syncing and I'm unable to find any v2 examples. I don't believe the code below is doing anything :D Three outputs on mcpwm_config_t pwm_conf...