MT90222AG Zarlink Semiconductor, MT90222AG Datasheet - Page 67

no-image

MT90222AG

Manufacturer Part Number
MT90222AG
Description
Description = 4 Port Ima & TC PHY For T1, E1 And DSL ;; Package Type = N/a ;; No. Of Pins =
Manufacturer
Zarlink Semiconductor
Datasheet
6.1.3
There are four counters associated with each of the sixteen receive TDM links for a total of 64 receive counters.
These counters record the following information and are active as soon as the RX TDM port is enabled:
Note that the number of Stuff cells is included in the total number of User cells.
6.1.4
Accessing (READ) counters is a three step operation. First, the desired counter must be selected by writing to the
Select Counter Register (0x0432). Second, the READ command (’0x00x101’) is written to the Counter Transfer
Command (0x040F) register. This command causes the current three byte count value to be copied from the
specified counter to the two 16 bit-wide Counter Upper Byte (0x0430) and Counter Bytes 2 and 1 Register
(0x0431) registers (note that this value is unchanged until another counter read command is issued). And third, the
Counter Upper Byte (0x0430) and Counter Bytes 2 and 1 Register (0x0431) registers are read to obtain the
three byte count value of the selected counter.
Pre-loading (WRITE) a counter is also a three step function. First, the three byte pre-load value is written to the two
16 bit-wide Counter Upper Byte (0x0430) and Counter Bytes 2 and 1 Register (0x0431) registers. Second,
the identification of the counter to be pre-loaded is written to the Select Counter Register (0x0432). And third, the
WRITE command (’0x00x001’) is written to the Counter Transfer Command (0x040F) register.
The IRQ enable bit of a counter is set, or reset, by selecting the counter and writing to the appropriate bit of the
Counter Transfer Command (0x040F) register. The value’0x001010’ enables the counter IRQ and ’xxx00010’
disables (masks) it.
6.1.5
An additional mode of operation is available in the counter block where the values of the counters are transferred,
all at the same time, to a series of internal registers. The transfer can be initiated automatically based on an input
signal or following a transfer command under software control. The transfer mode can be disabled to utilize the
counters in the same method as in the MT90220/221.
When the source for the latch command is from the dedicated input pin, the user has the option to use directly this
signal as a latch command or to divide the incoming signal by 8000 before generating the latch command (for
example, using the 8 kHz F0 frame pulse signal to create 1 second intervals). Bits in the Counter Transfer
Command (0x040F) register are defined to support these new features.
The counters are 24 bits wide when operated as in the MT90220/221 (i.e. without the latching option) and are 16 bits
wide when the latching feature is enabled. After each latch signal, all the counters are reset to 0 in order to report
the number of events between two latch commands.
Before the latching mode is enabled, the counters may be loaded (or reset), but the software should not write to the
counters after the latching mode is enabled.
Note: The content of the counter for all cells in the Utopia Transmit block for the IMA Group 7 is not reset by the latch
command when the counters are operating in latch mode. The counter will contain a cumulative count of the ATM
the total number of cells received through the TDM link or total number of Stuff events received on the link
the total number of Idle/Filler cells received through the TDM link, with good or bad HEC or the total number
of User cells
the total number of ICP Cells with violation received through the TDM link
the total number of cells with wrong HEC, discarded or not, received through the TDM link but not including
the cells where the HEC is corrected
Receive TDM I/F Counters
Access to the Counters
Latching counter mode
Zarlink Semiconductor Inc.
MT90222/3/4
67
Data Sheet

Related parts for MT90222AG