ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7400 - ttyAM0

To:
Subject: Re: [ts-7000] TS-7400 - ttyAM0
From: Petr Ledvina <>
Date: Tue, 8 Sep 2009 01:01:53 +0200
You must enable serial on lower header:
0x1200_0000 TS-7400 control register
bit 0 - if set, enables UART #0 on DIO_18 and
DIO_19 pins
bit 1 - if set, enables IRQ on DIO_11 pin
bit 2 - if set, enables DRQ on DIO_12 pin
bit 3 - if set, enables 14.7456Mhz clock on DIO_13

so you must set bit 0

I use
peekpoke 8 0x12000000 0x01
in linuxrc script in initrd before 'setconsole $CONSOLE' line. So
console is available on lower header (that has 232 converter on my
board) early in boot.

If you need to use /dev/ttyAM0 for something other than console,
modify initscript and maybe use tsbootrom-update to disable ts-bootrom
output to /dev/ttyAM0.

Also when you enable lower header, pins on upper one will no longer
work - so ts9440 won't work (use 'boot' switch boot external SPI
linuxrc script and get console)

Petr

On Tue, Sep 8, 2009 at 00:43, lhamaduck<> wrote:
>
>
> Hi..
>
> My question is about the serial ttyAM0 - in the manual is showed this serial
> in 2 conectors (Upper header and Lower header).
>
> Upper header
> Pin 7 - UART TXD - /dev/ttyAM0
> Pin 8 - UART RXD - /dev/ttyAM0
>
> Lower header
> Pin 22 - DIO_18 - GPIO 18 or TXD /dev/ttyAM0
> Pin 23 - DIO_19 - GPIO 19 or RXD /dev/ttyAM0
>
> How can I chose between GPIO and Serial in the Lower header?
> There is configuration parameter?
>
> Because this pins is not short-circuit directly
>
> thanks
>
> 


------------------------------------

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