ZL30226/GA ZARLINK [Zarlink Semiconductor Inc], ZL30226/GA Datasheet - Page 62

no-image

ZL30226/GA

Manufacturer Part Number
ZL30226/GA
Description
4/8/16 Port IMA/TC PHY Device for xDSL
Manufacturer
ZARLINK [Zarlink Semiconductor Inc]
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 all 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 a 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 without the latching option and are 16-bits wide when the latching
feature is enabled. After each latch signal, 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.
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.
ZL30226/7/8
62
Data Sheet

Related parts for ZL30226/GA