- Mon Dec 30, 2019 10:21 am
#85097
Thank you so much for your reply.
Otherwise to use DIO to get the pin requires cutting tracks which are under the screening can so a bit tricky.
I am actually planning on developing my own board with an ESP8266EX IC + SPI flash so no track-cutting necessary because I am going to design the PCB myself
This s called extended SPI mode. You have to use the defined CS pins to allow the arbitration between the flash and other device(s) to work. The flash also gets priority so will impact on the speed of the peripheral access.
Is this supported by the (RTOS)-SDK? They are only mentioning CSPI and HSPI. HSPI are Pins 12/13/14/15, don't know about CSPI:
https://github.com/espressif/ESP8266_RT ... herals/spiFurthermore, I am not so sure if I can expect a deterministic behavior from this arbitration? For example: If I want to transmit an image to a display which shares its SPI with the flash - what is the maximum delay in case the ESP8266 CPU is fetching instructions at the moment?
On 4.3.1 (page 19):
https://www.espressif.com/sites/default ... eet_en.pdf the table displays IO0/1/11 as CS2/1/0 - so that means I can connect two more devices (besides the already connected flash) to the same SPI?
------------
Edit: Okay, IO1 is U0TX at the same time so that's not going to work as SPI-CS if I want to keep the "debug"-UART
And as far as I remember, GPIO0 (CS2) also has a special role in the boot process - right?
There are just so many things to get right
------------
The article you referred to seems to describe the behavior on an already assembled PCB with an ESP8266 and SPI flash connected in a Quad-SPI fashion.
In case I use "normal" (no Quad-SPI) flash I can also use GPIO9 and GPIO10, right (only GPIO7 and GPIO8 are going to be connected to the flash)?
------------
Edit: Do you know, if any SPI Nor flash can be used? Most of the cheap ones I noticed being used are QSPI factory configured - but because I want to "downgrade" to normal SPI, I can't use them.
------------