cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

Hello,

I am trying to send a 5 KB packet from my linux PC to the PSoC using USB Bulk transfer. As far as I understand the Bulk Transfer can only support transfer of 64 bytes at a time. I am using the USB_Bulk_Wraparound example code to receive the data (ignoring the loop back by writing into IN Endpoint). I observe that I can only receive 64 bytes at time, no matter how much the Host is sending in one shot. I have configured the Endpoints buffer management in DMA with Automatic Buffer Management. I am using PSoC Creator 4.1. Any help would be greatly appreciated.

Thanks,

Anand.

0 Likes
1 Solution
ShipingW_81
Moderator
Moderator

Hi Anand,

Do you change the mode from DMA manual buffer management to DMA automatic buffer management directly based on the USB_Bulk_Wraparound example code?

The code for the two modes are different. Please have a try with attached project for automatic buffer management mode.

Best Regards,

Fred

View solution in original post

0 Likes
1 Reply
ShipingW_81
Moderator
Moderator

Hi Anand,

Do you change the mode from DMA manual buffer management to DMA automatic buffer management directly based on the USB_Bulk_Wraparound example code?

The code for the two modes are different. Please have a try with attached project for automatic buffer management mode.

Best Regards,

Fred

View solution in original post

0 Likes