The information herein is given to describe certain components and shall not be considered as a guarantee of
characteristics.
Terms of delivery and rights to technical change reserved.
We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding
circuits, descriptions and charts stated herein.
Information
For further information on technology, delivery terms and conditions and prices please contact your nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements components may contain dangerous substances. For information on the types in
question please contact your nearest Infineon Technologies Office.
Infineon Technologies Components may only be used in life-support devices or systems with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
Data Sheet, V0.1, Nov. 2005
TC1161/TC1162
32-Bit Single-Chip Microcontroller
TriCore
TM
Microcontrollers
Never stop thinking.
TC1161/TC1162 Data Sheet
Revision History: V0.1, 2005-11
Previous Version: none
PageSubjects (major changes since last revision)
Trademarks
TriCore™ is a trademark of Infineon Technologies AG.
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
– One General Purpose Timer Array Module (GPTA) with a powerful set of digital
signal filtering and timer functionality to realize autonomous and complex
Input/Output management
– One 16-channel Analog-to-Digital Converter unit (ADC) with selectable 8-bit, 10-
bit, or 12-bit, supporting 32 input channels
– One 2-channel Fast Analog-to-Digital Converter unit (FADC) with concatenated
comb filters for hardware data reduction: supporting 10-bit resolution, with
minimum conversion time of 318.2 ns
•32 analog input lines for ADC and FADC
•81 digital general purpose I/O lines
•Digital I/O ports with 3.3 V capability
•On-chip debug support for OCDS Level 1 and 2 (CPU, DMA)
•Power Management System
•Clock Generation Unit with PLL
•Core supply voltage of 1.5 V
•I/O voltage of 3.3 V
•Full Industrial and Multi-Market temperature range: -40° to +85°C
•PG-LQFP-176-2 package
Data Sheet 4 V0.1, 2005-11
TC1161/TC1162
Summary of FeaturesAdvance Information
Ordering Information
The ordering code for Infineon microcontrollers provides an exact reference to the
required product. This ordering code identifies:
•The derivative itself, i.e. its function set, the temperature range, and the supply
voltage
•The package and the type of delivery
For the available ordering codes for the TC1161/TC1162, please refer to the “Product
Catalog Microcontrollers” that summarizes all available microcontroller variants.
This document describes the derivatives of the device. Table 1-1 enumerates these
derivatives and summarizes the differences.
Table 1-1TC1161/TC1162 Derivative Synopsis
DerivativeAmbient Temperature Range
SAF-TC1161-128F66HLT
SAF-TC1162-128F66HLT
= -40oC to +85oC
A
= -40oC to +85oC
A
Data Sheet 5 V0.1, 2005-11
General Device InformationAdvance Information
2General Device Information
Chapter 2 provides the general information for the TC1161/TC1162.
2.1Block Diagram
Figure 2-1 shows the TC1161/TC1162 block diagram.
TC1161/TC1162
PMI
8 KB SP RAM
8 KB ICACHE
PMU
16 KB BROM
1024 KB Pf las h
16 KB DFlash
4 KB O VRAM
OCDS Debug
Interface/JTAG
ASC0
ASC1
GPTA
Overlay
System Peripheral Bus (SPB)
Ext.
Request
Unit
Me chan ism
FPU
TriCore
(TC1.3M)
CPS
PLL SCUPLL
Multi CAN
(2 Nodes ,
64 Buffer)
Local Memory Bus (LMB)
LBCU
LFI Bridge
f
FP I
f
CPU
1)
MSC0
DMI
32 KB LDRAM
STM
SBCU
Ports
DMA
8 ch.
BI0
SMIF
MLI0
Mem
Check
Abbr eviat ions:
ICACHE:Instruction Cache
SPRAM:Scratch-Pad RAM
LDRAM :Local Dat a RAM
OVRAM:Overlay RAM
BRO M:Boot RO M
PF lash:Program Flash
DFlash:Dat a F lash
SSC0
DMA Bus
BI1
ADC0
32 ch.
FADC
2 ch.
As si gnme nt
Analog Input
1) Not applicable to TC1161
TC1161/TC1162 Block Diagram
Figure 2-1TC1161/TC1162 Block Diagram
Data Sheet6V0.1, 2005-11
2.2Logic Symbol
Figure 2-2 shows the TC1161/TC1162 logic symbol.
Gener al Contr ol
PORST
HDRST
NMI
BYPASS
TEST MODE
Por t 0 16- bit
Por t 1 15- bit
Por t 2 14- bit
TC1161/TC1162
General Device InformationAdvance Information
Alter nate Functions
GPTA, SCU
GPTA, ADC
SSC0, MLI0, GPTA, MSC0
MSC0 Contr ol
ADC/ F ADC Anal og
Power Supply
Di gi tal Cir c ui tr y
Power Supply
FCLP0A
FCLN0
SOP0A
SON0
AN[35:0]ADC Analog Inputs
V
DDM
V
SSM
V
DDMF
V
SSMF
V
DDAF
V
SSAF
V
AR EF0
V
AGND0
V
FAREF
V
FAGND
V
DDFL3
V
V
DDP
V
DD
SS
Por t 3 16- bit
Port 4 4- bit
Por t 5 16- bit
ASC0/1, SSC0, SCU, CAN
GPTA, SCU
GPTA, OCDS L2, MLI0
1)
TRST
TC1161/
TC1162
TCK
TDI
TDO
TMS
OCDS / JTAG Control
BRKIN
BRKOUT
T RCLK
XTAL1
XTAL2
V
7
8
9
DDOSC3
V
SSOSC 3
V
DDOSC
V
SSOSC
Oscillator
1) A lternat e f unctions f or CAN m odule is not applic able f or T C1161.
TC1161/TC1162 Logic S ym bol
Figure 2-2TC1161/TC1162 Logic Symbol
Data Sheet7V0.1, 2005-11
2.3Pin Configuration
Figure 2-3 shows the TC1161/TC1162 pin configuration.
TC1161/TC1162
General Device InformationAdvance Information
Figure 2-3TC1161/TC1162 Pinning for PG-LQFP-176-2 Package
Data Sheet8V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information
2.4Pad Driver and Input Classes Overview
The TC1161/TC1162 provides different types and classes of input and output lines. For
understanding of the abbreviations in Table 2-2 starting at the next page, Table 2-1
gives an overview on the pad type and class types.
Table 2-1Pad Driver and Input Classes Overview
ClassPower
Supply
A3.3VLVTTL I/O,
TypeSub ClassSpeed
Grade
LVTTL
outputs
A1
(e.g. GPIO)
A2
6 MHzNo
40 MHzSeries termination
(e.g. serial
Termination
recommended
I/Os)
A3
(e.g. BRKIN,
66 MHz/Yes, series
termination
BRKOUT)
A4
(e.g.Trace Clock)
66 MHzYes, series
termination
C3.3VLVDS–50 MHzParallel termination
DAnalog
–––
input
Data Sheet9V0.1, 2005-11
General Device InformationAdvance Information
2.5Pin Definitions and Functions
Table 2-2 shows the TC1161/TC1162 pin definitions and functions.
Table 2-2Pin Definitions and Functions
TC1161/TC1162
SymbolPins I/OPad
Driver
Class
Parallel Ports
P0I/OA1
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P0.8
P0.9
P0.10
P0.11
P0.12
P0.13
P0.14
P0.15
145
146
147
148
166
167
173
174
149
150
151
152
168
169
175
176
Power
Supply
V
DDP
Functions
Port 0
Port 0 is a 16-bit bi-directional generalpurpose I/O port which can be alternatively
used for GPTA I/O lines or external trigger
inputs.
OUT56 line of GPTA
OUT57 line of GPTA
OUT58 line of GPTA
OUT59 line of GPTA
OUT60 line of GPTA
OUT61 line of GPTA
OUT62 line of GPTA
External trigger input 2
OUT63 line of GPTA
External trigger input 3
OUT64 line of GPTA
OUT65 line of GPTA
OUT66 line of GPTA
OUT67 line of GPTA
OUT68 line of GPTA
OUT69 line of GPTA
OUT70 line of GPTA
External trigger input 4
OUT71 line of GPTA
External trigger input 5
In addition, the state of the port pins are
latched into the software configuration input
register SCU_SCLIR at the rising edge of
HDRST
OUT72 line of GPTA
OUT73 line of GPTA
OUT74 line of GPTA
OUT75 line of GPTA
OUT76 line of GPTA
OUT77 line of GPTA
OUT78 line of GPTA
OUT79 line of GPTA
IN48 / OUT48 line of GPTA
IN49 / OUT49 line of GPTA
IN50 / OUT50 line of GPTA
IN51 / OUT51 line of GPTA
ADC0 external multiplexer
control output 0
AD0EMUX1
ADC0 external multiplexer
control output 1
AD0EMUX2
ADC0 external multiplexer
control output 2
In addition, P1.4 also serves as emergency shut-off input for certain I/O lines (e.g. GPTA
related outputs).
Data Sheet11V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Power
Supply
Class
P2I/OV
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
74
75
76
77
78
79
80
81
A2
A2
A2
A2
A1
A2
A1
A1
DDP
Functions
Port 2
Port 2 is a 14-bit bi-directional generalpurpose I/O port which can be alternatively
used for GPTA I/O, and interface for MLI0,
MSC0 or SSC0.
TCLK0A
MLI0 transmit channel clock
output A
IN32 / OUT32
TREADY0A
line of GPTA
MLI0 transmit channel ready
input A
IN33 / OUT33
SLSO03
TVALID0A
line of GPTA
SSC0 slave select output 3
MLI0 transmit channel valid
output A
IN34 / OUT34
TDATA0A
line of GPTA
MLI0 transmit channel data
output A
IN35 / OUT35
RCLK0A
line of GPTA
MLI0 receive channel clock
input A
IN36 / OUT36
RREADY0A
line of GPTA
MLI0 receive channel ready
output A
IN37 / OUT37
RVALID0A
line of GPTA
MLI0 receive channel valid
input A
IN38 / OUT38
RDATA0A
line of GPTA
MLI0 receive channel data
input A
IN39 / OUT39
line of GPTA
Data Sheet12V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Class
P2.8
P2.9
P2.10
P2.11
P2.12
P2.13
164
160
161
162
163
165
A2
A2
A2
A2
A2
A1
Power
Supply
Functions
SLSO04
EN00
SLSO05
EN01
FCLP0B
SOP0B
SDI0
SSC0 Slave Select output 4
MSC0 enable output 0
SSC0 Slave Select output 5
MSC0 enable output 1
MSC0 clock output B
MSC0 serial data output B
MSC0 serial data input
Data Sheet13V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information
P3I/OV
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
P3.8
P3.9
P3.10
P3.11
P3.12
P3.13
P3.14
P3.15
136
135
129
130
132
126
127
131
128
138
137
144
143
142
134
133
A2
A2
A2
A2
A2
A2
A2
A2
A2
A2
A1
A1
A2
A2
A2
A2
DDP
Port 3
Port 3 is a 16-bit bi-directional generalpurpose I/O port which can be alternatively
1)
used for ASC0/1, SSC0 and CAN
RXD0A
TXD0A
ASC0 receiver inp./outp. A
ASC0 transmitter output A
lines.
This pin is sampled at the rising edge of
PORST
. If this pin and the BYPASS input pin
are both active, then oscillator bypass mode
is entered.
Port 5 is a 16-bit bi-directional generalpurpose I/O port. In emulation, it is used as a
trace port for OCDS Level 2 debug lines. In
normal operation, it is used for GPTA I/O or
the MLI0 interface.
OCDSDBG0
OCDS L2 Debug Line 0
(Pipeline Status Sig. PS0)
IN40 / OUT40
OCDSDBG1
line of GPTA
OCDS L2 Debug Line 1
(Pipeline Status Sig. PS1)
IN41 / OUT41
OCDSDBG2
line of GPTA
OCDS L2 Debug Line 2
(Pipeline Status Sig. PS2)
IN42 / OUT42
OCDSDBG3
line of GPTA
OCDS L2 Debug Line 3
(Pipeline Status Sig. PS3)
IN43 / OUT43
OCDSDBG4
line of GPTA
OCDS L2 Debug Line 4
(Pipeline Status Sig. PS4)
IN44 / OUT44
OCDSDBG5
line of GPTA
OCDS L2 Debug Line 5
(Break Qualification Line
BRK0)
IN45 / OUT45
OCDSDBG6
line of GPTA
OCDS L2 Debug Line 6
(Break Qualification Line
BRK1)
IN46 / OUT46
OCDSDBG7
line of GPTA
OCDS L2 Debug Line 7
(Break Qualification Line
BRK2)
IN47 / OUT47
line of GPTA
Data Sheet16V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Class
P5.8
P5.9
P5.10
P5.11
P5.12
P5.13
P5.14
P5.15
13
14
15
16
17
18
19
20
Power
Supply
Functions
OCDSDBG8
RDATA0B
OCDSDBG9
RVALID0B
OCDSDBG10
RREADY0B
OCDSDBG11
RCLK0B
OCDSDBG12
TDATA0B
OCDSDBG13
TVALID0B
OCDSDBG14
TREADY0B
OCDSDBG15
TCLK0B
OCDS L2 Debug Line 8
(Indirect PC Addr. PC0)
MLI0 receive channel data
input B
OCDS L2 Debug Line 9
(Indirect PC Addr. PC1)
MLI0 receive channel valid
input B
OCDS L2 Debug Line 10
(Indirect PC Addr. PC2)
MLI0 receive channel ready
output B
OCDS L2 Debug Line 11
(Indirect PC Addr. PC3)
MLI0 receive channel clock
input B
OCDS L2 Debug Line 12
(Indirect PC Addr. PC04)
MLI0 transmit channel data
output B
OCDS L2 Debug Line 13
(Indirect PC Addr. PC05)
MLI0 transmit channel valid
output B
OCDS L2 Debug Line 14
(Indirect PC Address PC6)
MLI0 transmit channel ready
input B
OCDS L2 Debug Line 15
(Indirect PC Address PC7)
MLI0 transmit channel clock
output B
Data Sheet17V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Class
MSC0 Outputs
C
FCLP0A
FCLN0
SOP0A
SON0
157
156
159
158
O
O
O
O
Power
Supply
V
DDP
Functions
LVDS MSC Clock and Data Outputs
3)
MSC0 Differential Driver Clock Output
Positive A
MSC0 Differential Driver Clock Output
Negative
MSC0 Differential Driver Serial Data Output
Positive A
MSC0 Differential Driver Serial Data Output
Negative
The Analog Input Port provides altogether 36
analog input lines to ADC0 and FADC.
AN[31:0]: ADC0 analog inputs [31:0]
AN[35:32]: FADC analog differential inputs
Analog input 0
Analog input 1
Analog input 2
Analog input 3
Analog input 4
Analog input 5
Analog input 6
Analog input 7
Analog input 8
Analog input 9
Analog input 10
Analog input 11
Analog input 12
Analog input 13
Analog input 14
Analog input 15
Analog input 16
Analog input 17
Analog input 18
Analog input 19
Analog input 20
Analog input 21
Analog input 22
Analog input 23
Analog input 24
Analog input 25
Analog input 26
Analog input 27
Analog input 28
Analog input 29
Analog input 30
Data Sheet19V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Power
Supply
Class
AN31
AN32
AN33
AN34
AN35
32
31
30
29
28
ID–Analog input 31
System I/O
TRST
114IA2
TCK115IA2
TDI111IA1
TDO113OA2
TMS112IA2
BRKIN
BRK
117I/OA3V
116I/OA3V
2)
2)
2)
V
V
V
V
2)
V
OUT
TRCLK9OA4 V
NMI120IA2
HDRST
PORST
122I/OA2V
6)121IA2
5)
5)
V
V
DDP
DDP
DDP
DDP
DDP
DDP
DDP
DDP
DDP
DDP
DDP
Functions
Analog input 32
Analog input 33
Analog input 34
Analog input 35
JTAG Module Reset/Enable Input
JTAG Module Clock Input
JTAG Module Serial Data Input
JTAG Module Serial Data Output
JTAG Module State Machine Control Input
OCDS Break Input (Alternate Output)
OCDS Break Output (Alternate Input)
Trace Clock for OCDS_L2 Lines
3)4)
3)4)
3)
Non-Maskable Interrupt Input
Hardware Reset Input /
Reset Indication Output
Power-on Reset Input
BYPASS 119IA1
2)
V
DDP
PLL Clock Bypass Select Input
This input has to be held stable during poweron resets. With BYPASS = 1, the spike filters
in the HDRST
, PORST and NMI inputs are
switched off.
TEST
MODE
118IA2
5)
V
DDP
Test Mode Select Input
For normal operation of the TC1161/TC1162,
this pin should be connected to high level.
XTAL1
XTAL2
102
103IO
n.a.
V
DDOSC
Oscillator/PLL/Clock Generator
Input/Output Pins
N.C.21, 89–––Not Connected
These pins are reserved for future extension
and must not be connected externally.
Data Sheet20V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Class
Power Supplies
V
DDM
V
SSM
V
DDMF
V
SSMF
V
DDAF
V
SSAF
V
AREF0
V
AGND0
V
FAREF
V
FAGND
V
DDOSC
54–––ADC Analog Part Power Supply (3.3 V)
53–––ADC Analog Part Ground for V
24–––FADC Analog Part Power Supply (3.3 V)
25–––FADC Analog Part Ground for V
23–––FADC Analog Part Logic Power Supply
22–––FADC Analog Part Logic Ground for V
52–––ADC Reference Voltage
51–––ADC Reference Ground
26–––FADC Reference Voltage
27–––FADC Reference Ground
105–––Main Oscillator and PLL Power Supply
Power
Supply
Functions
DDM
DDMF
(1.5 V)
DDAF
(1.5 V)
V
DDOSC3
V
SSOSC
V
DDFL3
V
DD
106–––Main Oscillator Power Supply (3.3 V)
104–––Main Oscillator and PLL Ground
141–––Power Supply for Flash (3.3 V)
10,
–––Core Power Supply (1.5 V)
68,
84,
99,
123,
153,
170
Data Sheet21V0.1, 2005-11
Table 2-2Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
SymbolPins I/OPad
Driver
Power
Supply
Functions
Class
V
DDP
11,
–––Port Power Supply (3.3 V)
69,
83,
100,
124,
154,
171,
139
V
SS
12,
–––Ground
70,
85,
101,
125,
155,
172,
140,
82
1) Not applicable to TC1161
2) These pads are I/O pads with input only function. Its input characteristics are identical with the input
characteristics as defined for class A pads.
3) In case of a power-fail condition (one or more power supply voltages drop below the specified voltage range),
an undefined output driving level may occur at these pins.
4) Programmed by software as either break input or break output.
5) These pads are input only pads with input characteristics.
6) The dual input reset system of TC1161/TC1162 assumes that the PORST
only.
reset pin is used for power on reset
Data Sheet22V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information
Table 2-3List of Pull-up/Pull-down Reset Behavior of the Pins
PinsPORST
=0PORST=1
TDI, TMS, TDOPull-up
HDRST
Drive-lowPull-up
BYPASS Pull-upHigh-impedance
TRST
, TCKHigh-impedancePull-down
TRCLKHigh-impedance
BRKIN
NMI
, BRKOUT, TESTMODEPull-up
, PORSTPull-down
Data Sheet23V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3Functional Description
Chapter 3 provides an overview of the TC1161/TC1162 functional description.
3.1System Architecture and On-Chip Bus Systems
The TC1161/TC1162 has two independent on-chip buses (see also TC1161/TC1162
block diagram on Page 2-6):
•Local Memory Bus (LMB)
•System Peripheral Bus (SPB)
The LMB Bus connects the CPU local resources for data and instruction fetch. The Local
Memory Bus interconnects the memory units and functional units, such as CPU and
PMU. The main target of the LMB bus is to support devices with fast response times,
optimized for speed. This allows the DMI and PMI fast access to local memory and
reduces load on the FPI bus. The Tricore system itself is located on LMB bus.
The Local Memory Bus is a synchronous, pipelined, split bus with variable block size
transfer support. It supports 8-, 16-, 32- and 64-bit single transactions and variable
length 64-bit block transfers.
The SPB Bus is accessible to the CPU via the LMB Bus bridge. The System Peripheral
Bus (SPB Bus) in TC1161/TC1162 is an on-chip FPI Bus. The FPI Bus interconnects the
functional units of the TC1161/TC1162, such as the DMA and on-chip peripheral
components. The FPI Bus is designed to be quick to be acquired by on-chip functional
units, and quick to transfer data. The low setup overhead of the FPI Bus access protocol
guarantees fast FPI Bus acquisition, which is required for time-critical applications.The
FPI Bus is designed to sustain high transfer rates. For example, a peak transfer rate of
up to 264 Mbyte/s can be achieved with a 66 MHz bus clock and 32-bit data bus. Multiple
data transfers per bus arbitration cycle allow the FPI Bus to operate at close to its peak
bandwidth.
Both the LMB Bus and the SPB Bus runs at full CPU speed. The maximum CPU speed
is 66 MHz.
Additionally, two simplified bus interfaces are connected to and controlled by the DMA
Controller.
•DMA Bus
•SMIF Interface.
Data Sheet24V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.2On-Chip Memories
As shown in the TC1161/TC1162 block diagram on Page 2-6, some of the
TC1161/TC1162 units provide on-chip memories that are used as program or data
memory.
•Program memory in PMU
– 16 Kbyte Boot ROM (BROM)
– 1024 Kbyte Program Flash (PFlash)