JuliaComputing / xtrx_julia

XTRX LiteX/LitePCIe based design for Julia Computing
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

TX calibration #143

Closed zsoerenm closed 1 year ago

zsoerenm commented 1 year ago
using Revise
includet("software/scripts/checkIQimbalance.jl")
sample_rate = 5u"MHz"
tbb_iq, tbb_tx = do_txrx(:tbb_loopback; skip_sanity_check = true, sample_rate) # Run at least twice after every change
tbb_iq, tbb_tx = do_txrx(:tbb_loopback; skip_sanity_check = true, sample_rate)
make_txrx_plots(tbb_iq, tbb_tx; name="tbb_loopback", sample_rate)

Note changes to LMS-driver: https://github.com/JuliaComputing/LMS7002M-driver/pull/13

ct.gain = 40u"dB"

is needed for TX calibration (>= 30dB)

zsoerenm commented 1 year ago

cc @sjkelly