cx28560 Mindspeed Technologies, cx28560 Datasheet - Page 216

no-image

cx28560

Manufacturer Part Number
cx28560
Description
Hdlc Controller
Manufacturer
Mindspeed Technologies
Datasheet
Counters
A.4.2
Table A-3. Service Request Routine Field for Counter Read (Transmit)
A-6
OPCODE
SACKIEN
LENGTH
Shared Memory Pointer
CX28560 BASE
Descriptor Field
Transmit Direction
1
14
30 + 2
5
22 + 2
The counters will be written to the shared memory as listed in
Table A-2. Receive Counters in Shared Memory
In the transmit direction, the channels are arranged in the CX28560 memory in groups
of 4 register addresses (3 counters + 1 reserved). In order to read all counters for
channel N, a service request routine should be created with the fields listed in
Table
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
A-3.
Size
31:24
Mindspeed Technologies™
Advance Information
CONFIG_RD
0 = SACK interrupt disabled.
1 = SACK interrupt enabled.
An appropriate interrupt is generated after the command is completed.
Number of double words in the memory transaction request.
If 0 the number of transfers is 16K. Therefore it allows for any number of
dwords of 1–16384.
To read all transmit counters for one channel, this should be set to 4.
To read all the counters of all channels, this should be set to 8192.
Shared memory base address for a memory transaction request.
The pointer is dword-aligned by concatenating two zeros to the lsb and
making it a 32-bit pointer. This address is set according to the system’s
needs.
The CX28560 base (dword-aligned) address for a memory transaction
request.
The CX28560 base addresses are specified in bytes but dword aligned i.e.,
with the 2 LSbs as 00.
To read channel N’s counters, this should be set to (suffixed by 00 for
dword alignment):
(COUNTER BASE ADDRESS=22’h008000) + (4 * N)
To read all the channels’ counters, this should be set to (suffixed by 00 for
dword alignment):
(COUNTER BASE ADDRESS = 22’h008000)
Octet Counter
Message Counter
Alignment Error Counter
FCS Error Counter
Abort Condition Counter
Too Long Message Counter
Too Short Message Counter
Reserved
23:0
Description
Table
A-2.
CX28560 Data Sheet
28560-DSH-001-B

Related parts for cx28560