Questions tagged [uart]

a Universal Asynchronous Receiver/Transmitter, better known as serial port

Filter by
Sorted by
Tagged with
1
vote
1answer
3k views

Enabling the UART port on a Raspberry PI

what does this statement imply: By default the serial port on the Raspberry PI is configured for console input/output. dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ...
0
votes
1answer
3k views

using serial interface /dev/ttyAMA0 crashes Raspberry Pi

I've disabled console on the GPIO serial interface, lowered the speed to 9600 and had some communications observed with minicom and a simple cat /dev/ttyAMA0 talking to an arduino all ok. Now for ...
13
votes
5answers
13k views

Disable DTR on ttyUSB0

I'm connecting from Pi to Arduino-clone board. The problem is, that I need to disable DTR line, in order to prevent Arduino from resetting on connect. I have read that on RPi is not possible to ...
2
votes
1answer
2k views

Same output on TXD and RXD

I wanted to read some data from an external microcontroller via the UART, but couldn't get any communication working. After checking the RXD and TXD pins, I saw that there is also a signal on the RXD-...
3
votes
0answers
392 views

Can I use the TX pin as a normal GPIO output alongside serial communications on the UART? [closed]

I'm using the raspberry pi's UART to interface with a third-party radio. At startup, the radio reads its RX pin (the pi's TX pin) to determine which baud rate should be used. I'm using Gordon's ...
2
votes
1answer
3k views

Problem with UART

I've a Raspberry Pi Model B. I want to connect its serial output to my PC and view the logs generated by it. My serial to USB converter board uses FTDI FT232RL and supports both 3.3V and 5V (using a ...
7
votes
2answers
5k views

Is there a way to make a regular GPIO pin into a Tx UART pin?

I'm working on a project that is going to need two different UART interfaces. Is there a way to make a regular GPIO pin into a Tx UART pin, I don't need an Rx pin too. Is there a software solution ...
2
votes
4answers
3k views

UART sends but not receives but works if tx-rx are bridged

I have this strange problem... When I connect TX and RX pins together (GPIO 14 and GPIO 15, Rev1) and I run minicom, I see everything that I type... so it works. But when I connect TX RX with an USB ...
3
votes
1answer
5k views

Why am I seeing some garbage bytes at the serial console login?

When I log into my serial console using screen /dev/ttyUSB0 115200, I see some garbage in the output: �� Arch Linux 3.6.11-10-ARCH+ (ttyAMA0) raspberry login: root �Password: Login incorrect ...
2
votes
1answer
2k views

Raspberry Pi on AVC-LAN / IEBus

I'm planning on using my Raspberry Pi in my car as an XBMC server. I'll be able to select songs/videos using the Android remote control app, but it occurred to me that it would be really neat if I ...
3
votes
1answer
2k views

USART resending Problem via console

I have some trouble with my USART interface. I short-circuited the RX and TX pins and tried to test sending stuff via the cli using these commands: sudo stty 200 -F /dev/ttyAMA0 cat /dev/ttyAMA0 ...
0
votes
1answer
374 views

Receive on usb bluetooth and send it to uart

Is there any easy way to receive data on cheap USB Bluetooth dongle and all of data send to the UART in Raspberry?
0
votes
1answer
344 views

Do I even need a second board?

I am trying to use Raspberry Pi to stream and audio/video feed, and will probably be installing FFmpeg to do most of the work. I am trying to connect a camera and a microphone to the Pi board so that ...
4
votes
3answers
13k views

UART serial interrupt routine

Is there a simple way to use the registers as an interrupt trigger? I can make the application run in a new pid and poll for serial input using fork() I just need to read data, no write needed This ...
36
votes
11answers
60k views

How to get more than one uart interface

Ok, I have one uart interface (TXD GPIO 14, RXD GPIO 15). I want at least one more uart interface. Possible solutions: Bit banging: Use two unrelated spare GPIOs. I understand that timing is a ...
6
votes
2answers
3k views

UART Output working on 57600 Baud but with 115200 only gibberish

I've got a strange problem with serial output. Using Wheezy and 8 Databits, 1 Stopbit, NoFlowcontroll, NoParity (config as stated in eLinux Wiki). With 57600 Baud everything works fine but with 115200 ...
16
votes
3answers
2k views

How do I connect my printer to the serial GPIO pins?

I've purchased a Mini Thermal Printer from Adafruit. The documentation states: This printer is ideal for interfacing with a microcontroller, you simply need a 3.3V to 5V TTL serial output from ...
14
votes
2answers
50k views

How can I set the UART speed?

How should you set the baud rate of the UART Bonus question: What baud rates are available on the RPi? Edit: Since reading up from Steve's answer, I have found that there are two UARTs available. ...

1
3 4 5 6
7