USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
I am sending UVC data from the FX3 to a USB host using an FPGA connected through GPIF however am experiencing data loss, particularly at the start of each frame. In investigating I came across the following post explaining a similar issue and following the advice there I looked into the PIB errors that can be detected by registering a callback with CyU3PPibRegisterCallback. Using this callback I am able to see there are 4 errors constantly being output: CYU3P_PIB_ERR_THR0_WR_OVERRUN, CYU3P_PIB_ERR_THR1_WR_OVERRUN, CYU3P_PIB_ERR_THR0_SCK_INACTIVE and CYU3P_PIB_ERR_THR1_SCK_INACTIVE. I have looked online but have not found much data on these errors or how to address them. Help would be appreciated.
For extra context, the FPGA currently uses the address lines to send video data between threads 0 and 1 using the watermark (set to flag the current thread) to stop streaming. Once the flag is asserted, the address bus switches to the other address and the FPGA waits the max socket switching delay of 68 cycles before continuing to write data. Each buffer can contain 16,368 bytes and the data is written in batches of 1023 where if the watermark is asserted at any point during the burst the FPGA will finish the burst and switch threads.
The overrun error seems to be when the buffers are written over their capacity but the packets I am receiving in Wireshark seem to have no (or little) missing data. I'm not sure if these errors are from the missing data at the beginning of a frame (where I am actually losing data) but I never receive the initial frame data so how can the buffer be written over capacity? I am also unsure if I receive a single error for every buffer write that is erroneous or if multiple write attempts can generate 1 error.
I understand the socket inactive errors significantly less. From what Ive read, the sockets are going 'inactive' while they are being read out. How could they going inactive and how can I prevent this? My code is based off the USBVideoClassBulk example which has the buffers retrieved in the DMA callback and then committed to the host. I never intentionally make any buffers on the DMA go inactive.
Show LessHi,
Does Infineon currently have have a part that go USB3 to MIPI-DSI?
I found this application note where a Crosslink FPGA is used, but I'm wondering if there is any new solution without the necessity of this extra FPGA?
Regards,
Show Less
Hello everyone,
We are using Cypress FX3 in an implementation where it reads two input signals with its GPIO pins. Both input signals come from an experimental chip that communicates serially using these two signals. The clock signal (HVCLKTX) is 5MHz, punctuated by periods of zero voltage. The other signal (HVSERTX) needs to be read on each of the rising edges of the clock. Please see below for a better illustration.
The problem we have right now is that there seems to be a non-negligible time skew between recognizing the rising edge on the clock and retrieving the value from the other data line. We haven't tried using interrupts yet, and we are writing the code to try it now. In the meantime, we would also like the community's advice.
Thank you very much!
TheAtralClock
Show LessI am looking for an example on how to set up Long_Transfers on the CYUSB3KIT-003. The names of the different firmware examples unfortunately don't mention it. Could use a download or the name of an FX3 example that implements it.
Much appreciated!
Show LessHello,
I would like to use CYUSBS236 to print UART debug messages from a CYUSB3014 MCU using CyU3PDebugPrint();
I have been testing this using the CYUSBKIT-003 development board, and example code from cyfxusbi2cregmode.
For my first test I wired the Tx/Miso pin from the dev board to pin 2 of the DB9 connector which is RXD. But I get garbage messages as shown here.
I also tried connecting Tx to SCB1_0 but get nothing on tera term:
Show Less
Hi,
I have started looking into the Cypress CX3. I want to know what are all the resolutions it will support and its maximum FPS.
Kindly share the details.
Thanks
Selvaruban
Show Less
Hi,
关于USB3014使用过程中发现2个问题:
1、客户自己做了一些板子,其中有一块板子上的芯片在使用过程中出现不出口,无法弹出USB3.0的FX3口,一开始是有口的,再次尝试几次就不出口了,这种现象应该排查硬件的哪些地方,谢谢。
2、其他正常出口USB3.0 FX3口芯片在用万用表去测量reset引脚电平就出大概率性出现PC端USB3014刷口的情况,这种情况我们该如何处理,谢谢。
Show LessHi,
I want to tranfer the RAW8/RAW10 bit data to Host using Non-UVC Standard. i got the Raw data on Host , But i dont known , how to split the each frame on Streaming Buffer.
Kindly help me, PFA..,
Show Less