UART on any GPIO or not

MickJagger
Posts: 8
Joined: Sat Nov 19, 2016 12:19 am

UART on any GPIO or not

Postby MickJagger » Fri Nov 25, 2016 4:01 pm

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?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: UART on any GPIO or not

Postby ESP_Angus » Fri Nov 25, 2016 10:08 pm

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

User avatar
rudi ;-)
Posts: 1729
Joined: Fri Nov 13, 2015 3:25 pm

Re: UART on any GPIO or not

Postby rudi ;-) » Fri Nov 25, 2016 11:58 pm

ESP_Angus wrote: The technical reference manual Chapter 4 explains the GPIO Matrix & IOMUX in detail: http://espressif.com/en/support/download/documents

Angus
hi Angus,

do you know, will the reference updated with this ?
quest_gpio_sig_map.png
quest_gpio_sig_map.png (43.16 KiB) Viewed 13895 times
txs

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: UART on any GPIO or not

Postby ESP_Angus » Sat Nov 26, 2016 1:28 am

rudi ;-) wrote:
ESP_Angus wrote: do you know, will the reference updated with this ?
I think probably not until we release more details about the CAN controller.

Who is online

Users browsing this forum: kaxx1975 and 105 guests