![Renesas mPD98431 User Manual Download Page 64](http://html.mh-extra.com/html/renesas/mpd98431/mpd98431_user-manual_1440626064.webp)
CHAPTER 3 FUNCTIONAL DESCRIPTION
User’s Manual S14054EJ4V0UM
62
<3>
Read data remaining in receive FIFO.
Read the packet data remaining in the receive FIFO.
If a packet completely accumulated in the receive FIFO exists when reception is stopped, that packet can
be read. The packet being received cannot be read. It is not necessary to read the remaining packet if it
is to be discarded.
<4>
Execute software reset
Execute software reset using the following procedure.
1. PCSC register: Set the PCRST bit to 1.
2. MACC2 register: Set the MCRST, RFRST, and TFRST bits to 1.
3. MACC3 register: Set the RXFFLH and TXFFLH bits to 1.
4. MACC3 register: Set the RXFFLH bit to 0.
5. MACC2 register: Set the RFRST bit to 0.
6. PCSC register: Set the PCRST bit to 0.
7. MACC2 register: Set the MCRST and TFRST bits to 0.
8. MACC3 register: Set the TXFFLH bit to 0.
Be sure to leave an interval of at least 20 TXCLK or RXCLK clocks between each step in the procedure.
<5>
Resume reception.
Resume reception by setting the SRXEN bit of the MACC1 register to 1.
Recovery can also be made by executing hardware reset. In this case, however, note that all the ports are
initialized.
(4) Cautions on switching settings of MACC1, MACC2, MACC3, PCSC registers
Observe the following points when switching the settings of the MACC1, MACC2, MACC3, and PCSC registers.
With the exception of the SRXEN bit of the MACC1 register, the PTIME bit of the MACC3 register, and all the
software reset bits, when switching the settings of the bits in the MACC1, MACC2, MACC3, and PCSC registers,
be sure to execute software reset using the following procedure after setting the registers.
<1> PCSC register: Set the PCRST bit to 1.
<2> MACC2 register: Set the MCRST, RFRST, and TFRST bits to 1.
<3> MACC3 register: Set the RXFFLH and TXFFLH bits to 1.
<4> MACC3 register: Set the RXFFLH bit to 0.
<5> MACC2 register: Set the RFRST bit to 0.
<6> PCSC register: Set the PCRST bit to 0.
<7> MACC2 register: Set the MCRST and TFRST bits to 0.
<8> MACC3 register: Set the TXFFLH bit to 0.
Be sure to leave an interval of at least 20 TXCLK or RXCLK clocks between each step in the procedure.
(5) Cautions on releasing software reset of MII management interface block
When accessing the management after releasing the software reset applied to the MII management interface
block via the MISRT bit of the MIIC register, be sure to wait until at least 60 HCLK clocks have elapsed before
accessing the MCMD or MWTD register.