SBAU338B October 2019 – September 2025
Enable data transmission on the DAC and data capture on the ADC. Adjust the RXNCO, FBNCO, and TXNCO at this point.
Adjust the RXDSA, FBDSA, and TXDSA at this point.
## 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)