8 Replies Latest reply on Apr 18, 2019 6:21 PM by soqi_4187516

    CyU3PDmaChannelGetBuffer return 0x40(CY_U3P_ERROR_BAD_ARGUMENT)

              I use the sample MouseDemo(cyfx3_hid),I just add one line code to it,just as follows: void Fx3HidAppThread_Entry ( uint32_t input) { //..... for (;;) { status = CyFxHidSendReport ();//I just add this code if (status != CY_U3P_SUCCESS){ CyU3PDebugPrint (4, "CyFxHidSendReport err= 0x%x \r\n",status); } //.... But the uart debug err message is CyU3PDmaChannelGetBuffer return 0x40, what's the problem? and How to fix it? Thanks. status = CyU3PEventGet (&glHidAppEvent, evMask, CYU3P_EVENT_OR_CLEAR, &evStat, CYU3P_WAIT_FOREVER);