I'm using AI-Thinker's ESP32-S board, and my use case requires all 3 UARTs present in the board.
But, from the pin diagram, I can see that the UART1 pins also work as pins for integrated flash.
Of course, I need internal flash to actually be able to use the controller, but can I use the UART pins at the same time? Is this possible?
Asked
Active
Viewed 149 times
0

Vishesh Varma
- 64
- 7
-
I assume it wouldn't hurt to try. The worst that can happen is it not working. – edgar_wideman Oct 31 '22 at 15:27
1 Answers
0
to use those pins without any problem you can compile the code with the flash in "dio" mode which by default does not use those pins, the spi-hd pin is to hold the memory, then the spi-wp pin is write protect. they are only used in "qio" mode that uses all 4 pins for higher communication speed, you can see the diferences here flash modes

AgusK
- 23
- 3