one question about the statemachine of an75779

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

cross mob
haxu_299926
Level 3
Level 3
10 replies posted 5 replies posted 5 questions asked

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
Moderator
100 solutions authored 50 solutions authored 50 likes received

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
Moderator
100 solutions authored 50 solutions authored 50 likes received

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

0 Likes