
IDT SMBus Interfaces
PES32NT24xG2 User Manual
12 - 33
January 30, 2013
Notes
The CSR_Offset is shifted 2 bits to the right so that DWORD aligned register offsets are only accessible;
this step may not be needed for some devices.
Read BYTE Setup
Steps 2 and 3 show how each index in the CSR byte sequence array is set for a BYTE read operation.
For step 3, the transaction size is a value that is passed to the I2C control function so that it knows how
many bytes are being dealt with in the CSR byte sequence.
Step 2. Prepare the I2C byte array
Table 12.27 shows the block byte array assignments (in increasing index order starting from index 0).
Address offset 0 is used in the examples.
Index 0 - Initialize the command code byte
CCode_i |= CCode_Block
CCode_i = 0x03 | 0x40 = 0x43
0x43 = (start bit= 1, end bit= 1, function_bits= CSR, size_bits= BLOCK)
Index 1 - Set the byte count
BKCnt_i = TranSize_BkWtHeader
BKCnt_i = 3
The byte count field indicates the number of bytes following the byte count field when setting up for a
write or setting up for a read.
Index 2 - Set the byte option (BELL) and set the CSR READ operation (OPRD)
BKCmd_i = CMD_Init | CMD_BELL | CMD_OPRD
BKCmd_i = 0x00 | 0x01 | 0x10 = 0x11
Index 3 - Set the lower CSR register offset
BKOfL_i = CSR_Offset & 0xFF
BKOfL_i = 0x00 & 0xFF = 0
Index 4 - Set the upper CSR register offset
BKOfU_i = (CSR_Offset & 0xFF00) >> 8
BKOfU_i = (0x00 & 0xFF00) >> 8 = 0
Step 3. Calculate the transaction size and read length
TranSize
=
TranSize_ 1
ReadLength
=
TranSize_BkRdHeader
Index #
Assignment Description
0
CCode_i |= CCode_Block
1
BKCnt_i = TranSize_BkWtHeader
2
BKCmd_i = CMD_Init | CMD_BELL | CMD_OPRD
3
BKOfL_i = CSR_Offset & 0xFF
4
BKOfU_i = (CSR_Offset & 0xFF00) >> 8
Table 12.27 I2C Command Byte Array Indices
Содержание PCI Express 89HPES32NT24xG2
Страница 20: ...IDT Table of Contents PES32NT24xG2 User Manual x January 30 2013 Notes...
Страница 24: ...IDT List of Tables PES32NT24xG2 User Manual xiv January 30 2013 Notes...
Страница 28: ...IDT List of Figures PES32NT24xG2 User Manual xviii January 30 2013 Notes...
Страница 56: ...IDT PES32NT24xG2 Device Overview PES32NT24xG2 User Manual 1 20 January 30 2013 Notes...
Страница 100: ...IDT Switch Core PES32NT24xG2 User Manual 4 22 January 30 2013 Notes...
Страница 124: ...IDT Switch Partition and Port Configuration PES32NT24xG2 User Manual 5 24 January 30 2013 Notes...
Страница 128: ...IDT Failover PES32NT24xG2 User Manual 6 4 January 30 2013 Notes...
Страница 148: ...IDT Link Operation PES32NT24xG2 User Manual 7 20 January 30 2013 Notes...
Страница 164: ...IDT SerDes PES32NT24xG2 User Manual 8 16 January 30 2013 Notes...
Страница 170: ...IDT Power Management PES32NT24xG2 User Manual 9 6 January 30 2013 Notes...
Страница 196: ...IDT Transparent Switch Operation PES32NT24xG2 User Manual 10 26 January 30 2013 Notes...
Страница 244: ...IDT SMBus Interfaces PES32NT24xG2 User Manual 12 40 January 30 2013 Notes...
Страница 247: ...IDT General Purpose I O PES32NT24xG2 User Manual 13 3 January 30 2013 Notes...
Страница 248: ...IDT General Purpose I O PES32NT24xG2 User Manual 13 4 January 30 2013 Notes...
Страница 330: ...IDT Switch Events PES32NT24xG2 User Manual 16 6 January 30 2013 Notes...
Страница 342: ...IDT Multicast PES32NT24xG2 User Manual 17 12 January 30 2013 Notes...
Страница 344: ...IDT Temperature Sensor PES32NT24xG2 User Manual 18 2 January 30 2013 Notes...
Страница 384: ...IDT Register Organization PES32NT24xG2 User Manual 19 40 January 30 2013...
Страница 492: ...IDT Proprietary Port Specific Registers PES32NT24xG2 User Manual 21 44 January 30 2013 Notes...
Страница 588: ...IDT NT Endpoint Registers PES32NT24xG2 User Manual 22 96 January 30 2013 Notes...
Страница 710: ...IDT JTAG Boundary Scan PES32NT24xG2 User Manual 25 12 January 30 2013 Notes...
Страница 743: ...IDT Usage Models PES32NT24xG2 User Manual 26 33 January 30 2013 Notes...
Страница 744: ...IDT Usage Models PES32NT24xG2 User Manual 26 34 January 30 2013 Notes...