- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to poll SGDMA for incoming packets from the network in TSE, here what I am doing is constructing the descriptor and submitting it with do_sync_transfer and it polls BUSY bit and returns when completed, after that I am reading data and store to buffer. But my code stuck in polling busy bit in the do_sync_transfer. Any body know how to solve this?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you sure the SGDMA actually does the transfer? Try and monitor is with SignalTap. do_sync_transfer should return as soon as the DMA is finished.
Do you have a descriptor chain where the first descriptor has OWNED_BY_HW set to 1 and the second has is to 0?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page