enjoy-digital / xtrx_julia

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

Test the full digital chain over PCIe. #5

Open enjoy-digital opened 2 years ago

enjoy-digital commented 2 years ago

Depends on #1, #2, #3, #4. Instead of doing a loopback directly in the DMA as done with LitePCie's dma_test, the loopback will be done in the LMS7002M (DLB). This will allow validating the full digital chain and througput with the LMS7002M in the loop.

Since the LMS7002M interface is on 12-bit (similar to I/Q samples) and sample on the Host will probably be aligned on 16-bit, the dma_test will have to be adapted to ignore the 4 MSB bits.

enjoy-digital commented 2 years ago

This has been tested successfully at up to 750Mbps:

with the following commands:

LimeSuiteGUI (and open/load xtrx_dlb.ini)
cd software/app
make
./litex_xtrx_util lms_set_tx_rx_loopback 0
./litex_xtrx_util lms_set_tx_pattern 0
./litex_xtrx_util dma_test -e -w 12