SAH-C515 SIEMENS [Siemens Semiconductor Group], SAH-C515 Datasheet - Page 111
![no-image](/images/no-image-200.jpg)
SAH-C515
Manufacturer Part Number
SAH-C515
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
1.SAH-C515.pdf
(160 pages)
- Current page: 111 of 160
- Download datasheet (912Kb)
An A/D conversion is always started with the beginning of a processor cycle when it has been
initiated by writing SFR ADDAT. The ADDAT write operation may take one or two machine cycles.
In figure 6-33, the instruction MOV ADDAT,#0 starts the A/D conversion (machine cycle X-1 and
X). The total A/D conversion (sample and conversion phase) is finished with the beginning of the
14th machine cycle after the A/D conversion start. In the next machine cycle the conversion result
is written into the ADDAT register and can be read in the same cycle by an instruction (e.g. MOV
A,ADDAT). If continuous conversion is selected (bit ADM set), the next conversion is started with
the beginning of the machine cycle which follows the write result cycle.
The BSY bit is set at the beginning of the first A/D conversion machine cycle and reset at the
beginning of the write result cycle. If continuous conversion is selected, BSY is again set with the
beginning of the machine cycle which follows the write result cycle. This means that in continuous
conversion mode BSY is not set for a complete machine cycle. Therefore, in continuous conversion
mode it is not recommended to poll the BSY bit using e.g. the JNB instruction.
The interrupt flag IADC is set in the 12th instruction cycle of an A/D conversion. If the A/D converter
interrupt is enabled and the A/D converter interrupt is priorized to be serviced immediately, the first
instruction of the interrupt service routine will be executed in the next machine cycle which follows
the write result cycle. IADC must be reset by software.
Depending on the application, typically there are three methods to handle the A/D conversion in the
C515 :
Depending on the oscillator frequency of the C515 the total time of an A/D conversion is calculated
according the formula given in figure 6-33. Table 6-7 shows some conversion times for typical clock
rates.
Table 6-7
A/D Conversion Times
f
12 MHz
16 MHz
24 MHz
Semiconductor Group
OSC
– Software delay
– Polling BSY bit
– A/D conversion interrupt
The machine cycles of the A/D conversion are counted and the program executes a software
delay (e.g. NOPs) before reading the A/D conversion result in the write result cycle. This is
the fastest method to get the result of an A/D conversion.
The BSY bit is polled and the program waits until BSY=0. Attention : a polling JB instruction
which is two machine cycles long, possibly may not recognize the BSY=0 condition during the
write result cycle in the continuous conversion mode.
After the start of an A/D conversion the A/D converter interrupt is enabled. The result of the
A/D conversion is read in the interrupt service routine. If other C515 interrupts are enabled,
the interrupt latency must be regarded. Therefore, this software method is the slowest method
to get the result of an A/D conversion.
[MHz]
t
166.7
125
83.3
IN
[ns]
Total Conversion Time
t
12
9
6
ADCC
[ms]
6-68
On-Chip Peripheral Components
C515
Related parts for SAH-C515
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![S80C32-12](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
Intel 80C32 - Siemens SAB-C501, Nearest Equivalent Replacement
Manufacturer:
Siemens Semiconductor Group
![BAT14-033](/images/no-image3.png)
Part Number:
Description:
HiRel Silicon Schottky Diode (HiRel Discrete and Microwave Semiconductor Medium barrier diodes for detector and mixer applications)
Manufacturer:
SIEMENS [Siemens Semiconductor Group]
Datasheet:
![BXY43-P1](/images/no-image3.png)
Part Number:
Description:
HiRel Silicon PIN Diode (HiRel Discrete and Microwave Semiconductor Current controlled RF resistor for RF attenuators and switches)
Manufacturer:
SIEMENS [Siemens Semiconductor Group]
Datasheet:
![BXY44-T1](/images/no-image3.png)
Part Number:
Description:
HiRel Silicon PIN Diode (HiRel Discrete and Microwave Semiconductor Current controlled RF resistor for RF attenuators and switches)
Manufacturer:
SIEMENS [Siemens Semiconductor Group]
Datasheet:
![IRL80](/images/no-image3.png)
Part Number:
Description:
GaAs-Infrarot-Sendediode GaAs Infrared Emitter
Manufacturer:
SIEMENS [Siemens Semiconductor Group]
Datasheet:
![IRL81](/images/no-image3.png)
Part Number:
Description:
GaAlAs-Infrarot-Sendediode GaAlAs Infrared Emitter
Manufacturer:
SIEMENS [Siemens Semiconductor Group]
Datasheet:
![BSM50GB100D](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
IGBT MODULE
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![BSM181R](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
SIMOPAC Module (Power module Single switch N channel Enhancement mode)
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![BSM254F](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
(BSMxxx) TRANSISTOR
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![BSM111AR](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
SIMOPAC Module (Power module Single switch N channel Enhancement mode)
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![BUZ48](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
main ratings
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![TDA4716C](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![DL440M](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
Manufacturer:
Siemens Semiconductor Group
Datasheet:
![SDA5255](/images/manufacturer_photos/0/6/607/siemens_semiconductor_group_tmb.jpg)
Part Number:
Description:
Manufacturer:
Siemens Semiconductor Group
Datasheet: