So our clock (SCL) frequency will be SCL = CPU clock / (16 + 2(TWBR) ? (PrescalerValue)). Our clock is 16 MHz, TWBR is 72, Prescaler Value is 1, so we have: SCL = 16,000,000 / 16 + 144 * 1 SCL = 16,000,000 / 160SCL = 100,000This is a rather pedestrian I2C frequency of 100 Khz, which is what the TWI_FREQ was defined as.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16