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

USB superspeed peripherals

zjjnsst
Level 3
5 questions asked 25 sign-ins First like received
Level 3

连接了一块fpga

之前改成16位gpif的时候可以通过uvc在电脑上看到视频

但是我改成32位之后就变成黑屏了

然后接了串口看报错:

……

Application Started
UVC: Completed 0 frames and 0 buffers
DMA Reset Event: Frame timer overflow, time period = 400
Application Stopped
Application Stopped after 30 Commit buffer failures

 

可能是什么原因呢😂

0 Likes
1 Solution
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

你这个32位是如何修改的呢?

可以搜一下别人是如何修改的:

https://community.infineon.com/t5/USB-Superspeed-Peripherals/AN75779-add-a-FPGA-between-CYUSB3014-an...

其次就是可以用示波器看看FV LV波形,以及每个引脚是否都有信号。你这个情况是DMA没有收到数据。

View solution in original post

0 Likes
5 Replies
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

你这个32位是如何修改的呢?

可以搜一下别人是如何修改的:

https://community.infineon.com/t5/USB-Superspeed-Peripherals/AN75779-add-a-FPGA-between-CYUSB3014-an...

其次就是可以用示波器看看FV LV波形,以及每个引脚是否都有信号。你这个情况是DMA没有收到数据。

0 Likes
zjjnsst
Level 3
5 questions asked 25 sign-ins First like received
Level 3

他那里说Go to the Interface Definition tab and choose the 32 Bit option for Address/Data Bus Usage setting.

我需要把address/data bus mutiplexed这个选项勾上吗

哎头大

0 Likes
zjjnsst
Level 3
5 questions asked 25 sign-ins First like received
Level 3

zjjnsst_0-1637898622641.png

这样子的

0 Likes
YiZ_31
Moderator
Moderator 1000 replies posted 750 replies posted 500 replies posted
Moderator

那要不要勾上你要看你FPGA上面信号是怎么设计的啊, 地址位是和数据位复用的么

0 Likes
louyuminghamn
Level 1
5 replies posted 5 sign-ins First reply posted
Level 1

uvc.h那个文件里面相应的东西都改了没有。改了的话检查一下

/* Number of DMA buffers per GPIF DMA thread. */
#define CY_FX_UVC_STREAM_BUF_COUNT (4)

把这个括号里面的4改成3试试看。

0 Likes