USB low-full-high speed peripherals Forum Discussions
Hello,
I would like to ask about the FX2LP firmware upload to linux system.
Only VID/PID information is put in eeprom and I tried to upload f/w using the cypress_load_firmware() api (in cypress_firmware.c) function in the kernel driver.
The function above uses the only .fw format. so If there is a tool that can convert .hex iic files into “.fw” format, please kind let me know how to convert f/w format.
BR,
Tony Kim
Show LessWe are a long term user from Cypress but now the error is getting really complicated our devices are getting burned in the field and also a lot of them are loosing its firmware, they get corrupted.
Show LessDear all,
I have more FX3 conncted to the same machine and I need to connect to a specific one.
Normally, to look for a specific device by its serial number, I would do something like this:
CCyUSBDevice device;
const unsigned char num_of_devices = device.DeviceCount();
for (unsigned char i = 0; i < num_of_devices; i++)
{
device.Open(i);
if (check(device.SerialNumber))
break;
device.Close();
}
// Do something with the device
device.Close()
However, in my case I cannot sequentially open all the connected devices. I need to query WMI database, get a list of all CYUSB3 connected devices and then open a specific one. My problem is that the order of the CYUSB3 devices that I get from WMI database is different from the Cypress driver order.
Is there a way to predict how the Cypress driver (or library) will enumerate my devices (e.g. order by serial, PID, description...) in order to avoid a sequential device scan?
Thank you,
Gianni
Hi Cypress,
I want to use EVM kit (CY7C65211-24LTXI) for UART communication,
How shall I set no flow control (use utility?) and "isMsbFirst"?
Below is partial of my setting,
CY_UART_CONFIG cyUARTConfig;
cyUARTConfig.baudRate = CY_UART_BAUD_115200;
cyUARTConfig.parityMode = CY_DATA_PARITY_DISABLE;
cyUARTConfig.stopBits = CY_UART_ONE_STOP_BIT;
cyUARTConfig.dataWidth = 8;
Thank you!
Derlin Chow
Show LessTo whom it may concerns,
We use CY7C65211A to interface both I2C and SPI. We get the I2C work fine, but we don't see any output toggle on any Pin#20, 22 and 23.
The chip is configured as following:
Mode: SPI
Protocol: CDC
The following is the software driver:
Do we need any special handler for SPI access?
Do you see any setup or connection wrong?@ !
Please advise.
Any response is highly appreciated.
Have a wonderful one.
Denny
Show LessAs I know, FX3 starts from address 0x00 when FX3 SPI NOR booted.
Is it possible to change the starting address? If possible, please provide an example or guide doc.
Thank you.
Tony Kim
Show LessHi Sir,
有些问题向您请教下。
cypress的fx2lp芯片的gpif接口地址线,每次读写都是自动加一,那它什么时候清零呢?是数据达到512个以后吗?还是 Tccount达到以后?
谢谢。
Hi Sir,
May I ask you some questions?
Cypress's FX2LP chip GPIF interface address line, every read and write is automatically added one, then when it cleared?Is it after 512?Or when Tccount is reached?Thank you
Show Less
This post seems to hint that there is an example file of how to use the cyusbserial.dll with .NET. However, unlike the i2c example I found I could not find a download link to the SPI one.C# .NET SPI Master examples (CYUSBS236).
Could someone please link this example?
Show LessDear all,
I have a cy7c65215 with the scb1 configured as slave (with C++ code) and with the following parameters:
cySPIConfigSlave.frequency = 1000000;
cySPIConfigSlave.frequency = 1000000;
cySPIConfigSlave.dataWidth = 8;
cySPIConfigSlave.protocol = CY_SPI_MOTOROLA;
cySPIConfigSlave.isContinuousMode = false;
cySPIConfigSlave.isMsbFirst = true;
cySPIConfigSlave.isMaster = false;
cySPIConfigSlave.isSelectPrecede = false;
cySPIConfigSlave.isCpha = false;
cySPIConfigSlave.isCpol = false;
As master i have another board from silicon labs which normally sends a packet of 255 bytes every 50 [ms].
Normally the communication works well, but when the master sends a burst of 6 (packets of 255 bytes) with a distance of 40 [us] between packets the cypress library "read function" returns error due to the fact that it reads less bytes than expected.
Is there any way to increase cypress board internal buffer (if there is one) in order to handle this case ? or is it possible to handle it in some way ?
Many Thanks.
Alessandro
Show Less