cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

haxu_299926
New Contributor

It seems that there is no query about whether the buffer of DMA is ready. When the buffer is blocked, for example, when socket0 is finished and you want to jump to Socket1, but there is no buffer in Socket1, what will the statemachine do?

0 Likes
1 Solution
YashwantK_46
Moderator
Moderator

Hello,

Since there are no available free buffers in both the socket, the CyU3PDmaMultiChannelGetBuffer () and the CyU3PDmaMultiChannelCommitBuffer () API's would fail and the application would start and stop until the buffers are freed up to continue the streaming.

Regards,

Yashwant

View solution in original post

0 Likes
1 Reply
YashwantK_46
Moderator
Moderator

Hello,

Since there are no available free buffers in both the socket, the CyU3PDmaMultiChannelGetBuffer () and the CyU3PDmaMultiChannelCommitBuffer () API's would fail and the application would start and stop until the buffers are freed up to continue the streaming.

Regards,

Yashwant

View solution in original post

0 Likes