USB superspeed peripherals Forum Discussions
I start a thread to recive the data.
In the thread, there are 2 buffers. BufA and BufB. When one of them is full, the other one will collect the data.
I'll do this loop with WaitForXfer, FinishDataXfer,BeginDataXfer。
BeginDataXfer()
while(1) {
if(flag) {
buf=bufA
buf_next=bufB
}else{
buf_nex=bufA
buf=bufB
}
flag=!flag
WaitForXfer(buf)
FinishDataXfer(buf)
BeginDataXfer(buf_next)
//..........
}
I found that, Once the FinishDataXfer fails, the data you received next time is not in buf, but in buf_next.
Is that possible?
Show LessHELLO,
I AM USING FX3S TO INTERFACE SD CARD
IN THAT,I AM USING S0 PORT
CAN I USE THIS S0_WP PIN AS NORMAL GPIO WHEN S0 PORT PINS ARE USED TO SD CARD INTERFACE.
THANK YOU
Show Lesshi,
i am using fx3s s1 port as UART+SPI+I2S interface.
i need spi and uart interface only,i am not using i2s interface
in this case,can i use i2s pins as GPIO's ?
help me
thank you...
Show LessI am trying to use the Cypress FX3 SuperSpeed Exporler Kit for continuous data transfer. I am using the Slave FIFO code, SF_streamIN, from the AN65974 application report and the Cypress Streamer application. Like many others, we are finding that we are losing data every 16 kB. The amount of data which is lost is also inconsistent. I have tried slowing down the incoming data as well as the data transfer rate, but this has not helped reduce data loss.
I have not yet found a discussion detailing data loss and the solution for their issue.
Has anyone had a similar data loss issue and found a solution?
Show LessI configured one GPIO pin as PWM signal by using API call CyU3PGpioSetComplexConfig. Measured signal waveform was different to program code. It seems threshold value was not set, so PWM signal was half the frequency with a duty-cycle of 50%.
To check behaviour I used following program code:
volatile uint32_t period = 100800;
volatile uint32_t threshold = 1000;
while (1)
{
...
CyU3PThreadSleep (250);
...
DBG_INFO_VALUE("thershold = ", threshold);
status = CyU3PGpioComplexUpdate (FX3_FPGA_TRIG_FX3, threshold, period - 1);
threshold += 1000;
if (threshold > period)
threshold = 1000;
}
I expect to see a PWM signal with increasing duty-cycle. Duty-cycle never become equal or greater than 100% and when close to 100% duty-cycle “jumps” back to nearly 0%. PWM frequency is 1kHz.
--> Measured signal is different: Duty-cycle is increasing and then decreasing.
For lower PWM frequency (1Hz to 10Hz?) it seems there is a problem with very small or very large duty cycles. These values are not “excepted”, signal stays low or high.
And as last point, it seems not possible to define start value for a PWM signal. This means it seems signal is inverted!
Did someone run into the same problem?
Frank
CY7C68013-56 pin doesnot contain T0 Aand T1 pin,
is spports timers?
Hi, I'm developing UVC sensor board using FX3. My goal is to achieve 1080p 60Hz throughput, but I've found what I got is just around 1080p 20Hz at best. If I increase fps, video is crashed. I'm following the design of AN75779. I heard that if you want very high throughput use slave fifo architecture which is probably need glue fpga logic(AN65974). I already made my board. Is there no way to get more bandwidth in AN75779, and without fpga?
Show LessHi,
I have been working in an UVC project. I enabled the usb connection using the API, CyU3PConnectState(CyTrue, CyTrue); (which returns CY_U3P_SUCCESS). And in the immediate next line I call the function CyU3PUsbGetSpeed() to check whether a 3.0 connection is established. But CyU3PUsbGetSpeed() API returns CY_U3P_NOT_CONNECTED. If I call CyU3PUsbGetSpeed() after sometime it returns CY_U3P_SUPER_SPEED. My understanding is that either (1.) CyU3PConnectState API needs a particular amount of time to configure the connection or (2.) it takes sometime for the CyU3PUsbGetSpeed() to get updated. Please someone clarify my understanding and if possible please share the exact time delay that is required for the CyU3PUsbGetSpeed() to return the correct connection established.
Thanks and Regards,
Ashlin Surey. A
Show LessMy FX3 device needs a custom bootloader in EEPROM to workaround the problem of it failing to enumerate after a PC reboot if a 'B2' EEPROM boot image is used. This is a known problem and reproduced easily with the superspeed explorer board.
The example custom bootloader FX3BootAppGcc does not support downloading my application after boot using the A0 vendor request.
How do I implement support for application download using vendor request A0 in the example custom bootloader?
Show LessHi,
I am looking to have CyU3PSpiTransmitWords() and CyU3PSpiReceiveWords() in same SS low/high period. Is there any existing function doing that? Or how can I re-compile the libcyu3lpp source?
Thanks,
Dick
Show Less