USB Forum Discussions
Browse the Community
USB low-full-high speed peripherals
Discussion forum regarding USB low-full-high speed peripherals topics.
USB hosts hubs transceivers
Discussion forum regarding USB hosts hubs and transceivers topics.
USB superspeed peripherals
Discussion forum regarding USB superspeed peripherals topics.
Featured Discussions
Hi, if two identical FX2-based devices are plugged into the PC, how can I discern one from the other? I do not have the ability to do this in the EEPROM. But as I look through the USB Properties in Device Manager, I see Address is set differently for each device (right click on USB device, go to details, then property = address)
However, this doesn't seem to coincide with the value I get when I look at the device property USBAddress
Can someone shed some light on this? What is the best way to communicate with two identical devices connected to the same PC?
Thanks
Show LessHi,
I am using Cypress' CYUSB3014 USB 3.0 device controller in my design. I found that the pins L5 & J11 of the device are connected to SRAM_VDD (power rail) in a development kit which used the sama part. My confusion is that whether L5 & J11 are to supply power to the 512 KB embedded SRAM or is it related to 'Boot from GPIF II ASync SRAM mode' as in device's datasheet ? I have attached the development kit (PDF) with this mail. Waiting for your reply.
Regards,
Madhu
Show LessI have created a MultiChannel using the type of DMA_TYPE_AUTO_MANY_TO_ONE.I used 2 PIB socket as the producer and 1 UIB socket as consumer.I used this make the slavefifo.Before I restart the slavefifo,I want to reset the channel and socket to clear the data.
But now I find that the FLAG of the producer bacome full after I write a few data. The number of data I have written is less than the buffer size when I creat the channnel .So I think there are some data in the producer socket which I have't flush.
I did the reset operation as follow:
1.Make the FPGA on the state of reset.
2.Reset the channel by CyU3PDmaMultiChannelReset.
3.Set a non-finite transfer by CyU3PDmaMultiChannelSetXfer.
4.Resum the channel by CyU3PDmaMultiChannelResume.
5.Start the FPGA.
So how to reset the PIB procducer of MultiChannel.How to clear all the data in the channel and socket.
Show LessHi,
I am trying to use the J-Link for debugging. I use the steps mentioned in "FX3 Programmer Manual". However, when I start debugging, I cannot see the codes being executed. Only a message is shown: No source available for ""
I would appreciate it if you could help me fix this issue.
Thanks,
Nazila
Show LessHello,
I want to read/write I2C EEPROM on the FX3 board with UsbI2cRegMode example firmware project.
But I couldn't understand the process.
Project readme file says,
" The device enumerates as a vendor specific USB device with only the control endpoint and provides a set of vendor commands to read/write the data on I2C EEPROM devices.".
That's all. There is no additional information how it can be realized.
When I look over "CyFxUSBSetupCB" callback function and "CyFxUsbI2cTransfer" function,
I can produce callback function's "setupdat0" and "setupdat1" parameters.
1. How can I generate vendor commands with "setupdat0" and "setupdat1"?
2. How can I send vendor commands within "USB Control Center"?
3. When I send a read command, how can I observe the data?
4. When I want to write to EEPROM, how can I send the EEPROM data?
I would appreciate, if someone help me.
Regards,
Ali
Reading the FX3API Guide for the APIs of the FX3 firmware libraries...several questions:
*. There's seem no high resolution timer, the OS timer is too "coarse" for many embedded applications, e.g. my application needs a 1ms timer as a "heart beating" timer...and it needs a "micro-second" level one-shot timer to arrange something after the occurrance of a certain external event. Of course, external hardware might help ....but is there any way to do that without other hardware? Understood that for FX3, there's an OS there, but is there any "Native Timer" device which can provide such services (ISR call back based) as other device driver.
*. Interrupt priority, FX3 device drivers (in libraries) handle all the ISR and call user installed callback, there seem no way for user to customize the prority (FIQ or IRQ for a certain device).
*. Big code size, it seems that a very simple sample code uses ~128KB ( ~100KB for release version, there're lots of library codes included) code space, so it needs 2x 128KByte eeproms (or 3x 64KBytes eeproms) in almost all eeprom based devices, is there any considertaion that a third party "high efficiency" compiler/linker (e.g. from Keil) can be used (and the libraries have to be re-built)?
Thanks!
Show Less