Page 1 of 1

Force 10 Megabit mode 527x family

Posted: Wed Aug 13, 2008 5:55 pm
by tod
Is it possible to force a 527x module to use 10 megabit only. Would this turn off any 100MHz clock that might be used for 10/100 mode? We are seeing a noise signal (very low but important) around 100MHz and the suspicion is that the Ethernet module might be responsible.

Re: Force 10 Megabit mode 527x family

Posted: Fri Sep 12, 2008 11:39 am
by SteveD
Hi there

Here is a wrapper that I concocted for the ManualEthernetConfig function

//#################################################################################################
//
//! Prototype: SetEthernetMode(BYTE bMode)
//! Function: Set the ethernt interface mode
//! Parameters: bMode
//! Returns: Nothing
//
//#################################################################################################
void SetEthernetMode(eENETMODE bMode)
{
switch (bMode)
{
default: ManualEthernetConfig(FALSE,FALSE,TRUE ); break;// auto select network
case EM_10_HALF: ManualEthernetConfig(FALSE,FALSE,FALSE); break;// 10 Base T half dup
case EM_10_FULL: ManualEthernetConfig(FALSE,TRUE ,FALSE); break;// 10 Base T full dup
case EM_100_HALF: ManualEthernetConfig(TRUE ,FALSE,FALSE); break;// 100 Base TX half dup
case EM_100_FULL: ManualEthernetConfig(TRUE ,TRUE ,FALSE); break;// 100 Base TX full dup
} }

Just use the mode you require.
Steve