mwip kernel module on Zynq 7000 series and AD 9361
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Neil MacEwen
el 15 de Mzo. de 2022
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 comentarios
Ver también
Categorías
Más información sobre Multicore Processor Targets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!