I tried with the MFCLK enabled and now it seems to work. But we still need a solution for using only the SysClock for improving the power consumption. Also related to the I2C speed, in the datasheet, the range for register CLKDIV is 0-7. if RATIO = 0 => 4Mhz/10 = 400 khz. but with this configuration the I2C doesn't work at all. Is the value 0 not a valid configuration?
↧