我们将在春节假期期间对网站进行维护,可能暂时无法访问,同时工程师回复将有所延迟,敬请谅解.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE7769: AFE7769

Part Number: AFE7769

共享国际直放站项目目前使用了一片AFE7769(4T4R2FB)和一片SN18064(4T4R1FB);目前主要是SN18064的通道3/4存在问题

    (1) SN18064问题: 4TR,双sync模式(通道1 /2收发2sync,通道3/4收发2sync),现象是通道1/2正常;通道3/4的发通道sync可以拉高,但无信号输出;通道3/4的收sync一直为低

  1. 通道3/4的收通道,FPGA抓数看不到lane3K码。
  2. FPGAPRBS码,用TIK C funtion 中的函数check 每条laneerror,发现lane3error非常多,结果如下:

                  

  1. FPGA侧,GTY做环回,同时sync引脚环回,4lane收发均正常,数据正常,sync能拉高;
  2. FPGA外部飞线,将lane3对应的GTY环回。由于飞线,速率不能到10G,降速到2.5Gibertprbs正常;

           所以目前怀疑SN18064在配置lane3的时候出现问题,请帮忙定位,谢谢

  • 感谢您对TI产品的关注!为更加有效地解决您的问题,由于问题比较复杂,我需要询问更了解这款芯片的TI资深工程师,再为您解答,一旦得到回复会立即回复给您。

  • TI工程师就此问题给Hongxin的一位工程师发送了电子邮件。在发送给TI工程师的原始配置文件中, JESD Tx&Rx通道多路复用器选择似乎不正确。 TI工程师已经向您发送了带有更新的 JESD 通道多路复用器的新配置文件。 请您尝试新的配置文件,烦请告知我们问题是否得到了解决, 谢谢。

    请参阅下图进行通道多路复用器进行更改,另附启动脚本和配置文件:

    #For use with TSW14J5x board, set sysParams.jesdABLvdsSync/sysParams.jesdCDLvdsSync to 1
    
    sysParams.__init__()
    setupParams.selectedDut=1
    if boardType in ("EVM","HSC1373"):
    	if setupParams.selectedDut==1:
    		AFE=AFE1
    		device=device1
    		logDumpInst=logDumpInst1
    	else:
    		AFE=AFE0
    		device=device0
    		logDumpInst=logDumpInst0
    else:
    	setupParams.selectedDut=0
    	
    sysParams=AFE.systemParams
    device.hardReadAlways=False
    ##### PLL & LO
    curr_lo = 3500
    sysParams.rxAdcBw=100
    sysParams.FRef                    = 245.76
    sysParams.Fs                      = 2949.12
    sysParams.pllMuxModes			= 0	
    										#0: 4T4R Mode with PLL0 as Master. PLL 0 for all the LOs.
    										#1: 4T4R Mode with PLL2 as Master. PLL 2 for all the LOs.
    										#2: 4T4R FDD Mode. PLL0 for TX and PLL2 for RX.
    										#3: 2*2T2R FDD Mode: PLL0 AB-TX;PLL3 AB-RX; PLL2 CD TX; PLL4 CD RX
    										#4: 2T2R FDD - TDD Mode: PLL0 AB-TX; PLL3-AB-RX; PLL2 CD
    sysParams.pllLo					= [curr_lo,sysParams.Fs,1850,1800.24,3400.0]	#PLL Frequencies for PLLs [0,1,2,3,4]
    sysParams.setTxLoFbNcoFreqForTxCalib	= True
    
    ## In below parameters, first in the array is for first 2T2R1F and second 2T2R1F.
    # JESD and Serdes Parameters
    sysParams.useSpiSysref			= False
    sysParams.LMFSHdRx              = ["24410","24410"] 
    sysParams.LMFSHdFb              = ["12410","12410"]
    sysParams.LMFSHdTx              = ["24410","24410"]
    sysParams.systemMode            = [2,2]					# 0-Identical, 1-FDD, 2-TDD
    sysParams.dedicatedLaneMode     = [1,1]
    sysParams.jesdProtocol          = 0#1#0				# -0:B; 1:H; 2:C
    sysParams.serdesFirmware		= True
    sysParams.jesdTxLaneMux			= [0,1,4,5,2,3,6,7]	# RX1...RX4 & FB1...FB2 on STX1...STX4 in shared mode. 
    sysParams.jesdRxLaneMux			= [0,1,4,5,2,3,6,7]	# TX1...TX4 on SRX1...SRX4.
    sysParams.jesdRxRbd				= [15, 15]
    sysParams.jesdScr				= [True,True]		
    sysParams.serdesTxLanePolarity	= [False,False,False,False,False,False,False,False] 
    sysParams.serdesRxLanePolarity	= [False,False,False,False,False,False,False,False] 
    sysParams.jesdK					= [16]*2 
    sysParams.syncLoopBack			= 1
    sysParams.jesdLoopbackEn		= 0
    sysParams.jesdTxRxABSyncMux		= 0 #v5
    sysParams.jesdTxRxCDSyncMux		= 3 #d5
    sysParams.jesdTxFBABSyncMux		= 1 #u5
    sysParams.jesdTxFBCDSyncMux		= 2 #c5
    sysParams.jesdRxABSyncMux		= 0 #y5
    sysParams.jesdRxCDSyncMux		= 1 #w5
    sysParams.jesdABLvdsSync		= 0
    sysParams.jesdCDLvdsSync		= 0
    
    # Decimation and interpolation Parameters
    sysParams.ddcFactorRx			= [12]*2
    sysParams.ddcFactorFb			= [12]*2
    sysParams.ducFactorTx			= [12]*2
    
    sysParams.fbNco					= [curr_lo]*2
    sysParams.lowIfNcoRx			= [0,0]
    sysParams.lowIfNcoTx			= [0,0]
    sysParams.lowIfNcoFb			= [0,0]
    
    LMKParams.pllEn			=	True
    #sysParams.txIqmcExternalDelayValue=[0x4f7,0x4f7,0x4f7,0x4f7]
    LMKParams.lmkFrefClk	=	True
    #LMKParams.inputClk		=	1474.56
    LMKParams.sysrefFreq	=	0.96
    '''
    for i in range(4):
    	sysParams.agcRegConfigParams[i]['enableIa']=1	#Enable Internal AGC for RX
    	sysParams.agcRegConfigParams[i]['dgcEnable']=1
    	sysParams.agcRegConfigParams[i]['dgcMode']=3
    	sysParams.agcRegConfigParams[i]['coarseIndexBits'] = 4
    	sysParams.agcRegConfigParams[i]['coarseStep'] = 6
    	sysParams.agcRegConfigParams[i]['enableEl']=0
    	
    	sysParams.agcRegConfigParams[i]['thresholdSa']=-3
    	sysParams.agcRegConfigParams[i]['windowLenSa']=256
    	sysParams.agcRegConfigParams[i]['stepSizeSa']=1
    	sysParams.agcRegConfigParams[i]['numHitsSa']=32
    	sysParams.agcRegConfigParams[i]['enableSa']=1
    	
    	sysParams.agcRegConfigParams[i]['thresholdSd']=-7
    	sysParams.agcRegConfigParams[i]['windowLenSd']=512
    	sysParams.agcRegConfigParams[i]['stepSizeSd']=1
    	sysParams.agcRegConfigParams[i]['numHitsSd']=32
    	sysParams.agcRegConfigParams[i]['enableSd']=1
    	
    	sysParams.agcRegConfigParams[i]['thresholdBa']=-2
    	sysParams.agcRegConfigParams[i]['windowLenBa']=128
    	sysParams.agcRegConfigParams[i]['stepSizeBa']=3
    	sysParams.agcRegConfigParams[i]['numHitsBa']=32
    	sysParams.agcRegConfigParams[i]['enableBa']=1
    	
    	sysParams.agcRegConfigParams[i]['thresholdBd']=-6
    	sysParams.agcRegConfigParams[i]['windowLenBd']=256
    	sysParams.agcRegConfigParams[i]['stepSizeBd']=3
    	sysParams.agcRegConfigParams[i]['numHitsBd']=32
    	sysParams.agcRegConfigParams[i]['enableBd']=1
    '''	
    #GPIO assignment
    sysParams.gpioMapping={
    	'U18': u'tx_fb_loop_1',
    	'T18': u'tx_fb_loop_2',
    	'V18': u'tx_fb_loop_0',
    	'T13': u'tdd_1f_en_ab',
    	'V13': u'tdd_2r_en_ab',
    	'C13': u'tdd_2r_en_cd',
    	'U14': u'tdd_2t_en_ab',
    	'D14': u'tdd_2t_en_cd',	
    	'V5': u'adc_sync_n_ab_0',
    	'C5': u'adc_sync_n_cd_0',
    	'U5': u'adc_sync_n_ab_1',
    	'D5': u'adc_sync_n_cd_1',
    	'Y5': u'dac_sync_n_ab_0',
    	'A5': u'dac_sync_n_cd_0',
    	'W5': u'dac_sync_n_ab_1',
    	'B5': u'dac_sync_n_cd_1',
    	'E17': u'alarm_2',
    	'C17': u'alarm_1',	
    	'E16': u'global_pdn'
    	}
    sysParams.gpioConfigMode=1
    #end GPIO assignment
    
    #Calibrations
    sysParams.enableRxDsaFactoryCal 	  = False
    sysParams.enableTxDsaFactoryCal 	  = False
    sysParams.enableTxIqmcLolTrackingCorr = True
    sysParams.enableRxIqmcLolTrackingCorr = True
    sysParams.txIqMcCalibMode			  = 0		# 0 -Single Fb Mode FB AB ; 1 -Single Fb Mode FB CD ; 2- Dual Fb_Mode
    sysParams.txDsaCalibMode			  = 0
    sysParams.rxDsaCalibMode			  = 0
    
    setupParams.skipFpga=0
    setupParams.skipLmk=0
    
    logDumpInst.setFileName(ASTERIX_DIR+DEVICES_DIR+r"\Hongxin_2T2R1F_MU_config.txt")
    logDumpInst.logFormat=0x4
    logDumpInst.rewriteFile=1
    logDumpInst.ignoreLogComments=0
    logDumpInst.enableReadCheck=True
    logDumpInst.enableReads= False
    
    device.rawWriteLogEn=1
    device.rewriteFile=1
    device.rawWriteLogsFile=ASTERIX_DIR+DEVICES_DIR+r"\test.txt"#"D:\AFE77xx_config/testBroadcast.txt"
    lmk.rawWriteLogEn=1
    lmk.rawWriteLogsFile=device.rawWriteLogsFile
    
    
    # AFE.initializeConfig()
    AFE.deviceBringup()
    
    device.rawWriteLogEn=1
    lmk.rawWriteLogEn=0
    
    engine.sampleNo=32768
    
    AFE.TOP.overrideTdd(1, 1, 1)
    
    device.currentPageSelected.setValue(0)

    Hongxin_SN18064_config_4t4r1fb_singleband_TDD_configuration file.txt