Search found 3 matches

by aceman
Thu Feb 20, 2020 4:31 pm
Forum: ESP32 Arduino
Topic: Phase matching timer interrupt sequence with LEDC PWM
Replies: 6
Views: 9525

Re: Phase matching timer interrupt sequence with LEDC PWM

My understanding is that the ESP32 has a total of 4 hardware timers. From the documentation I found in from espressif https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/ledc.html , there are two different speed modes which are either hardware or software controlled. Is i...
by aceman
Mon Feb 17, 2020 10:40 pm
Forum: ESP32 Arduino
Topic: Phase matching timer interrupt sequence with LEDC PWM
Replies: 6
Views: 9525

Re: Phase matching timer interrupt sequence with LEDC PWM

I have not considered this. I am coming from an arduino backround and this is my first time programming an ESP32. Looking at your code example, I'm trying to make sense of it for myself. However, in reference to my original question, would initiating the ISR code using freeRTOS commands change any o...
by aceman
Mon Feb 17, 2020 5:48 am
Forum: ESP32 Arduino
Topic: Phase matching timer interrupt sequence with LEDC PWM
Replies: 6
Views: 9525

Phase matching timer interrupt sequence with LEDC PWM

Hi all, I am using an ESP32-PICO SoC to drive a display. I am programming it in Arduino framework using PlatformIO for Visual Studio Code. I have managed to set up a bit banging routine to drive my display. The bit bang is very lean and runs inside of a timer interrupt. I've programmed the interrupt...