USB superspeed peripherals Forum Discussions
Hi all,
I am starting to work on power state management. The FX3 API includes a function called CyU3PSysEnterSuspendMode
described on page 16 of the API guide. The first parameter is wakeupFlags.
"Bit mask representing the wakeup sources that are allowed to bring FX3 out of suspend mode."
The options mentioned are:
CY_U3P_SYS_PPORT_WAKEUP_SRC_EN
CY_U3P_SYS_USB_WAKEUP_SRC_EN
CY_U3P_SYS_UART_WAKEUP_SRC_EN
However, as far as I can tell, they aren't defined ANYWERE. they don't show up anywhere else in the API guide, and their only mention is in cyu3system.h, which simply has the same text as the API guide in the comments.
Does anyone know where these are defined, if at all, and if not, what should their values be?
Thanks,
Mark Garrison
Show LessHi,
I am using the FX3 DVK board with atmel's i2c eeprom AT24C1024B. I am using control centre to program the eeprom. My switch SW40 is off, on,on,off. all jumpers are correctly placed.
However when I try to load the USBBulkLoopAuto .img file I always get the error message : programming the I2C EEPROM failed.
I have followed everything that is there in the documents and still I have the same problem.
This is the first time I am using this board and I was not able follow the elf2img thread. I need help with programming the EEPROM.
Should I change anything in the USBBulkLoopAuto example before I generate the .img file?
Should I change any other connections or any other information?
Regards,
Kavya
Show LessHi,
are there any problems by using an ivy bridge processor with native xHCI driver of windows 8 and FX3?
I tried it already on two different computer (a notebook, and a desktop pc) and in both cases booting takes really long time. I tried it with the PMODE boot on I2C and on USB if failed. The I2C take at the beginning the VID PID and after that the application firmware will be uploaded through a driver with the same VID PID. All these things take longer than 12 seconds. I never had these issues by using older windows versions and or other USB3 xHCI stacks.
thanks in advance,
lumpi
Show LessHello,
can someone help me to find timing description for the GPIO interrupt configurations?
typedef enum CyU3PGpioIntrMode_t
{
CY_U3P_GPIO_NO_INTR = 0, /* No Interrupt is triggered*/
CY_U3P_GPIO_INTR_POS_EDGE, /* Interrupt is triggered for positive edge of input. */
CY_U3P_GPIO_INTR_NEG_EDGE, /* Interrupt is triggered for negative edge of input. */
CY_U3P_GPIO_INTR_BOTH_EDGE, /* Interrupt is triggered for both edge of input. */
CY_U3P_GPIO_INTR_LOW_LEVEL, /* Interrupt is triggered for Low level of input. */
CY_U3P_GPIO_INTR_HIGH_LEVEL, /* Interrupt is triggered for High level of input. */
CY_U3P_GPIO_INTR_TIMER_THRES, /* Interrupt is triggered when the timer crosses the
threshold. Valid only for complex GPIO pin. */
CY_U3P_GPIO_INTR_TIMER_ZERO /* Interrupt is triggered when the timer reaches zero.
Valid only for complex GPIO pin. */
} CyU3PGpioIntrMode_t;
How long has a signal to be, that a interrupt is executed in case of low-/, high-level?
How long does it take if I use positive edge till the edge is detected?
Thanks,
lumpi
Show LessHi!
When I use Uart to communicate,I found that there are some difficulties in using Uart
When I debug the firmware,Uart communicating is not senstive.In other word,When I debug by stepping,sometime it can work ,but sometime it can't work. I don't know why. I hope you can help me.
Thank you !
Show LessDear all,
in my FX3-project I setup besides some further DMA-channels a manual DMA out-channel between CPU and USB-socket. For this channel I use external buffers to feed the DMA-engine using the API's CyU3PDmaChannelSetupSendBuffer() and CyU3PDmaChannelWaitForCompletion(). So far it worked without any problems but now a use-case occurred where the API CyU3PDmaChannelWaitForCompletion() doesn't return if I set it's parameter 'waitOption' to infinite. Setting this parameter to a value != infinite the API returns with error-code CY_U3P_ERROR_TIMEOUT. In the use-case the API is called 7 times without error but the 8th call fails.
What can cause this API to behave like this? I don't know where I have to search the root-cause in my code since it worked fine in the past...
Thanks!
Robert
Show LessHi,
are there any SPI flash modules suggested from cypress which are working with FX3? Or are there any constraints which I should consider when I choose a SPI flash module to boot from?
Thanks,
lumpi
Show LessI just installed the latest version of the FX3 SDK and my code stopped compiling. Why? Multiple reasons, but here is just one of the them. The I/O configuration structure used in the SlaveFifoSync example in the previous release of the SDK was named ioCfg. In release 1.2.1, it changed it to io_cfg. This of course made all of the code that uses the I/O configuration structure written in previous release stop compiling. I am either missing some small step that makes this not as big a deal as I think it is, or this is a really big deal that requires me to make multiple changes to my code. Why would Cypress do such a thing anyway as to rename the structure in the example? Am I the only one who copies code from these examples?
Show LessHi,
I'm looking for a recommendation regarding an I2C EEPROM for use with the FX3 DVK. More precisely, I want to use at least 1024k.
On p. 149 of the Programmers Manual, a number of listed EEPROMs suggest those brands have been tested, though only to sizes up to 128k.. Apart from that, http://www.cypress.com/?app=forum&id=167&rID=67197 has some selected information.
From there I gather that the Microchip 24FC1025 is a good option.
Are there other makes/models that have been successfully tested and can be recommended by anybody? It would be ideal if the .img file header wouldn't need to be modified to use the device.
Thanks in advance,
/Markus
Show Less