i2c standard and fast mode

Status
Not open for further replies.

balamani

Member level 1
Joined
Jan 11, 2013
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,547
Hi,


There are two modes in I2C interface. Standard mode (100KHz) and Fast mode (400KHz).

Let us assume a micro controller can support either of the modes.

How do we fix the mode (register setting or hardware pin configuration) ?
 

setting the SSPADD register for the microcontroller . using this formula..100kHz=Fosc/4*(SSPADD+1)
 

Through the microcontroller registers. Which MCU are you using?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…