[Zynq ad9361 fmscomms2 qpsk co-design] How to increase the sampling rate

1 vue (au cours des 30 derniers jours)
hoang viet
hoang viet le 6 Oct 2017
Commenté : Saqib Ali le 13 Avr 2018
Hello,
I'm working for a project to streaming video base on Zynq and Fmscomms2 hardware, we base on the hardware-software co-design example
https://www.mathworks.com/help/supportpkg/xilinxzynqbasedradio/ug/zedboardandfmcomms234transmitter.html Now I'm able to streaming video base on this example but the bit-rate is slow. I found that its because the baseband sample rate of this example is quite slow (520kHz). I try to increase it to 2MHz and its ok. But for 4MHz or 8MHz which is fit with my requirement The Tx DMA underflow occurs many times. I think I should tuning some parameter to do that. I use all the default parameter of example and just tuning the
RadioFrontEndSampleRate
to 8MHz, the Schedule of this example is DMA transmit interrupt, its mean it will push data immediately after DMA done, so I don't see why underflow can happen, DMA speed is not enough ?
I try to increase the RadioFrontEndSampleRate to 8MHz and probing the sample time of interface model and simulation model and the sample time of interface model still lower than sample time of simulation model.
The sample time is 0.0024 x 10000 and we packing 50 Sample so the it is 0.000048 x 200.
Same with simulation model. (0.000048) so why the underflow happens ?
Plz help, We stucking in this point for a week.
  5 commentaires
Ejaz. S
Ejaz. S le 12 Avr 2018
Dear Neil,
I am also facing the similar problem. In a software generated model, my baseband sample rate is 2MHz and I am generating "Hello World 0xx" message at a rate of 7kbps, after repeat block which is 254x and adding a buffer I match the rate to 2MHz. Although it solves the problem in an Accelerator mode, however, when used in an external mode or deployed mode the underflows occur frequently and the spectrum becomes bursty. It appears and disappears. Furthermore, I have also tried to build for faster runs yet no improvement. I think many users are facing the same problem. Actually the capability of ARM is not clear and how DMA is configured to control AXI interface is not obvious. Can you shed some light over this issue? Thanks.
Saqib Ali
Saqib Ali le 13 Avr 2018
Hi Neil I would like to add a similar issue which I am facing . I am trying to get a frame of 104 int16 from the PL to arm . When I keep the buffer to a multiple of the input frame things go fine, but when I make the arm buffer equal to 4000 which is not a multiple I get missing in the received data . Please note that I am using the ipcore generation which uses the axi stream and DMA here. Any comments or suggestions on this please ?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by