Jump to content

Ciprian

Digilent Staff
  • Posts

    91
  • Joined

  • Last visited

Posts posted by Ciprian

  1. Hi @ebaser,

    Generally speaking if you want real time data processing, most of the processing part needs to be done in the PL side of design; as Linux and in some cases bare-metal even are not fast enough to satisfy the required speed. Our current architecture is not designed, yet, to allow a easy interface between PL processing and PS. My recommendation is to focus on our low level example if you want real time processing ( Low Level example ).

    - Ciprian

  2. Hi @cwerner77,

    I tried to reproduce the problem but unfortunately I could not. You are right though in your assumption, it most likely is a DMA related problem, it expects to receive a certain amount of samples and if the stream is interrupted for some reasons it will stop. If you can record the first time and play back as well then it's most likely not an Audio codec issue.

    The most likely problem is that the DMA is either in an error state or the IP is no responding to the DMA request. There is a bug in the Demo that if you reprogram the FPGA without resting the board the DMA will hang. Either way I would recommend trying to reset the DMA controller before every playback or record. This would narrow down the search for why it does not work. This can be done with the XAxiDma_Reset() function.

    I'm also assuming at this point that you did not change anything in the Vivado project or the SDK sources. If you did please let me know, it is unlikely but it might effect the demo.

    - Ciprian

  3. Hi @Jeremy,

    Petalinux creates a series of .dts files based on your Hardware Description File, these are overwritten by the system-user.dtsi located in:

    <petalinux project root>/project-spec/meta-user/recipes-bsp/device-tree/files

    and the automatically created device tree files are here:

    <petalinux project root>/components/plnx_workspace/device-tree/device-tree-generation

    The petalinux project for Zybo-z7-20 from our github is configured based on this Vivado project which contains VTC, HDMI, I2S and other IPs. Consequently the  system-user.dtsi is used to redefine parameters of the automatically generated device tree files.

    What you will have to do is rewrite the system-user.dtsi to suit your needs. Basically as far as I can tell from your .hdf you only have one axi gpio in the PL. This means that you will have to remove all the IP's from it which are not in your PL(you can see a list of them in the error you sent us) and if you want to use a different driver for your axi gpio IP you will have to add it to the system-user.dtsi and make the changes there

    -Ciprian

×
×
  • Create New...