cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

Anonymous
Not applicable

Hi

I have a question about FX3's IIC.

I want to set IIC speed to 1Mhz.
I try after setting as below but IIC speed is about 760 Khz.

1. Set VIO5 to 3.3 V.
2. Set CyU3PI2cSetConfig funciton with bitrate 1000000.

3. Set CyU3PSetI2cDriveStrength function with CY_U3P_DS_FULL_STRENGTH.

Is there need any other setting?

0 Likes
Reply
1 Reply
Moderator
Moderator

Hi,

The I2C frequency varies based on the Bus capacitance of SCL and SDA lines; Pull-up resistors. You have to make sure that the pull-up resistor values are less then the RpMax. For calculation of RpMax refer to section 7.1 of I2C specification which is available in the following link:

https://www.nxp.com/docs/en/user-guide/UM10204.pdf

Regards,

Hemanth

Hemanth
0 Likes
Reply