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

ID 683872
Date 10/02/2023
Public

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

Document Table of Contents
Give Feedback

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. 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.

    3. Poll address 0x90040 until bit 14 = 0 and bit 15 = 1.
    4. 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.

    5. Poll address 0x90040 until bit 14 = 0 and bit 15 = 0.
    6. Deassert RX reset.
  2. To disable serial loopback:
    1. Assert RX reset.
    2. 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.

    3. Poll address 0x90040 until bit 14 = 0 and bit 15 = 1.
    4. 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.

    5. Poll address 0x90040 until bit 14 = 0 and bit 15 = 0.
    6. Deassert RX reset.