Emulating a synchronous serial interface (SSC) via software routines.
The solution presented in this paper and in the attached source files emulates the most important SSC functions by using SW routines implemented in C. The Code is focused on the SAB C161V/K/O, but will fit to all C16x derivatives. Beyond the low level software drivers a test shell is delivered. This shell allows a quick test of the software drivers by an emulator or a starter kit demo board. All files are available for Keil and Tasking C Cross Compiler. |
  
AP164901.PDF
AP164901.EXE
|
100K
75K
09.98
Rel.01 |
Emulating an asynchronous serial interface (ASC0) via software routines.
The solution presented in this paper and in the attached source files emulates the most important ASC functions by using SW routines implemented in C. The Code is focused on the SAB C161V/K/O, but will fit to all C16x derivatives. Beyond the low level software drivers a test shell is delivered. This shell allows a quick test of the software drivers by an emulator or a starter kit demo board. All files are available for Keil and Tasking C Cross Compiler. |
  
AP165001.PDF
AP165001.EXE
|
105K
108K
09.98
Rel.01 |
Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC).
The solution presented in this paper and in the attached source files emulates the most important ASC0 functions by using the on-chip synchronous serial communication channel (SSC). The Code is focused on the SAB C161V/K/O, but will fit to all C16x derivatives. Beyond the low level software drivers a test shell is delivered. This shell allows a quick test of the software drivers by an emulator or a starter kit demo board. All files are available for Keil and Tasking C Cross Compiler. |
  
AP165101.PDF
AP165101.EXE
|
106K
94K
09.98
Rel.01 |
80C166, On-chip Bootstrap Loader
With the BSL it is possible to load a program of 32 bytes into
the internal RAM. |
  
AP160601.PDF
AP160601.EXE
|
218K
22K
09.94
Rel.01 |
ADIS16X - Disassembler with One-Line Assembler for the C166 - Family
ADIS16X allows the analysis of program code for the 16-bit microcontrollers
of the C16X family. Program code in different formats can be loaded and
displayed in Disassembler or Hex-dump format. Single instructions can be
input using the built-in One-Line Assembler. Program code can be written
into a Log-file in a list or assembler source format. SFR and bit symbol
operation is provided using a symbol definition file. |
  
AP164002.PDF
AP164002.EXE
|
185K
52K
11.97
Rel.02 |
ATOMIC/EXTEND Instructions in BTRAP Service Routine
As long as at least one BTRAP flag is set in register TFR, ATOMIC/EXTEND
instructions do not work ! |
  
AP160502.PDF
|
23K
03.97
Rel.01 |
Biquad IIR Filter - C166 Family with Signal Processing
Capabilities
Many applications like disk drives need both, controller and
signal processing capabilities. |
  
AP160102.PDF |
95K
03.97
Rel.01 |
Bootstrap Loader - IDB / Half Duplex
Some members of the C166 family do not support half duplex mode
directly during bootstrap loader mode. |
  
AP161202.PDF |
28K
03.97
Rel.01 |
Bootstrap Loader Versions
Any current step of the SAB 80C166, C167 and C165 except of
the respective bond-out chips implements an on-chip bootstrap loader. |
  
AP161302.PDF
|
28K
03.97
Rel.01 |
Bootstrap Loader Support on C163-16F Flash Devices (Bx-step)
C163-16F Flash devices have no internal boot ROM and therefore no bootstrap loader which is
needed for in-system programming of virgin Flash in single chip applications. From design
step Bx on C163-16F Flash devices provide a mechanism for switching the reset vector
depending on PORT0 configuration. This application note gives hints and examples how this
feature can be used to achieve bootstrap loader support on C163-16F Flash. |
  
AP165201.PDF AP165201.EXE
|
28K 169K 07.98 Rel.01 |
The Bootstrap Loader Tool
The Bootstrap Loader Tool can download a program (in Intel Hex Format)
from the PC via the bootstrap loader of the microcontroller in any location
of the internal or external RAM. |
  
AP164401.PDF
AP164401.EXE
|
984K
3,42M
01.98
Rel.01 |
'C' CAN Driver Routines for the C166 Family
This application note describes CAN protocol driver software
routines written in 'C' for the members of the Siemens 16-bit microcontroller
family C166 which are equipped with an on-chip CAN module (e.g. C167CR,
C164CI).
|

AP292201.PDF
AP292201.EXE |
233K
44K
4.97
Rel.01 |
C163 on-chip Flash Programming Tool
This Flash Programming Tool allows to program the on-chip Flash memory
of the C163 (design step BA or later). Therefore a "boot support"
(bootstrap loader program) must be available either in the Flash memory
itself or in an external memory. The Flash Programming Tool takes care
that this bootstrap loader code will never be erased accidentally. |
  
AP164301.PDF
AP164301.EXE
|
108K
3,3M
01.98
Rel.01 |
C165 / C167, On-chip Bootstrap Loader
With the BSL it is possible to load a program of 32 bytes into
the internal RAM.
AP160612.EXE will cover the C167 /
C165, too! |
  
AP160701.PDF
AP160701.EXE
|
207K
27K
01.94
Rel.01 |
C167CR - CAN Bit Timing - Calculation: CP_167CR.EXE
This document describes how to install and to use the "CP_167CR.EXE"
tool. "CP_167CR.EXE" facilities the CAN Bit Timing Calculation
for the C167 by automatically proposing register configurations to reach
a given bus baudrate. Master/Slave Bus Arbitration |
  
AP164101.PDF
AP164101.EXE
|
12K
399M
01.98
Rel.01 |
C167CR - CAN Interrupt structure
Describes the functionality of the CAN interrupt structure and
gives an implementation example of a standard CAN interrupt subroutine. |
  
AP162101.PDF
|
60K
12.96
Rel.01 |
C167CR - Specification Update
Master/Slave Bus Arbitration |
  
AP161902.PDF |
82K
03.97
Rel.01 |
Connecting an Fast External A/D Converter on the CAPCOM-
Unit
Connecting a Fast External A/D Converter (800ns Conversion-Time)
by using the PEC and the 50ns Resolution on the CAPCOM-Unit |
  
AP163302.PDF |
108K
03.96
Rel.01 |
Connecting C166 and C500 Microcontrollers to CAN
Application Note of the CAN Devices C167CR, C515C, SAE
81C90/91
|
  
AP290002.PDF
|
863K
06.97
Rel.01 |
Crystal Oscillator of the C500 and C166 Microcontroller
Families
Explains the crystal oscillator functionality and gives recommendations
how to get the right composition on external circuits. |
  
AP242003.PDF
|
260K
04.98
Rel.03 |
EMC by Simulation
Reduction of Electromagnetic Radiation by Detection and Optimization
of Critical Networks on a PCB during the Layout-process |
  
AP242101.PDF |
288K
04.97
Rel.01 |
Fast - Fourier - Transformation
The Fast Fourier Transformation (FFT) is an algorithm frequently used in
various applications, like telecommunication, signal and image processing.
It transforms the time domain into the frequency domain where the spectrum
of amplitude and frequency can be analyzed. |
  
AP163402.PDF
AP163402.EXE |
178K
34K
03.97
Rel.01 |
Fast interrupts and CAPCOM Interference
|
  
AP160201.PDF
|
84K
06.95
Rel.11 |
Fuel Injection Control for a 12 Cylinder Formula 1
Engine
Consequently, the C166 finds many applications in areas such as motor control
and automotive enginemanagement where the production of precisely timed
pulse trains are required. |
  
AP163502.PDF |
308K
03.97
Rel.01 |
Hardware I2C-bus in slave mode by using polling and interrupt methods for C161RI microcontroller This is a software module for hardware I2C-bus in slave mode by using software polling and hardware interrupt methods for C161RI microcontroller. The I2C-bus is used in many applications mainly to communicate between devices connected to the bus.
|
  
AP164510.PDF
AP164510.EXE
|
156K
19K
02.98
Rel.01 |
How to make Instruction Sequences uninterruptable
|
  
AP160902.PDF
|
119K
03.97
Rel.01 |
Implementation of the power management features
with the Keil compiler (SAB C161RI BB) This Application Note describes the implementation of power management features by means
of the C166 Keil compiler (COMPILER C166 V3.05a, Linker L166 V3.05, Obj.-Hex.
Converter HEX86 FILE CONVERTER V2.0). The power management makes that
microcontroller very useful in power sensitive telecommunication applications. |
  
AP165801.PDF
AP165801.EXE
|
111 K
19 K
09.98
Rel.01 |
In-circuit Programming of C163 Flash Devices
With the SAB-C163-16F Siemens offers a 16-bit microcontroller with 128
KBytes on chip flash memory which uses the standard 5 Volt power supply
for all read and write / erase functions. This application note gives hints
and examples for in-circuit programming of C163 Flash devices (CPU mode).
Also a software programming tool using the Ertec EVA163 evaluation board
as hardware platform is encluded. |
  
AP162903.PDF
AP162903.EXE
|
76K
1,09M
04.98
Rel.03 |
In-circuit Programming of the C166 Family Flash Devices
Two flash devices, the SAB 88C166 with 32 Kbytes on-chip flash
memory and the C167CR-16F with 128 Kbytes on-chip flash memory
SW version for the 88C166 |
  
AP160860.PDF
AP160841.EXE
|
41K
162K
12.96
Rel.01 |
In-circuit
Programming of the C166 Family Flash Devices
Two flash devices, the SAB 88C166 with 32 Kbytes on-chip flash
memory and the C167CR-16F with 128 Kbytes on-chip flash memory
SW version for the C167CR-16F |
  
AP160860.PDF
AP160960.EXE
|
41K
123K
12.96
Rel.01 |
Input Signal Rise and Fall Times
All inputs of the C166-family have Schmitt-Trigger input characteristics. |
  
AP161001.PDF
|
43K
03.97
Rel.01 |
In-System Programming of C163-16F Flash Devices
Siemens C163-16F 16-bit microcontrollers provide 128 KBytes Flash memory on-chip. This application note gives hints and examples for in-system programming of C163-16F Flash devices. In-system programming is supported by the Windows-based OTP/ Flash memory programming tool "Memtool". |
  
AP162904.PDF
AP162904.EXE
|
72K 1.09M
07.98
Rel.03 |
In-System Programming of C164 OTP Devices
Siemens C164CI 16-bit microcontrollers provide 64 KByte OTP memory on-chip.
This application note gives hints and examples for in-system programming
of C164CI OTP devices. Memory programming and memory uploading is supported
by the Windows-based memory tools "Memtool" and "ROM_UP". |
  
AP163901.PDF
AP163901.EXE
|
36K
1,8M
03.98
Rel.01 |
Interrupt Register behavior of the CAN module in Siemens 16-bit Microcontrollers
Description of the update beahavior of the CAN INTID value after INTPND bit is reset |
  
AP292401.PDF
|
40K
06.98
Rel.01 |
Interrupted MUL/DIV Instructions
Two possible software implementations will be compared |
  
AP161101.PDF
|
66K
03.97
Rel.01 |
Measurement on the C166 Family
I/O - "Scope Probes Connected to an Output Pin" |
  
AP161502.PDF |
27K
03.97
Rel.01 |
Flash Protection on 88C166 Flash Devices Siemens 88C166 16-bit microcontrollers provide 32 KBytes Flash memory on-chip, which can be protected
against data operand acceses and program branches into the Flash from any
location outside the Flash. This Application Note gives hints and examples how the Flash
protection on 88C166 Flash devices can be enabled and how the protection can be
temporary disabled (e.g. for program updates) by a program running inside the Flash.
Run AP160612.EXE -d <-- option
"-d" to create the right directory structure! |
  
AP165301.PDF
AP165301.EXE
|
76K
1.4 MB
07.98
Rel.01 |
PEC - "Lowering the own Interrupt Priority"
Very often it is needed to lower the interrupt priority while running a
interrupt-service-routine (ISR),like after the last PEC-transfer. |
  
AP163602.PDF |
66K
03.97
Rel.01 |
Port Intialization and Direction Control
discusses various aspects of the initialization of port pins
as outputs; effects of single Bit and Bit field (BFLDL/H) instructions |
  
AP164601.PDF
|
108K
66K
02.98
Rel.01 |
Pre- and post-scale 32-Bit-Values for the MDU (Shifting/Rotating
of Double-Words)
By using the MDU it is very often necessary to scale the value before or
after the calculation to avoid truncation errors during the calculation. |
  
AP161702.PDF |
34K
03.97
Rel.01 |
Reset and System Startup Configuration via PORT0
This application note presents an overview about different reset types and the behaviour
concerning the system startup configuration via PORT0. The calculation for the Pull-up/down
resistors at PORT0 is also included. |
  
AP163702.PDF
|
95K
06.98
Rel.02 |
Software emulation of the I2C-bus using
the General Purpose Timer unit 1 of the C166 family
This is a software emulation of the I2C-bus by using
two general purpose timers of a microcontroller from the C166 family. The
I2C-bus is used in many applications mainly to communicate between
devices connected to the bus. |
  
AP162401.PDF
AP162401.EXE |
200K
22K
01.97
Rel.01 |
Software emulation of I2C-bus using CPU
time of C166 family
This is a software emulation of I2C-bus using CPU
time of the C166 family to generate the clock and data. |
  
AP162501.PDF
AP162501.EXE |
203K
21K
02.97
Rel.01 |
Software emulation of the I2C-bus using
the High-Speed Synchronous Serial Interface of C166 family
This is a software emulation of I2C-bus using High-Speed
Synchronous Serial Interface of the C166 family to generate the clock and
data. |
  
AP162601.PDF
AP162601.EXE |
212K
21K
02.97
Rel.01 |
Software Modifications of Register WDTCON
The time period which is monitored by the Watchdog Timer is
programmable via register WDTCON in two ways... |
  
AP161602.PDF |
24K
12.96
Rel.01 |
Software module of M3L-bus by using USART for C16x
microcontroller family
Software module of M3L-bus by using Asynchronous/Synchronous
serial channel (USART) in synchronous mode for C16X microcontroller family.
The M3L-bus is used mainly to communicate between the microcontroller and
Television application IC like MegaText, and Compact Text. |
  
AP162301.PDF
AP162302.EXE |
158K
01.97
Rel.01 |
Software module of M3L-bus by using HS-SSC for C16x
microcontroller family
This is a software module of M3L-bus by using High-Speed Synchronous
Serial Channel for C16X microcontroller family. The M3L-bus is used mainly
to communicate between the microcontroller and Television application IC
like MegaText, and Compact Text. |
  
AP162701.PDF
AP162701.EXE |
167K
20K
01.97
Rel.01 |
Timing - Reading the AC Characteristics
Explains in detail the structure of the timing specification
in the datasheets |
  
AP160402.PDF
|
121K
03.97
Rel.01 |
Using the SSC (SPI) Interface in a Multimaster System
In the SAB C165 and C167, an internal High-Speed Synchronous Serial Interface
is implemented providing serial communication between C167 / C165 or other
microcontrollers with a transfer rate up to 5 Mbaud. The demo software
is a multimaster full-duplex system in which at a given time one microcontroller
is configured as master while all others are in slave mode. |
  
AP163201.PDF
AP163201.EXE |
471K
153K
06.96
Rel.01 |