Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

sourse
Posts: 8
Joined: Sun May 31, 2015 4:22 pm

Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby sourse » Fri Dec 04, 2015 8:30 pm

Hi,
As I know GPIO9 is always set to SDIO_DATA_2 by default. So I want to use it as GPIO mode. But when I set its fucntion select to GPIO mode the board always get assert. So I wonder why it happened. The sample codes are shown as blow:

PIN_FUNC_SELECT(PERIPHS_IO_MUX_SD_DATA2_U, FUNC_GPIO9); //it shows the program asserts at this line when debugging
PIN_PULLUP_DIS(PERIPHS_IO_MUX_SD_DATA2_U);

Thank a lot!

Best Wishes!
Sourse

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby Espressif_Kelly » Mon Dec 14, 2015 10:31 am

Dear Source,

Please be noted that If you want to use SD_D2(SD_D3) as GPIO9 (GPIO10),you need to choose SPI mode as DIO or DOUT in flash download tool.

Besides, you need to disconnect SD_D2(SD_D3) from flash in hardware.

Please try again.

Any more questions, please let us know.

Thanks.

sourse
Posts: 8
Joined: Sun May 31, 2015 4:22 pm

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby sourse » Tue Dec 15, 2015 3:42 pm

Hi Kelly,
Thanks for your kindly reply. So for the ESP-12E GPIO9/10 are used to add an another extra spi flash, is it right?
So how can I use GPIO16 with GPIO mode? Thanks a lot.

Best wishes,
Sourse

sourse
Posts: 8
Joined: Sun May 31, 2015 4:22 pm

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby sourse » Tue Dec 22, 2015 2:51 pm

I saw the gpio16.c in the folder of driver. So I can use the file to config GPIO16 with GPIO mode if I don' t want to use it as deep sleep or other purposes, am I right?

Thanks!

Best regards,
Sourse

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby Espressif_Kelly » Wed Feb 03, 2016 10:30 am

Dear Sir,

Yes, you can use XPD_DCDC(Pin8) as GPIO16.

Please refer to "8A_ESP8266_Interface_GPIO_EN_v0.5.pdf" at below link for details.

http://bbs.espressif.com/viewtopic.php?f=51&t=819

More questions, please feel free to let us know.

Thanks.

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby rudi » Wed Jun 29, 2016 12:59 am

Espressif_Kelly wrote:Dear Sir,

Yes, you can use XPD_DCDC(Pin8) as GPIO16.

Please refer to "8A_ESP8266_Interface_GPIO_EN_v0.5.pdf" at below link for details.

http://bbs.espressif.com/viewtopic.php?f=51&t=819

More questions, please feel free to let us know.

Thanks.


hi kelly

can u help please, where are the documents stored now?
we get a "The requested topic does not exist."
if we use the link.

thanks!
best wishes
rudi ;-)

btw:
do not find again the other peripherials docu too.
example: 8H-ESP8266__Interface_SDIO_SPI_Mode__EN_v0.1-2.pdf
was here: download/file.php?id=659

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby rudi » Sun Jul 03, 2016 11:52 pm

push

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Greg

Re: Why it always gets assert on ESP-12E board when set IO9 to GPIO Mode

Postby ESP_Greg » Tue Jul 05, 2016 3:22 pm

We put all information together. Please see
viewtopic.php?f=51&t=817

Who is online

Users browsing this forum: No registered users and 2 guests