Go to advanced search

by gonesurfing
Sun Jun 02, 2013 4:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 9 bit serial
Replies: 4
Views: 4182

Re: 9 bit serial

Thanks. I've got it working now.

After modifying the uart clock in cmdline.txt I still had to configure the port with the following line.

sudo stty -F /dev/ttyAMA0 cstopb speed 4800

"cstopb" sets stop bits to "2" and speed is obvious. Now if I cat the device file, I get the expected output.
by gonesurfing
Sat Jun 01, 2013 3:35 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 9 bit serial
Replies: 4
Views: 4182

Re: 9 bit serial

This post towards the bottom of the thread, is the one I am referring to. The PL011 UART is mapped to GPIO pins 32/33 which don't exist anywhere on the board, despite showing up in the OS.

http://www.raspberrypi.org/phpBB3/viewt ... 44&t=13957
by gonesurfing
Fri May 31, 2013 10:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 9 bit serial
Replies: 4
Views: 4182

9 bit serial

Hello all, I have successfully been able to "listen in" to an early 90's vintage alarm system through modification of the Arduino software serial library to accept a non-standard baud rate and skip an interrupt bit. The interrupt bit appears after the 8 bits of data, but before the stop bit. By basi...
by gonesurfing
Fri Oct 12, 2012 1:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 162683

Re: FTDI USB Serial Hangs

All, I had things running fine... and then I updated. Sunday night I ran apt-get upgrade, apt-get update and since then, the pi hangs while reading serial data through a perl script. I previously had this same script running for several weeks without issue. Each time the pi crashes, i can't ping or...
by gonesurfing
Thu Oct 04, 2012 12:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 162683

Re: FTDI USB Serial Hangs

All, I had things running fine... and then I updated. Sunday night I ran apt-get upgrade, apt-get update and since then, the pi hangs while reading serial data through a perl script. I previously had this same script running for several weeks without issue. Each time the pi crashes, i can't ping or ...
by gonesurfing
Wed Sep 19, 2012 12:56 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 162683

Re: FTDI USB Serial Hangs

After a recent update, my device is now working with the cat command and perl read() without invoking screen first. I'm having similar troubles with an FTDI converter accessing an xbee module. I can't access /dev/ttyUSB0 with cat, tail, or any perl script. However, I found that not only will screen ...
by gonesurfing
Wed Aug 22, 2012 1:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: FTDI USB Serial Hangs
Replies: 138
Views: 162683

Re: FTDI USB Serial Hangs

I'm having similar troubles with an FTDI converter accessing an xbee module. I can't access /dev/ttyUSB0 with cat, tail, or any perl script. However, I found that not only will screen access the device, but after running it I can access it with any normal method including cat. I need to be able to r...

Go to advanced search