USB hosts hubs transceivers Forum Discussions
Hello, I would like to ask what can be done to the Endpoint endpoint to be able to push the data upwards without the need for a manual IN from the PC?
I'm using the FX3 chip, and I've found that in the mouse HID example, it just doesn't need the PC to IN, it just pushes the data up the port via EP1 after a trigger on one of the GPIO ports.
The above is where I have changed the data sent to 0X36 and sent it to the PC. Can you tell me how I can achieve this? I am very eager to solve this problem completely. I hope to get a reply as soon as possible.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB%E4%B8%BB%E6%9C%BA%E9%9B%86%E7%BA%BF%E5%99%A8%E6%94%B6%E5%8F%91%E5%99%A8/%E5%85%B3%E4%BA%8EUSB%E6%96%AD%E7%94%B5Endpoint%E9%85%8D%E7%BD%AE%E9%97%AE%E9%A2%98/td-p/735538
Show LessI am getting this error while installing the drivers on my PC. The operating system that I am using is windows 10. I can install the drivers by entering in the Test mode, but is there a way to install them properly?
Show Less
What is the recommended operating range for the VBUS_DS pin of CYUSB3304-68LTXC?
BC1.2 and Apple-charging are not used in this design. In the current circuit configuration, 2.5V is applied. Is there a problem?
I think it should be connected directly to GND, but if there is no problem even if 2.5V is applied, I would like to leave it as is. This is because this design connects VBUS_DS to 2.5V.
Best Regards,
Tetsuo
Hi I would like to ask, is there any problem with the tab configuration on my side? The PC doesn't recognize the device after I've configured my side. It's like this, I configured the first 14 endpoints as slavefifo bluk mode. Then in the tab, I filled interface number :0X02 where the first interface is port 14, the second interface is serial data interface, where bInterfaceClass is :0x02; bInterfaceSubClass is :0x02, and other nodes have been changed, please take a look at my project for details. Please take a look at my project for details.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB%E4%B8%BB%E6%9C%BA%E9%9B%86%E7%BA%BF%E5%99%A8%E6%94%B6%E5%8F%91%E5%99%A8/USB%E9%80%89%E9%A1%B9%E5%8D%A1%E9%85%8D%E7%BD%AE%E9%97%AE%E9%A2%98/td-p/731832
Show LessHi everyone, I would like to ask the following question, I am using the example F:\FX3_SDK_WORK\EZ-USB FX3 SDK\1.3\firmware\slavefifo_examples\slfifosync5bit for modification, which contains 15 input and output endpoints. I now want to set one of these endpoints to the mode I want (I chose EP15).
Among the changes I made to the SCR.h file, I changed the mode of EP15_IN to INT mode (because INT mode is able to push data to the PC when triggered by one of the peripherals, i.e., UtoP, and because I also want to send data to the PC via this endpoint when it is received by the serial port), and then it defaulted to BULK mode for its EP15_OUT mode. Subsequently to the cyfxslfifosync5bit.c file, I changed its glNumberOfChannels to 28, which was intentional to avoid initializing the EP15 endpoint, thus benefiting my initialization later.
As you can see in the picture above, the default initialization is in this mode. And I've added an additional EP15 configuration below
The code doesn't report any errors when compiling, but after downloading to the device, it doesn't show the appropriate item out
Debugged later only to realize that one of the failures over here was a 64 failure
So my question is, are these modes with special restrictions? How should I know when I can apply these modes, and also after I used Manual_OUT (experimenting with other examples), it doesn't print the data received from the serial port to the PC as I would ideally like, is there a solution for this?
Thanks in advance for any help, this is very important for me.
I have placed my test code below to be able to understand more easily the problem I am talking about.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB%E4%B8%BB%E6%9C%BA%E9%9B%86%E7%BA%BF%E5%99%A8%E6%94%B6%E5%8F%91%E5%99%A8/%E5%85%B3%E4%BA%8EUSBEP%E6%A8%A1%E5%BC%8F%E7%9A%84%E9%80%89%E6%8B%A9%E4%BB%A5%E5%8F%8A%E5%88%87%E6%8D%A2%E9%97%AE%E9%A2%98/td-p/725865
Show Less我使用了hid 标准鼠标的范例,范例的内容大致是将0x81 IN端点设置成INT模式,然后通过感应GPIO的按下,模拟鼠标左键的按下,从而让EP IN端点输入了大量的数据(应该是坐标数据)
我希望更改成UART输入,然后通过某一个EP IN端点输出类似这种数据。请问者能够实现吗?此外,我更改下列图片进入打印报告函数的条件,更改恒为1,但是它并没有打印报告出来,这是怎么回事呢?难道是在初始化的时候已经绑定了只有在认定的GPIO引脚触发的时候,才能调用此回调函数,从而打印报告吗?
Show Less
你好,在示例F:\FX3_SDK_WORK\EZ-USB FX3 SDK\1.3\firmware\slavefifo_examples\slfifoasync5bit中,我将EP15设置为手动模式,但是在创建输出数组的时候Debug遇到了CY_U3P_ERROR_TIMEOUT返回
我应该如何做才能够成功创建输出数组,然后使用CyU3PDmaChannelCommitBuffer()函数将我所需要的数据传输出去?
感谢您的回复
我非常迫切的想知道答案,这已经困扰了我2天了。
Show Less
Anomaly I. - Resolved; It was a USB device issue
When testing the CY6611 Eval-kit we observed that the write speed is significantly lower when using the Type-C connector compared to the Type-A connector. Tested on DS3, DS4, DS2 and DS5 with the same result, in both orientations (Type-C). Please find the attached screenshot from CrystalDiskMark.
USB device used for testing: Kingston DataTraveler Max 256GB USB3.2 Gen2.
Anomaly II.
We also tested the Eval-kit with USB3.2 Gen1 devices. If the USB hub is USB3.2 Gen2 capable, we expect it to be able to stream two USB3.2 Gen1 devices at the same time. But the maximum speed we were able to achieve was about 3100Mbps (instead of 8520Mbps what we measured with only one USB3.2 Gen2 device).
In this case, we used our in-house cameras for testing because it is easier for us to control and measure the data transfer rate. One device connected to CY6611 was able to achieve the USB3.2 Gen1 speed but when the second device is connected, the maximum transfer speed must be limited to 3100Mbps for stable data transfer. The situation was the same for three or four devices: the total transfer speed must be set to 3100Mbps.
Is this the expected behavior for CYUSB4347? Is there any option to increase the transfer speed or it is defined by design?
If you need any more information to investigate this problem, I would be more than happy to provide it for you.
Show LessIn the code, I observed that endpoint in usb has 15 endpoints and one particular endpoint_0 is bidirectional.
One of the things I'd like to ask is, since endpoint_0 communication in USB requires handshake interaction, is there a document that explicitly states that it requires handshake?
Secondly, I would like to ask if my other endpoints need to push out the received data directly to the host side without handshaking, how should I do that?
Nowadays I am now looking at the example, which is using OUT and IN of the endpoint_1 port for dma experiments, where the data is sent out through the OUT side, and then the data is carried to the other end of the pipe through the internal thread, and then the data is read out from the other end of the pipe again through the transfer data-in in the center tool. Nowadays I don't want to push the data out directly through the center tool. Is there a way to do this?
Or is there a corresponding function in the API library?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB%E4%B8%BB%E6%9C%BA%E9%9B%86%E7%BA%BF%E5%99%A8%E6%94%B6%E5%8F%91%E5%99%A8/%E5%85%B3%E4%BA%8EUSB3-0%E4%B8%AD%E7%9A%84endpoint%E7%AB%AF%E7%82%B9%E9%97%AE%E9%A2%98/td-p/722722
Show Less