- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
what is going to happen if the HOST fills all the fifos in the dma of the fx3 and the FPGA did not start reading yet?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Younis,
Firstly we have to verify that whether DMA buffers are getting filled with data. For that you can make DMA channel as manual and then print some UART debug message when you get DMA callback.
Thanks & RegardsAbhinav Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Younis,
If all the DMA buffers get filled and its not consumed by the consumer then you will get commit buffer failures.
Thanks & Regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok.
What could be the reason the FX3's buffer flags are not changing and indicating there is no data that the FPGA can read! the flags are disappearing for few sofs say 32 sofs. and also this is not happening on all the type of operating system!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Younis,
Do you mean to say that FX3's Full flag is not asserting as expected? And this is not happening with all the operating systems. Which OS is running on the host side?
-- the flags are disappearing for few sofs say 32 sofs.
Please explain further.
I assume that OS is running on host machine, not on FPGA side. Correct me if I am wrong.
Thanks & Regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
exactly! FX3's Full flag is not asserting as expected! And this is not happening with all the operating systems!
I can see the problem with MAC OS and rarely on windows!
yes. the flags are not asserting and the period of not asserting takes for 32 start of frame!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Younis,
Firstly we have to verify that whether DMA buffers are getting filled with data. For that you can make DMA channel as manual and then print some UART debug message when you get DMA callback.
Thanks & RegardsAbhinav Garg