Question on DMA Buffer & Size Config

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

cross mob
Anonymous
Not applicable

Hi,

   

I haven't succeed in changing size/count. How should I choose numbers? Originally it  was 0x8FD0 (~36K) and  count = 3. Now I have tried 0x3FF0 (~16K) with count = 4. Why this one was not working? 

   

Also how many buffers will it be there for each socket when I'm using one to many or many to one?
 

   

Looking forward to your reply.

   

 

   

Regards,

   

David

0 Likes
2 Replies
Anonymous
Not applicable

16K with count = 4, means every socket of the multi side will have count * number of multi-sockets of 16 KB. 

   

If you have one to many (2) channel; it will mean 2* 4* 16 KB

   

Are you creating any other channel in the FX3 firmware? What is the error code returned by the channelcreate API? Please attach your firmware if possible.

0 Likes
Anonymous
Not applicable

We were able to set the size and buffer count correctly. The code is based on cypress sample for UVC.

   

Thanks!

   

David

0 Likes