
Chapter 16: Transceiver Reconfiguration Controller IP Core 16–37
Changing Transceiver Settings Using Register-Based Reconfiguration
November 2012 Altera Corporation Altera Transceiver PHY IP Core
User Guide
7. When
busy
= 0, the Transceiver Reconfiguration Controller has updated the logical
channel specified in Step 2 with the data specified in Step 3.
Example 16–8 shows a reconfiguration that changes the logical channel 0 V
OD
setting
to 40.
Register-Based Read
Complete the following steps for a read:
1. Read the
control and status
register
busy
bit (bit 8) until it is clear.
2. Write the logical channel number of the channel to be read to the
logical
channel
number
register.
3. Write the <feature> offset address.
4. Write the
control
and
status
register
read
bit to 1’b1.
5. Read the
control
and
status
register
busy
bit. Continue to read the busy until the
value is zero.
6. Read the
data
register to get the data.
Example 16–9 illustrates a read of the pre-emphasis pretap value for logical channel 2.
Example 16–8. Register-Based Write of Logical Channel 0 V
OD
Setting
#Setting logical channel 0
write_32 0x8 0x0
#Setting offset to VOD
write_32 0xB 0x0
#Setting data register to 40
write_32 0xC 0x28
#Writing all data
write_32 0xA 0x1
Example 16–9. Register-Based Read of Logical Channel 2 Pre-Emphasis Pretap Setting
#Setting logical channel 2
write_32 0x8 0x2
#Setting offset to pre-emphasis pretap
write_32 0xB 0x1
#Writing the logical channel and offset for pre-emphasis pretap
write_32 0xA 0x1
#Reading data register for the pre-emphasis pretap value
read_32 0xC
Kommentare zu diesen Handbüchern