Search found 2 matches

by grini1809
Fri Feb 17, 2023 1:13 am
Forum: ESP32 Arduino
Topic: ESP32-S3 mcpwm.h - mcpwm_sync_config_t timer_val calculation
Replies: 1
Views: 1646

Re: ESP32-S3 mcpwm.h - mcpwm_sync_config_t timer_val calculation

Last night version of my MCPWM test - better timing but no real math behind. i am using ESP32-S3-DevKitC-1 #include "driver/mcpwm.h" #define GPIO_PWM0A_OUT 13 //Set GPIO 13 as PWM0A #define GPIO_PWM0B_OUT 14 //Set GPIO 14 as PWM0B #define GPIO_PWM1A_OUT 15 //Set GPIO 15 as PWM1A #define GPIO_PWM1B_O...
by grini1809
Wed Feb 15, 2023 2:11 pm
Forum: ESP32 Arduino
Topic: ESP32-S3 mcpwm.h - mcpwm_sync_config_t timer_val calculation
Replies: 1
Views: 1646

ESP32-S3 mcpwm.h - mcpwm_sync_config_t timer_val calculation

Hi Guys, New to the forum and ESP32-S3 on Arduino IDE - please be kind. Question - regarding below structure defined in ESP-IDF v4.4 https://github.com/espressif/esp-idf/blob/v4.4/components/driver/include/driver/mcpwm.h typedef struct { mcpwm_sync_signal_t sync_sig; /*!<Set sync input signal that w...