Clock Rate Register; Sfr Definition 19.2. Smb0Cr: Smbus0 Clock Rate - Silicon Laboratories C8051F12 Series Manual

8k isp flash mcu
Table of Contents

Advertisement

C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3

19.4.2. Clock Rate Register

SFR Definition 19.2. SMB0CR: SMBus0 Clock Rate

R/W
R/W
Bit7
Bit6
Bits7–0: SMB0CR.[7:0]: SMBus0 Clock Rate Preset
The SMB0CR Clock Rate register controls the frequency of the serial clock SCL in master
mode. The 8-bit word stored in the SMB0CR Register preloads a dedicated 8-bit timer. The
timer counts up, and when it rolls over to 0x00, the SCL logic state toggles.
The SMB0CR setting should be bounded by the following equation , where SMB0CR is the
unsigned 8-bit value in register SMB0CR, and SYSCLK is the system clock frequency in
MHz:
SMB0CR
The resulting SCL signal high and low times are given by the following equations, where
SYSCLK is the system clock frequency in Hz:
T
Using the same value of SMB0CR from above, the Bus Free Timeout period is given in the
following equation:
R/W
R/W
R/W
Bit5
Bit4
Bit3
<
288 0.85
×
(
T
=
4
256 SMB0CR
LOW
×
(
4
258 SMB0CR
HIGH
×
(
4
256 SMB0CR
×
------------------------------------------------------------- -
T
10
BFT
R/W
R/W
Bit2
Bit1
 1.125
SYSCLK
--------------------- -
4
)
SYSCLK
)
SYSCLK
+
625ns
)
+
1
SYSCLK
Rev. 1.4
R/W
Reset Value
00000000
Bit0
SFR Address:
0xCF
SFR Page:
0
267

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F12 Series and is the answer not in the manual?

Questions and answers

Table of Contents