mwip kernel module on Zynq 7000 series and AD 9361
8 ビュー (過去 30 日間)
古いコメントを表示
Hello, one of my colleagues uses Simulink to create an elf file that interfaces with the Zynq 7000 series and AD9361 for RF transmit / receive application. However it always resets the transmit frequency to 2.44 ghz to calibrate which is problematic for us, and I am trying to look for the IOCTL that is being called from AD9361 kernel module (thru printk/debugfs etc), But I dont see them, I only see mwipcore traces like "mwipcore 43c20000.mwbypasstx: [MMAP] size:10000 pgoff: 0 when that elf file is launched.
Question: how does the elf file interact with the 9361 device thru mwipcore? Is it thru memap interface that mwipcore opens? I know the AD 9361 IIO devices are controlled via sysfs and sysfs uses SPI to fetch/set registers, thru the 9361 kernel module. But I am not sure if the matlab application is going thru that path. The reference platform is from Matlab/AD and I create the kernel/ram disk image thru buildroot from Matlabs repo. Also why would the 9361 transmit block on simulink not honor the tx frequency thats passed along to initialize it , it always calibrates using 2.44 ghz? Is something hard coded? Thanks
0 件のコメント
回答 (1 件)
Neil MacEwen
2022 年 3 月 15 日
Hi Ratin,
mwipcore doesn't interact with the AD9361 at all, it is used to configure the user IPCore that has been built into the FPGA bitstream by the targeting workflow. IT's basically for AXI-lite read and writes. mwbypasstx is a custom core that we include on the bitstream to allow bypassing of any custom IP core in the case when a user is doing streaming to the host.
The calibration that you see on startup is probably the calibration of the LVDS digital interface clocking between the FPGA and the AD9361, so the center frequency should have no bearing on that process. Is that the calibration you are referring to? What are you seeing that tells you the center frequency is changing?
We're looking to see if anything in our code that may change the center frequency, but we can't see anything as yet. MATLAB code calls directly into the AD9361 IIO driver, so you may be able to find a clue in there.
Thanks,
Neil
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multicore Processor Targets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!