Page 1 of 1

Dedicated spi flash pins

Posted: Sat Jun 17, 2017 7:30 am
by kamesh
Hai,

I am not able to configure dedicated spi flash pins (gpio6 to gpio11) as general purpose I/O. Suggest how it can be done and explain the functions of the corresponding pins. I am using sdk v 2.0.


Thanks,
kamesh.c

Re: Dedicated spi flash pins

Posted: Sat Jun 17, 2017 12:08 pm
by ESP_Sprite
Might that be because your main SPI flash is connected to these pins, and your code is stored on that?

Re: Dedicated spi flash pins

Posted: Sun Jun 18, 2017 4:18 pm
by kamesh
Yes I am flashing my code

Re: Dedicated spi flash pins

Posted: Sun Jun 18, 2017 6:53 pm
by WiFive
In general, esp32 is always using flash pins to reload the cache so you cannot use flash pins as gpio. This is different to other mcus that load the whole program to ram from flash at startup.