F-Tile Architecture and PMA and FEC Direct PHY IP User Guide

ID 683872
Date 7/08/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.14.2.2.1. FGT Attribute Access Method Example 1

The following example describes the steps to enable and disable serial loopback.
  1. To enable serial loopback:
    1. Assert RX reset.
    2. Wait for RX reset ACK.
    3. Write 0x6A040 to address 0x9003C.

      6: data field for serial loopback enable.

      A: option field to request service, not set in reset and set parameters.

      0: lane number field for physical lane 0.

      40: opcode field for serial loopback.

    4. Poll address 0x90040 until bit 14 = 0 and bit 15 = 1.
    5. Write 0x62040 to address 0x9003C.

      6: data field for serial loopback enable.

      2: option field to de-assert service request, not set in reset and set parameters.

      0: lane number field for physical lane 0.

      40: opcode field for serial loopback.

    6. Poll address 0x90040 until bit 14 = 0 and bit 15 = 0.
    7. Deassert RX reset.
    8. Wait for RX reset ACK deassert.
  2. To disable serial loopback:
    1. Assert RX reset.
    2. Wait for RX reset ACK.
    3. Write 0x0A040 to address 0x9003C.

      0: data field for serial loopback disable.

      A: option field to request service, not set in reset and set parameters.

      0: lane number field for physical lane 0.

      40: opcode field for serial loopback.

    4. Poll address 0x90040 until bit 14 = 0 and bit 15 = 1.
    5. Write 0x02040 to address 0x9003C.

      0: data field for serial loopback disable.

      2: option field to de-assert service request, not set in reset and set parameters.

      0: lane number field for physical lane 0.

      40: opcode field for serial loopback.

    6. Poll address 0x90040 until bit 14 = 0 and bit 15 = 0.
    7. Deassert RX reset.
    8. Wait for RX reset ACK deassert.