USB superspeed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
Hi, I have a C++ program that sends data from my Linux host PC to the FX3, and then has the FX3 return that data back to the host. I would like to read some registers and log them in a file on my host PC during all of these data transfers. I've found the CyU3PReadDeviceRegisters() API function, but I don't know if it needs to be in the C++ program I wrote, or the firmware I have downloaded onto the FX3 using the USB bootloader. I am using the cyfxbulklpautoenum image file that comes with the Linux cyfx3sdk.
To summarize, can I get an example program or code snippet describing where to use the CyU3PReadDeviceRegisters() function (either in firmware or C++ program) and how to log that data for each transfer onto my Linux host computer?
Thank you.
Show LessHello
For SPI flash for CX3 boot, we plan to use Winbond SPI flash. As a result of referencing KBA221833, the commands used are the same. However, there is only one difference.
Regarding "Sector Erase: D8h", D8h is Block Erase (64KB) in Winbond products (command to Erase 64KB area).
Furthermore, 4KB is called Sector, and 32KB and 64KB are called Block.
So, Each company may call Block or Sector differently,
But, is there any problem using Winbond SPI flash mentioned above for CX3?
Best Regards
Show LessDear community,
I encounter an issue while trying to debug an application with SPI enabled. In the EZ-USB FX3 superspeed explorer kit, the pins of UART and SPI are shared so I can't use DebugPrint anymore.
I followed the steps described in the manual to set up an OpenOCD Debugger and I created a debug configuration for my project as explained in the user manual.
Once everything has been started, I step in my main program by clicking run. I can then do forward stepping in the main function (however, the steps does not follow the lines numbering and jump back and forward but it seems to work). On the other hand my breakpoints are ineffective. I attached a picture of the look of the breakpoint attached to this thread. I can't go deeper in my functions because of this ineffectiveness of the breakpoints.
Help me please dear community !
Show LessHi ,
When i'm trying to load program into CPLD with the help of ProgramCPLD.exe it's showing like this
ProgramCPLD V0.4
Usage: ProgramCPLD <filename.xsvf>..............................
Use CR to EXIT
I'm unable to load the program
Thank you for Your help
Show LessHello,
Our CX3 I2C is not working properly, looks like only sometimes in random we mange to communicate with our camera module. lookin at the signals we see that the rise time is high as well as the frequency is not as it should, it is 250KHz instead of 400KHz. this is with 10K pull-up resistors as it is in the reference design.
we tried changing the pull-up to 5KHz, this had an impact, mainly on the frequency which changed to 280KHz.
Then we saw in the FX3 checklist that it is recommended to use 2K pull-up (it is for flash but we decided to try) and the signal changed to 400KHz but the rise time is still bad
any suggestions? there is nothing on the I2C lines that is loading them (the signals remain similar with and without the camera module).
attached also the schematics and layout.
thanks,
Show Less
Hi, I am try to Write Firmware into the SPI Flash "S25FL127SABMFI101". Write is Successful but unable to boot the Firmware .
I able to erase and read SPI flash.
So, Guide me what is the issue??
Flashing from Control center is successfully boot the Firmware.
I am using the "USBspiDMA " example code.
And attach me Application Code.
Show LessHi , I need to Download the Firmware into SPI flash without switching the Fx3 into boot mode using jumper.
Is it possible ??
If Yes, then from where I get the reference .cpp Application code ?
Is "cyfxflashprog" Example Firmware works in that case ?
Show LessTrying to install the ezusb eclipse suite that comes with the SDK download. But the ezusb suite is a older version and doesn't work with latest version of java. Need latest ezusb suite which works with latest version of Java.
Show LessHi,
I am using the CX3 Denebola board and using the EZ-USB FX3 SDK.
When I used sprintf() calls in the code to print floating point values, I was getting an error saying _sbrk not found. I looked up the note https://community.infineon.com/t5/Knowledge-Base-Articles/Printing-Floating-Values-using-FX3-SDK-KBA231244/ta-p/251347
and made the necessary changes.
After these changes, I get the following error. What do I need to do to resolve this issue?
../calls.c: In function '_sbrk':
../calls.c:14:29: error: '__heap_start' undeclared (first use in this function)
heap_end = (char *)&__heap_start;
^
../calls.c:14:29: note: each undeclared identifier is reported only once for each function it appears in
../calls.c:18:28: error: '__heap_end' undeclared (first use in this function)
if (heap_end + incr > &__heap_end)
^
../cycx3_uvc.c:2636:29: note: each undeclared identifier is reported only once for each function it appears in
../cycx3_uvc.c:2640:28: error: '__heap_end' undeclared (first use in this function)
if (heap_end + incr > &__heap_end)
Thanks and Regards,
Subbu
Show Less