USB HID communication with DMA w/Automatic Memory Management

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am creating one application which requires me to create USB HID Device with DMA w/Automatic Memory Management.

   

But looks like it is not working. When i change it to Manual (Default) setting it is working perfectly.

   

I have created USB HID Device two End Points one for IN and other is OUT and both are INT endpoints.

   

Can you please tell me  is it possible to send data to endpoints using Automatic Memory Managements?

0 Likes
1 Reply
Anonymous
Not applicable

Hi Vijay,

   

There is a forum post, in which the project explains quite explicitly on how to use the DMA with Automatic Memory Management. Can you check the project in this post and see if it helps you understand the error?

   

http://www.cypress.com/?app=forum&id=2233&rID=85682

   

 

   

The APIs work differently for the DMA with Automatic Memory Management. 

   

Eg: The LoadINEP needs to be used with the argument NULL (for data buffer) when you simply want the data to be sent. If you want to change the buffer being pointed to, use the LoadINEP with the proper buffer pointer.

   

Cheers.!!!

0 Likes