Memory Management

Yeah with SYSTEM_THREAD(ENABLED); unfortunately the SPI bus shares resources with communication with the WiFi chip and there can be some blocking or undefined behavior. I found that when I ran the SPI portion of my operations within a SINGLE_THREADED_BLOCK() {} that it resolved my issue while allowing for full speed operation. Probably worth giving it a try if you can stomach the small delays in your other code.

see my post on the issue

2 Likes