- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cypress Team,
in my project the following configuration is used:
- Hardware: i.MX6 processor is connected via USB interface with the cypress chip CY7C65215-32LTXI. At the cypress chip several GPIOs, the SPI and I2C bus are used. At the I2C bus the cypress chip is the master.
- Software: On th i.MX6 a linux operating system is running and we are using your USB-serial linux driver
Normally the communication is working fine. We have no problems communicating via SPI or controlling the GPIOs.
But sometimes it happen that the I2C bus get stucks, meaning that we get a CY_ERROR_I2C_DEVICE_BUSY back if we want to write or read on the I2C bus. I suppose that the reading or writing command before the bus get stucks is not finished correctly, resulting in a pulling the SDA line low by the master.
Question:
- Is it possible to reset the I2C bus for instance by using the CyI2cReset command?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, it is possible to use CyI2CReset command. This API resets the I2C module in USB Serial device. Kindly refer to section 7.5 in the USB Serial Library API Guide: https://www.cypress.com/file/123321/download
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, it is possible to use CyI2CReset command. This API resets the I2C module in USB Serial device. Kindly refer to section 7.5 in the USB Serial Library API Guide: https://www.cypress.com/file/123321/download
Regards,
Mallika