AnsweredAssumed Answered

AD9361 Filter coefficient issue

Question asked by Mark1 on Nov 3, 2017
Latest reply on Nov 10, 2017 by dparks

When I load filter coefficients into the AD9361 through the IIO driver, the driver crashes and leaves a stack trace. 

 


Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c0501f84>] (ad9361_dig_tune) from [<c04f74c0>] (ad9361_set_trx_clock_chain+0x1d0/0x28c)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c04f74c0>] (ad9361_set_trx_clock_chain) from [<c04fb46c>] (ad9361_validate_enable_fir+0x23c/0x2bc)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c04fb46c>] (ad9361_validate_enable_fir) from [<c04fcc08>] (ad9361_phy_store+0x2d4/0x930)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c04fcc08>] (ad9361_phy_store) from [<c0222b74>] (kernfs_fop_write+0x130/0x1a0)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c0222b74>] (kernfs_fop_write) from [<c01cd8b4>] (__vfs_write+0x1c/0x108)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c01cd8b4>] (__vfs_write) from [<c01ce50c>] (vfs_write+0xb8/0x144)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c01ce50c>] (vfs_write) from [<c01cf058>] (SyS_write+0x3c/0x74)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: [<c01cf058>] (SyS_write) from [<c0106c60>] (ret_fast_syscall+0x0/0x3c)
Nov 2 21:44:08 xilinx-zc706-2017_2 user.emerg kernel: Code: 03e06012 0a000015 e59850c4 e58dc010 (e595330c)
Nov 2 21:44:08 xilinx-zc706-2017_2 authpriv.info dropbear[1316]: Exit (root): Exited normally
Nov 2 21:44:08 xilinx-zc706-2017_2 user.warn kernel: ---[ end trace cb89f0568cbb8822 ]---

 

 

This is the sequence of commands I issue that causes this issue. 

 

cd /sys/bus/iio/devices/iio:device0
cat /config/filters/LTE10_MHz.ftr > filter_fir_config
echo 1 > in_out_voltage_filter_fir_en

 

I have seen similar reports of this issue on this forum but not a solution that solves things for me. I have attached the standard LTE 10MHz filter file as well. Can someone please help me with this? We are running the latest IIO driver from github on PetaLinux. 

 

Best Regards,

Mark

Attachments

Outcomes