USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I am developing a FX3S host application to communicate with SDIO card through USB.
My application communication is like USB to SDIO for Write and SDIO to USB to read.
I imported a SDK example FX3SSdioUart (C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\storage_examples\cyfx3s_sdiouart) and I disabled UART and USB, and tested CMD52 Read and Write - That is working as expected.
So I am facing problem on SDK API CyU3PSdioExtendedReadWrite (CMD53) for block read/write, I want block read/write using CMD53, but I am facing problem to setup DMA Socket ID.
Any Clue or pseudo code?
Application Should Like:
Show Less
I use OV9281 sensor with raw 8bit format, 1280x800 resolution. CYUSB3065 received data with error from OV9281 sensor and didn't receive all data with 1280x800 resoluion from sensor.
1. CX3 MIPI configuration
/* OV9281_RAW8_1280x800 : */
CyU3PMipicsiCfg_t OV9281_RAW8_1280x800 =
{
CY_U3P_CSI_DF_RAW8, /* CyU3PMipicsiDataFormat_t dataFormat */
2, /* uint8_t numDataLanes */
2, /* uint8_t pllPrd */
89, /* uint16_t pllFbd */
CY_U3P_CSI_PLL_FRS_250_500M, /* CyU3PMipicsiPllClkFrs_t pllFrs */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
CY_U3P_CSI_PLL_CLK_DIV_4, /* CyU3PMipicsiPllClkDiv_t parClkDiv */
0, /* uint16_t mClkCtl */
CY_U3P_CSI_PLL_CLK_DIV_2, /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
1280, /* uint16_t hResolution */
50 /* uint16_t fifoDelay */
};
2. Uart log after uncomment PRINT_FRAME_INFO in cycx3_uvc.h, CyU3PMipicsiGetErrors in cycx3_uvc.c.
Prod = 13 Cons = 13 Prtl_Sz = 18108 Frm_Cnt = 203 Frm_Sz = 496716 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 19448 Frm_Cnt = 204 Frm_Sz = 498056 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 19468 Frm_Cnt = 205 Frm_Sz = 498076 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 21096 Frm_Cnt = 206 Frm_Sz = 499704 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 22636 Frm_Cnt = 207 Frm_Sz = 501244 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 19520 Frm_Cnt = 208 Frm_Sz = 498128 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 21040 Frm_Cnt = 209 Frm_Sz = 499648 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 22584 Frm_Cnt = 210 Frm_Sz = 501192 B
TimeDiff = 2931 ms FPS = 10
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 21112 Frm_Cnt = 211 Frm_Sz = 499720 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 22612 Frm_Cnt = 212 Frm_Sz = 501220 B
0 0 0 2 0 0 0 0 0
Prod = 13 Cons = 13 Prtl_Sz = 22656 Frm_Cnt = 213 Frm_Sz = 501264 B
0 0 0 2 0 0 0 0 0
There are frame error ( CyU3PMipicsiGetErrors() ) in log.
I think that frame size have to Frm_Sz = 1280x800 in log. Right?
It seem that some data dropped or with error.
Show LessI run the GpioApp example firmware on FX3 demo board CYUSB3KIT-003, the SuperSpeed Explorer Kit. I added only one function to test the UART debugging at line 242.
CyU3PDebugPrint (4, "high, returned = %d\n",apiRetStatus);
Please see the attached code.
USB2.0 microB on demo board is connected to PC. The debugging message print both intended message and some leading garbage characters.
How to remove the garbage leading character?
Show LessHello,
We have trouble in programming I2C memory via cypress control center on some computers.
We use a custom board but it is the same with the CYUSB3KIT-003 board.
The board is correctly detected by the Cypress control center software as a "Cypress FX3 USB Bootloader Device".
When we choose Program->FX3->I2C EEPROM the software indicate:
But the open dialog window doesn't open so we can't choose the .img file to download.
After few seconds this message appear:
and the device disappear from the treeview.
to be complete here is some additional information:
- The device is connected on a USB3 port.
- If we connect the device on a USB2 port it works!
- The computer is a DELL precision T1700 (core I7-4770 64bits with Windows 7), it doesn't work on some laptop too.
Thanks for your help
Nicolas
Show LessHi,
i came across an artice that Cypress worked together with Lattice, developing an eval board using a Cypress FX3.
The firmware of the FX3, used in this example, would be a perfect reference to start the projekt i'm working on.
Since the download link on the website of Lattice seems to be broken, i wanted to ask if you are able to share the firmware?
Best regards!
Lattice USB3 Video Bridge: Lattice USB3 Video Bridge Development Kit - Lattice Semiconductor
Downloadlink (broken?!): http://www.latticesemi.com/view_document?document_id=50810
Show LessHello,
what to do with unused write protection inputs on the SD card ports? Can they be left floating?
I want to be able to read and write from uSD cards, but don't want to use the hardware switch for write protection.
S0_WP on G3 and S1_WP on D3 are the pins I mean.
Thanks in advance...
Mark
Show LessI want FX3 only support USB2.0 full speed,under this condition, USB2.0 high speed and USB 3.0 is not support. another condition is only support USB2.0 high speed, that mean USB3.0 and USB 2.0 full speed is disabled. how to do it?
Show LessI previously posted here about submitting our CyUSB3.inf file for driver resale and was told to private message SrinathS_16 with the file. I have now found it is not possible to attach the inf file to a private message (only image files are supported as attachments) and have private messaged Srinath re my problems but had no response. I also attempted to reply to the standard EMail notification I received when Srinath responded on the forum (as the Email itself suggested) but that bounced. How do I proceed getting our driver inf submitted?
Show LessHello:
I found CY7C68013A can update EEPROM for less than 20 times. At the first several times, it can update by USB control center normally. but it program EEPROM failed after about 20 times
we use 0xC2 boot mode.
please let me know what happen .
Thank you very much.
Show Less