linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* enet rx doesn't work
@ 2002-03-12 15:42 Walser, Martin
  2002-03-12 16:35 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Walser, Martin @ 2002-03-12 15:42 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi,

I've tried to use the enet over the LXT905. Tx seems to work, but I'm not able
to receive data from it.
I've measured the rxd, rclk and rena pins (the RENA signal is aktive high), but
they seems to be ok too.

But I get no rx interrupt, the scc_enet_interrupt is never called when receiving
data.

I'm using kernel 2.4.4 from denx.

Any ideas?

Martin


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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* enet rx doesn't work
@ 2002-03-13 10:03 Walser, Martin
  0 siblings, 0 replies; 3+ messages in thread
From: Walser, Martin @ 2002-03-13 10:03 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi,

I've tested the rx clock routing, this is ok.
All other signals seem to be ok (COL is low, CD is high when receiving a frame).

So I don't know what should be wrong.

That's the configuration of my board.

/* Bits in parallel I/O port registers that have to be set/cleared
 * to configure the pins for SCC2 use.
 */
#define PA_ENET_RXD	((ushort)0x0004)	/* PA 13 */
#define PA_ENET_TXD	((ushort)0x0008)	/* PA 12 */
#define PA_ENET_RCLK	((ushort)0x0400)	/* PA  5 */
#define PA_ENET_TCLK	((ushort)0x0800)	/* PA  4 */

#define PC_ENET_TENA	((ushort)0x0002)	/* PC 14 */
#define PC_ENET_CLSN	((ushort)0x0040)	/* PC 9 */
#define PC_ENET_RENA	((ushort)0x0080)	/* PC 8 */

/* Control bits in the SICR to route TCLK (CLK4) and RCLK (CLK3) to
 * SCC2.  Also, make sure GR2 (bit 16) and SC2 (bit 17) are zero.
 */
#define SICR_ENET_MASK	((uint)0x0000ff00)
#define SICR_ENET_CLKRT	((uint)0x00003700)


Best regards
Martin

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

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

end of thread, other threads:[~2002-03-13 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-12 15:42 enet rx doesn't work Walser, Martin
2002-03-12 16:35 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2002-03-13 10:03 Walser, Martin

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).