We have CAPI
dacJesdConstantTestPatternValue which can send fix I and Q value in
TX Chain at the input to NCO. A Single tone at NCO value and the tone amplitude
can be controlled using the I and Q values.
This test is useful in case of
checking if TX Chain is configured properly when random or improper data in TX
spectrum, In case of improper data if we enable the
dacJesdConstantTestPatternValue and see tone output is correct at
NCO, we can narrow down the problem is not in TX chain but in JESD block of TX
chain or the Serdes linkup or JESD of FPGA/ASIC.
We can use this test single tone for TX output power check or calibrating RX
chain equivalent to a signal generator and also program the frequency by
configuring the TX NCO dynamically with in some range, To configure NCO
dynamically, we can use CAPI updateTxNco.
Also, in case of any spur debug.
we can easily figure out the coupling point is inside AFE or external by
changing the TX DSA using CAPI setTxDsa. If the spur level change with
DSA in can be coupling somewhere internally in Chain if spur level does not
change with TX DSA or scale non-linearly it can be external coupling or two
sources with external coupling dominating.
AFE CAPI Libs also has option to internally read the dbfs power with in Tx
Chain, using CAPI readTxPower. This can also be handy during debug
test.