Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

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

USB superspeed peripherals Forum Discussions

bk
Level 2
10 sign-ins 5 sign-ins First solution authored
Level 2

hello,

I'm using cx3, and having a trouble with host application.

Window10 Camera application is okay. but AMCap (or e-cam viewer) displays black screen.

 all applications display 720(1284x720) 60fps well

but, 1080(1920x1080) 60fps is black screen (except window10 Camera Application).

Currently, I think it is Associated with Dma Buffer size. Because it depends on image size.

          #define CX3_UVC_DATA_BUF_SIZE (0x8FD0)
          #define CX3_UVC_DATA_NUM_BYTE 0x00, 0x90, 0x00, 0x00  

Could you tell me why and how to fix it?

 

thank you

  

0 Likes
1 Solution
bk
Level 2
10 sign-ins 5 sign-ins First solution authored
Level 2

Hello, 

i've fixed the bug.

and it's because wrong response to "UVC GET_DEF Request"

Thanks for your help

View solution in original post

0 Likes
2 Replies
JayakrishnaT_76
Moderator
Moderator First question asked 1000 replies posted 750 replies posted
Moderator

Hello,

Can you please share the complete UART debug logs for us to check? It looks like the issue is due to commit buffer failures which is caused due to a slow host (host application being slow in issuing IN tokens). This can be confirmed by looking into the UART debug logs. So, kindly share the logs for us to check.

Best Regards,
Jayakrishna
0 Likes
bk
Level 2
10 sign-ins 5 sign-ins First solution authored
Level 2

Hello, 

i've fixed the bug.

and it's because wrong response to "UVC GET_DEF Request"

Thanks for your help

0 Likes