咨询一下cx3 采用usb2.0 支持高分辨率问题

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

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

cross mob
liuzhengxiang
Level 4
Level 4
25 replies posted 25 sign-ins 10 replies posted

你好,资料说明usb2.0 最高只是速度大480Mbps.

1080p@30fps Max bit rate (bits/s): 1080 x 1920 x 2 x 30 x 8 = 995328000 转换一下为约99Mbps

5MP@15fps  /* Max bit rate @15fps (bits/s): 2592 x 1944 x 2 x 15 x 8 = 1209323520 */转换一下为约120Mbps

720p@ 60fps  /* Max bit rate @60fps (bits/s). 720 x 1280 x 2 x 60 x 8 = 884736000 */转换一下为约88Mbps

但是我把cx3配置为usb2.0 CyU3PConnectState (CyTrue, CyFalse);//CyTrue =usb3.0,CyFalse=usb2.0^

然后把cycx3_uvcdscr.c的CyCx3USBHSConfigDscr中增加1080p@30fps,720p@ 60fps,5MP@15fps  对应的视频流配置,并修改

CyCx3AppImageSensorSetVideoResolution(
uint8_t resolutionIndex
)
{
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
switch (CyU3PUsbGetSpeed ())
{
case CY_U3P_HIGH_SPEED:------------新增加
case CY_U3P_SUPER_SPEED:

这样配置后,在usb2.0下,也可以选择其他分辨率,但是选好后显示花屏或dma reset. 从上面看他们数据流都没有超过480M,按到了应该支持显示正常才对吧?实际为啥不行呢?

0 点赞
1 解答
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi,

 

您计算的bandwidth好像都少了个0.

在原帖中查看解决方案

0 点赞
1 回复
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi,

 

您计算的bandwidth好像都少了个0.

0 点赞