E-Tile Transceiver PHY User Guide

ID 683723
Date 7/08/2024
Public
Document Table of Contents

3.1.5. RX Simplex Adaptation Flow

The following table lists the steps to perform RX simplex adaptation.
Step Function Commands and Addresses Notes
1. Assert the rx_reset signal. Port.
2. Clear the register that indicates PMA attribute has been sent to the PMA.
  • Read-modify-write 0x8A[7] = 1.
Direct Avalon® memory-mapped write. Asserted on power-up and must be cleared before first use.
3. Trigger PMA Analog Reset 25.

Wait 70ms before polling 0x207.

0x202, 0x201, 0x200 = 0x000.

0x203 = 0x81.

Poll 0x207 until = 0x80.

Opcode.
4. Enable PMA calibration and re-load the initial PMA settings selected in the Native PHY IP GUI25.

Read-modify-write 0x95[5] = 1.

Read-modify-write 0x91[0] = 1.

Direct Avalon® memory-mapped write
5. Set initial adaptation effort level. Use PMA attribute code:
  • Attribute = 0x002C, data = 0x0118.
  • Attribute = 0x006C, data = 0x0001.
PMA attribute code.

Data = 0x00 is low, 0x10 is medium, 0x01 is full effort.

6. If using a stored PMA configuration, choose the PMA configuration. If not, skip this step.
  • Write 0x40143 = 0x80 (profile 0).
  • Read 0x40144[0] until = 1.
Direct Avalon® memory-mapped write.

Stored PMA Configuration is only accessed from channel 0.

0x80 = configuration 0, 0x81 = configuration 1 and so on.
7. If using a stored PMA configuration, load the configuration into the transceiver channel. If not, skip this step. 26

Wait 70ms before polling 0x207.

Use Opcode to LOAD_PMA_CONFIGURATION:
  • 0x200 = 0x00.
  • 0x201 = 0x00.
  • 0x202 = 0x00.
  • 0x203 = 0x94.
  • Poll 0x207 until = 0x80.
Opcode.

0x200[0] = 0, load configuration for initial adaptation.

8. Disable internal serial loopback 27. PMA attribute = 0x0008, data = 0x0100. PMA attribute code.
9. Perform initial adaptation using PMA attributes 28. PMA attribute = 0xA, data = 0x1. PMA attribute code.
10. Verify that the initial adaptation status is complete using PMA attribute code.
  • PMA attribute = 0x0126, data = 0x0B00.
  • Repeat this step until 0x88[0] = 0 to confirm adaptation is no longer in process.
PMA attribute code.
11. If valid data rate traffic is available at the RX, proceed to the next step. Otherwise, rerun initial adaptation until valid traffic is available.
12. If using a stored PMA configuration, choose the PMA configuration. If not, skip this step.
  • Write 0x40143 = 0x80 (profile 0).
  • Read 0x40144[0] until = 1.
Direct Avalon® memory-mapped write.

Stored PMA Configuration is only accessed from channel 0.

0x80 = configuration 0, 0x81 = configuration 1 and so on.
13. If using a stored PMA configuration, load the configuration into the transceiver channel. If not, skip this step26.

Wait 70ms before polling 0x207.

Use Opcode to LOAD_PMA_CONFIGURATION:
  • 0x200 = 0x00.
  • 0x201 = 0x00.
  • 0x202 = 0x00.
  • 0x203 = 0x94.
  • Poll 0x207 until = 0x80.
Opcode.

0x200[0] = 0, load configuration for initial adaptation.

14. Run Continuous Adaptation using PMA attributes28. PMA attribute = 0xA, data = 0x6. PMA attribute code.
15. Deassert the rx_reset signal. Port.
16. Optional: Check the link status with rx_is_lockedtodata (clear the traffic checker, and verify that it is error free). Port.
17. Start receiving data.
25 Refer to PMA Analog Reset.
27 For how to enable and disable internal serial loopback, refer to 0x0008: Internal Serial Loopback and Reverse Parallel Loopback Control.
28 For PMA attributes for adaptation, refer to 0x000A: Receiver Tuning Controls.