Dear all,
While I would like to thank all and Amit for helping me run my codes, I have another small query. In the I2C Section, I came across this eqn:
The I2C clock period is calculated as follows:
SCL_PERIOD = 2 × (1 + TIMER_PRD) × (SCL_LP + SCL_HP) × CLK_PRD
For example:
CLK_PRD = 50 ns
TIMER_PRD = 2
SCL_LP=6
SCL_HP=4
yields a SCL frequency of:
1/SCL_PERIOD = 333 Khz
Now what I want to know is: CLK_PRD is the machine cycle = 1/f Secs ? That is if I were using the PLL to run the Cortex CPU at 80MHz, then one MC would be 125nS ? And what is the use of SCL_LP and SCL_HP ?
may be I have asked silly question, but please help me.