element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design AXI DMA with custom AXI streaming IP in Zynq
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 339 subscribers
  • Views 2058 views
  • Users 0 members are here
Related

AXI DMA with custom AXI streaming IP in Zynq

shakith
shakith over 12 years ago

Hi,

I am testing a custom IP(default one created by CIP - simple 8 word accumulator) based on AXI STREAMING interface, where the IP is connected to a AXI DMA that transfers data from the OCM and back. Though the data returned is correct, the status register of the DMA-S2MM shows a assertion on the following pins. Halted, DMAIntErr, IOC_Irq and Err_Irq. Tlast is driven zero constantly by the generated IP. DMA halts because it doesn't detect the TLast? Is there any other configuration issue?

The MHS file sections are as follows and the c file is attached.

BEGIN test_axis
PARAMETER INSTANCE = test_axis_0
PARAMETER HW_VER = 1.00.a
BUS_INTERFACE M_AXIS = test_axis_0_M_AXIS
BUS_INTERFACE S_AXIS = axi_dma_0_M_AXIS_MM2S
PORT ACLK = processing_system7_0_FCLK_CLK0
PORT ARESETN = processing_system7_0_FCLK_RESET0_N
END

BEGIN axi_dma
PARAMETER INSTANCE = axi_dma_0
PARAMETER HW_VER = 6.03.a
PARAMETER C_INCLUDE_SG = 0
PARAMETER C_GENERIC = 1
PARAMETER C_BASEADDR = 0x40400000
PARAMETER C_HIGHADDR = 0x4040ffff
BUS_INTERFACE S_AXI_LITE = axi_lite
BUS_INTERFACE M_AXI_MM2S = axi_hp
BUS_INTERFACE M_AXI_S2MM = axi_hp
BUS_INTERFACE S_AXIS_S2MM = test_axis_0_M_AXIS
BUS_INTERFACE M_AXIS_MM2S = axi_dma_0_M_AXIS_MM2S
PORT m_axi_mm2s_aclk = processing_system7_0_FCLK_CLK0
PORT m_axi_s2mm_aclk = processing_system7_0_FCLK_CLK0
PORT s_axi_lite_aclk = processing_system7_0_FCLK_CLK0
PORT mm2s_introut = axi_dma_0_mm2s_introut
PORT s2mm_introut = axi_dma_0_s2mm_introut
PORT axi_resetn = processing_system7_0_FCLK_RESET0_N
END

BEGIN axi_interconnect
PARAMETER INSTANCE = axi_hp
PARAMETER HW_VER = 1.06.a
PARAMETER C_INTERCONNECT_CONNECTIVITY_MODE = 1
PORT INTERCONNECT_ACLK = processing_system7_0_FCLK_CLK0
PORT INTERCONNECT_ARESETN = processing_system7_0_FCLK_RESET0_N
END
BEGIN axi_interconnect
PARAMETER INSTANCE = axi_lite
PARAMETER HW_VER = 1.06.a
PARAMETER C_INTERCONNECT_CONNECTIVITY_MODE = 0
PORT INTERCONNECT_ACLK = processing_system7_0_FCLK_CLK0
PORT INTERCONNECT_ARESETN = processing_system7_0_FCLK_RESET0_N
END

  • Sign in to reply
  • Cancel
  • shakith
    0 shakith over 12 years ago

    AXI DMA asserts DMAIntErr when it compares the number of received bytes to the number set in the memory mapped register. How AXI DMA calculate the number of received bytes from S2MM AXI Streaming interface.

    Is it the number of bytes received from the first TValid asserted (1st after the previous Tlast) and until next Tlast.? In that case a simple streaming IP(only with TDATA, TREADY, TVALID and TLAST) cannot be connected easily to a AXI DMA. Is there a example of working AXI Streaming Master and slave IP that works with the AXI DMA?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shakith
    0 shakith over 12 years ago

    For anyone's infomation, the issue was solved by asserting TLast on the S2MM channel on the transfer of the last byte/word.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube