Send Data to PC using USB and DMA automatic buffer management

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

cross mob
Anonymous
Not applicable

Hi,

I am using PSoC5LP (CY8CKIT-059) in a sensor environment and want to send 24bit values via USB ISOC transfer to my PC.

Transmission of the desired data works well using manual buffer management without DMA, so I guess that in generell my USBFS peripheral is configured correctly.

Now I want to implement the same transmission using a DMA and automatic buffer management. I have a buffer array with adjustable length (let's say 100 uint8 entries).

Is there any resource which describes more or less exactly the DMA configuration and when to call which USBFS API function to maintain a continuous ISOC packet stream?


Best regards,
Max

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

Can you have a look at the project, "Project 3: Increasing USB Throughput with DMA" in http://www.cypress.com/documentation/application-notes/an56377-psoc-3-and-psoc-5lp-introduction-impl...

Thanks,

Hima

View solution in original post

0 Likes
1 Reply
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

Can you have a look at the project, "Project 3: Increasing USB Throughput with DMA" in http://www.cypress.com/documentation/application-notes/an56377-psoc-3-and-psoc-5lp-introduction-impl...

Thanks,

Hima

0 Likes