USB low-full-high speed peripherals Forum Discussions
Hi Team,
Im using EZ-USB FX3 CYUSB3KIT-001 for USB 2.0 Compliance testing.
Im able to perform all Device Hi Speed Transmitter tests with USB Bootloader mode. During this mode Fx3 enumerates as below (Selected VID 0x4b4)
To perform Device Receiver Sensitivity tests, I need the device address and endpoint address of the device, so I downloaded one of your firmware examples - cyfxbulklpauto
This firmware is dowloaded in flash and boot mode is configured as SPI boot.
After this Im not able to enumerate the FX3 device in EHCI HS Electrical Test tool.
Also help me in constructing a IN Token packets for any given device.
Thanks and awaiting your reply.
Show LessHaving been through the driver resell process once with you back in May this year (Srinath.S@cypress.com helped but his EMail is no longer receiving messages) we have found that we need to get an updated version of the driver signed. Can you contact me so that we can (re)start the process, thanks.
Show LessRegarding Raid1 example code, in the CyFxMscApplnDmaCb () function, is the "CyU3PDmaBuffer_t dmaBuf = input->buffer_p" used to hold the read/write operation when data is transfered between to/from sdCard via dma?
any helpful answer is appriciated
Show LessI'm using the raid1 usb-dongle-on-chip and using Raid1 example code to run the device. I'm trying to display the data that is written to the SD card using the CyU3PDebugPrint but when doing this it prints the first 8 bytes and then it stucks!
This is the code:
if (type == CY_U3P_DMA_CB_PROD_EVENT)
{
CyU3PDmaCBInput_t *input1=input;
for (index = 9; index < input1->buffer_p.count; index++)
{
CyU3PDebugPrint (4, "Write buffer before change [%d] = %x\r\n", index, input1->buffer_p.buffer[index]);
}
/* This is a produce event notification to the CPU. This notification is
* received upon reception of every buffer. The buffer will not be sent
* out unless it is explicitly committed. The call shall fail if there
* is a bus reset / usb disconnect or if there is any application error. */
status = CyU3PDmaMultiChannelCommitBuffer (chHandle, input->buffer_p.count, 0);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PDmaChannelCommitBuffer failed, Error code = %d\r\n", status);
}
GLCommitCount++;
}
}
Show LessWe have a setup of FPGA connected to FX3 and FX3 connected to Host. One scenario is that when Host write a command to FPGA, FPGA will respond and write some data back to FX3 so host can read it. When the command is written, in logic analyzer we can see that the FPGA received the command and wrote the data in FX3 buffer, but when host read from the end point, it always blocks (timed out). Is there a way to verify that FPGA data actually arrived FX3 buffer?
On linux, the write and read has been tested with the Cypress superspeed explorer kit and works fine. The same setting with FPGA has also been working under Windows.
Show LessHello,
I am currently using the CY7C65211 from CY8CKIT-049-4200, in a project, where I have one configured as USB-Serial, AND another one as USB-I2C, on the same PC host.
I have been using the source code (v2.0.3) from the SDK to access the USB-I2C one, and it seems that there might be some confusion in the usage of parameter deviceNumber in function CyGetDeviceInfoVidPid and CyOpen.
In the examples (usbserialexample\(uart|spimaster|i2cmaster)), the end of the FindDeviceAtSCB0 function is returning an Index (used later in CyOpen as deviceNumber parameter) when it finds a device with the right PID/VID (+ SerialBlock_SCB0), but in my tests, it seems that it would require to pass the deviceID[index] value to CyOpen instead of only the index, when the USB-Serial one is connected too.
[ When I look at the Linux source code, the CyGetDeviceInfoVidPid function is filling the UINT8* deviceNumber structure with something called 'DevNum' which looks uncorrelated to 'index', and that would tend to confirm that using deviceID[index] should be used to get the DeviceNumber for CyOpen. ]
Can someone confirm this ?
JJ
Hello,
I am looking for any help regarding software to programm this chip which is located in the fpga de2-115.
What software do u have that i can use to programm this chip.?
thank you.
Show LessHello
Please tell me about communication between CY7C65211A and MCU.
How is USB (CDC) data converted to SPI and transmitted to the microcomputer?
I want to see the internal state when converting USB commands and SPI signals
I want to know the status of both transmission and reception for Mode 3 (SPI Master Mode) and Mode 4 (SPI Slave Mode).
I want an answer as soon as possible because of important content.
(Today or Tomorrow)
Best regards
Show LessHi,
i experience a high CPU load when using the CyUsbSerial Lib.
The CPU load goes up to 30% on my embedded device after connecting a callback with the function CySetEventNotification(). The callback itself does not get invoked and therefore should not produce any CPU Load in idle.
My setup is:
- CY7C65215
- linux os with libusb 1.0.9
- latest cyusbserial sdk from the website
I tracked down the problem to the cyusbserial library source code cymisc.c in line 239. In this line the libusb function libusb_handle_events_timeout() is used with an 50us timeout.
I replaced the function with the blocking call libusb_handle_events_completed() and the CPU load dropped to nearly 0%.
As far as i could test, this change works perfectly fine.
Is there any downside of using the blocking call instead of the timeout one?
Could cypress provide an official fix for this?
Show LessHello.
We are startup that developing solution for the cosmetics care market that incapsulated fast data communication inside. In order to establishing such a communication, for evaluation purpose, we purchased CYUSBS236 evaluation kit. We also downloaded all appropriative documents and DVK software from your website but didn’t found any example for C# .NET. We have no specialists in C++ but from the minimal knowledge about it we tried to convert examples to C# but with no success. We also found in your technical blog some examples C# .NET for I2C activation. Can you help us with the same examples for SPI Master evaluation? By the way, we found examples for I2C using framework 3.5, can you help us with examples compiled for newer framework?
Thank you,
Alexander Shteyn,
Software development leader,
BeShape Technologies Ltd.
Show Less