VLC halts at the beginning of receiving UVC and UAC data form SlaveFIFO I/F

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

cross mob
lock attach
Attachments are accessible only for community members.
zhya_1029001
Level 1
Level 1

      The FX3 FW is an UAC + UVC  design.

      UAC & UVC data comes from FPGA via SlaveFIFO 32-bit I/F.

      When using VLC to capture both Audio and Video from FX3, the VLC halts. Looks like only one frame was captured and shown,  and there's no voice captured. However data from FX3 is  continuously received in VLC.

     When only UAC or only UVC is captured in VLC, it runs well. The issue only occurs when both UAC & UVC are captured.

     The DMA buf size for UVC in FX3 FW is 16 KB, and 192 bytes for UAC. UAC uses 48K Hz, stereo, 16b. And the video format is Full HD @ 60 HZ, YUY2.

     GPIF Thread 0 is for UVC and Thread 3 for UAC.

     The UVC and UAC use the slavefifo I/F in turn. Here is the detail.

      If audio data is available, 192 audio bytes will be sent to PC using Thread 3;

      else if video data is available, 16 KB will be sent to PC using Thread 0;

      else wait.

      When VLC starts capturing the video & audio, I can see 6 audio packets ( 6 x 192 bytes) were sent to PC, and then video data starts.

      What might be the cause of the issue?  

      Would it be the 16-KB video data in single transfer from FPGA  are too large?

      Thanks!

0 Likes
1 Reply
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

I found some old discussions might be helpful for you:

Example of UVC and UAC in single project?

FX3 UVC streaming stop after tens of seconds.

Roy Liu
0 Likes