
RTL8305SB 
2002/04/09 
42
Rev.1.0
7.3 Advanced Functional Overview 
7.3.1 Reset 
The whole or part of the RTL8305SB is initialized depending on the reset type. There are several ways to reset RTL8305SB: 
hardware reset for whole chip by pin RESET#, soft reset for all except PHY by register SoftReset, and PHY software reset for 
each PHY by register reset. 
Hardware Reset
: pin RESET# = 0 (asserted at least 1ms) to 1. The RTL8305SB will reset the whole chip then get initial 
value from pins and serial EEPROM.  
Soft Reset
: Write bit15 of Reg16 of PHY3 as 1. The RTL8305SB will reset all except PHY and will not load EEPROM and 
Pin Registers with serial EEPROM and Pins. The SoftReset, EEPROM and Pin registers are designed to provide a convenient 
way for users who want to use SMI to change the configuration. After changing the EEPROM or Pin registers via SMI, the 
external device has to perform a soft reset in order to update the configuration. 
PHY software reset
: Write bit15 of Reg0 of some PHY as 1. The RTL8305SB will then reset this PHY.  
Hardware Reset
Soft Reset
 : After loading EEPROM completely, user can access
EEPROM/Pin registers via SMI. And have to do Soft Reset to  reset all
except PHY to update pin/EEPROM configuration.
strap pin upon reset
load EEPROM upon reset
Some setting values for operation modes are latched from those corresponding mode pins at the end of hardware reset. Upon 
reset is defined as a short time after at the end of a hardware reset. Then other advanced configuration parameters may be 
latched from serial EEPROM if pin EnEEPROM=1.  
7.3.2 Setup and Configuration 
The RTL8305SB can be configured easily and flexibly by hardware pins upon reset, optional serial EEPROM upon reset, and 
internal registers (including PHY registers for each port and MAC register for global) via SMI (serial management interface: 
MDC/MDIO, also known as MII Management Interface). There are three ways to configure: 1) Only hardware pins for normal 
switch application; 2) Hardware pins and serial EEPROM for advanced switch application; 3) Hardware pins and internal 
registers via SMI for application with processor.  
Four types of pins, which all have internal pull-high resistors, are used for configuration: 1) Input pins used for strapping only 
upon reset and are of no use after reset; 2) Input pins (P4DUPSTA/P4FULL, P4SPDSTA/P4SPD100, P4FLCTRL/P4EnFC) 
used for strapping upon reset and used as input pins after reset. For example, pin P4DUPSTA/P4FULL is used as P4FULL 
upon reset for PHY of Port 4 UTP/FX mode and used as P4DUPSTA for MAC of other mode after reset; 3) Input/Output pins 
(MTXD[3:2]/PRXD[3:2]/P4IRTag[1:0], MTXD[1:0]/PRXD[1:0]/LEDMode[1:0]) used for strapping upon reset and used as 
output pins after reset; 4) Input/Output pins (all LEDs) used for strapping upon reset and used as LED indicator pins after reset. 
The LED statuses are represented as active-low or high depending on input strapping, except Bi-color Link/Act in Bi-color 
LED mode, whose polarity depends on Spd status.  
The Pins with default value=1 are internal pull-high and use I/O pad. So they can be left floating to choose input value as high 
but should not be connected to GND without a pull-down resistor. 
The serial EEPROM, which shares two pins (SCL_MDC and SDA_MDIO) with SMI, is optional for advanced configuration. 
SCL_MDC and SDA_MDIO are tri-state during hardware reset (pin RESET#=0). The RTL8305SB will try to automatically 
find the serial EEPROM upon reset only if pin EnEEPROM is 1. Because the pin SDA_MDIO is pulled up by an external 
resistor. If and only if the NoEEPROM of serial EEPROM (bit 0 of the first byte) is 0, the RTL8305SB will load all contents 
of the serial EEPROM into internal registers. Otherwise, the RTL8305SB will use the default values for the internal. 
Internal registers can still be accessed after reset via SMI (pin SCL_MDC and SDA_MDIO). Serial EEPROM signals and SMI 
signals should not exist in the same time. In order to use the SMI to change configuration flexibly, internal registers include 
content of some pins and all serial EEPROM: Pin register and EEPROM register. Those registers do not work in real time. 
Soft Reset is necessary after changing the EEPROM or Pin registers.