Hi there,
i wonder whether the interface motor PWM which is mentioned in esp_wroom32_datasheet v1.4 on page 9 is already supported. If so, is there any example of using the api and the provided timers?
Thanks for your answers in advance.
Best regards
DL88AI88
interface motor pwm - already supported and provided example?
Re: interface motor pwm - already supported and provided example?
Hi there,
is there any example or api description of (datasheet v1.5 page 10)
PWM0_OUT0~2 (shouldn't it be PWM0_OUT_IN0~2 ?)
PWM1_OUT_IN0~2
PWM0_FLT_IN0~2
PWM1_FLT_IN0~2
PWM0_CAP_IN0~2
PWM1_CAP_IN0~2
PWM0_SYNC_IN0~2
PWM1_SYNC_IN0~2
It is only said that AnyGPIOs *
Three channels of 16-bit timers generate PWM waveforms;
each has a pair of output signals.
Three fault detection signals.
Three event capture signals.
Three sync signals.
But how do they work together?
best regards
DL88AI888
is there any example or api description of (datasheet v1.5 page 10)
PWM0_OUT0~2 (shouldn't it be PWM0_OUT_IN0~2 ?)
PWM1_OUT_IN0~2
PWM0_FLT_IN0~2
PWM1_FLT_IN0~2
PWM0_CAP_IN0~2
PWM1_CAP_IN0~2
PWM0_SYNC_IN0~2
PWM1_SYNC_IN0~2
It is only said that AnyGPIOs *
Three channels of 16-bit timers generate PWM waveforms;
each has a pair of output signals.
Three fault detection signals.
Three event capture signals.
Three sync signals.
But how do they work together?
best regards
DL88AI888
Last edited by DL88AI88 on Sun Mar 26, 2017 8:15 pm, edited 3 times in total.
Re: interface motor pwm - already supported and provided example?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: interface motor pwm - already supported and provided example?
There are no drivers/docs for epwm/mpwm yet but you can try ledc like nkolban shows
Re: interface motor pwm - already supported and provided example?
Hi there,
thanks for the hints.
Actually, I saw Neil's video about ledc pwm which is quite informative (as well as Neil's book is).
I read through the esp8266 reference manual as well for a motor pwm library.
Is there a special reason why this interface is not provided yet?
For me and many other potential customers motor pwm would be a great step forward for the esp32 of being a fully functional embedded device.
Maybe I can place some wishes for the library here :
one should define settings like
pwmmotor_frequency_khz (kiloHertz)
pwmmotor_frequency_hz (Hertz)
pwmmotor_period_s (seconds)
pwmmotor_period_ms (milliseconds)
pwmmotor_period_us (microseconds)
pwmmotor_pulsewidth_s (seconds)
pwmmotor_pulsewidth_ms (milliseconds)
pwmmotor_pulsewidth_us (microseconds)
This would be nice.
Any chance that we see an interface soon?
Best regards
DL88AI88
thanks for the hints.
Actually, I saw Neil's video about ledc pwm which is quite informative (as well as Neil's book is).
I read through the esp8266 reference manual as well for a motor pwm library.
Is there a special reason why this interface is not provided yet?
For me and many other potential customers motor pwm would be a great step forward for the esp32 of being a fully functional embedded device.
Maybe I can place some wishes for the library here :
one should define settings like
pwmmotor_frequency_khz (kiloHertz)
pwmmotor_frequency_hz (Hertz)
pwmmotor_period_s (seconds)
pwmmotor_period_ms (milliseconds)
pwmmotor_period_us (microseconds)
pwmmotor_pulsewidth_s (seconds)
pwmmotor_pulsewidth_ms (milliseconds)
pwmmotor_pulsewidth_us (microseconds)
This would be nice.
Any chance that we see an interface soon?
Best regards
DL88AI88
Who is online
Users browsing this forum: ESPBoards and 220 guests