USB superspeed peripherals Forum Discussions
Hi,
I am using CX3 interfaced with Omnivision sensor Ov4682. I have omnivision sensor register settings defined in a .c file. I use UVC/Directshow to output the image. If I have to change a single register, I have to build the solution and flash the image on firmware. Can I use Directshow or any other means to change the sensor values dynamically? What changes do I have to make in firmware to support this?
Thanks.
Show LessHi all,
I write cmake rules to use cmake with FX3 Code:
https://github.com/h4tr3d/fx3-cmake
It simplify managements of big code base and allow separate compiled binaries from sources ("shadow building").
Any feedback welcomed 🙂
Show LessHi,
I am using the superspeed FX3 kit together with the SP601 from xilinx. i have conneted them as shown in AN65974 and I am using the provide STREAM_IN firmware and the VHDL code.
I am trying to set up this data flow:
FPGA (number generator) -> sync FIFO (in the FPGA) ->FX3 superspeed (STREAM_IN) -> PC (streamer application)
So I modified part of the provided VHDL code introducing my number generator and my FIFO memory.
I would like the FX3 to read my FIFO by controlling the read_enable only when these conditions are met:
(PROG_EMPTY or EMPTY )= '0'
I know that when both FLAG_A and FLAG_B from the FX3 are HIGH the state machine (implemented in VHDL) goes in write mode and DATA can be written in the FX3 buffer. SLWR goes low then FLAG_B goes low too --> write_delay mode.
Can somebody help?
Thank you in advance
Alessandro
Show LessHello,
I have a some problem with undestanding of how CyU3PSysCacheIRegion() function works at my Ez-USB FX3 DVK board.
I want to place a simple assembly function that generates impulses on the GPIO[0] pin into the I-Cache for fast implementation. At first call of my function I see on the logic analyzer's screen that NOP operations are implemented at frequency 100 MHZ. At second call of my function NOPs are implemented at 200 Mhz. What can I do for the correct ipmplementation of NOPs at 200 Mhz in my function at first call?
The peace of C code is:
//----------------------------------------------------------
CyU3PSysEnableICache();
CyU3PSysFlushICache();
CyU3PSysCacheIRegion((uint32_t*)0x40009ba0, 0x0800);
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
CyFX3GpioSetValN();
//----------------------------------------------------------
The 0x40009ba0 is address of first operation in my function into SRAM.
Assembly code of my function is:
//------------------------------------------------------------------
.global CyFX3GpioSetValN
CyFX3GpioSetValN:
push {r4, r5, r6, lr}
//ldr r5, [r4,] // # 0xe0001100
mov r5, # 0xe0000000
mov r6, # 0x00001100
add r5, r5, r6 //Address of GPIO[0]
mov r4, # 0x80000030//-2147483600
mov r6, # 0x80000031
str r4, [r5] //Set gpio to LOW
str r6, [r5] //SET gpio to HIGH
NOP
NOP
NOP
NOP
NOP
str r4, [r5] //Set gpio to LOW
NOP
NOP
NOP
NOP
NOP
pop {r4, r5, r6, r7, pc}
.end
//------------------------------------------------------------------
Also, I have interested of minimal Length of code region that I can put into I-cahce with the help of CyU3PSysCacheIRegion() function.
Regards,
-EugeneR
Hey,
I have some troubles setting up the FX3 in a many to one configuration.
I downloaded the Example-project for the firmware from this website. It was called "GPIF_Example2" .
Trying to read data with the Streamer program show that all packeges are failed.
I did not change the code anywhere before trying it out on the board. Is this a known problem or is it something that I can fix?
--
Jesper
Show Lesshello.
I need to organize control stream_in with pc.
I want on/off increment stream_in with pc.
I used cyusb3014, kintex 7. On board trace only flagA and flagB.
May released loop_back via two flags?
And how easy to implement the transfer of one command for on/off increment stream (what about short_cmd).
Show Lesshello.
I need to organize control stream_in with pc.
I want on/off increment stream_in with pc.
I used cyusb3014, kintex 7. On board trace only flagA and flagB.
May released loop_back via two flags?
And how easy to implement the transfer of one command for on/off increment stream (what about short_cmd).
Show LessFX3 has 512KB system RAM,and it can be used as code and data. so, the biggest application code size is 512KB? If application code size is smaller, the other can used as data?
In datasheet, FX3 can boot from one or more than four 128KB EEPROM which is the 1Mb I2C EEPROM. But I found Atmel , ST or Microchip have 2Mbit I2C EEPROM, named AT24CM02 or M24M02. Can fx3 use this 2Mbit boot and download code use "Control Center"?
IF the application code if more large, Can I save code and boot form two 2Mbit I2C EEPROM?
Show LessHello all,
EZ-USB FX3 Technical Reference manual many times refers EZ-USB FX3 datasheet, but I couldn't find this file on cypress.com. I can't believe it is hidden deliberately. Did anybody manage to find it?
Thank you in advance.
Show Less