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

USB superspeed peripherals Forum Discussions

Ready
Level 1
First like given 5 replies posted First reply posted
Level 1

Hello, recently I met a problem that  when I call CyU3PEventGet, it always return 5 (CY_U3P_ERROR_BAD_SIZE), instead of return 7 (CY_U3P_ERROR_NO_EVENTS).  Do you know which cases would trigger this?

 

Thanks in advance. 

0 Likes
1 Reply
Rashi_Vatsa
Moderator
Moderator 500 solutions authored 1000 replies posted 750 replies posted
Moderator

Hello,

Please confirm if the parameters passed to the API are proper. Please refer to the FX3 API Guide for more details.

Kindly confirm if the event is created  in application define function  and SET successfully before using CyU3PEventGet API

Regards,
Rashi
0 Likes