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

USB superspeed peripherals Forum Discussions

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
750 replies posted 50 likes received 500 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
750 replies posted 50 likes received 500 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