LinuxKoku
Posts: 75
Joined: Wed May 16, 2018 9:16 am
Location: France
Contact: Website

UART (PL011) and mini UART

Thu Jul 12, 2018 7:30 am

Hello,

I am studying all available resources of RaspBerry PI3, for full use, and after extensive research on UART, I find myself very confused! there are two UARTs on RPI3, mini UART and UART (PL011)! What I do not understand is that in my research I find that the UART is floundering on the pins 8 and 10! and other say that it is the mini UART that is flickering on pins 8 and 10!
What I do know is that the Bluetooth is on the same pins as the UART (PL011), and for activating one of them! you have to disable the other one.

:?: My questions are:

- What is the difference between the UART (PL011) and the mini UART?
- Which pins do they use?
- Can we use them at the same time?

For example, I have a GPS that I have to connect to the RPI, this one does not use parity and the data conveyed of which of 8 bits max, and I would like to add an RS485 link for another use,
- Can I use the mini UART for GPS and PL011 for the RS-485 link?
Last edited by LinuxKoku on Thu Jul 12, 2018 11:20 am, edited 3 times in total.
Thank you all :)

User avatar
rpdom
Posts: 12948
Joined: Sun May 06, 2012 5:17 am
Location: Ankh-Morpork

Re: UART (PL011) and mini UART

Thu Jul 12, 2018 7:58 am

The UARTS are available on GPIOs 14 and 15, which are on physical (Board) pins 8 and 10. You can only use one UART at a time on these pins.

B.Goode
Posts: 6544
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: UART (PL011) and mini UART

Thu Jul 12, 2018 8:39 am

Be sure to read the Raspberry Pi Foundation documentation here: https://www.raspberrypi.org/documentati ... on/uart.md

There is a lot of detail there.

LinuxKoku
Posts: 75
Joined: Wed May 16, 2018 9:16 am
Location: France
Contact: Website

Re: UART (PL011) and mini UART

Thu Jul 12, 2018 8:54 am

Thank you very much, I just read everything and it's very clear now,

So in summary, I can connect my RS-485 link to pins 8 and 10, by activating the UART with enable_uart = 1 , and put the bluetooth on the mini UART with pi3-miniuart-bt for use later, and put the GPS on the USB port and configure it as a serial port. What do you think about this?
Thank you all :)

Return to “Beginners”