SCC1 on 860 Ethernet, PortA TxD (PA14) setting.

Subodh Nijsure SNijsure at SkyStream.com
Sun Jun 24 12:18:33 EST 2001


Hello,

I am trying to get ethernet on SCC1 going for my custom board.
PA15 is used for RXD (input) and PA14 for TXD (output).

But i noticed that in the "standard" SCC driver (file enet.c) for SCC
both PA14 (RXD) and PA15 (TXD) pins are cleared in
PADIR register. Shouldn't PA15 bit in PADIR register be set to one (output)?

Also Motorola 860 manual lists following step --
"Configure port A to enable TXD1 and RXD1. Set PAPAR( 14,15) and clear PADIR
[ 14, 15 ]
and PAODR [ 14 ]"

Why should TXD be set as input  instead of output?


/Subodh Nijsure


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list