-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
hello ,I transplanted your project. My camera can be recognized and configured successfully, but there is no data output.
Stuck here
case VIDEO_STATE_DATA_IN:
result = USBH_LL_GetURBState(phost, VIDEO_Handle->camera.Pipe);
if((result == USBH_URB_DONE) && ((phost->Timer - VIDEO_Handle->camera.timer) >= VIDEO_Handle->camera.Poll))
{
VIDEO_Handle->camera.timer = phost->Timer;
rxlen = USBH_LL_GetLastXferSize(phost, VIDEO_Handle->camera.Pipe);//Return the last transfered packet size.
video_stream_process_packet((uint16_t)rxlen);
USBH_IsocReceiveData(phost,
(uint8_t*)tmp_packet_framebuffer,
VIDEO_Handle->camera.EpSize,
VIDEO_Handle->camera.Pipe);
}
The value of result has always been VIDEO_STATE_IDLE
Metadata
Metadata
Assignees
Labels
No labels