Search found 4 matches

by Testkill
Mon May 16, 2022 12:06 pm
Forum: ESP32 Arduino
Topic: Unexplainable variation occasionally breaking my critically accurate timer interrupt
Replies: 5
Views: 3273

Re: Unexplainable variation occasionally breaking my critically accurate timer interrupt

I think I have found the real issue, it seems to be the interrupt starting the timer. I tried putting it on core0 again but that seems to add even more variation/delays No idea why, i checked the interrupt is correctly attached inbetween data packets.
by Testkill
Mon May 16, 2022 11:54 am
Forum: ESP32 Arduino
Topic: Unexplainable variation occasionally breaking my critically accurate timer interrupt
Replies: 5
Views: 3273

Re: Unexplainable variation occasionally breaking my critically accurate timer interrupt

if I am not mistaken, you put portENTER_CRITICAL_ISR where it should be portENTER_CRITICAL and vice versa I think portENTER_CRITICAL_ISR must be inside ISR, and portENTER_CRITICAL outside ISR Good catch, you're right. Sadly it made no difference. I also tried removing vtaskdelay on core0 and puttin...
by Testkill
Sat May 14, 2022 4:55 pm
Forum: ESP32 Arduino
Topic: Unexplainable variation occasionally breaking my critically accurate timer interrupt
Replies: 5
Views: 3273

Re: Unexplainable variation occasionally breaking my critically accurate timer interrupt

A tip would be extremely appreciated, I keep trying things I can't figure this out.
by Testkill
Mon May 09, 2022 8:18 pm
Forum: ESP32 Arduino
Topic: Unexplainable variation occasionally breaking my critically accurate timer interrupt
Replies: 5
Views: 3273

Unexplainable variation occasionally breaking my critically accurate timer interrupt

Hello I've been making a program in the past weeks to act as a machine of several WS2811/2812 controllers in one (argb). So that i can pwm controller motors or non digital led strips (as one single led for each led data signal) I've got 95% of it figured out and working. I'm reading argb data using ...