CyU3PDmaMultiChannelCommitBuffer Get ErrorCode CY_U3P_ERROR_INVALID_SEQUENCE

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

cross mob
lock attach
Attachments are accessible only for community members.
xixu_4093676
Level 3
Level 3
25 replies posted 10 replies posted 10 questions asked

Hello,

     Refer to AN75779, I port related code to my project, But in the uvc dma callback function CyFxUvcApplnDmaCallback

    when call CyU3PDmaMultiChannelCommitBuffer, the function return CY_U3P_ERROR_INVALID_SEQUENCE(71).

   For your reference I attach my related code.

 

Thanks,

Martin.xu

 

       

0 Likes
1 Solution
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Martin,

Kindly check this KBA for the workaround for the error.

Also it is recommended to not use debug prints inside dma callback functions. As debug prints are slower and in the application like video streaming, dma callback functions are called more frequently. Instead global variables or events can be used to track the failures.

Best Regards,
AliAsgar 

View solution in original post

0 Likes
1 Reply
AliAsgar
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 750 replies posted

Hi Martin,

Kindly check this KBA for the workaround for the error.

Also it is recommended to not use debug prints inside dma callback functions. As debug prints are slower and in the application like video streaming, dma callback functions are called more frequently. Instead global variables or events can be used to track the failures.

Best Regards,
AliAsgar 

0 Likes