beautypg.com

11 software reset, Software reset – Maxim Integrated 78Q8430 Software Driver User Manual

Page 46

background image

78Q8430 Software Driver Development Guidelines

UG_8430_004

11 Software Reset

Use the following procedure to reset the QUEs and the MAC:

STEP 1: Set the MCR MACRST bit.

STEP 2: Read the MCR to verify the reset.
Verify that both Tx and Rx are halted (Tx Halt and Rx Halt bits are set). Verify that both Tx and Rx
are disabled (Tx Enable and Rx Enable bits are clear). Verify that the MACRST bit is set.

STEP 3: Write the MCR and clear the MACRST bit.

STEP 4: Release all buffers and reset the state of the driver.

STEP 5: Write the MCR Tx Enable and Rx Enable bits to enable transmit and receive.

46

Rev.

1.0