SLLSEE3D August 2013 – April 2016 TLK105L , TLK106L
PRODUCTION DATA.
NOTE
Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes. Customers should validate and test their design implementation to confirm system functionality.
The Media Independent Interface (MII) is a synchronous 4-bit wide nibble data interface that connects the PHY to the MAC in 100B-TX and 10B-T modes. The MII is fully compliant with IEEE802.3-2002 clause 22.
The MII signals are summarized below.
Data signals | TXD [3:0] | ||
RXD [3:0] | |||
Transmit and receive-valid signals | TX_EN | ||
RX_DV | |||
Line-status signals | CRS (carrier sense) | ||
COL (collision) (By default, the COL pin is disabled, and can be configured to be enabled instead of LED_LINK using bit [10] in register 0x0025). |
Figure 6-1 shows the MII-mode signals.
The Isolate bit (BMCR register bit 10), defined in IEEE802.3-2002, electrically isolates the PHY from the MII (if set, all transactions on the MII interface are ignored by the PHY).
Additionally, the MII interface includes the carrier sense signal CRS, as well as a collision detect signal COL. The CRS signal asserts to indicate the reception of data from the network or as a function of transmit data in Half Duplex mode. The COL signal asserts as an indication of a collision which can occur during half-duplex operation when both transmit and receive operation occur simultaneously.
TLK10xL incorporates the Reduced Media Independent Interface (RMII) as specified in the RMII specification (rev1.2) from the RMII consortium. The purpose of this interface is to provide a low cost alternative to the IEEE 802.3u MII as specified in Clause 22. Architecturally, the RMII specification provides an additional reconciliation layer on either side of the MII, but can be implemented in the absence of an MII.
The RMII specification has the following characteristics:
In this mode, data transfers two bits at a time using the 50MHz RMII reference clock for both transmit and receive. RMII mode uses the following pins:
SIGNAL | PIN |
XI (RMII reference clock is 50MHz) | 23 |
TXD_0 | 4 |
TXD_1 | 5 |
TX_EN | 3 |
CRS_DV | 27 |
RX_ER | 28 |
RXD_0 | 30 |
RXD_1 | 31 |
Data on TXD [1:0] are latched at the PHY with reference to the reference-clock edges on the XI pin. Data on RXD [1:0] are latched at the MAC with reference to the same reference clock edges on the XI pin. The RMII operates at the same speed (50MHz) in both 10B-T and 100B-TX. In 10B-T the data is 10 times slower than the reference clock, so transmit data is sampled every 10 clocks. Likewise, receive data is generated on every 10th clock so that an attached MAC device can sample the data every 10 clocks.
In addition, RMII mode supplies an RX_DV signal which allows a simpler method of recovering receive data without the need to separate RX_DV from the CRS_DV indication. RX_ER is also supported even though not required by RMII spec (The TLK10xL supports optional use of RX_ER and RX_DV in RMII as an extra feature). RMII mode requires a 50MHz oscillator connected to the device XI pin.
The TLK10xL supports a special mode called “RMII receive clock” mode. This mode, which is not part of the RMII specification, allows synchronization of the MAC-PHY RX interface. In this mode, the PHY generates a recovered 50MHz clock through the RX_CLK pin and synchronizes the RXD[1:0], CRS_DV, RX_DV and RX_ER signals to this clock. Setting register 0x000A bit [0] is required to activate this mode.
describes the RMII signals connectivity between the TLK10xL and any MAC device.
RMII function includes a programmable elastic buffer to adjust for the frequency differences between the reference clock and the recovered receive clock. The programmable elastic buffer minimizes internal propagation delay based on expected maximum packet size and clock accuracy.
indicates how to program the buffer FIFO based on the expected max packet size and clock accuracy. It assumes that the RMII reference clock and the far-end transmitter clock have the same accuracy.
START THRESHOLD RBR[1:0] | LATENCY TOLERANCE | RECOMMENDED PACKET SIZE AT ±50PPM | RECOMMENDED PACKET SIZE AT ±100PPM |
---|---|---|---|
1(4-bits) | 2 bits | 2400 bytes | 1200 bytes |
2(8-bits) | 6 bits | 7200 bytes | 3600 bytes |
3(12-bits) | 10 bits | 12000 bytes | 6000 bytes |
0(16-bits) | 14 bits | 16800 bytes | 8400 bytes |
The Serial Management Interface (SMI), provides access to the TLK10xL internal register space for status information and configuration. The SMI is compatible with IEEE802.3-2002 clause 22. The implemented register set consists of all the registers required by the IEEE802.3-2002, plus several others to provide additional visibility and controllability of the TLK10xL device.
The SMI includes the MDC management clock input and the management MDIO data pin. The MDC clock is sourced by the external management entity, also called Station (STA), and can run at a maximum clock rate of 25MHz. MDC is not expected to be continuous, and can be turned off by the external management entity when the bus is idle.
The MDIO is sourced by the external management entity and by the PHY. The data on the MDIO pin is latched on the rising edge of the MDC clock. The MDIO pin requires a pull-up resistor (2.2kΩ) which, during IDLE and turnaround, pulls MDIO high.
Up to 32 PHYs can share a common SMI bus. To distinguish between the PHYs, a 5-bit address is used. During power-up reset, the TLK10xL latches the PHYAD[4:0] configuration pins (Pin 29 to Pin 32) to determine its address.
The management entity must not start an SMI transaction in the first cycle after power-up reset. To maintain valid operation, the SMI bus must remain inactive at least one MDC cycle after hard reset is de-asserted.
In normal MDIO transactions, the register address is taken directly from the management-frame reg_addr field, thus allowing direct access to 32 16-bit registers (including those defined in IEEE802.3 and vendor specific). The data field is used for both reading and writing. The Start code is indicated by a <01> pattern. This pattern makes sure that the MDIO line transitions from the default idle line state. Turnaround is defined as an idle bit time inserted between the Register Address field and the Data field. To avoid contention during a read transaction, no device may actively drive the MDIO signal during the first bit of Turnaround. The addressed TLK10xL drives the MDIO with a zero for the second bit of turnaround and follows this with the required data. Figure 6-2 shows the timing relationship between MDC and the MDIO as driven/received by the Station (STA) and the TLK10xL (PHY) for a typical register read access.
For write transactions, the station-management entity writes data to the addressed TLK10xL, thus eliminating the requirement for MDIO Turnaround. The Turnaround time is filled by the management entity by inserting <10>. Figure 6-3 shows the timing relationship for a typical MII register write access. The frame structure and general read/write transactions are shown in Table 6-1, Figure 6-2, and Figure 6-3.
MII MANAGEMENT SERIAL PROTOCOL | <IDLE><START><OP CODE><DEVICE ADDR><REG ADDR><TURNAROUND><DATA><IDLE> |
---|---|
Read Operation | <idle><01><10><AAAAA><RRRRR><Z0><xxxx xxxx xxxx xxxx><idle> |
Write Operation | <idle><01><01><AAAAA><RRRRR><10><xxxx xxxx xxxx xxxx><idle> |
The TLK10xL SMI function supports read/write access to the extended register set using registers REGCR(0x000Dh) and ADDAR(0x000Eh) and the MDIO Manageable Device (MMD) indirect method defined in IEEE802.3ah Draft for clause 22 for accessing the clause 45 extended register set.
The standard register set, MDIO registers 0 to 31, is accessed using the normal direct-MDIO access or the indirect method, except for register REGCR(0x000Dh) and ADDAR(0x000Eh) which is accessed only using the normal MDIO transaction. The SMI function will ignore indirect accesses to these registers.
REGCR(0x000Dh) is the MDIO Manageable MMD access control. In general, register REGCR(4:0) is the device address DEVAD that directs any accesses of ADDAR(0x000Eh) register to the appropriate MMD. Specifically, the TLK10xL uses the vendor-specific DEVAD[4:0] = "11111" for accesses. All accesses through registers REGCR and ADDAR must use this DEVAD. Transactions with other DEVAD are ignored. REGCR[15:14] holds the access function: address (00), data with no post increment (01), data with post increment on read and writes (10) and data with post increment on writes only (11).
The following sections describe how to perform operations on the extended register set using register REGCR and ADDAR.
To set the address register:
Subsequent writes to register ADDAR (step 2) continue to write the address register.
To read the address register:
Subsequent reads to register ADDAR (step 2) continue to read the address register.
To write a register in the extended register set:
Subsequent writes to register ADDAR (step 4) continue to rewrite the register selected by the value in the address register.
Note: steps (1) and (2) can be skipped if the address register was previously configured.
To read a register in the extended register set:
Subsequent reads from register ADDAR (step 4) continue reading the register selected by the value in the address register.
Note: steps (1) and (2) can be skipped if the address register was previously configured.
Subsequent writes to register ADDAR (step 4) write the next higher addressed data register selected by the value of the address register; the address register is incremented after each access.
To read a register in the extended register set and automatically increment the address register to the next higher value following the write operation:
Subsequent reads to register ADDAR (step 4) read the next higher addressed data register selected by the value of the address register; the address register is incremented after each access.
The TLK10xL includes an internal power-on-reset (POR) function, and therefore does not need an explicit reset for normal operation after power up.
At power-up, if required by the system, the RESET pin (active low) should be de-asserted 200µs after the power is ramped up to allow the internal circuits to settle and for the internal regulators to stabilize. If required during normal operation, the device can be reset by a hardware or software reset.
A hardware reset is accomplished by applying a low pulse (TTL level), with a duration of at least 1μs, to RESET. This pulse resets the device such that all registers are reinitialized to default values, and the hardware configuration values are re-latched into the device (similar to the power-up/reset operation). The time from the point when the reset pin is de-asserted to the point when the reset has concluded internally is approximately 200µs.
An IEEE registers software reset is accomplished by setting the reset bit (bit 15) of the BMCR register (0x0000h). This bit only resets the IEEE-defined standard registers in the address space 0x00h to 0x07h.
A global software reset is accomplished by setting bit 15 of register PHYRCR (0x001F) to ‘1’. This bit resets all the internal circuits in the PHY including IEEE-defined registers (0x00h to 0x07h) and all the extended registers. The global software reset resets the device such that all registers are reset to default values and the hardware configuration values are maintained.
A global software restart is accomplished by setting bit 14 of register PHYRCR (0x001F) to ‘1’. This action resets all the PHY circuits except the registers in the Register File.
The time from the point when the resets/restart bits are set to the point when the software resets/restart has concluded is approximately 200µs. TI recommends that the software driver code must wait 500µs following software reset before allowing further serial MII operations with the TLK10xL.
The Power Down and Interrupt functions are multiplexed on pin 8 of the device. By default, this pin functions as a power down input and the interrupt function is disabled. This pin can be configured as an interrupt output pin by setting bit 0 (INT_OE) to ‘1’ in the PHYSCR (0x0011h) register. The PHYSCR register is also used to enable and set the polarity of the interrupt.
The INT/PWDN pin can be asserted low to put the device in a Power Down mode. An external control signal can be used to drive the pin low, overcoming the weak internal pull-up resistor. Alternatively, the device can be configured to initialize into a Power Down state by use of an external pulldown resistor on the INT/PWDN pin.
The interrupt function is controlled via register access. All interrupt sources are disabled by default. The MISR1 (0x0012) and MISR2 (0x0013) registers provide independent interrupt enable bits for the various interrupts supported by the TLK10xL. The INT/PWDN pin is asynchronously asserted low when an interrupt condition occurs. The source of the interrupt can be determined by reading the interrupt status registers MISR1 (0x0012h) and MISR2 (0x0013). One or more bits in the MISR registers will be set, indicating all currently-pending interrupts. Reading the MISR registers clears ALL pending interrupts.
The TLK10xL supports three types of power-save modes. The lowest power consumption is achieved in IEEE power down mode. To enter IEEE power down mode, pull the INT/PWDN pin to LOW or program bit 11 in the Basic Mode Control Register (BMCR), address 0x0000. In this mode all internal circuitry except SMI functionality is shut down (Register access is still available).
To enable and activate all other power save modes through register access, use register PHYSCR (0x0011h). Setting bit 14 enables all power-save modes; bits [13:12] select between them.
Setting bits [13:12] to “01” powers down the PHY, forcing it into IEEE power down mode (Similar to BMCR bit 11 functionality).
Setting bits [13:12] to “10” puts the PHY in Low Power Active Energy Saving mode.
Setting bits [13:12] to “11” puts the PHY in Low Power Passive Energy Saving mode.
When these bits are cleared, the PHY powers up and returns to the last state it was in before it was powered down.
Figure 6-4 shows the recommended circuit for a 10/100Mbs twisted pair interface. Common mode chokes on the device side of the transformer are required. Variations with PCB and component characteristics require that the application be tested to verify that the circuit meets the requirements of the intended application.
The TLK10xL supports an external CMOS-level oscillator source or an internal oscillator with an external crystal.
If an external clock source is used, XI should be tied to the clock source and XO should be left floating. The oscillator should use the same supply voltage as the VDD_IO supply. When operating in RMII, the oscillator supply voltage must be 3.3V or 2.5V.
The use of a 25MHz, parallel, 20pF-load crystal is recommended if a crystal source is desired. Figure 6-5 shows a typical connection for a crystal resonator circuit. The load capacitor values will vary with the crystal vendors; check with the vendor for the recommended loads.
The oscillator circuit is designed to drive a parallel-resonance AT-cut crystal with a minimum drive level of 100μW and a maximum of 500μW. If a crystal is specified for a lower drive level, a current limiting resistor must be placed in series between XO and the crystal.
As a starting point for evaluating an oscillator circuit, if the requirements for the crystal are not known, set the values for CL1 and CL2 at 33pF, and R1 should be set at 0Ω. Specifications for a 25MHz crystal are listed in Table 6-4.
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT |
---|---|---|---|---|---|
Frequency | 25 | MHz | |||
Frequency Tolerance | Operational Temperature | ±50 | ppm | ||
Frequency Stability | 1 year aging | ±50 | ppm | ||
Rise / Fall Time | 10%–90% | 8 | nsec | ||
Jitter (Short term) | Cycle-to-cycle | 50 | psec | ||
Jitter (Long term) | Accumulative over 10 ms | 1 | nsec | ||
Symmetry | Duty Cycle | 40% | 60% | ||
Load Capacitance | 15 | 30 | pF |
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT |
---|---|---|---|---|---|
Frequency | 50 | MHz | |||
Frequency Tolerance | Operational Temperature | ±50 | ppm | ||
Frequency Stability | 1 year aging | ±50 | ppm | ||
Rise / Fall Time | 10%–90% | 6 | nsec | ||
Jitter (Short term) | Cycle-to-cycle | 50 | psec | ||
Jitter (Long term) | Accumulative over 10 ms | 1 | nsec | ||
Symmetry | Duty Cycle | 40% | 60% |
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT |
---|---|---|---|---|---|
Frequency | 25 | MHz | |||
Frequency Tolerance | Operational Temperature | ±50 | ppm | ||
At 25°C | ±50 | ppm | |||
Frequency Stability | 1 year aging | ±5 | ppm | ||
Load Capacitance | 10 | 40 | pF |
The following thermal via guidelines apply to DOWN_PAD, pin 33:
Adherence to this guideline is required to achieve the intended operating temperature range of the device. Figure 6-6 illustrates an example layout.