Search found 3 matches

by Shaco.Ma
Wed May 09, 2018 11:17 am
Forum: ESP-IDF
Topic: How PWM speed esp32 can running?
Replies: 1
Views: 20035

Re: How PWM speed esp32 can running?

Hi: Now I can make pwm freq to 2MHz,just let reduce .duty_resolution value. BUT, I want use :LEDC_HSCHn_CONF1_REG this register to let PWM out 138 preiod , and then, pwm gpio goto level 0, I use ledc_set_fade_with_step(LEDC_HS_MODE, LEDC_HS_CH0_CHANNEL, 0, 21, 138), the pwm out is not square wave, c...
by Shaco.Ma
Sat May 05, 2018 10:48 am
Forum: ESP-IDF
Topic: How PWM speed esp32 can running?
Replies: 1
Views: 20035

How PWM speed esp32 can running?

Hi:
I use pwm and change duty_resolution = 8,freq_hz to 200*1000,duty to 20, but pwm freq just running 100*1000 Hz, Is this chip limit?
by Shaco.Ma
Sat May 05, 2018 3:50 am
Forum: ESP-IDF
Topic: How to do use led_pwm's LEDC_HSCH(0 or 1)_HPOINT_REG?
Replies: 0
Views: 2314

How to do use led_pwm's LEDC_HSCH(0 or 1)_HPOINT_REG?

Hi: I had make a pwm high speed mode just output 100 cycle_cnt,in esp32_technical_reference_manual.pdf,picture 87. I want high timer ch0 use the 50% duty , and just have 100 hpoint,when the value of counter had reach hpoint , sig_out(?) will be high level, no pwm;for this , I set LEDC.channel_group[...