English
Language : 

C8051F850-B-GM Datasheet, PDF (226/290 Pages) Silicon Laboratories – Low-Cost 8-bit MCU Family with up to 8 kB of Flash
C8051F85x/86x
The SMBCS bit field selects the SMBus clock source, which is used only when operating as a master or when the
Free Timeout detection is enabled. When operating as a master, overflows from the selected source determine the
absolute minimum SCL low and high times as defined in Equation 24.1.The selected clock source may be shared
by other peripherals so long as the timer is left running at all times.
THighMin
=
TLowMin
=
----------------------1-----------------------
fClockSourceOverflow
Equation 24.1. Minimum SCL High and Low Times
The selected clock source should be configured to establish the minimum SCL High and Low times as per
Equation 24.1. When the interface is operating as a master (and SCL is not driven or extended by any other
devices on the bus), the typical SMBus bit rate is approximated by Equation 24.2.
BitRate
=
-f-C----l-o---c--k--S---o--u---r--c--e--O----v--e--r--f--l-o---w-
3
Equation 24.2. Typical SMBus Bit Rate
Figure 24.4 shows the typical SCL generation described by Equation 24.2. Notice that THIGH is typically twice as
large as TLOW. The actual SCL output may vary due to other devices on the bus (SCL may be extended low by
slower slave devices, or driven low by contending master devices). The bit rate when operating as a master will
never exceed the limits defined by equation Equation 24.1.
Timer Source
Overflows
SCL
TLow
THigh
SCL High Timeout
Figure 24.4. Typical SMBus SCL Generation
Setting the EXTHOLD bit extends the minimum setup and hold times for the SDA line. The minimum SDA setup
time defines the absolute minimum time that SDA is stable before SCL transitions from low-to-high. The minimum
SDA hold time defines the absolute minimum time that the current SDA value remains stable after SCL transitions
from high-to-low. EXTHOLD should be set so that the minimum setup and hold times meet the SMBus
Specification requirements of 250 ns and 300 ns, respectively. Table 24.2 shows the minimum setup and hold
times for the two EXTHOLD settings. Setup and hold time extensions are typically necessary for SMBus
compliance when SYSCLK is above 10 MHz.
EXTHOLD
0
1
Table 24.2. Minimum SDA Setup and Hold Times
Minimum SDA Setup Time
Tlow – 4 system clocks
or
1 system clock + s/w delay*
11 system clocks
Minimum SDA Hold Time
3 system clocks
12 system clocks
Preliminary Rev 0.6
233