System Clock - Freescale Semiconductor MPC5200B User Manual

Freescale semiconductor board users guide
Table of Contents

Advertisement

2
I
C Interface Registers
System
Clock
SCL
SCL Period
SDA
SDA Hold
SDA
SCL Hold of STOP
SCL Hold of START
SCL
START condition
STOP condition
Timing Diagram—SCL Period and SDA Hold Time
Figure 18-8. Timing Diagram of I2C Signal Relationships
For standard mode I2C, the I2C specification states that
(SCL <= 100 kHz)
AND
(0.3 us <= SDA Hold Time <= 3.45 us)
AND
(SCL Hold of START >= 4 us)
AND
(SCL Hold of STOP >= 4 us)
which means that the system programmer must choose SCL Period, SDA Hold, SCL Hold of START, and SCL Hold of STOP from Table
18-4 to satisfy the following four equations (5) through (8):
SCL Period >= (1/100,000) * [system clock speed (in Hz) (5)
AND
(0.0003)*[SCL (in kHz)]*(SCL Period) <= SDA Hold <= (0.00345)*[SCL (in kHz)]*(SCL Period) (6)
AND
SCL Hold of START >= (0.004)*[SCL (in kHz)]*(SCL Period) (7)
AND
SCL Hold of STOP >= (0.004)*[SCL (in kHz)]*(SCL Period) (8)
In this case, the simplest strategy for the system programmer to follow is this:
MPC5200B Users Guide, Rev. 1
Freescale Semiconductor
18-7

Advertisement

Table of Contents
loading

Table of Contents