CMS_OP_WRITE_MODULE_LOW_SPEED_IO (0x0E) - 4.0 English

Alveo Card Management Solution Subsystem Product Guide (PG348)

Document ID
PG348
Release Date
2023-11-10
Version
4.0 English
Table 1. CMS_OP_WRITE_MODULE_LOW_SPEED_IO (0x0E) Message Format
MAILBOX Offset 32-bit Word Field Type Field Description
0x00 [0] Host Request Message Message Header

31:24 Opcode (0xE)

23:0 Reserved

0x04 [1] Host Request Message Cage Select (0-1)
0x08 [2] Host Request Message Low Speed I/O Write Data 1, 2

QSFP Module

31-2: Reserved

1: QSFP_LPMODE (0: High Power Mode, 1: Low Power Mode)

0: QSFP_RESET_L (0: Reset Active, 1: Reset Clear)

DSFP Module

Low Speed I/O Read Data - DSFP Module

31-2: Reserved

1: DSFP_LPW (0: High Power Mode, 1: Low Power Mode)

0: DSFP_RST (0: Reset Clear, 1: Reset Active)

SFP+ Module

Low Speed I/O Read Data - SFP+ Module

31-0: Reserved

  1. All bits are written together. Use a read-modify-write sequence to update required bit(s).
  2. Writing 0 to QSFP_RESET_L will trigger a module reset.
Table 2. CMS_OP_WRITE_MODULE_LOW_SPEED_IO (0x0E) Worked Example - QSFP Module
Host Action Function
Peek 0x28018 Check availability of the Mailbox by confirming CONTROL_REG[5] is 0
Poke 0x29000 0x0E000000 Write Request Message Header into MAILBOX Word 0 (Opcode).

Assumes HOST_MSG_OFFSET_REG = 0x1000.

Poke 0x29004 0x00000000 Select Cage 0
Poke 0x29008 0x00000000 Set QSFP Low speed Write Data. Write 0 to QSFP_RESET_L to trigger a QSFP module reset.
Poke 0x28018 0x20 Set CONTROL_REG[5] to 1 to indicate a new request message is available.
Peek 0x28018 Poll CONTROL_REG bit 5 until ‘0’ is received indicating CMS has completed write operation.
Peek 0x28304 Confirm no errors in HOST_MSG_ERR_REG.
Table 3. CMS_OP_WRITE_MODULE_LOW_SPEED_IO (0x0E) Worked Example - DSFP Module
Host Action Function
Peek 0x28018 Check availability of the Mailbox by confirming CONTROL_REG[5] is 0
Poke 0x29000 0x0E000000 Write Request Message Header into MAILBOX Word 0 (Opcode).

Assumes HOST_MSG_OFFSET_REG = 0x1000.

Poke 0x29004 0x00000001 Select Cage 1
Poke 0x29008 0x00000001 Set DSFP Low speed Write Data. Write 1 to DSFP_RST to hold DSFP module in reset.
Poke 0x28018 0x20 Set CONTROL_REG[5] to 1 to indicate a new request message is available.
Peek 0x28018 Poll CONTROL_REG bit 5 until ‘0’ is received indicating CMS has completed write operation.
Peek 0x28304 Confirm no errors in HOST_MSG_ERR_REG.