Skip to content

nxp-qoriq/la931x_iqplayer

Repository files navigation

LA9310 iqplayer repository

la931x_iqplayer repository contains basic application allowing to stream time domain IQ samples with la9310 SOC. It includes VSPA firmware source code. It includes host linux scripts to control VSPA firmware. It also includes host linux library and application example.

Requirements

Libraries

This repository includes following elements:

  • iqplayer_cwproj source code, Makefile and CW projects allowing to compile VSPA firmwares supporting usecases 1T1R, 1T, 1R, 1T2R.
  • host-utils linux user space utilities:
    • Basic linux shell scripts to start/stop transfers ./iq-replay.sh, ./iq-capture.sh, ./iq-stop.sh
    • iq_mon : statistic monitoring showing traffic in various dma/fifos
    • iq_trace : dump VSPA trace information used to debug/profile VSPA firmware
    • iq_app/lib_iqplayer : Application example, showing how to stream traffic to/from upper stack

Compile iqplayer firmware and utilities

set compiler install path default (VSPA_TOOL ?= /opt/VSPA_Tools_vbeta_14_00_781)

make
make install
scp -r install/* root@<targetIP>:/

Usage - Play/Capture waveforms from/to binary files

load and start VSPA firmware

 ./load-la9310.sh

confugre RF (optional for axiq loopback or breakout card)

 ./config_run_rf.sh limetx
 ./config_run_rf.sh limerx

play (repeat) waveform from file

 ./iq-replay.sh ./tone_td_3p072Mhz_20ms_4KB1200_2c.bin 1200

capture (one time) iq samples into file

 ./iq-capture.sh ./iqdata.bin 1200

capture (repeat) in DDR buffer

 ./iq-capture-ddr.sh 1200
 ./iq-stop.sh
 bin2mem -f iqdata.bin -a 0x9CC00000 -r 4915200

digital/axiq loopback using dfe app control

 mount -t hugetlbfs none /dev/hugepages
 echo 24 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
 dpdk-dfe_app -c "axiq_lb enable"

Usage - iq_app Tx use case

Default examples use 32KB TX FIFO in DDR

   ./iq-app-tx.sh ./tone_td_3p072Mhz_20ms_4KB1200_2c.bin 
   ./iq-stop.sh

Usage - iq_app Rx use case

Default examples use 128KB RX FIFO in DDR

   ./iq-app-rx.sh ./iq-data.bin
   ./iq-stop.sh
   kill <iq_streamer PID>

About

la931x_iqplayer repository contains basic application allowing to stream time domain IQ samples with la9310 SOC. It includes VSPA firmware source code. It includes host linux scripts to control VSPA firmware. It also includes host linux library and application example

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors