USB and DMA transfer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-06-22 3:12 AM
Posted on June 22, 2009 at 12:12
USB and DMA transfer
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:03 AM
Posted on May 17, 2011 at 13:03
Hi,
I'm trying to use DMA Memory2Memory feature to transfer USB data from endpoint buffer to user buffer. Instead of PMAToUserBufferCopy() function from library. I seems to be working but in very strenght way. Data from USB buffer is copied as 32bit value but ''older'' 16bits are always set to zero. Does anybody have any idea with this ? My question to ST support is: ''How to perform this such of transfer? (DMA instead of manual copying )'' Best regards, LukasOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:03 AM
Posted on May 17, 2011 at 13:03
Problem solved, thanks to everyone for help :)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:03 AM
Posted on May 17, 2011 at 13:03
Please explain how the problem was solved.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:03 AM
Posted on May 17, 2011 at 13:03
Hi STM32 User,
Does someone else find a solution to use DMA Memory2Memory to transfer to USB Endpoint Buffer? We have the exact same problem as Lukas when we configure the DMA to transfer 32bits to 32bits. The lower part is always set to zero. We try almost all type of DMA configuration without the right result. Is there a trick with pointer for USB Endpoint Buffer? :-? Best Regard