ts-7000
[Top] [All Lists]

Re: [ts-7000] Serial port example for TS7800

To:
Subject: Re: [ts-7000] Serial port example for TS7800
From: "Michael Schmidt" <>
Date: Wed, 19 Dec 2007 13:28:28 -0700 (MST)
On Tue, December 18, 2007 9:49 am, JD wrote:
> Hi all, it there any example code around for setting up and using the
> serial ports for the 7800?

Sample code for setting up termios in general:
ftp://ftp.embeddedARM.com/tmp/term.c

> I can access the 1st serial port and seem to be able to open the 2nd
> and 3rd, however it doesnt like me setting the baudrate etc - I am

What do you mean "it doesnt like"?  What are the error messages you are
getting?

> guessing I dont have the syscon regs set up correctly for the port to
> be independant?
> Or should the serial driver automatically do that on opening the port?

The driver (tsuart7800) sets up the baud rate registers when it is loaded.
 Any UART pins that override other pin meanings will do so when the UART
is enabled, which is while the device file for the port is open.

 ______   Best Regards,
|__  __/                  Michael Schmidt
   ||                   Software Engineer
   ||echnologic Systems (EmbeddedARM.com)
   || (480)    16610 East Laser Drive #10
   |/ 837-5200   Fountain Hills, AZ 85268
       http://oz.embeddedarm.com/~michael



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU