USB low-full-high speed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
we use the EP6 transfer data from FPGA to PC ( IN )
set EP6CFG = 0xE0; // IN, 512-bytes, 4x, bulk
After the data update in FPGA device,read the data package,There are 4 * 512 bytes in front and are not valid data;
set the 2x, bulk
After the data update in FPGA device,read the data package,There are 2 * 512 bytes in front and are not valid data;
What is the cause of this problem ?
Show Lesshello, chip CY7C68013A was used in my design. I wanna to develop a software using python to connect between PC and hardware. I was find fx2 lib for python fortunately, but error can't be debug, error info is "fx2.FX2DeviceError: Cannot access device 04b4:1004", please tell me how to resolve it? or do you have user guide or APP note? can you share it to me? thank you!
Show LessHello,
Does Fx2lp support SPI interface ?
if so do we have any user example ?
can i send or burn firmware directly into th AN2131SC with a Raspberry using the I/O Pins ?
I'm on a Mac, trying to adapt a vendor's (General Vision) Windows SWIG API to Mac compatibility to interface with a CyUSBSerial chip on an Arduino shield with accompanying USB port (a General Vision NeuroShield with a CY7C65215 chip, I'm unsure which CY7C65215 submodel). I had no trouble building and installing cyusbserial and with a little pain got SWIG all set up, but not only does my Python/C++ system not work, the cyusbserialtest provided with cyusbserial is also failing to communicate with the device. It detects the USB device and recognizes it as a CyUSBSerial device, and the vendor/pid match the sample code from General Vision (I'm not sure if this is a Cypress vendor/pid or a General Vision vendor/pid). Everything seems good to go, but when I select the device in cyusbserialtest, then select the SPI interface (which is my preference and is how the Windows code works, not I2C), and then select a page address and length (just random since I don't know what these mean) in cyusbserialtest, it times out inside spiWaitForIdle() (line 312 of cyusbserialtest.c in my version of the code) at the call to CySpiReadWrite(). That call just keeps returning (immediately) and the timeout counter in spiWaitForIdle() eventually counts down to 0 and bails.
Likewise, meaningful SPI commands relevant to the surrounding board (the NeuroShield), which I know the board responds to via other SPI interfaces, do not respond when those same SPI messages are issued through CyUSBSerial.
Since this is not my own code, just CyUSBSerial's own sample code (cyusbserialtest), I am at a loss as to what I could possibly be doing wrong. Shouldn't this code essentially work out of the box? I'm not sure how to proceed.
What is the meaning of the page address and length in the sample? Should it work with literally any page address and length within the prescribed ranges?
Thank you.
Hello ,
I was looking for loading custom firmware from the driver files and here I came across the link Working of EZ Loader USB Firmware Loader - Infineon Developer Community .
Can i get the zip file for ez loader driver files , which contain ezloader.c ezloader.h files along with the application note ?
we are streaming a video of 640*480 image. The timings of the image are frame to frame gap is more than 500 us , line to line gap is around 1000 us. The video streams at around 100 FPS with these timings. while seeing the image in e-cam, after 1 or 2 minutes the image and FPS got dropped. After restarting the e-cam, again we are able to see the image. Not only in e-cam, we developed our own GUI in that this problem occurred. If we change the timings of video to 30 FPS, the video is getting streamed continuously with out any problem.
can anyone please explain the problem what actually we are missing to get 100 FPS video with these timings.
Thanks in advance
kartheek
Show LessDears.
使用CYUSB3014 并行接口连接的是FPGA,串行高速接口连接的是PC, 目前遇到如下问题,能否给些建议,感谢。
使用的cyusb3014 USB3.0高速接口控制器芯片,使用的是原厂的slfifosync的工程编译的固件,使用的bulk模式接收usb3.0上传数据,问题是读取不及时会丢数据(数据读取接口读到1024*1024byte数据后需要进行解包处理后再进行下一次读取),希望把cyusb3014配置成中断模式来接收数据,所以如何配置固件从而使用中断模式(interrupt)来进行数据接收呢?
现在上位机使用bulk模式去读取数据,FPGA按照1s 6帧的速率上传数据,上位机读不过来,会丢失数据,应该是有数据上传了 能够通知上位机去把数据读走后再上传新的数据 ,而不是一直发送,不然有可能数据被覆盖了,把固件改成interrupt模式是不是可以避免数据覆盖?比了bulk和iso的固件代码,差异还是挺大的,能否给我们提供一个中断模式的固件例程?
Regards
Paddy
Show Less
We have a custom USB robot interface designed around the SX2 and we've swapped in an FX2LP chip now that the SX2 is obsolete. Are there any examples or tips for getting the FX2LP to act as an SX2 with communication to an external master?
Thanks,
Andrew
Show Less