linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* SCC1 on 860 Ethernet, PortA TxD (PA14) setting.
@ 2001-06-24  2:18 Subodh Nijsure
  2001-06-24 22:56 ` Dan Malek
  0 siblings, 1 reply; 7+ messages in thread
From: Subodh Nijsure @ 2001-06-24  2:18 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'; +Cc: Subodh Nijsure


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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-06-25 14:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-24  2:18 SCC1 on 860 Ethernet, PortA TxD (PA14) setting Subodh Nijsure
2001-06-24 22:56 ` Dan Malek
2001-06-25  5:15   ` Question about RPXclassic (RPXCLLF) SangTae Ha
2001-06-25  5:44   ` RPXclassic PPCBOOT on RAM SangTae Ha
2001-06-25  6:42     ` Yoo. Jonghoon
2001-06-25  8:48     ` Wolfgang Denk
2001-06-25 14:24       ` SangTae Ha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).