Dedicated spi flash pins

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

Dedicated spi flash pins

Postby kamesh » Sat Jun 17, 2017 7:30 am

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

ESP_Sprite
Posts: 3917
Joined: Thu Nov 26, 2015 4:08 am

Re: Dedicated spi flash pins

Postby ESP_Sprite » Sat Jun 17, 2017 12:08 pm

Might that be because your main SPI flash is connected to these pins, and your code is stored on that?

kamesh
Posts: 35
Joined: Sat Aug 06, 2016 5:14 am

Re: Dedicated spi flash pins

Postby kamesh » Sun Jun 18, 2017 4:18 pm

Yes I am flashing my code

WiFive
Posts: 2965
Joined: Tue Dec 01, 2015 7:35 am

Re: Dedicated spi flash pins

Postby WiFive » Sun Jun 18, 2017 6:53 pm

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.

Who is online

Users browsing this forum: No registered users and 35 guests