Announcements

Industry-first USB 10Gbps device controller. Check it out now!

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

cross mob
dhbsdhtghre
Level 2
Level 2
25 sign-ins 10 questions asked First reply posted

When creating a DMA channel, can the size of a single DMA buffer be specified as 8 bytes and the number of the DMA buffers be specified as one?The code is as follows:

CyU3PDmaChannelConfig_t dmaConfig;

dmaConfig.size = 8;
dmaConfig.count = 1;
...

/* Create the channel */
status = CyU3PDmaChannelCreate (..., &dmaConfig);

 

0 Likes
1 Solution
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hello,

please go through this KBA to understand buffer size allocation and memory allocation.

DMA buffer count and size allocation in EZ-USB™ FX3/CX3

generally, buffer size is given based on the Speed of the USB bus will be Full speed =64 bytes,High speed =512, super speed =1024 and buffer count will be defined as the buffer count.

Can you please share your end application and block diagram, what you want to implement?

Please reply on same thread soo we can answer here .

Thank you

Varun Narolkar

 

 

 

 

 

 

 

View solution in original post

0 Likes
1 Reply
narolkarvarun
Moderator
Moderator
Moderator
5 likes given 100 solutions authored 250 replies posted

Hello,

please go through this KBA to understand buffer size allocation and memory allocation.

DMA buffer count and size allocation in EZ-USB™ FX3/CX3

generally, buffer size is given based on the Speed of the USB bus will be Full speed =64 bytes,High speed =512, super speed =1024 and buffer count will be defined as the buffer count.

Can you please share your end application and block diagram, what you want to implement?

Please reply on same thread soo we can answer here .

Thank you

Varun Narolkar

 

 

 

 

 

 

 

0 Likes