Datasheet describes that U(S)ART is able to work on any GPIO, but there are some pins labeled as UnRXD and UnTXD (n is a number).
What are they for? Programming on U0RXD and U0TXD only?
UART on any GPIO or not
Re: UART on any GPIO or not
Hi Mick,
Programming is via the marked UART0 pins only, this is because the UART bootloader runs from ROM so there's no way to reconfigure these pins. However, once your program is running you can use the GPIO Matrix functionality to reroute the UARTs to any pins.
The other pin labels are for using "IOMUX" to choose pin functions, which is less flexible so less useful now that it's possible to use the GPIO Matrix instead (it is necessary to use IOMUX for very high speed / low latency signals, but there is no downside to using GPIO Matrix for UART signals.)
The technical reference manual Chapter 4 explains the GPIO Matrix & IOMUX in detail: http://espressif.com/en/support/download/documents
Angus
Programming is via the marked UART0 pins only, this is because the UART bootloader runs from ROM so there's no way to reconfigure these pins. However, once your program is running you can use the GPIO Matrix functionality to reroute the UARTs to any pins.
The other pin labels are for using "IOMUX" to choose pin functions, which is less flexible so less useful now that it's possible to use the GPIO Matrix instead (it is necessary to use IOMUX for very high speed / low latency signals, but there is no downside to using GPIO Matrix for UART signals.)
The technical reference manual Chapter 4 explains the GPIO Matrix & IOMUX in detail: http://espressif.com/en/support/download/documents
Angus
Re: UART on any GPIO or not
hi Angus,ESP_Angus wrote: The technical reference manual Chapter 4 explains the GPIO Matrix & IOMUX in detail: http://espressif.com/en/support/download/documents
Angus
do you know, will the reference updated with this ?
txs
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: UART on any GPIO or not
I think probably not until we release more details about the CAN controller.rudi ;-) wrote:ESP_Angus wrote: do you know, will the reference updated with this ?
Who is online
Users browsing this forum: No registered users and 143 guests