LM3S316-IQN25 Luminary Micro, Inc., LM3S316-IQN25 Datasheet - Page 310

no-image

LM3S316-IQN25

Manufacturer Part Number
LM3S316-IQN25
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S316-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S316-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Inter-Integrated Circuit (I2C) Interface
Figure 14-13. Slave Command Sequence
14.2.2
310
Available Speed Modes
The SCL clock rate is determined by the parameters: CLK_PRD, TIMER_PRD, SCL_LP, and
SCL_HP.
where:
CLK_PRD
SCL_LP
SCL_HP
TIMER_PRD
page 320).
The SCL 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/T = 333 Khz
is the Low phase of the SCL clock (fixed at 6)
is the High phase of the SCL clock (fixed at 4)
is the system clock period
is the programmed value in the I2C Master Timer Period (I2CMTPR) register (see
address to I2CSOAR
write OWN Slave
write “-------1”
to I2CSCSR
N
N
read I2CSCSR
Idle
write Data to
RREQ=”1”
TREQ=”1”
I2CSDR
Preliminary
Y
Y
read Data from
I2CSDR
October 8, 2006

Related parts for LM3S316-IQN25