Quantcast
Channel: Cypress Semiconductor - USB 3.0: Super Speed
Viewing all 780 articles
Browse latest View live

Visual Studio C# Error CS0246 The type or namespace name could not be found? Cyusb.dll

$
0
0

Dear all,

I loaded the control center source as C# project in Visual Studio 2017. Then I get error CS0246: The type or namespace could not be found of cyusb.dll and in the form1.cs all referenced instructions from the cyusb appear red underlined. Is this possibly a Net Framework incompatibility issue? The cyusb.dll is in the bin folder of the project but cannot be found. Even when manually adding the item in "references" or "ressources" doesn't help.

Additional information: When first opening the project file Visual Studio converted the project file to a new 2017 format. I've attached Screenshot.

Thanks in advance
kind regards

Hendrik

 


Does FX3 and UVC support 240fps image sensor?

$
0
0

Hi, 

I am working on a project with FX3 trying to obtain live video at 240 fps with resolution 640 x 120 using image sensor MT9V034. 

I have checked the bandwidth of FX3 (5Gbps), UVC (128Mbps for USB3.0) and the image sensor (27Mbps) and they all support the frame rates at this resolution (640 x 120 x 1 x 240 = 18.43Mbps since the sensor output is monochrome). 

I am wondering does this mean the whole system can work properly at 240 fps?

Best,

Eric

Problem with CX3 Configuration utility

CX3 MCLK does not work

$
0
0

Hi,

I am using a CX3 (CYUSB3065-BZXI) chip trying to get the image out of a image sensor. I am trying to get the CX3 to output a 24M reference clock on MCLK for the image sensor, but can not get it work until now.

Due to the poor documentations of the images sensor I am currently using (which is a pre-release sample), I used the CX3 MCLK for the sensor for debugging purpose on my PCB. The reference clock for the CX3 is 24M generated by an oscillator. To generate the 24M clock signal, I tried the following configuration:

CyU3PMipicsiCfg_t RAW12_Resolution0 =  
{
    CY_U3P_CSI_DF_RAW12,                  /* CyU3PMipicsiDataFormat_t dataFormat */
    2,                                                       /* uint8_t numDataLanes */
    2,                                                       /* uint8_t pllPrd */
    95,                                                     /* uint16_t pllFbd */
    CY_U3P_CSI_PLL_FRS_125_250M,     /* CyU3PMipicsiPllClkFrs_t pllFrs */   
    CY_U3P_CSI_PLL_CLK_DIV_2,            /* CyU3PMipicsiPllClkDiv_t csiRxClkDiv */
    CY_U3P_CSI_PLL_CLK_DIV_8,            /* CyU3PMipicsiPllClkDiv_t parClkDiv */
    0x0101,                                             /* uint16_t mClkCtl */
    CY_U3P_CSI_PLL_CLK_DIV_2,            /* CyU3PMipicsiPllClkDiv_t mClkRefDiv */
    224,                                                   /* uint16_t hResolution */
    50                                                      /* uint16_t fifoDelay */
};

 

So:

REF_CLK = 24M;

PLL_CLK = 24 * [(95+1) / (2+1)] / (2^2) M = 192M;

MCLK = 192 / 2 / [(1+1) + (1+1)] M = 24M;

 

However, when I tested on the board, there is no output from the MCLK pin on CX3.

 

The function CyU3PMipicsiSetIntfParams(&RAW12_Resolution0, CyTrue); returned CY_U3P_SUCCESS, and function CyU3PMipicsiQueryIntfParams returned just the same as the settings above. Also, function CyU3PMipicsiCheckBlockActive returned CyTrue

I tested the MCLK pin, which is G3 pin of the chip, using the Oscilloscope, there is nothing except a straight line on the screen, just like testing a GND pin. 

I noticed that using MCLK is not recommended because of the high jitter value, but since I am debugging the image sensor, is there any additional operations to get it work? 

Thanks!

 

UAC Composite Device

$
0
0

Hi,

I am trying to use UVC and UAC composite device in CX3. The UAC device in Windows 10 report error whereas UVC device got driver installed. If I make it as standalone UAC device, it works fine (device driver got installed).

 

Can you give me descriptor file for UVC and UAC composite device for either high speed or super speed?

TX+ and TX- Voltage Level(CYUSB3014-BZXI)

$
0
0

Hi 

Is there any way to raise the voltage level of TX +, TX- of USB3.0? 

I want to raise LEVEL using hardware and software. 

The current LEVEL is 0.25V and the LEVEL you want to raise is 0.3V. 

Thanks

 

Got dark screen on Win10

$
0
0

we got dark screen on win10, tried different ways no solution yet. With the same UVC describ, we can get the correct video on linux system(Ubuntu 16.04, by using guvcview), does anyone encounter the same issue? thanks

FX3S mass storage using Manual DMA

$
0
0

Hi,

I want a mass storage device with ability of editing data before write to sd card. I used mass storage example in SDK with two S ports and changed MscOut channel handle from AUTO to MANUAL and I added commit function to the callback function(no operation on data for now). Here are the changes: 

/* #####1#####

dmaConfig.size           = 1024 * CY_FX_MSC_EP_BURST_SIZE;
    dmaConfig.count          = CY_FX_MSC_DMA_BUF_COUNT;
    dmaConfig.prodSckId      = (CyU3PDmaSocketId_t)(CY_U3P_UIB_SOCKET_PROD_0 | CY_FX_MSC_EP_BULK_OUT_SOCKET);
    dmaConfig.consSckId      = CY_U3P_SIB_SOCKET_0;
    dmaConfig.dmaMode        = CY_U3P_DMA_MODE_BYTE;
    dmaConfig.notification   = (CyU3PDmaCbType_t) (CY_U3P_DMA_CB_RECV_CPLT | CY_U3P_DMA_CB_PROD_EVENT);
    dmaConfig.cb             = CyFxMscApplnDmaCb;
    dmaConfig.prodHeader     = 0;
    dmaConfig.prodFooter     = 0;
    dmaConfig.consHeader     = 0;
    dmaConfig.prodAvailCount = 0;

    status = CyU3PDmaChannelCreate (&glChHandleMscOut, CY_U3P_DMA_TYPE_MANUAL, &dmaConfig);

#####1##### */

/* #####2##### this is added in CyFxMscApplnDmaCb()

    CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
    if (evtype & CY_U3P_DMA_CB_PROD_EVENT)
        status = CyU3PDmaChannelCommitBuffer (handle, input->buffer_p.count, 0);

#####2##### */

 

CBW and CSW works fine but can not write files to sd from windows os.

Any idea why it does not work?

 


Need Descriptor for USB Audio device (MIC + SPeaker)

Fx3 device descriptor failed on USB bus reset with Windows 10

$
0
0

I have a problem with the Fx3 SuperSpeed Explorer kit board (also happens on our custom board with the Fx3).  The first time its inserted on the computer, it enumerates fine, but when the machine is rebooted, Windows tells me the device descriptor has a problem.  It only occurs when booted out of the built in ROM and happens on Windows10 and Windows7 with two different computers.  If I use USB boot mode to boot custom firmware, like the streamer example, its fine.  I can make it occur not only on a reboot (without touching the Fx3 board at all or power to it), but if I disable the hub using device manager, then re-enable the hub, it also comes back as code 43 and the same device descriptor failed message.  So I'm guessing its a problem with the firmware in boot ROM not handling a bus reset properly.  But I'm not sure how to fix it because as far as I know, the boot ROM is not updatable.

When its in code 43 mode, I can't do anything programmatically with it until I manually reset it, so its definitely going to be a problem for our use case.  I have a log from Microsoft's USB 3.0 verifier attached that has some more detail that its failing "Descriptor Validation WarningDescriptorValidationErrorEndpointBlengthTooLarge".

Any help would be appreciated.

-Scott

transfer performance GPIFII to USB

$
0
0

There is a difference in data transfer performance description between GPIF II and USB in the data sheet. In the Japanese version and the Chinese version there is a description of 320 MB / s, but in the English version it is described as 375 MB / s. Which of the performance values is right?

An issue about “NTSTATUS = c0000001” happened in FW compiled in Eclipse 1.3.3

$
0
0

Hi, Cypress,

I developed “SyncSlaveFifo2Bit” (as attachment) based on “slfifosync” which in EZ-USB FX3 SDK 1.3. I can successfully compile SyncSlaveFifo2Bit in Eclipse 1.3.3, and use Control center to download *.img (Debug folder) to CYUSB3014 to test w/ Streamer. However, “NTSTATUS = c0000001” happened after several Xfer…

I also re-compile SyncSlaveFifo2Bit in Eclipse 1.2.2 and *.img coming from 1.2.2 can work well (transfer lots of packet and didn’t happen NTSTATUS = c0000001) with Streamer.

The detailed description is as attached. I wonder if I should use 1.3.3 for my future work, and need your great help.

look forward to your feedback.

Many thanks, Jackie

how to issue 4byte packet with eob=n

$
0
0

hi

   I use cy3014 in my camera transmitting data to pc.i make PKTEND SLWR SLCS available at the same to issue a 4 byte packet.

   I find the EOB=Y in the 4 byte packet.

   How can make EOB=N in 4 byte packet?

   Thanks!

 

AN75779 : FX3 Hangs after receiving two buffers of data from sensor

$
0
0

Hi,

We are trying to set up a UVC based camera using FX3 super speed explorer kit, FX3 FW example given with AN75779. Our actual sensor is not UVC compliant and therefore we use FPGA as a medium to take data from sensor and give it in UVC format to FX3. However, before interfacing actual sensor, we started working with a test pattern generated from FPGA to test and see out if we can see any display on the host application(VLC Media Player). In doing so we see that FX3 hangs after receiving two buffers of data from sensor(FPGA).

Details of the test/experimental setup and the results given below

Setup 1: Same Resolution 1280x720@30fps, YUV2, No I2C interface

1) We have modified the sensor.c file to

a) i2C bus test to return success unconditionally

b) all i2c read/write calls in sensor init function commented out

2) we have modified the uvc.c file to add more debug print statements to catch the flow of execution

3) We have uncommented the DEBUG FRAME COUNT in uvc.h to print frame and buffer counts

4) FPGA drives FV, LV and PCLK (104MHz for 8bit interface, 2 bytes per pixel)

5) Generated the img file and programmed FX3.

6) The FX3 gets enumerated as a UVC device and debug prints start printing the message "UVC : completed 0 frames and 0 buffers"

7) VLC is set to use FX3 as capture device and start streaming by using Play

8) Debug prints show streaming request received, gpif sm initiated and status of dma buffer for first two 16kB packets. After that we dont see any further activity from FX3. (This is confirmed as we have added print statements for both pass and fail conditions)

9) When we reset FX3 kit, the FX3 resumes again. Sequence repeats. Plese find attached images cypress1 through cypress4 (snapshot of debug prints, cypress 4 after starting stream from VLC)

Please note that the FV and LV are verified to be active when the strean is initiated from VLC and LV is active for 1280 * 2 PCLKs.

10) We did the same experiment, this time setting the resolution from FPGA to 640x480 @ 30fps, YUV2. We however dint modify the FW according to resolution. We just wanted to check if we could see any change in FX3 behaviour. We get to see same response in this case to. Attached image cypress5 shows the result after starting the streaming in VLC for this case.

 

Please let me know if i have missed any important change which could impact FX3 to this extent

Also, please provide step by step details of modifying AN75779 FW to use it with sensors of different resolution and frame rate.

 

Looking for  a quicker support. You may call or mail me at the contact details given below

 

Thanks

Ajay Kumar.

ajay@htic.iitm.ac.in

+91 9482427152

 

do the CYUSB3014 support linux?

$
0
0

Hi All,

   I want to knew the CYUSB3014  whether to support linux? if it can, please gave the driver to me.

GS Xie


Unable to use boot VID PID from M25P32 SPI flash

$
0
0

Hi,

I am trying to set up the FX3s USB bootloader to use custom VID and PID stored in a micron M25P32 SPI flash chip. The board is set to SPI boot with USB fallback. The flash image is working on the FX3 DVKs onboard flash (M25P40). The image is written correctly to the flash on my custom board (read back by firmware), but the bootloader fails to use the VID PID from flash. Using the oscilloscope I have observed the bootloader to read the status register and the first 4 bytes (header) of the flash image as it does on the DVK. The communication on the custom board stops after reading the header and it enumerates with default cypress VID PID. The FX3's SPI interface on the custom board is using 1.8V levels and communicating to the 3.3V flash through a MAX3378 bidirectional level shifter. I have tried eliminating the level shifter using 3.3V levels on the FX3's SPI and connecting it directly to the 3.3V flash(on the far end of the tristated level shifter), but still got the same behaviour.

I intend to try different types of flash memory and avoid going through the level shifter. Are there any known issues for certain flash types?

The image header is set to for the bootloader to use 10MHz SPI clock(Max speed of level shifter, but the bootloader doesn't get far enough to use that information). The app note warns of using pull up/down on MISO & MOSI(bootloader expects floating lines to start communication). Could the level shifter still be a problem? I would guess the bootloader would not even start communicating if the level shifter has pull up/down behaviour.

Thanks in advance

an87216: No driver after configuration (Win10)

$
0
0

Hello,

I'm trying to make the an87216 example work.

I can connect the 2 PCBs and program the FX3. They reconnect. After that they don't show up in the Control Center any more. Windows tells me, they have no driver.

What driver do I need and how can I install it?

 

Thank you

Kind regards

Reto

AN75779 Device not replying with ERDY. Communication stuck.

$
0
0

Hi,

I'm implementing a uvc 1.0 application with FX3 device. The code is based on AN75779, running on Windows 10, with DMA callback implementation, Bulk Endpoint:

Packet size: 1024

DMA Buffer size: 34800 (34*1024 - 16 bytes) 

 

The Problem:

At a certain point the stream is stopped because the deviced assets a NRDY which is never cleared by a ERDY. Under this conditions the device is stuck (streraming freezes) but not crashed (just trying to recover the streaming with a third party uvc streamer it gets back to streaming). I think that the DMA has been corrupted for some reason, and this puts the GPIF in a  bad state. 

Please find here the screenshot of a protocol analyzer log

EZUSB3-AN65974-DDR

$
0
0

Hi there, I am interfacing an Altera DE1 board to ezusb3 and have been looking through the vhdl documentation for the slaveFIFO2bstream_out.vhd (down load is AN65974). I notice that a mega function for DDR is included as a component. Initially I thought this was just used to double the frequency from 50MHZ to 100MHZ, but after simulation I see that the PLL component doubles clock frequency. The only thing that i can see the DDR do is change the phase of the output clock. Is this megafunction necessary to interface with the EZUSB3 (for stream out to slave fifo) or is it a remnant of a previous architecture from a more complicated design?

 download of sample code: http://www.cypress.com/documentation/application-notes/an65974-designing...

 

 

 

usb FX/CX3 camera video/bulklplowlevel data transmission to PC host

$
0
0

We are using a CX3 development board and trying to transmit a camera video and readings from an external sensor (connect to FX3 via I2C) to a PC host . We were able to get OV5640 video and readings using bulklplowlevel to a PC host separately, however, were NOT able to get both working at the same time. It looks like they both configured in a different way. Any advices?

Viewing all 780 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>