USB superspeed peripherals Forum Discussions
Hello,
why should we use below macro?
#define _IFREQ 24000 // IFCLK constant for Synchronization Delay
#define _CFREQ 48000 // CLKOUT constant for Synchronization Delay
in my application project,
IFCLK is 27mhz,should i use #define _IFREQ 27000 ?
and
i am not using clock out pin ,can i ignore this?
regards,
geetha.
Show LessUpon building the CX3 RDK project from e-consystems. It appears to build OK, but there's an error when the IDE attempts to convert the generated ELF file to an IMG file:
cs-make --no-print-directory post-build
'Converting ELF to image (.img) format'
'C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\util\elf2img\elf2img.exe' -i CX3RDKOV5640.elf -o CX3RDKOV5640.img
Failed to open file CX3RDKOV5640.elf
cs-make[1]: [post-build] Error -1 (ignored)
' '
'Invoking: ARM Sourcery Windows GNU Print Size'
arm-none-eabi-size --format=berkeley CX3RDK_OV5640.elf
text data bss dec hex filename
159512 8068 6364 173944 2a778 CX3RDK_OV5640.elf
'Finished building: CX3RDK_OV5640.siz'
Notice the misformed path above: 'C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\\util\elf2img\elf2img.exe'
with two "\\". Why does this happen? Is there an IDE setting to fix this?
Thanks,
Scott
Show LessAfter transferring the project from SDK 1.33 version to SDK 1.34 version, the Cyclone IV FPGA download stopped working in PS(Passive Serial ) mode
via the function CyU3PReturnStatus_t CyU3PSpiTransmitWords (uint8_t * data, uint32_t byteCount)
When you roll back to the SDK 1.33 library through build variables FX3SDKVERSION, the download resumed.
With a detailed comparison of the source code, Cyu3spi.c detected a common bug (1.33 1.34) for the static "timeout" variable.
It is initialized once before entering the loop, and it is used several times in the loop.
In version 1.33, there is a check for the flag CY_U3P_LPP_SPI_TX_SPACE, in version 1.34 is not available(not check).
Konstantin.
Show LessI am confused about the proper connections of the SSTX and SSRX pins on the CYUSB3610. I assume the SSTX is the transmit pair from the IC, but in the CY4701 RDK schematics the SSTX pins of the CYUSB3610 are connected to the SSRX pins of the Type A USB 3.0 connector. This seems backwards, as the SSRX pins of the Type A connector should be sending data to the RX port of the USB controller. What am I missing? Is the RDK schematic correct?
Show LessI have a project that works very reliable on Win7 computers, but when I use it on Win10 machines the success of grabbing frames drops to 50%. What is strange is that sometimes the rate of successfully transferring frames will change from as bad as 10% to up to 75%. But on the Win7 machine its 100-99% successful. I have updated to the most recent drivers 1.2.3.20 and still see the same issue. I have began to look into the code, but instinct makes me think it could be the OS or maybe a hardware problem. Another note is that I have tried all 4 USB3.0 ports on that Win10 machine and produce the same bad results. Computer specs are i7-4790 @ 3.60GHz 64 bit.
Show LessHi!
On board, FX3 GPIO[56:53] are connected with a SPI FLASH chip; GPIO[49:46] are connected with a FPGA and will be used as part of 32 bits data bus.
Seems I'm not able to use UART to print debug info.
1. In this case, how can I debug firmware?
2. Can I safely comment out all UART debug related code from demo firmware?
Thanks!
Show Less
Hi..
We are trying to interface FX3s (part number 3035) I2C with temperature sensor (TS3001GB2A0NCG8) device. We are trying with the default firmware but unable to do the Read & write operations successfully. I am getting the write waveform correctly as per the datasheet but not able to read it back. So plz provide us if there are any existing source codes available for I2C interfacing. Thanks in advance.
Regards,
Swetha
Show LessHello,
fx2lp sdk comes with keiluvision2,gpif designer and control center.
can i use keilucision higer version for fx2lp?is it compatible?
regards,
geetha.
Show LessI have two machines - one that is out of space (a disk limited machine with no internal upgrade potential - Windows tablet class device) and a powerful "unlimited" resource workstation. The limited machine has the latest FX3 SDK installed - and GPIF II Designer works fine. The "unlimited" machine has a fresh install of the FX3 SDK and the GPIF II Designer does not load. Unfortunately, debug and development on the weaker of these two machines is not a viable option - I need to get my workstation happy with GPIF II Designer and the rest of the suite. I'm not sure what works and what does not as of yet - the GPIF II Designer is my first step in development.
Here's a rundown of what I have tried:
1) Reinstall of GPIF II Designer by uninstalling and reinstalling using the .msi in the SDK's "updates" folder.
2) Tried above as administrator
3) Tried reinstalling the .NET 3.5 requirement. My limited machine did not have this package installed - so I installed it as part of the SDK installation. The workstation already had .NET 3.5 installed along with many other versions. The .exe for installing .NET 3.5 from Microsoft bails out - presumably because .NET 3.5 is already installed (which it is).
4) Tried repairing the SDK a few times (entire - not just the GPIF II Designer portion)
5) Tried launching GPIF II Designer as my normal user - and by forcing administrator
6) Tried running GPIF II Designer in each of the available compatibility modes from Vista on to Win 8.1 and all between
7) Tried the sfc thing - no problems found (except the time it took to get there -- translation: "waste of time").
😎 Did the "search-engine thing" to try to find something close enough to attack the issue. Found some things. Tried some things. Nothing either really applied or worked. One interesting post was about local policy changes and disabling crypto policies. I checked that - already disabled (so didn't apply) - but it is interesting in how it may relate to the next bullet (maybe)
9) I had a yellow bang on TPM in Windows (the Windows Defender Security Center taskbar icon). It was out of date because my PC manufacturer doesn't want to cram TPM updates that may mess with drive encryption software and render your HDD a brick. This is related to Infineon TPM modules and a security flaw which could make it possible to unlock somehow. This couldn't have been the issue - but I tried enough things - why not? I updated TPM to the latest version just to get rid of the yellow bang. Yellow bang gone -- GPIF Designer II still not working.
...
1,000,000) Probably enough other things so I can say I've tried a million things.
The two machines are different architectures - both x64 - but the workstation is a Xeon while the limited machine is standard issue (Intel). I do not think this is an interesting difference - so I'm not providing the gory details.
Here is the event log error when I try to launch GPIF II Designer (aka C:\Program Files (x86)\Cypress\GPIFII Designer\bin\cygraphicaltool.exe)
----------- snip -----------
Fault bucket 2146149135865279118, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: cygraphicaltool.exe
P2: 1.0.1198.2
P3: 54940ad4
P4: PresentationCore
P5: 3.0.0.0
P6: 5a7d2bb4
P7: 5028
P8: 0
P9: System.TypeInitialization
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER224A.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2289.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER22B7.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER22C8.tmp.txt
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_cygraphicaltool._46ede52786cec59c289588f1fffe6a2a232ca_00000000_3b162641
Analysis symbol:
Rechecking for solution: 0
Report Id: 00b37e08-8e46-4ea1-a7c0-ea41053d2be9
Report Status: 268435456
Hashed bucket: 248d9d33a9d61beaadc8a744ae42f28e
Cab Guid: 0
---------- snip ------------
Feel free to suggest another few ideas to throw on the fire. I'm not going to reinstall Windows. I can reinstall the SDK again just to do it. That's likely to be the first suggestion.
Thanks in advance for the community's help.
Show Less