AnsweredAssumed Answered

TWI prescale value for mt9m114

Question asked by DestinyR on Dec 11, 2013
Latest reply on Dec 18, 2013 by CraigG

Hi,

 

In help documentation of adi_mt9m114_ConfigTWI is noted that "Prescale value to get the TWI clock from system clock (fSCLK). Prescale value can be computed using: PRESCALE = fSCLK/10MHz."

 

But in example "VideoLoopbackYUV" in sensor.h prescale value described as

"

/* TWI Prescale value (Assuming 300Mhz system clock) */

#define ADI_MT9M114_TWI_PRESCALE        (8u)

"

However, proceeding from the formula there must be 30.

 

This is a mistake or I don't understand the mechanism of TWI prescale calculation?

Outcomes