•
on page 163
•
PMA Registers 0x200 to 0x203 Usage
on page 184
8.12.3. Loading a PMA Configuration
This is an example of a single channel loading a single PMA configuration.
Set the operation mode (loopback mode and PRBS), setting internal or serial loopback
and PRBS31.
1. Write 0x200 = 0x0D. This selects internal or serial loopback and PRBS31.
2. Write 0x201 = 0x00.
3. Write 0x202 = 0x00.
4. Write 0x203 = 0x93. This picks the opcode for
SET_OPERATION_MODE
.
5. Poll register 0x207[7] until it becomes 1 to indicate that the operation finished.
The bit self-clears.
6. Read register 0x204[0]. A 0 indicates that the operation was successful.
Load the PMA configuration using soft registers.
7. Write 0x40143 = 0x80. Loads PMA configuration 0 to the Channel 0 register space
that can be accessed by other channels as well.
8. Read 0x40144[1] = 0x0. This ensures that this process did not time out.
Ensure that the PMA configuration is loaded to all channel SERDES registers, initial
adaptation, continuous adaptation, or both are run, loopback mode is set, PRBS is set,
etc.
9. Write 0x200 = 0xd2. This is running initial adaptation (would run continuous
adaptation if selected above) loads the PMA configuration to the registers for this
channel, and again ensures PRBS31 is used for this command.
10. Write 0x201 = 0x02. This sets internal or serial loopback again as part of this
command.
11. Write 0x202 = 0x01. This enables initial adaptation (not running continuous
adaptation in this case). For details on what can be done during continuous
adaptation, refer to PMA Bring Up Flow.
12. Write 0x203 = 0x96. This picks the opcode for
START_CAL
.
13. Poll register 0x207[7] until it becomes 1 to indicate that the operation finished.
The bit self-clears.
14. Read register 0x204[0]. A 0 indicates that the operation was successful.
Related Information
•
PMA Registers 0x200 to 0x203 Usage
on page 184
•
on page 69
8.13. Dynamic Reconfiguration Examples Revision History
Document
Version
Changes
2019.02.04
Made the following changes:
continued...
8. Dynamic Reconfiguration Examples
UG-20056 | 2019.02.04
Intel
®
Stratix
®
10 E-Tile Transceiver PHY User Guide
163