- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use CYT4B uart,i want set rx dma mode,but i can't find how to use dma circual mode and i can't find api to get dma fifo current pointer,so i can't get the dma transfer process.
how to solve it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Kindly refer to the descriptor chaining in Application Note AN220191:
--AN220191 How to Use Direct Memory Access (DMA) Controller in Traveo II Family
In addition, we have DMA sample code in our SDL and you can refer to it.
Best regards,
Amy Wang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Kindly refer to the descriptor chaining in Application Note AN220191:
--AN220191 How to Use Direct Memory Access (DMA) Controller in Traveo II Family
In addition, we have DMA sample code in our SDL and you can refer to it.
Best regards,
Amy Wang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you
but i have read this document before i ask this question,i can't find how to use uart dma loop mode and i cant find how to get the progress of the dma transfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
你好,我没太理解你的应用为什么需要时时获取DAM传输的进度或者需要一个什么样的环形DMA。我们SDL (sample driver library)里面有提供UART FIFO + DMA的例程,请先参考例程看是否满足你的需求。如果你没有SDL,请联系我们的分销商或者销售人员。
Best regards,
Amy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have read UART FIFO + DMA example, but i can not know when the fifo is full, so i don not know when to restart the dma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Or i want to know the cypress register like stm32 dma register NDTR,which whill tell the remain dma progress count.
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly check register DW_CH_STRUCT_CH_IDX.X_IDX, DW_CH_STRUCT_CH_IDX_Y_IDX in TRM.