Search found 6 matches

by fnoguez
Tue Jan 25, 2022 4:43 pm
Forum: ESP32 Arduino
Topic: SPI Master DMA transmission requierement: one byte at a time with gaps
Replies: 1
Views: 4510

Re: SPI Master DMA transmission requierement: one byte at a time with gaps

Hi The_Praiodanish
Is DMA for sending necesary?
If not, try sending without DMA.

Regards
by fnoguez
Thu Dec 03, 2020 3:38 pm
Forum: ESP32 Arduino
Topic: LEDC and ISR in Arduino
Replies: 4
Views: 5830

Re: LEDC and ISR in Arduino

I'm sorry!
I double checked and LEDC_INTR_MAX is not declared :cry:
by fnoguez
Thu Dec 03, 2020 3:19 pm
Forum: ESP32 Arduino
Topic: LEDC and ISR in Arduino
Replies: 4
Views: 5830

Re: LEDC and ISR in Arduino

Hi jilderoui I' m facing very similar problem and I think the issue can be the ESP-IDF release you are using. I compiled your code in Platformio with same results: src\main.cpp: In function 'void initlecd()': src\main.cpp:23:29: error: 'LEDC_INTR_MAX' was not declared in this scope. In release 3.3, ...
by fnoguez
Wed Dec 02, 2020 3:46 am
Forum: General Discussion
Topic: Change LEDC frequency and pwm on the fly without glitches
Replies: 5
Views: 7138

Re: Change LEDC frequency and pwm on the fly without glitches

Or a more defined question:
How can I integrate ledc_intr_type_t with the code attached in my last post?
So that it only update pwm frequency when LEDC Counter reaches max count, LEDC_INTR_MAX?
by fnoguez
Mon Nov 30, 2020 10:59 pm
Forum: General Discussion
Topic: Change LEDC frequency and pwm on the fly without glitches
Replies: 5
Views: 7138

Change LEDC frequency and pwm on the fly without glitches

Hello to every one. I'm trying set LEDC frequency and PWM on the fly and the code works but not the way I'm expecting, there are bumps or glitches every time de frequency gets changed and also the PWM has glitches but is a little less notorious. For both Frequency and PWM I need a glitch free transi...
by fnoguez
Wed Sep 23, 2020 2:29 am
Forum: General Discussion
Topic: Unpredictable PWM behaviour when powered via 5v pin
Replies: 20
Views: 17626

Re: Unpredictable PWM behaviour when powered via 5v pin

Hi
Maybe 1.92v is to low for the expected threshold 3v? try shifting the PWM high signal with gates, 2 NPN transistors in series as gates
or something similar. I attached a drawing that works for me . The common GND for both sides can be omitted if you want to isolate the MCU.
Hope this help