QT2022/32 - Data Sheet: DS3051
12.2 Query message format
In order to identify a remote device, the local device must initiate a series of “queries”. These are specially format-
ted PCS-R 66B code blocks which can be detected by and responded to by the remote device. The query block
(\\P\\) consists of an all-control 66B block with the K28.5 8B/10B code used in payload C C C C positions. Idle
4
5
6
7
codes are used in the remaining C C C C control code positions.
0
1 2 3
Table 48: AppliedMicro Query Block Format
Input Data
Sync
bits
Block Payload
C C C C /
10
8’h1e
7’h00
7’h00
7’h00
7’h00
7’h55
7’h55
7’h55
7’h55
0
1 2 3
C C C C
5 6 7
4
Upon enabling of query generation on a device it will send a series of 16 \\P\\ blocks through its TX PCS. It will also
check for query responses through its RX PCS. This process will continue until either the device is disabled via the
MDIO or the 16 queries have been successfully sent. A count of transmitted \\P\\ blocks is held in a non-rollover
MDIO counter at address 3.CC02h.7:0 that is cleared on read.
A \\P\\ can be generated by the TX PCS only after I
stream might look as follows -
(= 16) idle blocks have been transmitted. Therefore the data
num
/Start / Data / Data / ...... / Data / Terminate / Idle / ...... I
.... \\P\\ / Idle / Start / Data / .... / Data / Terminate /
num
Idle / ...I
... / Start / Data......
num
The RX fiber input must receive a total of 8 queries with an idle gap of < 32 blocks before identifying the remote
PHY as AMCC. The count of \\P\\ blocks received is held in a non-rollover MDIO counter cleared on a read. The
query frames are decoded and passed on to the XGXS unmodified. All PHY management traffic is removed and
idles are substituted.
The Extended Link Monitoring Status 1 register indicates the status of the Extended Link Monitoring and contains a
Query_Successful read only flag (3.CC01h).
The protocol supports the case where Extended Link Monitoring is enabled simultaneously on both devices.
12.3 Messaging
A remote link monitoring message consists of a AMCC Start block, data blocks and a AMCC Terminate block. The
Start block and Terminate block contents define the feature being used. Currently, there are only two feature sup-
ported - Remote PHY Error Monitoring and Remote PHY Register Read/Write.
12.3.1 AppliedMicro Start Format
The Start consists of an all control 66B block with the K28.0 8B/10B code used in payload C position. Idles must
4
be used in the remaining C C C C control code positions, along with feature specific codes in C C C .
0
1
2
3
5 6 7
Table 49: AppliedMicro Start Block Format
Input Data
Sync
bits
Block Payload
C C C C /
10
8’h1e
7’h00
7’h00
7’h00
7’h00
7’h69
FCode
FCode
FCode
0
1 2 3
C C C C
5 6 7
4
110
AppliedMicro - Confidential & Proprietary
Revision 5.11