UART0 Debug or application

Started by Shelniraj, February 10, 2022, 01:25:54 PM

Previous topic - Next topic

Shelniraj

Hi all
I am using A20-Olinuxino-Lime and want to use UART0 for my application purpose i.e. receiving data from external source and sending it on USB.
But according to data sheet page 25 it seems that it is only available for debug.
Is it so? or can I use it for my application?

Regards
Shelniraj

LubOlimex

It can be changed but I recommend you to use one of the other UARTs. There are free UARTs available on GPIO pins. Leave UART0 for serial debug.
Technical support and documentation manager at Olimex

Shelniraj

OK..
I have checked with data sheet but found that No additional UART is present on GPIO instead of UART0.
Please show me where to locate those free UARTS available on GPIO pins.

Regards
Shelniraj

LubOlimex

A20 chip has 8 hardware UARTs. In A20-OLinuXino-LIME one of the UARTs is used for debug, that is UART0. Another UART is used for its other function for the Ethernet, so it can NOT be accessed, this is UART1. UART5 can be used by requires changing an SMT jumper, so just avoid. The rest of the UARTs are free to use. So you have 5 UARTs you can use.

UART2 is usually used on pins PI18 and PI19 - found at GPIO-2 connector
UART3 is PG6 and PG7 - found at GPIO-1 connector
UART4 is PG10 and PG11 - found at GPIO-1 connector
UART6 is PI12 and PI13 - found at GPIO-2 connector
UART7 is PI20 and PI21 - found at GPIO-2 connector

You can inspect the schematic and the A20 datasheet to confirm what I wrote.

Technical support and documentation manager at Olimex

Shelniraj

Thanks will check and confirm.

Regards
Shelniraj