JAJSQ90 september 2020 TSB41BA3F-EP
PRODUCTION DATA
To request access to the bus, to read or write a PHY register, or to send a link notification to PHY, the LLC sends a serial bit stream on the LREQ terminal as shown in Figure 11-2.
The length of the stream varies depending on the type of request as shown in Table 11-3.
REQUEST TYPE | NUMBER OF BITS |
---|---|
Bus request | 11 |
Read register request | 10 |
Write register request | 18 |
Link notification request | 6 |
PHY-link interface reset request | 6 |
Regardless of the type of request, a start bit of 1 is required at the beginning of the stream and a stop bit of 0 is required at the end of the stream. The second through fifth bits of the request stream indicate the type of the request. In the following descriptions, bit LR1 is the most significant and is transmitted first in the request bit stream. The LREQ terminal is normally low.
Table 11-4 shows the encoding for the request type.
LR1–LR4 | NAME | DESCRIPTION |
---|---|---|
0000 | Reserved | Reserved |
0001 | Immed_Req | Immediate request. On detection of idle, the PHY arbitrates for the bus. |
0010 | Next_Even | Next even request. The PHY arbitrates for the bus to send an asynchronous packet in the even fairness interval phase. |
0011 | Next_Odd | Next odd request. The PHY arbitrates for the bus to send an asynchronous packet in the odd fairness interval phase. |
0100 | Current | Current request. The PHY arbitrates for the bus to send an asynchronous packet in the current fairness interval. |
0101 | Reserved | Reserved |
0110 | Isoch_Req_Even | Isochronous even request. The PHY arbitrates for the bus to send an isochronous packet in the even isochronous period. |
0111 | Isoch_Req_Odd | Isochronous odd request. The PHY arbitrates for the bus to send an isochronous packet in the odd isochronous period. |
1000 | Cyc_Start_Req | Cycle start request. The PHY arbitrates for the bus to send a cycle start packet. |
1001 | Reserved | Reserved |
1010 | Reg_Read | Register read request. The PHY returns the specified register contents through a status transfer. |
1011 | Reg_Write | Register write request. Write to the specified register in the PHY. |
1100 | Isoch_Phase_Even | Isochronous phase even notification. The link reports to the PHY that: 1) A cycle start packet has been received. 2) The link has set the isochronous phase to even. |
1101 | Isoch_Phase_Odd | Isochronous phase odd notification. The link reports to the PHY that: 1) A cycle start packet has been received. 2) The link has set the isochronous phase to odd. |
1110 | Cycle_Start_Due | Cycle start due notification. The link reports to the PHY that a cycle start packet is due for reception. |
1111 | Reserved | Reserved |
For a bus request, the length of the LREQ bit stream is 11 bits as shown in Table 11-5.
BIT(s) | NAME | DESCRIPTION |
---|---|---|
0 | Start bit | Indicates the beginning of the transfer (always 1) |
1–4 | Request type | Indicates the type of bus request. See Table 11-4. |
5 | Request format | Indicates the packet format to be used for packet transmission. See Table 11-6. |
6–9 | Request speed | Indicates the speed at which the link sends the data to the PHY. See Table 11-7 for the encoding of this field. |
10 | Stop bit | Indicates the end of the transfer (always 0). If bit 6 is 0, then this bit can be omitted. |
Table 11-6 shows the 1-bit request format field used in bus requests.
LR5 | DATA RATE |
---|---|
0 | Link does not request either Beta or legacy packet format for bus transmission |
1 | Link requests Beta packet format for bus transmission |
Table 11-7 shows the 4-bit request speed field used in bus requests.
LR6–LR9 | DATA RATE |
---|---|
0000 | S100 |
0001 | Reserved |
0010 | S200 |
0011 | Reserved |
0100 | S400 |
0101 | Reserved |
0110 | S800 |
All Others | Invalid |
The TSB41BA3F-EP accepts a bus request with an invalid speed code and processes the bus request normally. However, during packet transmission for such a request, the TSB41BA3F-EP ignores any data presented by the LLC and transmits a null packet.
For a read register request, the length of the LREQ bit stream is 10 bits as shown in Table 11-8.
BIT(s) | NAME | DESCRIPTION |
---|---|---|
0 | Start bit | Indicates the beginning of the transfer (always 1) |
1–4 | Request type | A 1010 indicates this is a read register request. |
5–8 | Address | Identifies the address of the PHY register to be read |
9 | Stop bit | Indicates the end of the transfer (always 0) |
For a write register request, the length of the LREQ bit stream is 18 bits as shown in Table 11-9.
BIT(s) | NAME | DESCRIPTION |
---|---|---|
0 | Start bit | Indicates the beginning of the transfer (always 1) |
1–4 | Request type | A 1011 indicates this is a write register request. |
5–8 | Address | Identifies the address of the PHY register to be written |
9–16 | Data | Gives the data that is to be written to the specified register address |
17 | Stop bit | Indicates the end of the transfer (always 0) |
For a link notification request, the length of the LREQ bit stream is 6 bits as shown in Table 11-10.
BIT(s) | NAME | DESCRIPTION |
---|---|---|
0 | Start bit | Indicates the beginning of the transfer (always 1) |
1–4 | Request type | A 1100, 1101, or 1110 indicates this is a link notification request |
5 | Stop bit | Indicates the end of the transfer (always 0) |
For fair or priority access, the LLC sends a bus request at least one clock after the PHY-LLC interface becomes idle. The PHY queues all bus requests and can queue one request of each type. If the LLC issues a different request of the same type, then the new request overwrites any nonserviced request of that type. On the receipt (CTL terminals are asserted to the receive state, 10b) of a packet, queued requests are not cleared by the PHY.
The cycle master node uses a cycle start request (Cyc_Start_Req) to send a cycle start message. After receiving or transmitting a cycle start message, the LLC can issue an isochronous bus request (IsoReq). The PHY clears an isochronous request only when the serial bus has been won.
To send an acknowledge packet, the LLC must issue an immediate bus request (Immed_Req) during the reception of the packet addressed to it. This is required in order to minimize the idle gap between the end of the received packet and the start of the transmitted acknowledge packet. As soon as the received packet ends, the PHY immediately grants control of the bus to the LLC. The LLC sends an acknowledgment to the sender unless the header CRC of the received packet is corrupted. In this case, the LLC does not transmit an acknowledge, but instead cancels the transmit operation and releases the interface immediately; the LLC must not use this grant to send another type of packet. After the interface is released the LLC can proceed with another request.
For write register requests, the PHY loads the specified data into the addressed register as soon as the request transfer is complete. For read register requests, the PHY returns the contents of the addressed register to the LLC at the next opportunity through a PHY status transfer. A write or read register request can be made at any time, including while a bus request is pending. Once a read register request is made, the PHY ignores further read register requests until the register contents are successfully transferred to the LLC. A bus reset does not clear a pending read register request.