I am trying to use SPI in main loop when connected to wifi, but keeps crashing.
I am using platformio with framework-arduinoespressif32 @ 3.20005.220925
Keep getting this error via serial terminal
Code: Select all
[ 2784][D][LoRa.cpp:749] singleTransfer(): 5
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4008d1b2 PS : 0x00060d33 A0 : 0x8008c4eb A1 : 0x3ffb26e0
A2 : 0x0000003b A3 : 0x3ffb5acc A4 : 0x3ffbf1f8 A5 : 0x00060d23
A6 : 0x00060d20 A7 : 0x00000001 A8 : 0x8008d1a7 A9 : 0x3ffb26a0
A10 : 0x00000001 A11 : 0x3ffc4104 A12 : 0x00000004 A13 : 0x00060d23
A14 : 0x00060d23 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000047 LBEG : 0x40089729 LEND : 0x40089739 LCOUNT : 0xfffffffc
Backtrace:0x4008d1af:0x3ffb26e00x4008c4e8:0x3ffb2700 0x400d2bd2:0x3ffb2740 0x400d2cd0:0x3ffb2770 0x400d28b6:0x3ffb27a0 0x400d7dc5:0x3ffb2820
Thanks for you time.