esp32的spi和第二个串口的管脚定义
esp32的spi和第二个串口的管脚定义
从pin手册上面看到,第二个串口用了spi的data2-3,在具体的芯片使用中,可以使用1线的spi的flash吗?或者如果使用串口2.谢谢
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: esp32的spi和第二个串口的管脚定义
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和第二个串口的管脚定义
回答真是迅速,可惜了本来esp32的管脚就少
Re: esp32的spi和第二个串口的管脚定义
Hello,www220 wrote:回答真是迅速,可惜了本来esp32的管脚就少
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.
Who is online
Users browsing this forum: No registered users and 37 guests