USB superspeed peripherals Forum Discussions
my app need to switch IOMatrix between SPI mode and 32bit with I2C
programe start with 16bit/SPI mode then switch into 32bit/I2C mode this step works fine
but when i change back the SPI didnt work
i use
void io_cfg_deinit(void)
{
CyU3PGpioDeInit();
CyU3PSpiDeInit();
CyU3PI2cDeInit();
CyU3PPibDeInit();
CyU3PGpifDisable (CyTrue);
}
before reconfig, is there miss somthing? or time request i missed
Show Less
Hi,
I am using a USB 3.0 hub "CYUSB3314" to get 4 connectors from a single connection comes from a CPU. I know how should I connect the upstream connection to a connector but I am confused how to connect that to a CPU. is it going to be like a connector (TX_M to TX-, TX_P to TX+, RX_M to RX-, RX_P to RX+) with having swapping option between each polarity or should I connect TX to RX in each side?
Thank you in advance.
Show Less
Hi,
I'm working on streaming images from IMX477 using CX3 through the MIPI interface.
I'm bumping into a I2C issue. I have a Denebola kit and I have developed a board to interface the Denebola MIPI connector to the 22 pin connector of a Arducam (pretty much a Raspberry Pi HQ camera).
Most of time I try to write a register, CyU3PI2cTransmitBytes returns CY_U3P_ERROR_FAILURE, which is a very generic error.
I looked into the signal using a Logic Analyzer, and I got this:
The sensor almost never sends the proper low level ack after 8 bits, instead it returns a nack.
I changed the SDA and SCL pull-up resistors from 10k to 1k (that's the value I had in hands, I just wanted it to be smaller), which gave me the result of the image above.
Sometimes I actually get a ack from the sensor and everything works fine, but most of time (at random) I get this problem.
Has anyone seen it or could give some advice on how to solve that?
I appreciate all feedback.
Thanks in advance,
Renato.
Show LessAre there any code examples available that support UAS on FX3? The datasheet says it's supported and available, but search shows nothing.
Dear Sir,
My CX3 stream video steam crashed occasionally, without any DMA reset and CX3 mipi error occurs.
We add 2 hid devices combined with UVC device, which can support HID button and also can read/write sensor registers by HID.
It seems HID operation has effect on UVC DMA transmition, and then the video stream may be crashed occasionally.
Can you give us some debug suggest
Show Less
Hi there,
I am currently working on a project where RJ45 connector need to be converted into two USB 3 ports. Therefore I have choose CYUSB3610 chip and CYUSB3302 chip to do that. Please advice if this configuration will work or whether I need to use different configuration to achieve that. Please find attached block diagram. Thank you in advance.
Kind Regards,
Mo
Show LessWe have populated a CYUSB3KIT-003 with a CYUSB3012 instead of the CYUSB3014.
When running the AN75779 code, we get the following error :
"DMA Channel Creation Failed, Error Code = 16"
Because of the smaller SRAM on the 3012 (256K vs 512K), I have already reduced the size of the .img and added the build flag (CYMEM_256K) for the 256K memory. The .img is sitting at 126KB, which should fit in the 128KB allocated space for the code area (if I'm understanding correctly).
The default UVC total stream buffer size sits at 64KB. I've already tried adjusting some of the defined variables to reduce this, but still get the same error.
Is there a way to adjust the firmware such that the DMA channel can be created? And, what else needs to change for the application to run properly on a 3012?
Memory map comment taken from cyfxtx.c
A reduced memory map is used with the CYUSB3011/CYUSB3012 devices:
Descriptor area Base: 0x40000000 Size: 12 KB
Code area Base: 0x40003000 Size: 128 KB
Data area Base: 0x40023000 Size: 24 KB
Driver heap Base: 0x40029000 Size: 28 KB
Buffer area Base: 0x40030000 Size: 32 KB
2-stage boot area Base: 0x40038000 Size: 32 KB
Hello,
I want to transmit the raw data of the RGB bayer image sensor using FX3.
I want to use FX3 send Dvp RAW data to PC side.I have implemented the basic functionality, but there are still some problems that cannot be solved.
The test board specifications are as follows:
1.1. Data bus: 8bit GPIF (I used cyfxgpif2config.h of UVC_AN75779 as it is.)
1.2. 1280* 720 @ 30hz, UVC(YUV422), 8bit
I refer to the following forum post for an example firmware to stream RAW image:
FX3 / CX3 Firmware for Streaming RAW Image Data using Cypress Driver
But I can't find the GPIF project,So I have no way to use it.
Then I refer to another forum:
FX3 RGB bayer RAW data Streaming Question
UVC code is good.
toggled "#define CY_DRIVER" in uvc.h
But when I want send RAW data to my software.Then something strange happened.
In the beginning the image is fine, but later on the image starts to appear random misalignment,like this:
And lose frames,only have 20-22FPS.
Here is my log file, no problem
Can you give me some help? I've been stuck here for a long time
I look forward to your help.
Here is my source code,
Show LessHi,
I have two Bulk endpoint and I made a “loop back” by copy the EP IN to EP OUT in software:
BulkInEndPt.XferData(ref buffer, ref bytes);
BulkOutEndPt.XferData(ref buffer, ref bytes);
Everything works fine. I want to measure the time between send and receive data. I set a GPIO(37) in CY_U3P_DMA_CB_CONS_EVENT and then I tried to reset that GPIO in a thread related to CY_U3P_DMA_CB_PROD_EVENT . But I get different intervals while I send same packet. I want to know that which factors affect on this time that varies each time (The time that GPIO is high)? BTW I have two threads in my code.
Thanks
I am looking for a driver for the CYUSB3610 chipset in macOS Big Sur in order to finally use my Kensington SD4600P dock. Earlier this year it was mentioned by @JayakrishnaT_76 that development was in process ... is there any update?
Thanks!
Show Less