Search found 5 matches

by Mattgo
Wed Apr 10, 2024 12:42 pm
Forum: General Discussion
Topic: ESP32-C3 Persistent Data Corruption in Custom Serial Protocol
Replies: 1
Views: 816

ESP32-C3 Persistent Data Corruption in Custom Serial Protocol

Hello, I have been struggling for a few weeks with the implementation of a custom serial protocol on the ESP32-C3. Unfortunately, I'm still experiencing packet loss and data corruption, which I suspect are caused by jitter in interrupts. I do not know how to proceed further. Bit timing: 104us per bi...
by Mattgo
Mon Apr 08, 2024 6:35 am
Forum: General Discussion
Topic: ESP32-C3 wakeup and interrupt
Replies: 2
Views: 1895

ESP32-C3 wakeup and interrupt

Hello, I would like to ask about setting wakeup from light sleep on ESP32-C3. I am not able to configure wakeup and also attach the interrupt to the same pin (non RTC pin). Any attempt to attach or detach interrupt on wakeup pin cancel the wakeup function and vice versa. Is there any way to properly...
by Mattgo
Sun Jan 14, 2024 9:53 am
Forum: ESP32 Arduino
Topic: Timers and interrupts not working as expected
Replies: 3
Views: 53296

Re: Timers and interrupts not working as expected

I found this while rewriting library from AVR to ESP32. Once I figured out what the problem is I sorted it by calling timerWrite(timer, 0). It is just make no sense to me because timerWrite is supposed to change just actual value of counter. If I would change the setup permanently I will call timerA...
by Mattgo
Fri Jan 12, 2024 7:34 pm
Forum: ESP32 Arduino
Topic: Timers and interrupts not working as expected
Replies: 3
Views: 53296

Timers and interrupts not working as expected

Hello, I'm facing some unexpected behavior regarding timers and interrupts. I'm hoping to get some insights or suggestions. My intention is to use the timerWrite(timer, 50); function to set the timer counter to 50, then have it count up to 100, trigger an interrupt, and reset to zero because of the ...
by Mattgo
Tue May 16, 2023 7:11 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 ADC issue - reading 4095 at 2.8V
Replies: 1
Views: 2113

ESP32-C3 ADC issue - reading 4095 at 2.8V

Hello, I would like to ask you for help with ESP32-C3 built in ADC. I tested multiple channels on ADC1 and still reading 4095 at 2.8V Regarding datasheet effective range for 11db attenuation (ATTEN3, which should be default) is 0-2500mv and reference voltage is somewhere between 1000-1200mV. I have ...