Force 10 Megabit mode 527x family

Discussion to talk about software related topics only.
Post Reply
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Force 10 Megabit mode 527x family

Post 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.
SteveD
Posts: 5
Joined: Mon May 12, 2008 8:43 am

Re: Force 10 Megabit mode 527x family

Post 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
Post Reply