- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was trying to use one of my device on Raspberry PI. This devices uses CyUsbSerial library to communicate to the PC. It works well with the windows version of the library.
Now when I port it to Rasperry PI using the SDK I found from here (https://www.cypress.com/documentation/software-and-drivers/usb-serial-software-development-kit)it fails to write to i2c.
I was able to see the divice using CyUSBSerialTestUtility. But I cannot write to I2c. I tried to detect the i2c bus status by running i2cdect, there is no devices connected there.
What am I missing here? Could CyUSBSerial work on an ARM machine? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can see that when I am during the writing the return status is CY_ERROR_I2C_NAK_ERROR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer the pre-requisites and test utility section from the README.txt that is located at "C:\<Extracted Folder>\USB-Serial SDK\linux_driver\CyUSBSerial_SDK_Linux\linux\testUtility" and let us know till which point the utility is executed.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi the code failed in i2cVerifyData function at the first CyI2CWrite call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Apologies for the delay in response. Please let me know the following details:
- Please provide the part number.
- Are you using the firmware available in the USB Serial SDK? If yes, please let me know which firmware are you using?
Regards