ST ST802RT1A Скачать руководство пользователя страница 48

Device operation

ST802RT1A, ST802RT1B

48/58

Doc ID 17049 Rev 1

7.22 Far-end-fault

For 100Base-FX mode (which does not support auto-negotiation), the ST802RT1x 
implements the IEEE 802.3 standard far-end-fault mechanism for the indication and 
detection of remote error conditions. If the far-end-fault is enabled, a PHY transmits the far-
end-fault indication whenever a receive channel failure is detected. Each PHY also 
continuously monitors the receive channel when a valid signal is present.

When its link partner is indicating a remote error, the PHY forces its link monitor into the link 
fail state and sets the remote fault bit in the status register. The far-end-fault is on by default 
in 100BaseFX, off by default in 100Base-TX and 10Base-T modes, and may be controlled 
by software and reset.

7.23 

MII management interface

Internal register access is guaranteed through the MII management interface, as specified 
in the IEEE 802.3u standard, Clause 22.

This serial interface consists of a Management Data Clock (MDC) pin and a Management 
Data I/O (MDIO) pin. The MDC pin is always driven by the station management entity (STA) 
while the MDIO pin can be driven by either the STA or the PHY, depending on the operation 
in progress. The logic value on the MDIO pin is sampled on the rising edge of the MDC clock 
signal.

The MDIO pin has an internal pull-up used to keep the line to logic 1 when not driven.

Register read/write operations are performed, sending on the MII Management interface 
frames in the format shown in 

Table 33

.

Both read/write frames start with a preamble (PRE) composed of 32 consecutive logic 1s on 
the MDIO pin and corresponding 32 clock cycles on the MDC pin. The management frame 
preamble can be suppressed, as described in 

Section 7.13

.

The preamble is followed by a 2-bit start of frame (ST), consisting of a transition to logic 0 
and then back to logic 1, after which the operation code (OP) is transmitted to distinguish 
between read and write operations.

After the operation code, the PHY address (PHYAD) and register address (REGAD) are 
sent, each composed of 5 bits which have to be sent MSB first.

The turn-around (TA) is a 2-bit time spacing placed between the register address and the 
data field inserted to avoid contention during a read transaction. In a write operation, the 
STA drives a logic 1 during the first bit time and a logic 0 during the second one. In a read 
operation, both STA and PHY are in high impedance during the first bit time and then the 
PHY drives 0 during the second one.

The data field contains the 16 bits to write to, or read from, the specified register and is 
followed by at least one IDLE bit which closes the frame.

Table 33.

Management frame format

PRE

ST

OP

PHYAD

REGAD

TA

DATA

IDLE

READ

1…1

01

10

AAAAA

RRRRR

Z0

D…D

Z

WRITE

1…1

01

01

AAAAA

RRRRR

10

D…D

Z

Содержание ST802RT1A

Страница 1: ...Factory automation High end peripherals Building automation Telecom infrastructure Description The ST802RT1x is a high performance fast Ethernet physical layer interface for 10Base T 100Base TX and 10...

Страница 2: ...description 18 7 Device operation 38 7 1 100Base TX transmit operation 38 7 2 100Base TX receive operation 39 7 3 10Base T transmit operation 40 7 4 10Base T receive operation 40 7 5 Loop back operat...

Страница 3: ...44 7 17 RMII interface 44 7 18 FX mode operation 45 7 19 FX operation detect circuit 45 7 20 PECL transmitter 46 7 21 PECL receiver 47 7 22 Far end fault 48 7 23 MII management interface 48 8 Electric...

Страница 4: ...0d08 0x08 Auto negotiation link partner received next page register 26 Table 19 RN10 0d16 0x10 RMII TEST control register 27 Table 20 RN11 0d17 0x11 Receiver configuration information and interrupt st...

Страница 5: ...RT1A 9 Figure 5 Pin configuration ST802RT1B 10 Figure 6 LED connections 42 Figure 7 Transmit isolation 44 Figure 8 PECL levels 46 Figure 9 Implementation of the PECL TX section 47 Figure 10 Implementa...

Страница 6: ...ceive filters and adaptive equalizer Provides loop back modes for diagnostics Built in stream cipher scrambler de scrambler and 4B 5B encoder decoder Supports external transformer with a turn ratio of...

Страница 7: ...ER LEDS HW CONFIG TXP TXN RXP RXN REGISTERS TX_CLK TXD 3 0 TX_EN MDIO MDC COL CRS CRS_DV RX_ER RX_DV RXD 3 0 RX_CLK LEDS HW PROG PINS Serial management MDI MDIX MII RMII INTERFACES 10BASE T 100BASE TX...

Страница 8: ...System and block diagrams ST802RT1A ST802RT1B 8 58 Doc ID 17049 Rev 1 3 System and block diagrams Figure 2 System diagram of the ST802RT1A B Figure 3 System diagram of the ST802RT1B in FX mode...

Страница 9: ..._LINK AN_EN LED_SPEED AN0 LED_ACT AN1 36 35 34 33 32 31 30 29 28 27 26 25 36 35 34 33 32 31 30 29 28 27 26 25 TXD3 MII_CFG1 GND TXD2 SCLK TX_CLK LPBK_EN TX_EN GNDA VCCA TXD0 TXD1 1 2 3 4 5 6 7 8 9 10...

Страница 10: ...EN LED_SPEED AN0 LED_ACT AN1 36 35 34 33 32 31 30 29 28 27 26 25 36 35 34 33 32 31 30 29 28 27 26 25 TXD3 MII_CFG1 GND TXD2 SCLK TX_CLK LPBK_EN TX_EN GNDA VCCA TXD0 TXD1 1 2 3 4 5 6 7 8 9 10 11 12 1 2...

Страница 11: ...und 12 GND Ground Digital ground 13 VCCA Supply Analog power supply 14 RXN I O Differential receive inputs 15 RXP I O Differential receive inputs 16 GNDA Ground Analog ground 17 TXP I O Differential t...

Страница 12: ...RXER_RXD4 O Receive error receive data 4 41 DVDD Supply Digital power 3 3 V 42 RXD3 PHYADDR4 O S PD Receive data MII Phy4 43 RXD2 PHYADDR3 O S PD Receive data MII Phy3 44 RXD1 PHYADDR2 O S PD Receive...

Страница 13: ...MII receive clock This continuous clock provides reference for rxd rx_dv and rx_er signals 25 MHz for 100 Mbps operation 2 5 MHz for 10 Mbps operation 46 COL O MII collision detection The ST802RT1x as...

Страница 14: ...Mode 1 and Mode 2 this pin indicates the status of the link The LED is ON when the link is good 27 LED_SPEED O PU Speed LED This pin is driven on continually when 10Mb s or 100Mb s network operating...

Страница 15: ...e internal pull downs the default values are 0 See Table 6 for details and configurations 28 27 26 AN_EN AN_0 AN_1 S PU Auto negotiation enable When high this enables auto negotiation with the capabil...

Страница 16: ...line PECLHIGH PECLHIGH Undefined state PECLLOW PECLMID PECLHIGH FX mode asserted link OK and data valid Table 6 MII_CFG0 MII_CFG1 configuration mii_cfg0 mii_cfg1 MII mode 0 X RMII mode 1 0 Reserved 1...

Страница 17: ...ty register 06h 6d RN06 ANEGX 0x0004 Auto negotiation expansion register 07h 7d RN07 LDNPG 0x2001 Auto negotiation next page transmit register 08h 8d RN08 LPNPG 0x0000 Auto negotiation link partner re...

Страница 18: ...trap RW 13 Speed selection 1 100 Mb s 0 10 Mb s Ignored if auto negotiation is enabled Strap RW 12 Auto negotiation enable 1 Auto negotiation is enabled 0 Auto negotiation is disabled Bits 8 and 13 of...

Страница 19: ...to negotiation can be disabled by one of two methods hardware or software control If the AN_EN input pin is driven to 0 auto negotiation is disabled by hardware control If bit 12 of the control regist...

Страница 20: ...en read Full duplex By default the ST802RT1x powers up in half duplex mode The chip can be forced into full duplex mode by writing a 1 to bit 8 of the control register while auto negotiation is disabl...

Страница 21: ...ess completed registers 4 5 6 are now valid 0 Auto negotiation process not completed Active only if auto negotiation is enabled else 0 0 RO 4 Remote Fault 1 Remote fault condition detected 0 No remote...

Страница 22: ...if the link pass state has been entered again Jabber detect 10BASE T operation only The ST802RT1x returns a 1 on bit 1 of the status register if a jabber condition has been detected After the bit is...

Страница 23: ...w the user to customize the ability information transmitted to the link partner The default value for each bit reflects the abilities of the ST802RT1x By writing a 1 to any of the bits the correspondi...

Страница 24: ...the value to this register and does not act upon it Table 15 RN05 0d05 0x05 Auto negotiation link partner ability register Bit Bit name Description Default RW type Type 15 LP Next Page 1 Link partner...

Страница 25: ...a 1 when the link partner has next page capabilities It has the same value as bit 15 of the link partner ability register Page received Bit 1 of the auto negotiation expansion register is latched hig...

Страница 26: ...essage received 0 Local device cannot comply with message 0 RW 11 Toggle 1 Previous transmitted LCW toggle was 0 0 Previous transmitted LCW toggle was 1 Updated by auto negotiation state machines 0 RO...

Страница 27: ...value Table 19 RN10 0d16 0x10 RMII TEST control register Bit Bit name Description Default RW type Type 15 14 RESERVED 000b RO 13 RESERVED 000b RW 12 11 RESERVED 10b RO 10 RESERVED 0b RW 9 MII Enable...

Страница 28: ...g interrupt 1 Auto negotiation completed interrupt is pending 0 Auto negotiation not yet completed Interrupt enabled by RN12 6 0 RO LH 5 Remote fault interrupt 1 Remote fault condition interrupt is pe...

Страница 29: ...TED INTERRUPT ENABLE 1 Interrupt enabled 0 Interrupt disabled 0 RW 5 REMFLT_DET_EN REMOTE FAULT INTERRUPT ENABLE 1 Interrupt enabled 0 Interrupt disabled 0 RW 4 LK_DWN_EN LINK FAIL INTERRUPT ENABLE 1...

Страница 30: ...0 RW 4 2 CMode 000 Auto negotiation running 001 10Base T half duplex 010 100Base TX half duplex 011 Not used 100 Not used 101 10Base T full duplex 110 100Base TX full duplex 111 Transmit isolation 00...

Страница 31: ...clock when MDIO interface is idle 0 Normal operation 0 RW 3 0 RESERVED 0111b RO Table 25 RN19 0d25 0x19 Auxiliary status register Bit Bit name Description Default RW Type Type 15 Auto Negotiation comp...

Страница 32: ...d received updated on read 0 LCW not yet received 0 RO LH 4 Link Partner Auto Negotiation Able 1 LP supports auto negotiation updated on read 0 LP does not support auto negotiation 0 RO 3 SP100 indica...

Страница 33: ...B Auxiliary mode 2 register Bit Bit name Description Default RW Type Type 15 12 RESERVED 0000b RO 11 10 RESERVED 00b RW 9 LED Mode 1 led_link pad ON for link_up BLINK for activity led_speed pad ON for...

Страница 34: ...it Bit name Description Default RW Type Type 15 14 RESERVED 00 RW 13 MDIX Status 1 MDI X configuration used 0 MDI configuration used 0 RO 12 MDIX Swap 1 MDIX force if not in fx_mode 0 Normal operation...

Страница 35: ...led 0 Normal operation Self cleared after 21MHz clock periods auto negotiation is started Same as RN00_CNTRL 9 0 RW SC 7 Auto Negotiation complete 1 Auto negotiation process completed 0 Auto negotiati...

Страница 36: ...lete This read only bit returns a 1 after the auto negotiation process has been completed It remains 1 until the auto negotiation is restarted a link fault occurs or the chip is reset If auto negotiat...

Страница 37: ...10 LED Test control 1 LED frequencies up by 8192 times 0 Normal operation 0 RW 9 Descrambler Locked 1 Descrambler locked on RX stream 0 Descrambler not locked 0 RO 8 False Carrier Detect 1 False carri...

Страница 38: ...mpled by the device on the rising edge of Tx clk and passed to the 4B 5B encoder to generate the 5B code group used by 100Base TX Idle code groups In order to establish and maintain the clock synchron...

Страница 39: ...er MLT3 signals the device converts the MLT3 to NRZI code for further processing The compensated NRZI signals at 125 MHz are then passed to the phase lock loop circuits to extract the original data an...

Страница 40: ...lated from the media In 100Base TX internal loop back operation the data comes from the transmit output of the NRZ to NRZI converter then loop back to the receive path into the input of NRZI to NRZ co...

Страница 41: ...TX and 10Base T circuits are separated the ST802RT1x can turn off the circuit of either the 100Base TX or 10Base T when the other one is operating There is also a power down mode which can be selected...

Страница 42: ...e 4 Pin functions of the ST802RT1x Link LED On when 100 M or 10 M link is active It also blinks at 10 Hz for transmit and receive Speed LED 100 Mbps on or 10 Mbps off Activity LED Blinks at 20 Hz when...

Страница 43: ...3 Preamble suppression Preamble suppression mode in the ST802RT1x is indicated by a 1 in bit six of the RN01 register and controlled by bit 1 in the RN14 register If it is determined that all PHY devi...

Страница 44: ...urs to allow FLP NLP to be transmitted and received in the event that the external cable connections have been swapped 7 17 RMII interface The reduced media independent interface RMII provides a low c...

Страница 45: ...forced in base T mode The data flow for 100BASE FX is Serialized data NRZI encoding multimode DAC PECL format To allow the detection of remote fault conditions in 100BASE FX the IEEE 802 3 standard fa...

Страница 46: ...terface and NRZ to NRZI converter and to transmit it to the optical transceiver In this case the data is received by the transmitter in a CMOS format and is transmitted to the optical portion in a PEC...

Страница 47: ...rtion The data is sampled by the optical transceiver but the data stream is related to the clock of the transmitting transceiver so it needs to be recovered re sampled and aligned to the RX clock This...

Страница 48: ...lock signal The MDIO pin has an internal pull up used to keep the line to logic 1 when not driven Register read write operations are performed sending on the MII Management interface frames in the for...

Страница 49: ...A IDDQD Quiescent current digital 4 5 mA VIH Input high voltage 1 95 V VIL Input low voltage 0 85 V 10Base T voltage current characteristics Vida10 Input differential accept peak voltage 5MHz 10MHz 58...

Страница 50: ...t 17 33 Tflpw FLP width 100 00 ns Tflcpp Clock pulse to clock pulse period 111 125 139 s Tflcpd Clock pulse to data pulse period 55 5 62 5 69 5 s Tflbw Burst width 2 ms Tflbp FLP burst period 8 16 24...

Страница 51: ...ST802RT1A ST802RT1B Electrical specifications and timings Doc ID 17049 Rev 1 51 58 Figure 11 Normal link pulse timings Figure 12 Fast link pulse timing...

Страница 52: ...Electrical specifications and timings ST802RT1A ST802RT1B 52 58 Doc ID 17049 Rev 1 Figure 13 MII management clock timing...

Страница 53: ...ical data In order to meet environmental requirements ST offers these devices in different grades of ECOPACK packages depending on their level of environmental compliance ECOPACK specifications grade...

Страница 54: ...Doc ID 17049 Rev 1 Table 36 LQFP48 mechanical data Dim mm Min Typ Max A 1 60 A1 0 05 0 15 A2 1 35 1 4 1 45 b 0 17 0 22 0 27 c 0 09 0 20 D 8 80 9 9 20 D1 6 80 7 7 20 D3 5 50 E 8 80 9 9 20 E1 6 80 7 7...

Страница 55: ...ST802RT1A ST802RT1B Package mechanical data Doc ID 17049 Rev 1 55 58 Figure 14 Dimensions of the LQFP48 package 0110596...

Страница 56: ...Package mechanical data ST802RT1A ST802RT1B 56 58 Doc ID 17049 Rev 1 Figure 15 LQFP48 footprint recommended data mm...

Страница 57: ...ST802RT1A ST802RT1B Revision history Doc ID 17049 Rev 1 57 58 10 Revision history Table 37 Document revision history Date Revision Changes 02 Feb 2010 1 Initial release...

Страница 58: ...LIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGH...

Отзывы: