esp32的spi和第二个串口的管脚定义

www220
Posts: 34
Joined: Wed Dec 21, 2016 7:21 am

esp32的spi和第二个串口的管脚定义

Postby www220 » Wed Dec 21, 2016 7:24 am

从pin手册上面看到,第二个串口用了spi的data2-3,在具体的芯片使用中,可以使用1线的spi的flash吗?或者如果使用串口2.谢谢

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

Re: esp32的spi和第二个串口的管脚定义

Postby ESP_Sprite » Wed Dec 21, 2016 7:28 am

You can use the GPIO matrix to re-route any serial port pin to any (with a few limits) GPIO. Hope that helps.

www220
Posts: 34
Joined: Wed Dec 21, 2016 7:21 am

Re: esp32的spi和第二个串口的管脚定义

Postby www220 » Wed Dec 21, 2016 11:05 am

回答真是迅速,可惜了本来esp32的管脚就少

costaud
Posts: 55
Joined: Wed Dec 30, 2015 5:09 pm

Re: esp32的spi和第二个串口的管脚定义

Postby costaud » Thu Dec 22, 2016 2:53 am

www220 wrote:回答真是迅速,可惜了本来esp32的管脚就少
Hello,
1. If you want to use UART2, you can map the signals to any GPIO(output available for tx) you want via GPIO matrix.
2. If you have no more GPIO to use, you can also use dual mode flash, and pull up /wp and /hold pin of flash, then sd_d2/sd_d3 can be disconnected with flash and used as GPIO. But this seems not an option on ESP32 module for now.

www220
Posts: 34
Joined: Wed Dec 21, 2016 7:21 am

Re: esp32的spi和第二个串口的管脚定义

Postby www220 » Sat Dec 24, 2016 4:40 pm

嗯,这样只能自己出模块了,好难的选择

Who is online

Users browsing this forum: No registered users and 9 guests