SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 55

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Mode 1, 3 baud rate =
Figure 7-10
Special Function Register ADCON0 (Address 0D8 H )
Bit
BD
Using timer 1 to generate baud rates:
In mode 1 and 3 of serial channel 0 timer 1 can be used for generating baud rates. Then the baud
rate is determined by the timer 1 overflow rate and the value of SMOD as follows:
Mode 1, 3 baud rate =
The timer 1 interrupt is usually disabled in this application. The timer itself can be configured for
either "timer" or "counter" operation, and in any of its operating modes. In the most typical
applications, it is configured for "timer" operation in the auto-reload mode (high nibble of
TMOD = 0010 B ). In the case, the baud rate is given by the formula:
Mode 1, 3 baud rate =
One can achieve very low baud rates with timer 1 by leaving the timer 1 interrupt enabled,
configuring the timer to run as 16-bit timer (high nibble of TMOD = 0001 B ), and using the timer 1
interrupt for a 16-bit software reload.
Table 7-4 lists various commonly used baud rates and shows how they can be obtained from
timer 1.
Semiconductor Group
0D8 H
0DF H
BD
These bits are not used in controlling serial interface 0.
0DE H
2
2496
CLK
2
2
SMOD
SMOD
32
SMOD
Function
Baud rate enable.
When set, the baud rate in modes 1 and 3 of serial interface 0 is taken
from a dedicated prescaler. Standard baud rates 4800 and 9600 baud at
12-MHz oscillator frequency can be achieved.
32 x 12 x (256 – (TH1))
x oscillator frequency
ADEX
x
x
0DD H 0DC H 0DB H
oscillator frequency
(timer 1 overflow rate)
BSY
56
ADM
On-Chip Peripheral Components
0DA H
MX2
0D9 H
MX1
0D8 H
MX0
ADCON

Related parts for SAB80C517-M16