vjutvik/Contiki-u101-SICS — pull request #1 by w4kpm (2013-07-23 16:18:37+00:00)
Title: Error in calculation for TRISE and FREQ for I2C

the code x / 1000 * 1000 == x
It should be x/1000000 for I2C1_TRISE and I2C1_CR2_FREQ
Another way for saying this is when pclk1 = 2Mhz I2C1_CR2_FREQ should be 2 and I2C_TRISE should be 3