USB superspeed peripherals Forum Discussions
Hello community,
I have a MIPI CSI2 video output from a device that does not support Dual Data Rate. My question is could cx3 also work with SDR sampling and if so, how can i configure it to do that?
Best regards,
Dale
Show LessHello, after writing my firmware on the EZ cpress suite software provided by Cypress, the following error occurred during the build process. May I know the possible cause, thanks.
previous definition of 'struct std::__is_integer<int>'
previous definition of 'struct std::numeric_limits<int>'
redefinition of 'struct std::__is_integer<int>‘
redefinition of 'struct std::hash<int>’
And many other similar errors.
Show LessHello, I am developing the firmware for CYUSB3014 and I used eclipse from the SDK provided by Cypress to write my firmware. However, in the example, only the firmware written by the C source program is available, and the corresponding makefile only has the configuration for the. c file. However, I am using C++programming in my firmware program.
Therefore, I would like to know how to modify my makefile when I compile both .c and .cc files to ensure that I can build my firmware image, thanks.
Here is my current makefile,and I have added my C++file (. cc). How should I modify this makefile so that I can build my firmware image.
FX3FWROOT=../..
FX3PFWROOT=../../u3p_firmware
all:compile
include $(FX3FWROOT)/common/fx3_build_config.mak
MODULE = cyfxslfifosync
SOURCE += $(MODULE).c
SOURCE += cyfxslfifousbdscr.c
C_OBJECT=$(SOURCE:%.c=./%.o)
A_OBJECT=$(SOURCE_ASM:%.S=./%.o)
EXES = $(MODULE).$(EXEEXT)
$(MODULE).$(EXEEXT): $(A_OBJECT) $(C_OBJECT)
$(LINK)
$(C_OBJECT) : %.o : %.c cyfxslfifosync.h gpif2_config.h
$(COMPILE)
$(A_OBJECT) : %.o : %.S
$(ASSEMBLE)
clean:
rm -f ./$(MODULE).$(EXEEXT)
rm -f ./$(MODULE).map
rm -f ./*.o
compile: $(C_OBJECT) $(A_OBJECT) $(EXES)
#[]#
Show LessI'd like to test the HDMI capture board, CY-SD4210, where to find it?
https://www.infineon.com/cms/en/product/evaluation-boards/cy-sd4210/
Also described here
Show LessWith EZ USB Suite,
I worked according to the procedure described in CX3-KBA225748.
However, cyu3imagesensor.c/cyu3imagesensor.h files were not generated.
Any advice on how to resolve this?
Show LessHello, I am developing the firmware for CYUSB3014 and I used eclipse from the SDK provided by Cypress to write my firmware. However, in the example, only the firmware written by the C source program is available, and the corresponding makefile only has the configuration for the. c file. However, I am using C++programming in my firmware program.
Therefore, I would like to know how to modify my makefile when I compile both .c and .cc files to ensure that I can build my firmware image, thanks.
Here is my current makefile,and I have added my C++file (. cc). How should I modify this makefile so that I can build my firmware image.
Hello community,
I'm working with FX3 since long time and I'm using Fx3 for my custom product development.
I have multiple threads running that will access I2C, SPI and USB to Send and receive data whenever required.Now for my debug purposes I want to add UART prints to check runtime errors.
My UART TX, RX is connected to DQ[30], DQ[31] respectively... And I have connected Jumper wires to these points and using a FTDI to check logs. But I dont see any logs being printed in teraterm.
Coming to code, these are my implementations:
And I disabled flowctrl because I'm not using RTS,CTS and also I dont required UART to be full duplex, Half duplex will serve my purpose of only printing.
I wont be writing data to the FX3 from tera term so DMA callback's initializations are also not added. I'm using CyU3PDebugPrint() to get the prints. But I dont see any prints.
Other GPIOs[53:56] are being configured for SPI as below:
Form KBA link I learnt that I'm using proper configurations only ie., COM port is connected to GPIO [46]-[49], the IO Matrix should be configured for GPIF bus width of 16 bits and lppMode should be set as Default LPP mode where all peripherals are enabled. Correct me If I'm wrong.
I ensured baud rate, stop bit, parity, and flow control settings of the Tera Term is same as the UART configuration used in the firmware.
Can someone please help me to get UART prints.
Thanks and regards,
Pranay
Show LessHello community,
Im trying to initialize my MIPI CSI2 device (not a sensor but a Analog Video to MIPI bridge)with the help of the I2C API (cyu3i2c.h). I have one problem though.
It seems that the preamble used expects a 16-bit register address. Could i also use 8-bit Register addresses? Can i simple cut one of the bytes in the preamble (use byte[1] and skip byte[2]) and send it that way with CyU3PI2cTransmitBytes?
Best regards,
Dale
Hi Infineon Support Team,
Thank you for your usual support.
I have a question about FX3 SPI communication.
Booting ROM via SPI communication is possible when 32bit data width is selected for GPIFII,
Is it impossible to communicate with a device other than the boot ROM via SPI communication?
Currently, the wiring for SPI communication (GPIO[53]-[56]) is connected to another device in addition to the SPI flash memory.
I would like to know if it is possible to communicate with this other device.
Looking at the circuit diagram of Infineon's general-purpose board CY-RB4111, it was specified to boot with SPI flash memory with GPIF II data width selected as 32 bits.
I believe it is possible to boot a ROM.
However, since P52 of "EZ-USB FX3 Technical Reference Manual" has the following description, I think that SPI communication with other devices other than boot ROM is not possible.
"If the GPIF II bus width is configured to 32 bits, then UART lines are available on the GPIO[53] to GPIO[56] pins, and SPI is not supported."
Best regards,
Koki
Show Less