AnsweredAssumed Answered

Setting up a Custom Profile for LTE20MHz using IIO Oscilloscope in AD9371

Question asked by lnreddy123 on Nov 15, 2016
Latest reply on Jan 5, 2017 by rejeesh

Hi ,


I have tried using Matlab filter Wizard to generate the Profile for our custom application.


Later I have tried using following instructions to load the profile config as described below


Filter and Signal Path Configuration


AD9371 uses profiles to designate different device configuration settings for the Tx/Rx/ORx/SnRx channels. When selecting a profile, note that Rx1 and Rx2 use the same profile; Tx1 and Tx2 use the same profile; ORx1 and ORx2 use the same profile; and SnRxA, SnRxB, and SnRxC use the same profile. The profile dictates how the digital filters, analog filters, clock rates, and clock dividers are configured in the device. Some specific parameters set by profiles include the IQ data rate, ADC clock rate, analog filter corners, FIR filter coefficients, and interpolation/decimation factors in the half band filters. Several profiles can be examined in the AD9371 Transceiver Evaluation Software for given device clock frequencies. If the desired profile exists in the software, it is recommended to setup the desired profile in and use the data structure values generated by the “Create Config.c File” button for the Tx/Rx/ORx/SnRx profile data structures. Custom profiles can be generated using other ADI software tools not described here MATLAB Profile/Filter Generator for AD9371.

Loading a Profile

This specifies any shell prompt running on the target

root@analog:/sys/bus/iio/devices/iio:device3# cat /usr/local/mykonos/profiles/lte20.txt > profile_config  root@analog:/sys/bus/iio/devices/iio:device3# 


The command throws back with an error as following.


analog@analog:/sys/bus/iio/devices/iio:device3$ cat /home/analog/Desktop/profile20Mhz.txt > profile_config
cat: write error: Bad address