ts-7000
[Top] [All Lists]

[ts-7000] problem using DIO_16

To:
Subject: [ts-7000] problem using DIO_16
From: "Jan" <>
Date: Mon, 17 May 2010 13:13:17 -0000
Hi all,

Finally I have to use DIO_16 and friends.

Unfortunately I can't get it to go high. What am I doing wrong?

The board is a TS7400 Rev A SN 3565.

TIA
/Janne

#define TS7400_UART2STAT 0x12400000
#define TS7400_GPBUS_DIRECTIONDATA_DIO16_DIO19  0x12000001

GPIO1619X = (volatile unsigned char *)
             __ioremap(TS7400_GPBUS_DIRECTIONDATA_DIO16_DIO19, 1, 0);
p = (volatile unsigned char *)__ioremap(TS7400_UART2STAT, 1, 0);

writeb(0xe0, p);                /* disable UART2 */
writeb((0x01 << 4), GPIO1619X); /* set DIO_16 to output */

writeb(0x01, GPIO1619X);        /* set DIO_16 high *
writeb(0x00, GPIO1619X);        /* set DIO_16 low *





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

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