After flashing the U-Boot image, follow the below procedures:
- Connect the QSFP module.
- Boot the board up to the U-Boot.
- Execute the following commands to display the connected QSFP module’s I2C address:
=>i2c dev 2
=>i2c probe
Example:
=>i2c dev 2
Setting bus to 2
=> i2c probe
Valid chip addresses: 22 23 2D 30 50 70 75 76
Note: Here, 0x50 is the QSFP module’s I2C address. The address may vary depending on the module.
Reading Data from the QSFP Module:
To dump the contents of the QSFP module, use.
=> i2c md <QSFP_I2C_ADDR> <Start_Reg> <End_Reg>
Example:
=> i2c md 0x50 0x00 0x100
Writing Data to the QSFP Module:
To write data to a specific register.
=> i2c mw <QSFP_ADDR>
Example:
=> i2c mw 0x50 0x7F 0xAA
Verify the written data by reading the register:
=> i2c md 0x50 0x7F 1
007f: AA .
Note: Before writing to any QSFP register, please refer to the QSFP module datasheet. Some modules require page selection before writing. Ensure the correct page is selected before performing the above operations.
For further product inquiries, please get in touch with our sales team at mktg@iwave-global.com
Please find the detailed product information here:
Virtex™ UltraScale+™ System on Module