ESP32-WROOM-32D gpio口不够,是否可以使用D0-D4脚??

gavin8739
Posts: 5
Joined: Tue Jul 16, 2019 6:16 am

ESP32-WROOM-32D gpio口不够,是否可以使用D0-D4脚??

Postby gavin8739 » Mon Sep 14, 2020 1:48 am

现在我在设计中发现IO不够用,想把D0-D4用作常用的GPIO,请问需要在哪里设置?? 看资料D0为GPIO7 D1为GPIO8 D2为GPIO9 D3为GPIO10;现在设置为GPIO后,就会引起重启!

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: ESP32-WROOM-32D gpio口不够,是否可以使用D0-D4脚??

Postby ESP_morris » Mon Sep 14, 2020 7:49 am

Code: Select all

#define SPI_CLK_GPIO_NUM                            6
#define SPI_CS0_GPIO_NUM                            11
#define SPI_Q_GPIO_NUM                              7
#define SPI_D_GPIO_NUM                              8
#define SPI_WP_GPIO_NUM                             10
#define SPI_HD_GPIO_NUM                             9
你用的这几个引脚接的是SPI-flash

gavin8739
Posts: 5
Joined: Tue Jul 16, 2019 6:16 am

Re: ESP32-WROOM-32D gpio口不够,是否可以使用D0-D4脚??

Postby gavin8739 » Mon Sep 14, 2020 8:42 am

我看到ESP32-WROOM-32D外引的IO口只有22个脚,有不有模块的IO口外引出来的多些??

Who is online

Users browsing this forum: Google [Bot] and 29 guests