4. Example features¶
4.1. Clocks evaluation¶
Programmable clocks evaluation in receiver mode
- Set receiver mode
- Click on the button in the left corner of the navigation bar and select core
- Select RX chip mode button in Chip mode section
- Select two phase shifter channels one with fine phase shifting
- Click on the button in the left corner of the navigation bar and select clocks
- Select a frequency button to activate channels
- Set Enable in Fine Tune to enable fine phase shifting for one phase shifter (resolution = 48.8 ps)
- Program different options the phase shift of the channels
- Click on phase slider to program different options for the phase shifter
- Changes can be observed with a scope
- Click on the Settings button to enabled advanced configuration options
- Click on drive strength to select an amplitude
- If phase control tune button is disabled you will program coarsely the phase for the channel (resolution = 781.25 ps)
- Fine phase setting is disabled by default
4.2. PLL performance evaluation¶
Evaluation of the PLL performance
- Configure lpGBT in external 40 MHz reference clock
- Set lockmode switch to 0 on LpGBT characterization board
- Configure lpGBT in simple TX mode
- Click on menu bar in the top left corner of the screen and select Core
- Select TX chip mode
- Select transmitter mode data rate and FEC encoding
- Configure 1 eclock @320 MHz, 2 mA drive strength and no pre-emphasis
- Click on the menu bar in the top left corner of the screen and select Clocks
- For EPCLKn select 320 MHz frequency button
- Click on setting button to access to the advanced configuration (not implemented)
- Select drive strength 2.0 mA amplitude
- Select disable pre-emphasis mode
- Change PLL parameters(charge pump current and resistors values) (not implemented)
- In PLL configuration division select PLL charge pump current to set current value
- Select PLL resistor value
4.3. Transceiver configuration¶
- Set transceiver mode at 5Gbps data rate and FEC12 encoding
- Click on the menu bar in the top left corner of the screen and select Core
- Select TRX chip mode button then 5Gps and FEC12 button
- Enable all uplink elinks with data rate @320Mbps, auto phase selection and enabled termination
- Select 320 data rate button
- Auto phase selection is set by default for all uplinks
- Select TERM button
- Enable 4 downlinks elinks at 160Mbps with 2 mA amplitude and no pre-emphasis
- Select 160 data rate button
- Click on drive strength option and select 2.0 to set 2 mA amplitude
- Click on pre-emphasis option and select disable
- Configure 2 eClocks at 320MHz with 2 mA amplitude and no pre-emphasis
- Click on the menu bar in the top left corner of the screen and select Clocks
- Go to eclocks number to configure then select 320 Frequency button
- Click on drive strength option and select 2.0 to set 2mA amplitude
- Click on pre-emphasis option and select disable
- Configure 2 eClocks @320MHz delayed by 10ns with 2 mA amplitude and no pre-emphasis
- Go to eclocks number to configure then select 320 Frequency button
- Click on phase slider and move the cursor to set phase value at 10ns
- Click on drive strength option and select 2.0 to set 2mA amplitude
- Click on pre-emphasis option and select disable
- Enable RSTOUTB with 100 ns pulse duration (not implemented)
- Click on the menu bar in the top left corner of the screen and select Status
- Go to LpGBT reset out section
- Click on phase duration select option for rstoutb and select 100
- Click on Reset button to generate the pulse
- Example of LpGBT I2CM1 communication with slave connected
- Click on the menu bar in the top left corner of the screen and select I2C Master number
- Enter slave address in hexadecimal 0x51
- Select 8-bit register address width
- Enter register address in hexadecimal 0x00
- Set Bus Speed to 400 kHz
- In Write division enter the data to write 0x01
- Click on the write button
- Repeat the process for each slave address register to configure
- Check if downlink high speed is locked
- In the top right corner of the screen the spinner is green if downlink high-speed data are locked
- Check if elinks receivers are locked and the phase selected
- Reloading the page will automatically read back the register value and set the page according to register configuration
- Click on menu bar and Status
- Read status lock and current phase for EPRX group/channel (not implemented)
4.4. Transmitter configuration¶
- Set transmitter mode at 10Gbps data rate and FEC5 encoding
- Click on the menu bar in the top left corner of the screen and select Core
- Select TX chip mode button then 10Gbps and FEC5 button
- Enable all uplink elinks with data rate at 1280Mbps auto phase selection and enabled termination
- Select 1280 data rate button
- Auto phase selection is set by default for all uplinks
- Select TERM button to activate termination
4.5. Analog peripherals configuration¶
- Enable internal voltage reference
- Click on the menu bar in the top left corner of the screen and select analog
- Select Generator Enable button
- Select slider to tune voltage value
- Set Voltage DAC to 0.63 V
- In Voltage DAC section select Enable
- Click on voltage DAC value slider and set voltage (Vout=(VOLDACValue/4096)*vref)
- Monitor VDD inside the chip
- In ADC section clock on VDD monitoring
- Select VDD source in ADC positive input selector
- Click on start conversion button to read ADC value
- Read back temperature sensor
- Go to ADC Temperature Sensor section
- Click on Measure Temperature button to start internal sensor temperature measurement
- Read the code from the temperature ADC.
- Read resistance of PT1000 sensor connected to ADCn channel
- In current DAC section, enable CDAC current
- Select current DAC slider and set current value
- Connect sensor to correct ADC pin
- In Voltage ADC section select ADC pin used in ADC positive input selector
- Read ADC value of PT1000 sensor resistance conversion
4.6. Analog peripherals configuration when calibrated¶
- Select the type of calibration that you want
- Click on the menu bar in the top left corner of the screen and select analog
- Click on the “Chip-specific calibration values”. If no calibration values are available for your chip, click on “Average calibration values”
- In case you want to stop using calibration values, click on “No calibration used”
- Depending on the selection, the Analog interface will change accordingly (calibrated/not calibrated)
- Enable internal voltage reference when calibrated
- Select Generator Enable button
- Click on “click here to get ~1 V”. The slider will automatically be set to the best tune value to be the closest possible to 1V (depending on calibration error).
- Set Voltage DAC to 0.44 V
- In Voltage DAC section select Enable
- Click on the voltage DAC slider and release it when the Tune value is 0.44 V. Wait for calibration.
- The Voltage DAC will be set to the closest possible to 0.44 V (depending on calibration error).
- Read the Voltage DAC code value that was set in Byte value to know what code corresponds to 0.44 V.
- Set CDAC current to 770 uA for ADC5 (only)
- In the Current DAC section select Enable
- In the Output Pin select the CDAC5
- Click on the CDAC slider and release it when the Tune value is 770 uA. Wait for calibration.
- When finished, you can read the CDAC code value that was set in Byte value to know what code corresponds to 770 uA.
- Read ADC voltage value for ADC2
- In the ADC section select the as ADC Positive Input ADC2 and as ADC Negative Input VREF/2
- In case you expect to have a value close to 0.5 V, you can select gain x8 or gain x16. If not, select gain x2.
- Click on Start conversion. The result will be in voltage.
- You can also read the ADC code as a result in Byte value to know what code corresponds to the voltage read.
- Read back temperature sensor
- Go to ADC Temperature Sensor section
- Click on Measure Temperature button to start internal sensor temperature measurement
- Read temperature from ADC is the sensor temperature in degree Celsius
- You can also read the ADC code value as a result in Byte value to know what code corresponds to the temperature read.
- Monitor VDD inside the chip
- In ADC section clock on VDD monitoring
- Select VDD source in ADC input selector
- Click on start conversion button to read the voltage value
- You can also read the ADC code value as a result in Byte value to know what code corresponds to the internal voltage read.
4.7. Evaluation of high-speed uplink¶
- Configure lpGBT in external 40 MHz reference clock
- Set lock mode switch to External lock mode on the VLDB+ board
- Configuration PRBS7 in the serializer
- Click on the menu bar in the top left corner of the screen and select test features
- Select PRBS7 generator in Uplink Serializer Data Source
- Modulation current and pre-emphasis monitoring for line driver
- Click on the menu bar in the top left corner of the screen and select high-speed
- Select modulation current slider to monitor the current in Line driver section
- To activate pre-emphasis driver click on Enable
- Select pulse width of pre-emphasis: Long (60 ps) or Short (40 ps)
4.8. Evaluation of high-speed downlink¶
- External PRBS7 sequence generator connected to RX inputs of lpGBT
- Click on the menu bar in the top left corner of the screen and select test Core
- Select RX chip mode
- Equalizer settings and eye diagram measurement
- Click on the menu bar in the top left corner of the screen and select high-speed
- Select attenuation value, programmable attenuator can provide attenuation of 0 dB, -3.6 dB or -9.5 dB
- Select a value for the capacitance
- Select a value for resistors 1 to 4
- Run a bit error test
- Click on the menu bar in the top left corner of the screen and select test features
- In BERT Pattern Checker select data source to be checked
- Select reference channel signal for pattern checker
- Set the duration of the measurement
- Start BERT measurement
- Read BERT result
4.9. Access to raw values of registers¶
- Click on the menu bar in the top left corner of the screen and select Registers
- On register map filter, enter register name or register address to read
- To modify register value, click on register name on the list and enter a new value
- Example: To disable the watchdog enter POWERUP0 in the Register map search bar
- Click on the register name in the list Set bit 7 PUSMpllWdogDisable to 1 in the Update Register Value window