USB superspeed peripherals Forum Discussions
Hi
I send a data from host using the control transfer at Endpoint 0.
I use this CyU3PUsbGetEP0Data to read the data. However, when i send again, it give me error.
Is it any problem of this?
Show LessHello,
I have a device which sends data over 2 SuperSpeed bulk pipes. Each pipe is fed via its own DMA thread.
I am running into a problem USB Setup callback: sometimes sendEP0Data() returns CY_U3P_ERROR_DMA_FAILURE and I have no clear understanding for both the cause and how to recover. This problem occurs quite often when talking to some host controllers (uPD720200) and very seldom (never) with others.
I tried suspending DMA channels while doing sendEP0Data() similar to how it is done in cyfxgpiftousb.c example even though the example does it only for USB-2.0 without much success. One problem is that I do not know how long to wait for my DMA channel callback to be called after CyU3PDmaChannelSetSuspend(). In my case DMA might not happen for quite long time and I cannot afford to have one of the pipes suspended while waiting for the callback on another pipe.
In any case, is it really necessary to do CyU3PDmaChannelSetSuspend()? What are other probable causes for CY_U3P_ERROR_DMA_FAILURE? How can one recover from this condition? In my case when it happens once all subsequent CyU3PUsbSendEP0Data() fail.
Regards,
Pavel.
Show LessI am going to develop the USB3.0 camera for machine vision.
I am using FX3 SuperSpeed Explorer Kit.
I got a sucess at video image transfer testing using AMCAP, UVC driver and sample Fx3 firmware souces for UVC camera.
It was simple work because of using UVC driver and sample firmware and no development of window application.
For development of USB3 vision camera,
I think that custom driver for USB3 vision camera is needed.
I don't have a expericence of device driver development
I would like to know how to develop the driver for USB3 vision camera.
Show LessHi
I would like to send data to SPI flash (N25Q128A by Micron) via FX3 using control center and programming FX3 with USBFlashProg. I've tested this program writing, reading and erasing bytes to flash and it seems that all works as expected!
My goal is to send a file generated with ISE that is 978KB big using transfer data button on Control Center.
Questions:
1) what is the correct extension of the file to be sent to flash memory .bin .bit .mcs or a different one ?
2) Reading the cyfxflashprog.h file that comes with the USBFlashProg example it says that "The maximum allowed request length is 4KB" how can i get round this value to be able to send a bigger file ?
Thanks to all
TB
Show LessHi all,
I've some trouble in using CyU3PSibReadWriteRequest function in a fw derived from cyfx3s_msc example.
In my fw I got rid of all MSC function and I tried to perform raw read/write operations on the eMMC card. It works but it seems that CyU3PSibReadWriteRequest function can read or wite only a limited quantity of data in a "single shoot". I experimentally found that if I try to read more than ~50KB or write more than ~25KB, the SIB callback doesn't returns and no data is transfered.
Has CyU3PSibReadWriteRequestfunction some limits? Should I manage a big transfer using small chunks?
Thanks a lot.
Dax
Show Less