USB superspeed peripherals Forum Discussions
I am new to the world of video, and especially video-over-USB.
I have the EZ-USB FX3 SuperSpeed Explorer Kit. Everything is installed. I can compile new code and program the FX3 OK.
I am running the "USB Video Class example" from the SDK. This is the example that streams 4 frames of MJPEG over USB that shows the Cypress cup rotating.
I am using VLC as my video sink.
The problem I have is in understanding what I see. Why does the cup rotate so fast?? I thought that the programmed frame rate was set to 15 fps, but it appears much faster.
If I change the USB descriptors and the UVC probe control to 1 fps, VLC shows it at the same speed as when set to 15 fps.
Show LessWhen I measure the I2C signals with oscilloscope, I get a strange I2C signal timing sequence (attachment picture is the oscilloscope's waveform). The oscilloscope tell me the I2C master is addressing with 0x30 slave address, and following an ack. The starting sequence is also very strange. This waveform appears several seconds periodically. I can not measure my real waveform and debug the I2C interface timing sequence. I can make sure that my firmware is not controlling the I2C controller, and there is no I2C slave device's slave address is 0x30, and FX3 is the only I2C controller on my board.
Can anybody tell me why this occurring? Thank you very much!
Show LessHi,
I am very new to cypress FX3 and UVC and currently i am working on UVC Extension unit feature.
In PC side i am using AMCap player (windows).
my question is -
By changing the extension unit descriptor, will it work with AMCap player?
If yes , what changes are required in above descriptor ?
I also confused with GUID for extension unit. whether it should match with player side GUID ?
thanks in advance.......
Show LessNot sure if this is the right group to post the question, if its not please move it to the appropriate group.
Ive been tasked to write some logic to handle button press events on the device we are developing using the FX3
I have the following 2 pdf's im reading thru, but not sure if these are the correct ones and if they are what i should be focusing on within the files.
FX3 Programmers Manual
EZ-USB® FX3 SDK
Firmware API Guide
I was told that The button logic will likely use the GPIO API, but seeing as ive never worked with the GPIO's before not sure where i need to begin.
Show LessHi,
I'm trying to use FX3 DVK in order to transmit digital Video Data to a PC Host from an image sensor connected to the DVK. Video data needs to be transmitted as is, i don't want to compress it nor to convert it into a specific format. I would like to transmit a buffer containing image data to USB and to retrieve it from the PC host, then my application would reconstruct the image by ordering the pixels contained in the buffer.
I've read AN75779 and UVC Specifications. But I couldn't find how to transmit RAW image data. What I've understood is that UVC supports only YUY2 color space.
On the one hand, I would like to use the example firmware from AN75779 to use a "UVC way" for transferring video data, and then use the usbVideo.sys driver (provided by Microsoft) through the DirectShow API to make a host application. On the other hand, I would like to use the same firmware but with some modifications to allow me to use the CyUSB.sys driver through the CyAPI.lib API provided by Cypress to make the host application.
So, I have some questions.
(1) Is it possible to use the firmware from AN75779 to transfer RAW image data ? How can I modify it to do so ?
(2) Which way to process is better : use UVC and DirectShow API (with Microsoft's usbVideo.sys) / do not use UVC and use Cypress API (with CyUSB.sys) ?
(3) Is it possible to transfer video using CyUSB.sys and Cypress API ?
Thanks in advance,
StudentFR
Show LessHello everybody, due to different voltage levels of some I2C slave devices I need to implement a secondary I2C master on the GPIO_51 (SCL) and GPIO_52 (SDA) on a CX3 device. Usually these pins are shared with the I2S block I2S_SD and I2S_WD but it seems that they can be used as GPIO as well.
I was wondering if there is any configuration in the I/O matrix that can reassign the CX3 hardware I2C master signals to these two pins and if not (most likely not possible ) what will be the best strategy of use for a bit-banging I2C master.
I have seen from some other knowledge base articles methods of increasing the bit-bang I2C clock by calling functions that bypass the libraries checks when toggling SCL.
I didn't see any advice of switching the SDA pin form input to output and vice-versa.
Can some of the Cypress staff or forum members offer some advice or even better, direct me to some sample code if that exists.
Many tanks, MC
Show LessDear cypress engineer,
We are developing real time system on windows-os using FX3.
We want to know cyusb3.sys source code.
Do you disclose to me the program source code?
If necessary sign an NDA.
We want to know how to develop real time system on windows-os using FX3.
Best regards.
Hello!
Datasheet says DDR asynchronous mode is possible on GPIF (Figure 11, Table 10).
There is any example of DDR GPIF Designer project?
Could someone explain me idea?
Thanks, Igor.
Show LessWhat could be the reasons that cause a 16kB burst bulk IN endpoint to NAK the request:
BulkInEndPt.XferData(buffer, 16kB)
I have 2 threads with four 16kB buffers each.
Show LessTo whom it may concern,
I am trying to use the CMP_DATA action in multiple states in a GPIF II state machine (for Cypress FX3 USB). However, whenever I set the "Comparator value" and "Unmask value" fields for one CMP_DATA action in the GPIF2 Designer, it appears to set the comparator and unmask values for all instances of the CMP_DATA action in the state machine. Is it not possible to use different comparator and unmask values in multiple instances of the CMP_DATA action (where each CMP_DATA action belongs to its own state)? For example, I would like to add the CMP_DATA action to State0 and set the comparator value to 128, while adding a CMP_DATA action to State1 and setting its comparator value to 64.
If it is possible, then the GPIF2 Designer's state machine editor would appear to have a bug. If that is indeed the case, then are the data structures in the generated header file documented (e.g. waveforms) such that it can be patched? As an aside, I am also interested in parallel to/from serial conversions using the state machine.
Thank you for your assistance. Sincerely,
Daniel Madill
Show Less