Other Parts Discussed in Thread: AFE7900, AFE7950
Tool/software:
Hey,
I'm trying to control the 16 NCOs present in each channel of the AFE7900. Below is a part of the Latte script I'm using. However, when I try to execute the code, I'm getting the following error. Could you please advise on what might be going wrong?
#======
#Executing .. AFE79xx/NCO_Hopping/configLMK.py
#Start Time 2024-10-16 18:31:45.275000
In second Nyquist operation of TX NCO, DAC Interleaved mode is not supported.
The External Sysref Frequency should be an integer factor of: 3.84MHz
2T2R1F Number: 0
Valid Configuration: True
laneRateRx: 9830.4
laneRateFb: 9830.4
laneRateTx: 9830.4
2T2R1F Number: 1
Valid Configuration: True
laneRateRx: 9830.4
laneRateFb: 9830.4
laneRateTx: 9830.4
LMK Clock Divider - Device registers reset.
LMK Clock Divider - Device registers reset.
REFCLOCK is used from LMK source, ensure board connections are ok to do the same
#Done executing .. AFE79xx/NCO_Hopping/configLMK.py
#End Time 2024-10-16 18:31:46.215000
#Execution Time = 0.939999818802 s
#================ ERRORS:1, WARNINGS:1 ================#
sysParams.gpioMapping={
'H8': 'ADC_SYNC0',
'H7': 'DAC_SYNC0',
'N8': 'ADC_SYNC2',
'N7': 'ADC_SYNC3',
'H9': 'ADC_SYNC1',
'G9': 'DAC_SYNC1',
'N9': 'DAC_SYNC2',
'P9': 'DAC_SYNC3',
'P14': 'GLOBAL_PDN',
'K14': 'FBABTDD',
'R6': 'FBCDTDD',
'H15': ['TXATDD','TXBTDD'],
'V5': ['TXCTDD','TXDTDD'],
'E7': ['RXATDD','RXBTDD'],
'R15': ['RXCTDD','RXDTDD'],
'D5': 'TX_NCOSEL_0',
'G10': 'TX_NCOSEL_1',
'T6': 'TX_NCOSEL_2',
'T5': 'TX_NCOSEL_3'}
sysParams.useSpiSysref = False
#setupParams.skipLmk = False
#AFE.LMK.lmkConfig()
############## 16 NCO Params ##############
sysParams.ncoFreqMode = "FCW"
sysStatus.txChainDirectCtrl=True
sysParams.txChainDirectCtrl=True
sysParams.ncoTxMode = [3,3]
sysParams.broadcastTxNcoSel = 1
sysParams.numTxNCO = 2
for i in range(16):
for j in range(3):
AFE.updateTxNcoInfiniteNcoMode(j,2000,i)
Thanks in advance,
LG