CyU3PDmaMultiChannelGetBuffer returns CY_U3P_ERROR_INVALID_SEQUENCE

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

cross mob
bk
Level 2
Level 2
5 replies posted 10 sign-ins 5 sign-ins

Hi,

I'm using Cx3.

My system is "pc - cx3 - isp - sensor" and symptom is camera reboot frequently.

Details are as below:

#1 I used debugprint and found it go to DmaCallback function. in Dmacallback function, CyU3PDmaMultiChannelGetBuffer() returns CY_U3P_ERROR_INVALID_SEQUENCE.
#2 When I plug the cx3 into the main board, the symptom of #1 appears.
#3 When I plug the cx3 into the powered Usb-Hub, there's no problem.
#4 I've used the same F/W on the other Cx3 board(same feature), but there's no issue.

Base code is Cx3UvcAS0260.

How can i fix this problem???

thank you

0 Likes
1 Solution
3 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

1. Is the video channel type changed from CY_U3P_DMA_TYPE_MANUAL_MANY_TO_ONE (as in base code) to CY_U3P_DMA_TYPE_AUTO_MANY_TO_ONE?

2. If it is manual, then, can you recheck if Invalid sequence is returned by CyU3PDmaMultiChannelGetBuffer OR CyU3PDmaMultiChannelCommitBuffer?

Regards,

Hemanth
0 Likes
bk
Level 2
Level 2
5 replies posted 10 sign-ins 5 sign-ins

1. it is CY_U3P_DMA_TYPE_MANUAL_MANY_TO_ONE 

2. there was miss typing. CY_U3P_ERROR_INVALID_SEQUENCE is from CyU3PDmaMultiChannelCommitBuffer(). and CyU3PDmaMultiChannelGetBuffer() returns CY_U3P_SUCCESS.

Regards,

Bk

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi Bk,

Please check this link Invalid Sequence Error in Multi-Channel Commit Buffer - KBA218830

Regards,

Hemanth
0 Likes