USB superspeed peripherals Forum Discussions
Hi,
We are trying to configure FX3 as an SPI master to communicate with a PIC33 device setup as an SPI slave. We would like to have full-duplex communication between the master and the slave. But in register mode, the available firmware APIs CyU3PSpiTransmitWords() and CyU3PSpiReceiveWords() transfer data in only one direction.
So we would like to know:
a) Does FX3 support SPI full-duplex communication in register mode ?
b) If yes, then which is the API to achieve this ?
Show Less
I have a question on how the FX3 API handles SPI transactions.
CyU3PSpiTransmitWords , the master FX3 sends data over MOSI, and also consumes the same amount of data via MISO. Is that MISO data from the slave available to an FX3 application? The CyU3PSpiReceiveWords appears to initiate a separate transaction for reading. This implies that the data that had been previously consumed in the Transmit activity would be lost. Or does Receive actually have access to the previous MISO data?
When the FX3 initiates an SPI write via
Thank you,
JohnR
Show LessI recognize that it is normal that the input voltage to the RESET# pin is High when FX3 is operating.
However, due to other circuits, the input voltage may fluctuate between 1.5V and 1.9V when FX3 is operating at the customer's board now.
Is there any problems in this case?
Show LessHi,
I have been working with the UART in FX3 (in Register Mode) trying to understand the APIs and it's working using the SuperSpeed Explorer Kit. I found that the timeout time for receiving bytes can be set by the CyU3PUartSetTimeout() API. From the API description I understand that the timeout value depends on the UART core Clock. From the technical Reference manual I get that the UART clock depends on the baud rate provided by the user (i.e. UART clock should be 16 times the baud rate). From this I thought that changing the baud rate value will change the UART core clock which in turn will affect the timeout timing. I have attached the code with which I tried to get the timeout value without sending any data to UART and using CyU3PSetTime() & CyU3PGetTime() APIs. But the timeout timings I get are all the same irrespective of the Baud rate. I got 964322ms for the timeout value 0xFFFFFFFF and 60720ms , 3767 ms for 0xFFFFFFF and 0xFFFFFF respectively for all the baud rates supported by TeraTerm. My doubt here is,
i) Does the UART core clock is a constant one and if so what is it's value?
ii) Are 'UART core clock' and 'UART clock' given in your documents the same??
Show LessIs there a way to set up a DMA transaction from an arbitrary RAM address using the FX3? In all of the example code I have seen, a buffer is first retrieved via CyU3PDmaChannelGetBuffer, the data is copied into the returned buffer, and then the data is committed via CyU3PDmaChannelCommitBuffer. I have a couple of large static buffers that I'd like to switch between periodically and am hoping to eliminate the copy operation.
Thanks.
Show LessHello,
We have FX3S Pactron board. I am able to access the USB to SDIO interface but this example do not give access to UART interface.
I am trying to access the UART interface using FX3 example codes on FX3S kit. but i do not see any prints on UART console.
Please let me know which example code i can use with FX3S pactron kit to access the UART console on GPIO55 and GPIO56.
Thanks and Regards
Tarang Jindal
Show LessHello,
I am trying to use cyfxusbuart example firmware with pactron FX3S EVM.
After loading the image file, The control center shows that programming succeeded and the USB device disappear from the control center.
In the device manager, it shows the USB device in "other devices tab" as "FX3".
I have tried to update the drivers manually at path - C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\driver\bin
but problem remains the same.
I primary goal is to access the UART interface of this board. but i am not able to access UART interface with any of the example code available with FX3 SDK as some of the UART examples do not shows anything in device manager and some of them come up with other devices in device manager.
Please let me know, why this is happening?
Thanks and Regards
Tarang Jindal
Show LessHi,
i need to generate the timestamp in 10us units, but i can able to generate the timestamp in 1ms units only by using the CyU3PGetTime() API. Also by using counters i can able to generate the timestamp upto 0.64us units only. Is there any other ways or workaround available to generate the timestamp in 10us units ?
Regards,
Hari kumar
Show LessHi,
I was wondering what circumstances would cause CyU3PMipicsiInit to return CY_U3P_ERROR_FAILURE? Our firmware works perfectly fine on the e-con systems dev board, but on our new board the above error occurs.
Thanks!
Show Less