2511 views|0 replies

6555

Posts

0

Resources
The OP
 

AFE77xx EVM Evaluation with TSW14J57 Guide [Copy link]

When the AFE77xx EVM is used with TSW14J57 and operates at a data rate of 737.28MSPS, the specific software configuration is quite different from the 491.52MSPS user-guide provided by TI's official website. This use-GUIDE summarizes how to test the AFE77xx EVM under the following chip configuration conditions, as well as the location analysis method when problems occur.

Chip working mode:

查看详情Keywords : AFE77xx EVM, TSW14J57, 737.28MSPS

Table of contents:

1. Preliminary preparation of software and hardware environment

1. AFE77xx EVM software setup

2. TSW14J57 EVM software setup

3. Hardware environment configuration of AFE77xx EVM and TSW14J57

4. External RF cable connection of AFE77xx EVM

2. Initialization DEMO process

1. Configure the digital board via HSDCPRO

2. Configure the analog board via Latte

3. Device Configuration Instructions

4. Useful scripts

5. Trouble Shooting

1. The single-tone output power of the TX channel is low

2. The TX channel has a very high noise floor when sending carrier waves

3. The QMC correction effect of the TX channel does not meet the expectations in the manual

1. Preliminary preparation of software and hardware environment

1. AFE77xx EVM software setup

Currently, the control of AFE77xx is implemented by Latte software (delivered to customers by FAE), the software version is 2p4p1, and the embedded library version is V2P4.

查看详情

After clicking on the installation, the following window will pop up. The first one is to install the required library, the second one is to install the FTDI driver, the third one is to install the ini file required for the digital board, and the fourth one is to install the Latte GUI. When installing, be careful to distinguish them. Be sure to find the corresponding FAE to get the ini file that supports the 737.28MSPS rate.

查看详情

After installing the GUI, you need to update the Latte library (FAE delivered to the customer). Note: After reinstalling the library file, the original library will be overwritten.

After the installation is complete, the following two files (delivered to the customer by FAE) need to be placed in the path: C:\Users\a0235235\Documents\Texas Instruments\Latte\projects\AFE77xx\bringup. The parameters of these two files that need to be modified will be described in the "Device Configuration Instructions" section.

查看详情

2. TSW14J57 EVM software setup

The specific configuration of the GUI interface is described in detail in other user-guides, and only the special points are explained here.

  • How can I confirm that the ini file and firmware file I use match?

Find the ini file you need in the ini path (C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\14J57revE Details\DAC files). The second line in the ini file will indicate the firmware that the file is compatible with. For example, as shown in the figure below, the firmware I need is TSW14J57revE_ADCBRAM_DACDDR_L8_Reconfig_FIRMWARE

查看详情

  • What if I accidentally delete the ini file?

Open the Latte installation package and just check the HSDCPRO ini files. The installation package will automatically bring back the ini files.

Please try to protect FB's ini file. The current installation package does not support the installation of FB's ini file.

3. Hardware environment configuration of AFE77xx EVM and TSW14J57

Power supply for AFE77xx EVM: 6V/5A

USB for AFE77xx EVM: No special requirements

Power supply of TSW14J57 EVM: 12V/3A

USB of TSW14J57 EVM: USB3.0

Fan cooling

4. External RF cable connection of AFE77xx EVM

When the user needs to verify the QMC performance, a BPF needs to be connected to the EVM of AFE77xx to suppress possible clutter in the high-order Nyquist domain to prevent the correction performance from being affected, as shown in the following figure.

查看详情

2. Initialization DEMO process

1. Configure the digital board via HSDCPRO

First, configure the digital board through HSDCPRO. Here we only supplement the user-guide provided by BU.

查看详情2. Configure the analog board via Latte

Run setup.py - there is no error or warning in this step.

Run devInit.py - 8 errors and 6 warnings in this step are normal.

查看详情Before running BasicBringup to initialize the AFE77xx, you need to click the reset button on the board to reset it. If the board is powered off, you need to reset it again.

查看详情

Run the BasicBringup file (the naming may be different, please follow the file provided by FAE). After running, check whether there is a single tone output. If not, send a single tone in HSDCPRO, and then run the BasicBringup file again.

The script for QMC correction has been changed: AFE.TOP.TIMINGCTRL.txToFbSelectCh(True,0)

3. Device Configuration Instructions

Some basic configurations can be clearly seen in the bringup file, and a brief explanation is given. Things that are not reflected in Bringup need to be observed in a specific gui.

  • sysParams.txIqmcFullBandEstimation – Write True to enable full-band QMC, False to disable
  • sysParams.FRef – Reference clock frequency, currently set to 491.52MSPS
  • sysParams.Fs – sampling rate, currently set to 2949.12MSPS
  • sysParams.pllMuxModes – configures the PLL mode. It can be configured to share the LO for TX/RX, or separate the LO for TX/RX. See the code comments for details
  • sysParams.pllLo[x] – configures the xth phase-locked loop frequency
  • sysParams.LMFSHdRx – LMFS mode for RX, needs to match the digital board ini
  • sysParams.LMFSHdTx – LMFS mode of TX, needs to match the digital board ini
  • sysParams.LMFSHdFb – LMFS mode of the FB, needs to match the digital board ini
  • sysParams.jesdTxLaneMux – TX lane muxing mode
  • sysParams.jesdTxLaneMux – RX lane swap mode
  • sysParams.ddcFactorRx – DDC value for RX
  • sysParams.ddcFactorFb – DDC value of FB
  • sysParams.ddcFactorTx – DUC value for TX
  • sysParams.fbNco – The value of FBNCO
  • sysParams.setTxLoFbNcoFreqForTxCalib – When set to 1, the program will automatically select the frequency point to make the FB NCO and TX LO the same to ensure the QMC correction effect of TX
  • sysParams.txIqMcCalibMode – Select a FB channel as the QMC loopback path
  • AFE.TOP.overrideTdd(1, 1, 1) – TDD switch, RX, FB, TX. 1 is on, 0 is off. When doing QMC, it needs to be typed as (0, 1, 1).

4. Useful scripts

  1. Calling the graphical GUI - device.TOP.gui.show()
  2. Query 204B status: AFE.JESDRX[0].getJesdAlarms(0)
  3. Modify feedback NCO:
  • NCO_freq=2600
  • AFE.setFbNcoWord(1,NCO_freq)

4. Modify the PLL[n] local oscillator value;

  • AFE.TOP.requestPllSpiAccess(1)
  • sysParams.pllLo[0]=3500
  • AFE.PLL[0].configurePll()

5.Reset QMC - AFE.TOP.SYSCALIB.resetTxIqmcLo ()

6.Freeze QMC - AFE.TOP.SYSCALIB.freezeTxIqmcEstim(True)

7. Set the DSA of each channel:

  • AFE.TOP.DSA[0].setTxDsa(0,0)
  • AFE.TOP.DSA[0].setRxDsa(0,0)
  • AFE.TOP.DSA[0].setFbDsa(0)

8. Calculate the appropriate NCO value:

First create a new script, copy and run the following scripts in their entirety:

def setCo(fInBaseBand):

fsBaseBand=2949.12

NumberOfSamples=2**16

bits=16

n = int(NumberOfSamples/2)

m = int((fInBaseBand/fsBaseBand)*n)

if (m%2) == 0 :

m = m+1

fInBaseBand=(m/float(n)*fsBaseBand)

return (fInBaseBand)

Enter setCo(desired frequency) in the command window, and the readback value is the settable frequency.

5. Trouble Shooting

Generally, the problems that occur in AFE77xx DEMO fall into two categories: software process problems and chip performance problems.

Software flow problems are easy to identify. Usually, it is because the called function is not added to the library. You can see the error displayed in black font in the latte log window. Usually the log will point to a specific lib file. You can try to modify the lib file or report it.

查看详情

Here are some common cases to illustrate:

1. The single-tone output power of the TX channel is low:

The single-tone power described in the manual is 3.5dBm@1.8GHz, but actual testing found that the single-tone power is lower.

Troubleshooting methods:

  • Verify that the line loss is correct.
  • DSA value: To prevent the DSA value from being incorrectly entered, enter device.TOP.gui.show() in the command line and read the DSA value in the following window to see if it is 0. Modify the DSA value and see if the output changes to prevent the incorrect DSA value displayed on the GUI from misleading positioning.

查看详情

  • Confirm the return loss on the board. The standing wave of the current board is poor.

2. The TX channel has a very high noise floor when sending carrier waves:

  • Reduce the power to a certain level to see if the noise floor will be significantly improved.
  • Check whether the pattern generation mode is correct. Wrong bit (14) filling may cause such a problem.

3. The QMC correction effect of the TX channel does not meet the expectations in the manual:

  • The test results in the manual are based on certain specific conditions. The actual QMC correction effect is greatly affected by the FB noise floor, and the image limit is -88dBm/bin. If you find that the image correction effect is poor, you can check the FB sampling results to see if the noise floor has reached -88dBm/bin and has been limited.
  • At the same time, be careful not to allow too much power into FB, which may cause feedback saturation and affect correction.
  • The user manually modified the FB NCO or TX LO, causing the FB signal to be misaligned, affecting the calibration.
This post is from Wireless Connectivity
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list