with Crosspoint Evaluation Module (EVM) Graphical Users
Interface User’s Guide
This user’s guide describes the usage and construction of the TLK10232 evaluation module (EVM) GUI.
This document provides a basic overview of the different portions of the program.
This equipment is intended for use in a laboratory test environment
only. It generates, uses, and can radiate radio frequency energy
and has not been tested for compliance with the limits of
computing devices pursuant to subpart J of part 15 of FCC rules,
which are designed to provide reasonable protection against radio
frequency interference. Operation of this equipment in other
environments may cause interference with radio communications,
in which case the user, at their own expense, is required to correct
this interference.
The Texas Instruments TLK10232 SERDES evaluation module (EVM) boards are controlled and
configured with a custom developed graphical user interface (GUI) developed using National Instrument’s
LabVIEW™ 2010 programming language.
High- and low-level manipulation of the registers is possible through this GUI as well as a variety of built-in
test modes. Both channels of the TLK10232 and every low-speed input/output lane in each channel is
handled independently allowing maximum configurability of the TLK10232 device. Global write register bits
exist, allowing the register read/write commands to be applied to every channel, and lane, simultaneously
to shorten the configuration time. However, these bits are not implemented in the GUI and the user should
be aware that the configuration sequences in the GUI could be optimized for both time and redundancy for
the particular use case when implementing the system.
The high speed transmit and receive parameters can be swept through a nested loop of parameter
combinations in the HS Link Optimizer portion of the GUI. The test results can be reviewed both visually
and empirically through a saved test report with the results. Running the Link Optimizer saves time when
determining the optimal combination of settings for the particular system or test setup.
Advanced functionality and debug capabilities are built into the GUI through the implementation of the
Python scripting language. A recording of register read/write transactions can be recorded in real-time
while manually using the GUI in order to create a reusable and easily modified script for future work.
These scripts can be modified to include any supported Python 2.7 features including loops, file I/O, and
command prompt user input.
2Getting Started
Configure the EVM hardware and connect the USB dongle to the PC before starting the TLK10232 EVM
GUI. The first time the GUI is started, default settings and configuration files are created and saved into
the working directory of the PC causing the GUI to take longer than normal to open.
The TLK10232 EVM implements TI’s TCA6424 I2C™-to-GPIO device to provide software control and
status monitoring of the TLK10232 device’s I/O pins. When the board is powered up and the GUI is run,
the GUI first initializes the registers of the TCA6424 for their default values and issues a Main BoardReset, resetting the TLK10232. This ensures that the GUI and TLK10232 register values are synchronized
to their default values prior to configuration. When this reset occurs, the red reset LED on the EVM blinks
momentarily and then the green LED relights when the reset operation is complete.
The GUI is designed to control up to two TLK10232 EVMs when one is configured to accept the MDIO
and I2C control signals from the first board that is connected to the USB port of the PC. Currently, this
feature is not fully implemented and tested in both hardware and software. See future revisions of this
document for additional information. Use Board 1 settings and registers when only one board is connected
to the PC.
Both channels can be configured simultaneously using Channel A’s settings as a reference. Selecting the
TLK10232 EVM board window from the Selection Window menu (Figure 1) allows selection whether or not
to simultaneously configure both channels. After making a selection, click the Save Settings [F5] button
at the bottom of the screen.
Introduction
SLLU181–June 2013TLK10232 Dual-Channel XAUI/10GBASE-KR Transceiver with Crosspoint
All of the TLK10232 control and status register fields have been grouped together based upon function
and are accessed on an individual basis through the use of a high-level control. Expanding the board
hierarchy in the GUI’s Selection Window tree (Figure 2) displays the various channel and window
windows. If both channels are chosen for simultaneous configuration, the GUI disables the selection
windows for Channel B. The registers are written to the device individually, but the GUI saves time and
adopts Channel A’s settings into the GUI’s register configuration array.
High-Level TLK10232 Device Configuration
Figure 2. TLK10232 EVM GUI Hierarchical Selection Window Tree
Configuration of the external control pins of the TLK10232 device through the GUI is performed through
TI’s TCA6424 onboard I2C-to-GPIO device. The TCA6424 is configured to control the high and low
settings of the device from USB data sent to the board from the GUI. It is also possible to disable the
software control and rely on manual settings of these signals. Monitoring external status pins is also
possible through this method.
SLLU181–June 2013TLK10232 Dual-Channel XAUI/10GBASE-KR Transceiver with Crosspoint
The GUI and the device settings on the board can be synchronized by initiating all reset signals from the
GUI through the various buttons. If the reset button on the board itself was pressed, the GUI would not
realize that the registers were reset and continue to display the previous register values. Pressing the
Main Board Reset button (Figure 3) in the GUI is equivalent to pressing the reset pushbutton on the EVM
board and has the added benefit of resetting the GUI’s register settings to match the hardware default
values applied to the TLK10232 device following a main board reset.method. The
www.ti.com
Figure 3. TLK10232 EVM GUI Software Control of TLK10232 I/O Pins and Main Reset
The TLK10232 register settings are configured from the high-level device configuration windows of the
GUI. All of the settings of the TLK10232 can be modified from various portions of this tab broken out and
grouped into individual windows according to their function.
It is recommended to configure the TLK10232 device by starting at the first window in the GUI’s SelectionWindow and work down the tree selecting and saving any settings changed to something other than
default.
By default, the TLK10232 device and GUI are configured to run in Auto Negotiation 10G-KR mode. The
first window (Figure 4) has a selection box that allows easy configuration for all of the various operational
modes of the TLK10232 device. This is a hybrid control and will set all of the various control register bits
required for proper operation in that mode. Located to the right of this selection box is an LED indicator
panel displaying the value of the various controls bits set in that particular mode.
The default PRTAD[4:1] setting for TLK10232 EVM board and GUI is 4b’0000. If the PRTAD[4:1] value is
changed on the TLK10232 EVM board using the dip switch settings, the value must also be entered into
the GUI on the Front Panel above the Control pin settings. If there is a hardware/software mismatch, then
register read/write operations will fail. The same is true for the I2C Address on the TCA6424. Clicking the
0x22 allows the selection of address 0x23.
When making changes to a particular control field in any of the high-level control windows, the value is
stored into the GUI’s register configuration array but is not immediately written to the device. When the
settings have changed and the settings of the GUI do not match the actual register settings of the EVM
device, the Require Update? light glows red, indicating that some setting has changed in the GUI
memory and needs to be sent to the device. When the device settings match the GUI’s memory the
Device Configured light glows green indicating that the board is configured as displayed in the GUI.
To change the various register settings in the GUI memory to a new value, simply find the particular
parameter field in the various windows, select the new value, and click the Save Settings button. The
change is discarded if the Save button is not clicked and the Current Value of the register is kept.
SLLU181–June 2013TLK10232 Dual-Channel XAUI/10GBASE-KR Transceiver with Crosspoint
Saving all the values for the register fields in memory allows selection of the values for the device in any
sequence chosen. The TLK10232 device settings and the newly selected register values can be reviewed
at any time by clicking the Review Updates button on the front panel of the GUI. This will bring up a
window that shows the register configuration array (Figure 5) and shows the current and new value for
every register field. If the field has a new value, the status box for that array is shaded orange highlighting
the changes to be applied to the TLK10232 device. To discard the changes in memory and keep the
current settings, click the Discard Updates button to reset the new value fields with the current values.
Register values in other windows that are not relevant in the particular operation mode are disabled and
become grayed out. This allows easy determination as to which register control fields are relevant for their
mode and need to be configured.
After selecting the Operating Mode settings, select the Clock and Rate Configuration window (Figure 6)
from the Selection Window tree. All of the standard clock and rate controls listed in the TLK10232
datasheet are implemented using a quick reference lookup table. The Clock and HS Serial Data Rate
options are operating-mode specific, requiring configuration of the operating mode before configuring the
clock so the correct options are presented. Only the Reference Clock Frequency and HS Serial Data Rate
selections are required. All other HS and LS PLL multipliers and rate settings are configured in the
TLK10232 register to support that mode.
The selection of which reference clock is used to how to configure the HS Recovered Byte Clock for the
selected channel can also be made from this window.
Selecting the Others button allows direct control the HS/LS PLL multiplier and rate registers. Entering the
Ref Clock Frequency and HS/LS Serial Data Rates displays the Output Clock Frequency calculations for
reference, even though they do not have any direct register configuration value.
Save any changes to the Clock and Rate Configuration window.
Status registers can be read at anytime from the various Status windows (Figure 7). Clicking the Refresh
button located in the top right corner of the Status window causes all of the registers associated with that
particular window to be read and the results to be displayed.
www.ti.com
Figure 7. TLK10232 EVM GUI High-Level Device Status Windows