Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UART information needed. #15

Closed
kallisti5 opened this issue May 11, 2012 · 3 comments
Closed

UART information needed. #15

kallisti5 opened this issue May 11, 2012 · 3 comments

Comments

@kallisti5
Copy link

The BCM2835 manual notes a UART0 and a UART1.

From what I can gather, UART0 is the full PL011, and UART1 is the "miniUART" that is supposed to be simpler.

Questions:

  • There is only one set of assigned tx and rx pins on the pi / bcm2835... how do you switch the pins between the two uarts?
  • I see references to UART0 needs to have gpio 14 and gpio 15 in alt0 mode, is this the change needed to go from miniUART -> full PL011 mode?
  • The BCM2835 pdf shows that the gpio 14 and 15 pins need to be "low", is this true?

What I really need is a high level overview of what steps are needed to get a uart to the state needed to output characters.

@cleverca22
Copy link

don't have any docs, but i suspect uart0 and uart1 use separate tx and rx pins

and i know that one of them is enabled at bootup, the rx/tx on the GPIO header are fully working as /dev/ttyAMA0 under linux

edit:
http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf page 102 (section 6.2)

the table lists every pin that rx/tx 0 and rx/tx 1 can be routed to, goes to a lot more pins then i was expecting

@Ruffio
Copy link

Ruffio commented Jun 8, 2015

Is this issue still relevant or can it be closed?

@popcornmix
Copy link
Contributor

See: raspberrypi/linux#1008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants