SLAA871 January 2019 AFE7422 , AFE7444
Programming the AFE74xx EVM in repeater mode is simple. After the AFE74xxEVM is programmed normally in a desired mode, a configuration file containing a specific sequence of register writes required to enable repeater mode must then be loaded to the device through the Low Level View tab in the AFE74xx GUI. The mode used to program the AFE74xx must have the same LMFSK values for both RX and TX. Table 1 shows the sequence of register writes that must be loaded to the AFE74xx EVM in order to enable repeater mode (RX-TX loopback mode).
NOTE
The configuration file containing the following register writes is provided in the AFE7444 product folder. Save the file titled loopback_mode_enable.cfg.
Process
(W for Write) |
Address
(Hex) |
Register Value
(Hex) |
Comment |
---|---|---|---|
W | 0x10 | 0x55 | Open txducp0 page for all TX |
W | 0x7E | 0x1F | Set RBD register (0x7E) to hex value of 64 / F – 1. |
For example:
LMFSHd = 44210, F= 2, RBD value is 64 / 2 – 1 = 31. Hex value for 31 = 0x1F. Therefore, register 0x7E is programmed to 0x1F. |
|||
W | 0x10 | 0x00 | Close txducp0 page for all TX |
W | 0x11 | 0x8 | Select TRAFFICCNTL page |
W | 0xC5 | 0x5 | RX-TX loop-back enabled for both 2T2R_TOPs |
W | 0xCF | 0x1 | Loopback FIFO init_state set |
W | 0x11 | 0x0 | Close TRAFFICCNTL page |
W | 0x17 | 0x0 | Select SerDes_JESD_TX page |
W | 0x45 | 0xC0 | RX init_state clear |
W | 0x45 | 0x80 | FB init_state clear |
W | 0x45 | 0x0 | FIFO inti_state clear |
W | 0x26 | 0x0 | RX jesd_clear_data clear |
W | 0x17 | 0x0 | Close SerDes_JESD_TX page |
W | 0x11 | 0x3 | Select TXDIG_P0 page |
W | 0x20 | 0x0 | TX init_state clear for both TX_TOPs |
W | 0x11 | 0x0 | Close TXDIG_P0 page |
W | 0x11 | 0x8 | Select TRAFFICCNTL page |
W | 0x1A0 | 0xFC | Gate SYSREF |
W | 0x11 | 0x0 | Close TRAFFICCNTL page |
If sync out is not looped back to sync in, use the following SPI programming to establish SYNC | |||
W | 0x17 | 0xC | Select SerDes_JESD_TX page |
W | 0x72 | 0xFF | Override STX output with K28.5 |
Delay 100 ms | |||
W | 0x72 | 0xF0 | Override STX output with K28.5 |
W | 0x17 | 0x0 | Close SerDes_JESD_TX page |
The following steps show how to bring up the AFE74xx EVM and then enable repeater mode. In this example, the AFE74xx is programmed in mode 4 and then a config file enabling repeater is loaded in the Low Level View tab. For more details on how to bring up the AFE74xx EVM, reference the AFE74xxEVM user's guide. After the AFE74xx is powered up, launch the AFE74xx GUI, and then reference the following steps: