Talk:RPi Serial Connection

From eLinux.org
Jump to: navigation, search

This page could do with some reorganisation but don't want to tread on toes. How about this page being dedicated to setting up and testing the serial port, and we do it by use-case. Windows/Linux terminal connection and Windows/Linux connection to a peripheral (including another computer).

  • Step 1 in all cases is to decide whether or not one needs to disable the kernel boot messages.
  • Step N-1 is testing with a bit of wire and a loop-back test.
  • Step N is a set of links to how to access the port from a programming language

--

I have confirmed that this adapter [which adapter? can we remove this?] works with a synology TTL serial comm port. [[1]] also confirmed the voltage is 3.3 from this convertor as loads of people were worried about degradation or failure using a 5v ttl serial convertor Waiting on the real thing to try it out.

Adafruit 954 USB serial cable

I been thinking of ordering the Adafruit 954 USB serial cable... but at the end I did not... the cable only costs $9.99 and the delivery $15.35... a bit of overkill? Could this cable not be ordered in Europe, or at least somewhere closer (cheaper) to Belgium?

Geertivp (talk) 15:53, 9 June 2013 (UTC)

Contents

Thread titleRepliesLast modified
Glitch when serial port is opened000:06, 26 July 2014

Glitch when serial port is opened

When the serial port is opened there is a 32 us negative pulse on TXD (http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=49867). Although many devices are error tolerant and thus not affected by this glitch, some are not and cannot easily be modified to deal with it. I would like to add a section to this page describing the glitch and how it can be avoided. It is difficult to search for information about this glitch. I did not find the linked forum post until I included 32us in the search string, and I only thought to measure the pulse because I was writing a new forum post myself. The glitch occurs when the serial port is opened, so the solution is to keep it open. This can be accomplished in bash with:

cat >/dev/ttyAMA0 &

If there are no objections I will add a small section on this glitch to this page in a few days.

Cmatteri (talk)00:06, 26 July 2014