November, 2018 Rev.1.4
155
I2CSCLLR (SCL Low Period Register)
9E
H
7
6
5
4
3
2
1
0
SCLL7
SCLL6
SCLL5
SCLL4
SCLL3
SCLL2
SCLL1
SCLL0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 3F
H
SCLL[7:0]
This register defines the LOW period of SCL when I
2
C operates in
master mode. The base clock is SCLK, the system clock, and the
period is calculated by the formula : t
SCLK
×
(4
×
SCLL + 1) where
t
SCLK
is the period of SCLK.
I2CSCLHR (SCL High Period Register)
9F
H
7
6
5
4
3
2
1
0
SCLH7
SCLH6
SCLH5
SCLH4
SCLH3
SCLH2
SCLH1
SCLH0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 3F
H
SCLH[7:0]
This register defines the HIGH period of SCL when I
2
C operates in
master mode. The base clock is SCLK, the system clock, and the
period is calculated by the formula : t
SCLK
×
(4
×
SCLH + 3) where
t
SCLK
is the period of SCLK.
So, the operating frequency of I
2
C in master mode (fI2C) is calculated by the following equation.
fI2C =
1
tSCLK × (4 (SCLL + SCLH) + 4)
I2CSDAHR (SDA Hold Time Register)
A3
H
7
6
5
4
3
2
1
0
SDAH7
SDAH6
SDAH5
SDAH4
SDAH3
SDAH2
SDAH1
SDAH0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : 01
H
SDAH[7:0]
This register is used to control SDA output timing from the falling
edge of SCL. Note that SDA is changed after t
SCLK
×
SDAH. In
master mode, load half the value of SCLL to this register to make
SDA change in the middle of SCL. In slave mode, configure this
register regarding the frequency of SCL from master. The SDA is
changed after t
SCLK
×
(SDAH + 1). So, to insure normal operation
in slave mode, the value t
SCLK
×
(SDAH + 1) must be smaller than
the period of SCL.
I2CDR (I
2
C Data Register)
A5
H
7
6
5
4
3
2
1
0
ICD7
ICD6
ICD5
ICD4
ICD3
ICD2
ICD1
ICD0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value : FF
H
ICD[7:0]
When I
2
C is configured as a transmitter, load this register with data
to be transmitted. When I
2
C is a receiver, the received data is
stored into this register.
Содержание MC96FR364B
Страница 17: ...MC96FR364B November 2018 Rev 1 4 17 4 PACKAGE DIMENSION...
Страница 18: ...MC96FR364B 18 November 2018 Rev 1 4 Figure 4 1 PKG DIMENSION 28 TSSOP...
Страница 23: ...MC96FR364B November 2018 Rev 1 4 23 6 3 REMOUT Port Data PAD VDD Figure 6 3 REMOUT port...
Страница 69: ...November 2018 Rev 1 4 69 Initial value 00H BIT 7 0 BIT counter value...