Page 1 of 1

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

Posted: Wed Dec 21, 2016 7:24 am
by www220
从pin手册上面看到,第二个串口用了spi的data2-3,在具体的芯片使用中,可以使用1线的spi的flash吗?或者如果使用串口2.谢谢

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

Posted: Wed Dec 21, 2016 7:28 am
by ESP_Sprite
You can use the GPIO matrix to re-route any serial port pin to any (with a few limits) GPIO. Hope that helps.

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

Posted: Wed Dec 21, 2016 11:05 am
by www220
回答真是迅速,可惜了本来esp32的管脚就少

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

Posted: Thu Dec 22, 2016 2:53 am
by costaud
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.

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

Posted: Sat Dec 24, 2016 4:40 pm
by www220
嗯,这样只能自己出模块了,好难的选择