ESP32 PWM in deep
Posted: Tue Dec 03, 2024 11:04 am
Hello everyone,
I'm trying to understand how pwm works in deep on the esp32.
I'm using a esp32 with the arduino platform.
I know that we have 16 pwm channels, the first eight are connected with an high speed channel, the latest eight with a low speed channel.
If I understand well in each two speed channels, we got 4 timers.
So if I set channel 0 to 20khz, also channel 1 will have 20kHz frequency, but in channel 1 can I have a different resolution?
Looking to the timers schema, I saw that Timer x exist in each two sides, the timer is shared or is a different Timer also if the name is the same but one is for the high speed and the other one on the slow speed?
What are the limits of the slow speed channels expressed in frequency?
I correct to say (I read somewhere) that is disencouraged to use the high speed channels when WiFi is used?
I'm trying to understand how pwm works in deep on the esp32.
I'm using a esp32 with the arduino platform.
I know that we have 16 pwm channels, the first eight are connected with an high speed channel, the latest eight with a low speed channel.
If I understand well in each two speed channels, we got 4 timers.
So if I set channel 0 to 20khz, also channel 1 will have 20kHz frequency, but in channel 1 can I have a different resolution?
Looking to the timers schema, I saw that Timer x exist in each two sides, the timer is shared or is a different Timer also if the name is the same but one is for the high speed and the other one on the slow speed?
What are the limits of the slow speed channels expressed in frequency?
I correct to say (I read somewhere) that is disencouraged to use the high speed channels when WiFi is used?