Search found 4 matches

by RacerX10
Sat Sep 16, 2023 7:54 pm
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'ed (StoreProhibited) (only crashes when function invoked from ISR)
Replies: 2
Views: 4662

Re: Guru Meditation Error: Core 1 panic'ed (StoreProhibited) (only crashes when function invoked from ISR)

The more appropriate way to handle this is to have the ISR drop the needed data into a queue, with a separate process to pull data from the queue, process it, and return the result where it is needed. This can either be triggered by a queue event, a suspended process which gets notified, or in your...
by RacerX10
Thu Sep 14, 2023 6:17 pm
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'ed (StoreProhibited) (only crashes when function invoked from ISR)
Replies: 2
Views: 4662

Guru Meditation Error: Core 1 panic'ed (StoreProhibited) (only crashes when function invoked from ISR)

When I call the function below from an ISR, I'm randomly getting Guru Meditation Error: Core 1 panic'ed (StoreProhibited) It might run fine for 30 seconds, or 10 minutes before I get the crash. When I call it from loop(), it appears to work fine. I need to call it from my ISR because I'm doing a med...
by RacerX10
Wed Jul 26, 2023 2:10 pm
Forum: Hardware
Topic: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33
Replies: 2
Views: 711

Re: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33

I guess I assumed the way that was worded that the 80ns thing was a one-time deal at power up I'm experiencing this issue repeatedly. I did move my ISR to trigger on GPIO12 instead, and the problem went away. It'll mean a PCB change but that does mean it's definitely something up with GPIO39 and ADC.
by RacerX10
Tue Jul 25, 2023 9:02 pm
Forum: Hardware
Topic: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33
Replies: 2
Views: 711

ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33

I have an application where I have a LCD touch screen on pins 32/33/25/26 (analog read on 32/33) and separately an ISR that is triggered on pin 39. For some reason, the ADC on pins 32/33 for the touch screen, when enabled, are keeping the ISR from running in a timely manner. The ISR (it's measuring ...