ESP32 SPI Flash Read Write

Alberk
Posts: 55
Joined: Sat Jun 19, 2021 1:49 am

ESP32 SPI Flash Read Write

Postby Alberk » Sun Oct 06, 2024 1:04 am

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.

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32 SPI Flash Read Write

Postby aliarifat794 » Sun Oct 06, 2024 1:55 pm

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.

Who is online

Users browsing this forum: Gaston1980 and 220 guests