Page 1 of 1

ESP32 SPI Flash Read Write

Posted: Sun Oct 06, 2024 1:04 am
by Alberk
I would like to confirm if execution of Task is also blocked for the duration of an internal (Built-in) SPI Flash Read. The statememt below in the Espressif documentation only mention Write. https://docs.espressif.com/projects/esp ... peed.html

Code: Select all

Task execution is always completely suspended when writing to the built-in SPI flash chip. Only IRAM-Safe Interrupt Handlers continues executing.

Re: ESP32 SPI Flash Read Write

Posted: Sun Oct 06, 2024 1:55 pm
by aliarifat794
For writing operations, the SPI flash chip is locked, and task execution is fully suspended until the operation completes, as you've noted.For reads, task execution is generally not blocked, except in the case of cache misses, where there could be short latencies but not a full suspension of execution.