Forums

Re: 2468 + MICREL PHY

Started by bhosale saee May 12, 2009
hi,
i was missing clock setting there. i am sorry.
but i am still confused with mac address. can anybody please tell me what is the mac address of lpc2468 on olimex board
thank you..

----- Original Message ----
From: bhosale saee
To: l...
Sent: Tuesday, May 12, 2009 1:25:10 PM
Subject: 2468 + MICREL PHY

hello group,
i am working on olimex 2468 board. trying to configure phy chip on it.
i am using the code from code bundle for 23xx/24xx.
can someone please tell me, whts the phy address?
the code snippet :

regValue = ReadPHY( PHY_PHYIDR1 );

send_str("phyid1:");
to_hyper(regValue);

if ( (regValue & 0x00FF) != 0x0022 )
{
return ( FALSE );
}

regValue = ReadPHY( PHY_PHYIDR2 );

send_str("\nphyid2:");
to_hyper(regValue);

if ( (regValue & 0x1610) != 0x1610 )
{
return ( FALSE );
}

the code exits as phyid1 doesn't match.
before
reading the id registers, the chip is reseted i.e wait for reset bit.
but i bypassed this by giving a delay because the code was hanging
there.
can someone please help??

An Engineer's Guide to the LPC2100 Series