ZHCUDB5B October 2019 – September 2025
啟用 DAC 上的數(shù)據(jù)傳輸功能和 ADC 上的數(shù)據(jù)采集功能。此時調(diào)整 RXNCO、FBNCO 和 TXNCO。
此時調(diào)整 RXDSA、FBDSA 和 TXDSA。
## Set RX DSA
afeInst = 0 #AFE Instance of AFE79_INST_TYPE type. If using the EVM this should be 0.
rxChSel = 0 #Value to select the RX chain.Value 0 for RXA to 3 for RXD.
dsaSetting = 20 #Analog DSA Index. Attenuation applied is dsaSetting*0.5dB
CAFE.setRxDsa(afeInst,rxChSel,dsaSetting)
## Set TX DSA
afeInst = 0 #AFE Instance of AFE79_INST_TYPE type. If using the EVM this should be 0.
txChSel = 0 #Value to select the TX chain.Value 0 for TXA to 3 for TXD.
dsaSetting = 20 #Analog DSA Index. Attenuation applied is dsaSetting*1dB
CAFE.setTxDsa(afeInst,txChSel,dsaSetting)