- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to read/write I2C EEPROM on the FX3 board with UsbI2cRegMode example firmware project.
But I couldn't understand the process.
Project readme file says,
" The device enumerates as a vendor specific USB device with only the control endpoint and provides a set of vendor commands to read/write the data on I2C EEPROM devices.".
That's all. There is no additional information how it can be realized.
When I look over "CyFxUSBSetupCB" callback function and "CyFxUsbI2cTransfer" function,
I can produce callback function's "setupdat0" and "setupdat1" parameters.
1. How can I generate vendor commands with "setupdat0" and "setupdat1"?
2. How can I send vendor commands within "USB Control Center"?
3. When I send a read command, how can I observe the data?
4. When I want to write to EEPROM, how can I send the EEPROM data?
I would appreciate, if someone help me.
Regards,
Ali