- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Can someone point me to documentation for the CX3's I2C controller. Specifically, I am seeing one of the I2C chips on my bus not releasing SDA on power-up. My hunch is if I clock SDA a few times it would release, but I don't know how to access the signals independently of the I2C controller in the CX3. I don't see GPIO numbers for controlling the I2C signals independently of the controller.
Thanks,
Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
CX3 has got the I2C pins (SCL & SDA) on GPIO pin numbers 58 and 59 respectively. This has not been mentioned in the CX3 datasheet but FX3 and CX3 are similar parts and hence, the GPIO numbers are common. The CyU3PDeviceGpioOverride() API can be used to switch the functionality of these pins from I2C to GPIO. Please refer to the FX3APIGuide.PDF file for details on using the API. Once, this API is called, the pins behave as normal GPIO pins and can be driven using the CyU3PGpioSetValue() API.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
CX3 has got the I2C pins (SCL & SDA) on GPIO pin numbers 58 and 59 respectively. This has not been mentioned in the CX3 datasheet but FX3 and CX3 are similar parts and hence, the GPIO numbers are common. The CyU3PDeviceGpioOverride() API can be used to switch the functionality of these pins from I2C to GPIO. Please refer to the FX3APIGuide.PDF file for details on using the API. Once, this API is called, the pins behave as normal GPIO pins and can be driven using the CyU3PGpioSetValue() API.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Srinath, just what I needed.
Scott