Download Print this page

Siemens SAB 80515 Series User Manual page 238

8-bit single-chip microcontroller family

Advertisement

Serial Port
The serial port of the SAB 80C515 enables full duplex communication between microcontrol-
lers or between microcontroller and peripheral devices.
The serial port can operate in 4 modes:
Mode 0: Shift register mode. Serial data enters and exits through R
shift clock. 8-bits are transmitted/received: 8 data bits (LSB first).
The baud rate is fixed at 1/12 of the oscillator frequency.
Mode 1: 10-bits are transmitted (through R
8 data bits (LSB first), and a stop bit (1). The baud rate is variable.
Mode 2: 11-bits are transmitted (through R
8 data bits (LSB first), a programmable 9th data bit, and a stop bit (1).
The baud rate is programmable to either 1/32 or 1/64 of the oscillator frequency.
Mode 3: 11-bits are transmitted (through T
8 data bits (LSB first), a programmable 9th data bit, and a stop bit (1). Mode 3
is identical to mode 2 except for the baud rate. The baud rate in mode 3 is variable.
The variable baud rates in modes 1 and 3 can be generated by timer 1 or an internal
baud rate generator.
A/D Converter
The 8-bit A/D converter of the SAB 80C515 has eight multiplexed analog inputs (Port 6) and
uses the successive approximation method.
There are three characteristic time frames in a conversion cycle (see A/D converter
characteristics): the conversion time t
sample time t
which is included in the conversion time and is measured from the start of the
S
conversion; the load time t
the conversion start.
Within the load time t
voltage level. For the rest of the sample time t
analog input must be held constant. During the rest of the conversion time t
itself is actually performed. Conversion can be programmed to be single or continuous; at the
end of a conversion an interrupt can be generated.
A unique feature is the capability of internal reference voltage programming. The internal
reference voltages V
of 16 steps with respect to the external reference voltages. This feature permits a conversion
with a smaller internal reference voltage range to gain a higher resolution.
In addition, the internal reference voltages can easily be adapted by software to the desired
analog input voltage range.
Figure 4 shows a block diagram of the A/D converter.
Semiconductor Group
, which is the time required for one conversion; the
C
, which in turn is part of the sample time and also is measured from
L
, the analog input capacitance C
L
and V
I ntAREF
I ntAGND
×
D) or received (through T
×
D) or received (through T
×
D) or received (through R
*
must be loaded to the analog inpult
I
, after the load time has passed, the selected
S
for the A/D converter both are programmable to one
238
Device Specifications
×
×
D. T
D outputs the
×
D): a start bit (0),
×
D): a start bit (0),
×
D): a start bit (0),
the conversion
C

Advertisement

loading

This manual is also suitable for:

Sab 80c515Sab 80c535Sab 80535Sab 80515k