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.
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