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)
•Usable for instruction code or constant data storage
•256-byte program interface
– 256 bytes are programmed into PFLASH page in one step/command
•256-bit read interface
– Transfer from PFLASH to CPU/PMI by four 64-bit single cycle burst transfers
•Dynamic correction of single-bit errors during read access
•Detection of double-bit errors
•Fixed sector architecture
– Eight 16 Kbyte, one 128 Kbyte, one 256 Kbyte and one 512 Kbyte sectors
– Each sector separately erasable
– Each sector separately write-protectable
•Configurable read protection for complete PFLASH with sophisticated read access
supervision, combined with write protection for complete PFLASH (protection against
“Trojan horse” software)
•Configurable write protection for each sector
– Each sector separately write-protectable
– With capability to be re-programmed
– With capability to be locked forever (OTP)
•Password mechanism for temporary disabling of write and read protection
•On-chip generation of programming voltage
•JEDEC-standard based command sequences for PFLASH control
– Write state machine controls programming and erase operations
– Status and error reporting by status flags and interrupt
Data Sheet25V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
•Margin check for detection of problematic PFLASH bits
Features of Data Flash
•16 Kbyte on-chip data Flash memory, organized in two 8 Kbyte banks
•Usable for data storage with EEPROM functionality
•128 Byte of program interface
– 128 bytes are programmed into one DFLASH page by one step/command
•64-bit read interface (no burst transfers)
•Dynamic correction of single-bit errors during read access
•Detection of double-bit errors
•Fixed sector architecture
– Two 8 Kbyte banks/sectors
– Each sector separately erasable
•Configurable read protection (combined with write protection) for complete DFLASH
together with PFLASH read protection
•Password mechanism for temporary disabling of write and read protection
•Erasing/programming of one bank possible while reading data from the other bank
•Programming of one bank while erasing the other bank possible
•On-chip generation of programming voltage
•JEDEC-standard based command sequences for DFLASH control
– Write state machine controls programming and erase operations
– Status and error reporting by status flags and interrupt
•Margin check for detection of problematic DFLASH bits
Data Sheet26V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3Memory Maps
This chapter gives an overview of the TC1161/TC1162 memory map and describes the
address locations and access possibilities for the units, memories, and reserved areas
as “seen” from different on-chip buses’ (SPB and LMB) point of view.
3.3.1Architectural Address Map
Table 3-1 shows the overall architectural address map as defined for the TriCore and as
CSFRs of CPUs[0 ..15];
LMB & FPI Peripheral Space;
non-speculative; non-cached;
no execution
Data Sheet28V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3.2How to Read the Address Maps
The bus-specific address maps describe how the different bus master devices react on
accesses to on-chip memories and modules, and which address ranges are valid or
invalid for the corresponding buses.
The FPI Bus address map shows the system addresses from the point of view of the
SPB master agents. SPB master agents are OCDS and DMA.
The LMB address map shows the system addresses from the point of view of the LMB
master agents. LMB master agents are PMI and DMI.
Table 3-2 defines the acronyms and other terms that are used in the address maps
(Table 3-3 to Table 3-5).
Table 3-2Definition of Acronyms and Terms
TermDescription
…BEMeans “Bus error” generation.
…BETMeans “Bus error & trap” generation.
SPBBEA bus access is terminated with a bus error on the SPB.
SPBBETA bus access is terminated with a bus error on the SPB and a DSE
trap (read access) or DAE trap (write access).
LMBBEA bus access is terminated with a bus error on the LMB.
LMBBETA bus access is terminated with a bus error on the LMB and a DSE
trap (read access) or DAE trap (write access).
accessA bus access is allowed and is executed.
ignoreA bus access is ignored and is not executed. No bus error is
generated.
trapA DSE trap (read access) or DAE trap (write access) is generated.
32Only 32-bit word bus accesses are permitted to that
register/address range.
nEA bus access generates no bus error, although the bus access
points to an undefined address or address range. This is valid e.g.
for CPU accesses (MTCR/MFCR) to undefined addresses in the
CSFR range.
Data Sheet29V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3.3Contents of the Segments
This section summarizes the contents of the segments.
Segments 0-7
These segments are reserved segments in the TC1161/TC1162.
Segment 8
From the SPB point of view (DMA and Cerberus), this memory segment allows accesses
to all PMU memories (PFLASH, DFLASH, BROM, and TROM).
From the CPU point of view (PMI and DMI), this memory segment allows cached
accesses to all PMU memories (PFLASH, DFLASH, BROM, and TROM).
Segment 9
This memory segment is reserved in the TC1161/TC1162.
Segment 10
From the SPB point of view (DMA and Cerberus), this memory segment allows accesses
to all PMU memories (PFLASH, DFLASH, BROM, and TROM).
From the CPU point of view (PMI and DMI), this memory segment allows non-cached
accesses to all PMU memories (PFLASH, DFLASH, BROM, and TROM).
Segment 11
This memory segment is reserved in the TC1161/TC1162.
Segment 12
From the SPB point of view (PCP, DMA, and Cerberus), this memory segment is
reserved in the TC1161/TC1162.
From the CPU point of view (PMI and DMI), this memory segment allows cached
accesses to the PMU memory, OVRAM.
Segment 13
From the SPB point of view (DMA and Cerberus), this memory segment is reserved in
the TC1161/TC1162.
From the CPU point of view (PMI and DMI), this memory segment allows non-cached
accesses to the PMI scratch-pad RAM, read access to the boot ROM and test ROM
(BROM and TROM) and the DMI memories (LDRAM).
Data Sheet30V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
Segment 14
From the SPB point of view (DMA and Cerberus), this memory segment allows accesses
to the PMU Overlay memory (OVRAM), the DMI Local Data RAM (LDRAM), and the PMI
scratch-pad RAM (SPRAM).
From the CPU point of view (PMI and DMI), this memory segment is reserved in the
TC1161/TC1162.
Segment 15
From the SPB point of view (DMA and Cerberus), this memory segment allows accesses
to all SFRs and CSFRs, and the MLI transfer windows.
From the CPU point of view (PMI and DMI), this memory segment allows accesses to all
SFRs and CSFRs, and the MLI transfer windows.
Data Sheet31V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3.4Address Map of the FPI Bus System
Table 3-3 and Table 3-4 shows the address maps of the FPI Bus System.
3.3.4.1Segments 0 to 14
Table 3-3 shows the address maps of segments 0 to 14 as it is seen from the SPB bus
masters, DMA and OCDS.
Table 3-3SPB Address Map of Segment 0 to 14
Segment
Address
Range
0-70000 0000
0000 0007
0000 0008
7FFF FFFF
SizeDescriptionAccess Type
ReadWrite
-
H
H
H
8 byteReserved (virtual address
space)
-
8 × 256
Mbyte
H
MPN trapMPN trap
SPBBESPBBE
Data Sheet32V0.1, 2005-11
Table 3-3SPB Address Map of Segment 0 to 14 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
Address
Range
88000 0000H -
800F FFFF
H
8010 0000H 8017 7FFF
H
8017 8000H 807F FFFF
8080 0000
8FDF FFFF
8FE0 0000
8FE0 1FFF
H
-
H
H
-
H
H
8FE0 2000H 8FE0 3FFF
H
8FE0 4000H 8FE0 FFFF
8FE1 0000
8FE1 1FFF
H
-
H
H
8FE1 2000H 8FE1 3FFF
H
8FE1 4000H 8FF1 FFFF
8FF2 0000
8FF5 FFFF
8FF6 0000
8FFF BFFF
8FFF C000
8FFF FFFF
99000 0000
9FFF FFFF
H
-
H
H
-
H
H
H
H
-
H
H
SizeDescriptionAccess Type
ReadWrite
1 MbyteProgram Flash (PFLASH)accessaccess
≈ 0.5
Reservedaccess
2)
Mbyte
6.5 Mbyte ReservedLMBBE &
SPBBE
246
Mbyte
8 KbyteData Flash (DFLASH)
ReservedLMBBE &
SPBBE
accessaccess
Bank 0
8 KbyteReservedaccess
2)
48 KbyteReservedLMBBE &
SPBBE
8 KbyteData Flash (DFLASH)
accessaccess
Bank 1
8 KbyteReservedaccess
2)
1 MbyteReservedLMBBE &
SPBBE
256
Reserved
Kbyte
624
Reserved
Kbyte
-
16 KbyteBoot ROM (BROM)access
256
ReservedSPBBESPBBE
Mbyte
access
LMBBE
LMBBE
access
LMBBE
access
LMBBE
1)
1)2)
1)
1)2)
1)
1)2)
Data Sheet33V0.1, 2005-11
Table 3-3SPB Address Map of Segment 0 to 14 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
Address
Range
10A000 0000H -
A00F FFFF
H
A010 0000H A017 FFFF
H
A017 8000H A07F FFFF
A080 0000
AFDF FFFF
AFE0 0000
AFE0 1FFF
H
-
H
H
-
H
H
AFE0 2000H AFE0 3FFF
H
AFE0 4000H AFE0 FFFF
AFE1 0000
AFE1 1FFF
H
-
H
H
AFE1 2000H AFE1 3FFF
H
AFE1 4000H AFF1 FFFF
AFF2 0000
AFF5 FFFF
AFF6 0000
AFFF BFFF
AFFF C000
AFFF FFFF
11B000 0000
BFFF FFFF
12C000 0000
C000 0FFF
C000 1000
CFFF FFFF
H
-
H
H
-
H
H
H
H
-
H
H
-
H
H
-
H
H
SizeDescriptionAccess Type
ReadWrite
1 MbyteProgram Flash (PFLASH)accessaccess
≈ 0.5
Reservedaccess
2)
Mbyte
6.5 Mbyte Reserved LMBBE &
SPBBE
246
Mbyte
8 KbyteData Flash (DFLASH)
ReservedLMBBE &
SPBBE
accessaccess
Bank 0
8 KbyteReservedaccess
2)
48 KbyteReservedLMBBE &
SPBBE
8 KbyteData Flash (DFLASH)
accessaccess
Bank 1
8 KbyteReservedaccess
2)
1 MbyteReservedLMBBE &
SPBBE
256
Reserved
Kbyte
624
Reserved
Kbyte
-
16 KbyteBoot ROM (BROM)access
256
ReservedSPBBESPBBE
Mbyte
4 KbyteOverlay memory
SPBBESPBBE
(OVRAM)
≈ 256
ReservedSPBBESPBBE
Mbyte
access
LMBBE
LMBBE
access
LMBBE
access
ignore
1)
1)2)
1)
1)2)
1)
1)2)
Data Sheet34V0.1, 2005-11
Table 3-3SPB Address Map of Segment 0 to 14 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
Address
Range
13D000 0000H -
D000 7FFF
D000 8000
D3FF FFFF
D400 0000
D400 1FFF
D400 2000
D7FF FFFF
D800 0000
DEFF FFFF
DF00 0000
DFFF FFEF
DFFF FFF0
DFFF FFFF
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
H
H
SizeDescriptionAccess Type
ReadWrite
32 KbyteDMI Local Data RAM
SPBBESPBBE
(LDRAM)
≈ 64
ReservedSPBBESPBBE
Mbyte
8 KbytePMI Scratch-Pad RAM
SPBBESPBBE
(SPRAM)
≈ 64
ReservedSPBBESPBBE
Mbyte
112
ReservedSPBBESPBBE
Mbyte
≈ 16
Reserved (for Boot Rom)SPBBESPBBE
Mbyte
-
16 bytemicroROMSPBBESPBBE
Data Sheet35V0.1, 2005-11
Table 3-3SPB Address Map of Segment 0 to 14 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
14E000 0000H -
15F000 0000
1) Only applicable when writing Flash command sequences.
2) Read and write accesses to this address range will not generate any traps.
Address
Range
E7FF FFFF
E800 0000
E800 0FFF
E800 1000
E800 1FFF
H
-
H
H
-
H
H
E800 2000H E83F FFFF
E840 0000
E840 7FFF
E840 8000
E840 DFFF
H
-
H
H
-
H
H
E840 E000H E84F FFFF
E850 0000
E850 1FFF
E850 2000
E850 3FFF
H
-
H
H
-
H
H
E850 4000H E85F FFFF
E860 C000
EFFF FFFF
FFFF FFFF
H
-
H
H
-
H
H
SizeDescriptionAccess Type
128 MBReservedLMBBELMBBE
4 KbyteOverlay memory
(OVRAM)
4 KbyteReservedaccess
≈ 4
ReservedLMBBELMBBE
Mbyte
32 KbyteDMI Local Data RAM
(LDRAM)
24 KbyteReservedaccess
≈ 1 Mbyte ReservedLMBBELMBBE
8 KbytePMI Scratch-Pad RAM
(SPRAM)
8 KbyteReservedaccess
≈ 1 Mbyte ReservedLMBBELMBBE
≈ 122
ReservedLMBBELMBBE
Mbyte
256
see Table 3-4
Mbyte
ReadWrite
accessaccess
2)
access
accessaccess
2)
access
accessaccess
2)
access
2)
2)
2)
Data Sheet36V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3.4.2Segment 15
Table 3-4 shows the address map of segment 15 as seen from the SPB bus masters
DMA and OCDS. Please note that access in Table 3-4 means only that an access to an
address within the defined address range is not automatically incorrect or ignored. If an
access is really addressing a correct address, it can be found in the detailed tables in the
TC116x User’s Manual, Register Overview’s chapter.
Table 3-4SPB Address Map of Segment 15
UnitAddress
Range
System Control Unit (SCU) and
Watchdog Timer (WDT)
System Peripheral Bus Control Unit
(SBCU)
F000 0000
F000 00FF
F000 0100
F000 01FF
System Timer (STM)F000 0200
F000 02FF
ReservedF000 0300
F000 03FF
On-Chip Debug Support (Cerberus) F000 0400
F000 04FF
ReservedF000 0500
F000 07FF
MicroSecond Bus Controller 0
(MSC0)
F000 0800
F000 08FF
ReservedF000 0900
F000 09FF
Async./Sync. Serial Interface 0
(ASC0)
Async./Sync. Serial Interface 1
(ASC1)
F000 0A00
F000 0AFF
F000 0B00
F000 0BFF
Port 0F000 0C00
F000 0CFF
Port 1F000 0D00
F000 0DFF
Port 2F000 0E00
F000 0EFF
SizeAccess Type
ReadWrite
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
-
–SPBBESPBBE
H
H
-
256
H
byte
H
-
–SPBBESPBBE
H
H
-
256
H
byte
H
-
–SPBBESPBBE
H
H
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
accessaccess
Data Sheet37V0.1, 2005-11
Table 3-4SPB Address Map of Segment 15 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
UnitAddress
Range
Port 3F000 0F00H -
F000 0FFF
Port 4F000 1000
F000 10FF
Port 5F000 1100
F000 11FF
ReservedF000 1200
F000 12FF
ReservedF000 1300
F000 13FF
ReservedF000 1400
F000 14FF
ReservedF000 1500
F000 15FF
ReservedF000 1600
F000 16FF
ReservedF000 1700
F000 17FF
General Purpose Timer Array 0
(GPTA0)
F000 1800
F000 1FFF
ReservedF000 2000
F000 27FF
ReservedF000 2800
F000 2FFF
ReservedF000 3000
F000 3BFF
Direct Memory Access Controller
(DMA)
F000 3C00
F000 3EFF
ReservedF000 3F00
F000 3FFF
MultiCAN Controller (CAN)F000 4000
F000 5FFF
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
SizeAccess Type
ReadWrite
256
accessaccess
byte
256
accessaccess
byte
256
accessaccess
byte
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
8 × 256
accessaccess
byte
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
3 × 256
accessaccess
byte
–SPBBESPBBE
8 Kbyteaccess
1)
access
1)
Data Sheet38V0.1, 2005-11
Table 3-4SPB Address Map of Segment 15 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
UnitAddress
Range
ReservedF000 6000H -
F003 FFFF
ReservedF004 0000
F004 3EFF
ReservedF004 3F00
F004 3FFF
H
-
H
H
-
H
H
ReservedF004 4000H -
F004 FFFF
ReservedF005 0000
F005 1FFF
H
-
H
H
ReservedF005 2000H -
F005 FFFF
ReservedF006 0000
F006 2FFF
H
-
H
H
ReservedF006 3000H -
F007 FFFF
ReservedF008 0000
F00F FFFF
ReservedF010 0000
F010 00FF
Synchronous Serial Interface 0
(SSC0)
F010 0100
F010 01FF
ReservedF010 0200
F010 02FF
Fast Analog-to-Digital Converter
(FADC)
Analog-to-Digital Converter 0
(ADC0)
F010 0300H F010 03FF
F010 0400
F010 05FF
ReservedF010 0600
F010 07FF
ReservedF010 0800
F010 9FFF
H
-
H
H
-
H
H
-
H
H
-
H
H
H
-
H
H
-
H
H
-
H
H
SizeAccess Type
ReadWrite
–SPBBESPBBE
–SPBBESPBBE
256
access
2)
access
byte
–SPBBESPBBE
8 KbytenE, 32
3)
nE, 32
–SPBBESPBBE
12
nE, 32
3)
nE, 32
Kbyte
–SPBBESPBBE
–SPBBESPBBE
–SPBBESPBBE
256
accessaccess
byte
256
access
2)
access
byte
256
accessaccess
byte
2 × 256
accessaccess
byte
–SPBBESPBBE
–SPBBESPBBE
2)
3)
3)
2)
Data Sheet39V0.1, 2005-11
Table 3-4SPB Address Map of Segment 15 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
UnitAddress
Range
ReservedF010 A000H -
F010 BFFF
Micro Link Interface 0 (MLI0)F010 C000
F010 C0FF
ReservedF010 C100
F010 C1FF
H
-
H
H
-
H
H
Memory Checker (MCHK)F010 C200H -
F010 C2FF
ReservedF010 C300
F01D FFFF
MLI0 Small Transfer WindowsF01E 0000
F01E 7FFF
ReservedF01E 8000
F01E FFFF
H
-
H
H
-
H
H
-
H
H
ReservedF01F 0000H -
F01F FFFF
MLI0 Large Transfer WindowsF020 0000
F023FFFF
ReservedF024 0000
F027 FFFF
H
-
H
H
-
H
H
ReservedF028 0000H -
F7E0 FEFF
CPUCPU Slave Interface
Registers (CPS)
F7E0 FF00
F7E0 FFFF
CPU Core SFRs & GPRsF7E1 0000
F7E1 FFFF
ReservedF7E2 0000
F7FF FFFF
ReservedF800 0000
F800 03FF
ReservedF800 0400
F800 04FF
H
-
H
H
-
H
H
-
H
H
-
H
H
-
H
H
SizeAccess Type
ReadWrite
–SPBBESPBBE
256
accessaccess
byte
256
access
2)
access
byte
256
accessaccess
byte
–SPBBESPBBE
4 × 8
accessaccess
Kbyte
4 × 8
access
2)
access
Kbyte
–SPBBESPBBE
4 × 64
accessaccess
Kbyte
4 × 64
access
2)
access
Kbyte
–SPBBESPBBE
256
accessaccess
byte
64
accessaccess
Kbyte
–SPBBESPBBE
–SPBBESPBBE
–LMBBE &
LMBBE
SPBBE
2)
2)
2)
Data Sheet40V0.1, 2005-11
Table 3-4SPB Address Map of Segment 15 (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
UnitAddress
Range
Program Memory Unit (PMU)F800 0500H -
F800 05FF
ReservedF800 0600
F800 0FFF
Flash RegisterF800 1000
F800 23FF
ReservedF800 2400
F801 00FF
ReservedF801 0100
F801 01FF
ReservedF801 0200
F87F F9FF
ReservedF87F FA00
F87F FAFF
ReservedF87F FB00
F87F FBFF
CPUDMI RegistersF87F FC00
F87F FCFF
PMI RegistersF87F FD00
F87F FDFF
Local Memory Bus Control Unit
(LBCU)
F87F FE00
F87F FEFF
LFI BridgeF87F FF00
F87F FFFF
ReservedF880 0000
FFFF FFFF
1) For TC1161, read and write accesses to this address range will not generate any traps.
2) Read and write accesses to this address range will not generate any traps.
3) For “32” access type, read and write accesses to this address range will not generate any traps.
SizeAccess Type
ReadWrite
256
byte
H
-
–LMBBE &
H
H
-
5 Kbyteaccessaccess
H
H
-
–LMBBE &
H
H
-
–LMBBE &
H
H
-
–LMBBE &
H
H
-
–LMBBE &
H
H
-
–LMBBE &
H
H
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
-
256
H
byte
H
-
–LMBBE &
H
H
accessaccess
SPBBE
SPBBE
SPBBE
SPBBE
SPBBE
SPBBE
accessaccess
accessaccess
accessaccess
accessaccess
SPBBE
LMBBE
LMBBE
LMBBE
LMBBE
LMBBE
LMBBE
LMBBE
Data Sheet41V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.3.5Address Map of the Local Memory Bus (LMB)
Table 3-5 shows the address map as seen from the LMB bus masters (PMI and DMI).
Table 3-5LMB Address Map
Segment
1)
0-7
1)
8
Address
Range
0000 0000H 0000 0007
0000 0008
7FFF FFFF
H
-
H
H
8000 0000H 800F FFFF
H
8010 0000H 8017 7FFF
H
8017 8000H 807F FFFF
8080 0000
8FDF FFFF
8FE0 0000
8FE0 1FFF
H
-
H
H
-
H
H
8FE0 2000H 8FE0 3FFF
H
8FE0 4000H 8FE0 FFFF
8FE1 0000
8FE1 1FFF
H
-
H
H
8FE1 2000H 8FE1 3FFF
H
8FE1 4000H 8FF1 FFFF
8FF2 0000
8FF5 FFFF
8FF6 0000
8FFF BFFF
8FFF C000
8FFF FFFF
H
-
H
H
-
H
H
-
H
H
SizeDescriptionAction
ReadWrite
8 byteReserved (virtual address
MPN trapMPN trap
space)
8 × 256
SPBBETSPBBE
Mbyte
1 MbyteProgram Flash (PFLASH)accessaccess
≈ 0.5
Reservedaccess
3)
access
2)
2)3)
Mbyte
6.5 Mbyte ReservedLMBBETLMBBET
246
ReservedLMBBETLMBBET
Mbyte
8 KbyteData Flash (DFLASH)
accessaccess
2)
Bank 0
8 KbyteReservedaccess
3)
access
2)3)
48 KbyteReservedLMBBETLMBBET
8 KbyteData Flash (DFLASH)
accessaccess
2)
Bank 1
8 KbyteReservedaccess
3)
access
2)3)
1 MbyteReservedLMBBETLMBBET
256 Kbyte Reserved
624 Kbyte Reserved
16 KbyteBoot ROM (BROM)access
Data Sheet42V0.1, 2005-11
Table 3-5LMB Address Map (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
1)
9
4)
10
4)
11
Address
Range
9000 0000H 9FFF FFFF
H
A000 0000H A00F FFFF
H
A010 0000H A017 FFFF
H
A017 8000H A07F FFFF
A080 0000
AFDF FFFF
AFE0 0000
AFE0 1FFF
H
-
H
H
-
H
H
AFE0 2000H AFE0 3FFF
H
AFE0 4000H AFE0 FFFF
AFE1 0000
AFE1 1FFF
H
-
H
H
AFE1 2000H AFE1 3FFF
H
AFE1 4000H AFF1 FFFF
AFF2 0000
AFF5 FFFF
AFF6 0000
AFFF BFFF
AFFF C000
AFFF FFFF
H
-
H
H
-
H
H
-
H
H
B000 0000H BFFF FFFF
H
SizeDescriptionAction
ReadWrite
256
ReservedSPBBETSPBBE
Mbyte
1 MbyteProgram Flash (PFLASH)accessaccess
≈ 0.5
Reservedaccess
3)
access
2)
2)3)
Mbyte
6.5 Mbyte ReservedLMBBETLMBBET
246
ReservedLMBBETLMBBET
Mbyte
8 KbyteData Flash (DFLASH)
accessaccess
2)
Bank 0
8 KbyteReservedaccess
3)
access
2)3)
48 KbyteReservedLMBBETLMBBET
8 KbyteData Flash (DFLASH)
accessaccess
2)
Bank 1
8 KbyteReservedaccess
3)
access
2)3)
1 MbyteReservedLMBBETLMBBET
256 Kbyte Reserved
624 Kbyte Reserved
16 KbyteBoot ROM (BROM)access
256
ReservedSPBBETSPBBE
Mbyte
Data Sheet43V0.1, 2005-11
Table 3-5LMB Address Map (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
1)
12
4)
13
4)
14
Address
Range
C000 0000H C000 0FFF
C000 1000
H
C000 1FFF
C000 2000H CFFF FFFF
D000 0000H D000 7FFF
D000 8000
H
D000 DFFF
D000 E000H D3FF FFFF
D400 0000
H
D400 1FFF
D400 2000
H
D400 3FFF
D400 4000H D7FF FFFF
D800 0000
H
DEFF FFFF
DF00 0000
H
DFFF FFEF
E000 0000H E7FF FFFF
E800 0000
EFFF FFFF
-
H
H
SizeDescriptionAction
ReadWrite
4 KbyteOverlay memory
H
-
4 KbyteReservedaccess
H
256
Mbyte
H
(OVRAM)
ReservedLMBBETLMBBET
32 KbyteDMI Local Data RAM
H
-
24 KbyteReservedaccess
H
(LDRAM)
accessaccess
3)
access
SPBBE
SPBBE
5)
64 MbyteReservedLMBBETLMBBET
H
-
8 KbytePMI Scratch-Pad RAM
H
-
8 KbyteReservedaccess
H
≈ 64
Mbyte
H
-
112
Mbyte
H
-
16 MbyteReserved (for Boot Rom)
H
128
Mbyte
H
128
(SPRAM)
ReservedLMBBETLMBBET
Reserved
ReservedLMBBETLMBBET
ReservedLMBBETLMBBET
accessaccess
3)
Mbyte
access
access
SPBBE
access
SPBBE
access
3)
5)
3)
Data Sheet44V0.1, 2005-11
Table 3-5LMB Address Map (cont’d)
TC1161/TC1162
Functional DescriptionAdvance Information
Segment
15F000 0000H -
Address
Range
F7FF FFFF
SizeDescriptionAction
ReadWrite
H
128
Mbyte
Address map is identical
to FPI Bus segment 15
SPBBETSPBBE
address map (see
Table 3-5)
Reserved areas give an
bus error.
-
F800 0000
F800 03FF
F800 0400
F800 04FF
F800 0500
F800 05FF
F800 0600
F800 0FFF
F800 1000
F800 23FF
F800 2400
F87F FBFF
F87F FC00
F87F FCFF
F87F FD00
F87F FDFF
F87F FE00
F87F FEFF
F87F FF00
F87F FFFF
F880 0000
FFFF FFFF
1) Cached area
2) Only applicable when writing Flash command sequences
3) Read and write accesses to this address range will not generate any traps.
4) Non-cached area
5) If accessible, read and write accesses to this address range will not generate any traps.
1 KbyteReservedLMBBETLMBBET
H
H
-
256 byteReservedLMBBETLMBBET
H
H
-
256 byteProgram Memory Unit
H
H
-
≈ 2 KbyteReservedLMBBETLMBBET
H
H
-
5 KbyteFlash Registersaccessaccess
H
H
-
≈ 8 Mbyte ReservedLMBBETLMBBET
H
H
-
256 byteData Memory Interface
H
H
-
256 byteProgram Memory
H
H
-
256 byteLBCU register spaceaccessaccess
H
H
-
256 byteLFI Bus Bridgeaccessaccess
H
H
-
≈ 119
H
Mbyte
H
(PMU)
Unit
Interface Unit
ReservedLMBBETLMBBET
accessaccess
accessaccess
accessaccess
Data Sheet45V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.4Memory Protection System
The TC1161/TC1162 memory protection system specifies the addressable range and
read/write permissions of memory segments available to the current executing task. The
memory protection system controls the position and range of addressable segments in
memory. It also controls the types of read and write operations allowed within
addressable memory segments. Any illegal memory access is detected by the memory
protection hardware, which then invokes the appropriate Trap Service Routine (TSR) to
handle the error. Thus, the memory protection system protects critical system functions
against both software and hardware errors. The memory protection hardware can also
generate signals to the Debug Unit to facilitate tracing illegal memory accesses.
There are two Memory Protection Register Sets in the TC1161/TC1162, numbered 0
and 1, which specify memory protection ranges and permissions for code and data. The
PSW.PRS bit field determines which of these is the set currently in use by the CPU. As
the TC1161/TC1162 uses a Harvard-style memory architecture, each Memory
Protection Register Set is broken down into a Data Protection Register Set and a Code
Protection Register Set. Each Data Protection Register Set can specify up to four
address ranges to receive a particular protection modes. Each Code Protection Register
Set can specify up to two address ranges to receive a particular protection modes.
Each Data Protection Register Sets and Code Protection Register Sets determines the
range and protection modes for a separate memory area. Each set contains a pair of
registers which determine the address range (the Data Segment Protection Registers
and Code Segment Protection Registers) and one register (Data Protection Mode
Register) which determines the memory access modes that applies to the specified
range.
Data Sheet46V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.5DMA Controller and Memory Checker
The DMA Controller of the TC1161/TC1162 transfers data from data source locations to
data destination locations without intervention of the CPU or other on-chip devices. One
data move operation is controlled by one DMA channel. Eight DMA channels are
provided in one DMA Sub-Block. The Bus Switch provides the connection of the DMA
Sub-Block to the two FPI Bus interfaces and an MLI bus interface. In the
TC1161/TC1162, the FPI Bus interfaces are connected to the System Peripheral Bus
and the DMA Bus. The third specific bus interface provides a connection to Micro Link
Interface module (one MLI module in the TC1161/TC1162) and other DMA-related
devices (Memory Checker module in the TC1161/TC1162). Clock control, address
decoding, DMA request wiring, and DMA interrupt service request control are
implementation-specific and managed outside the DMA controller kernel. Figure 3-1
shows the implementation details and interconnections of the DMA module.
Clock
Control
DMA
Requests
of
On-ch ip
Periph.
Units
Address
Decoder
Interr u p t
Request
Nodes
f
DMA
SR[15:0]
DMA Controller
DMA Sub-Block 0
Request
Selection/
CH0n_OUT
Arbitration
Transaction
Control Unit
DM A In terr u p t Co n tro l
DMA
Channels
00-07
Bus
Switch
Arbiter/
Switch
Control
System
Periphera
FPI Bus
Interfac e 0
FPI Bus
Interfac e 1
ML I
Interface
Bus
DMA Bus
MLI0
Memory
Checker
TC1161/TC1162 DMA Bloc k Diagr am
Figure 3-1DMA Controller Block Diagram
Data Sheet47V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
Features
•8 independent DMA channels
– 8 DMA channels in the DMA Sub-Block
– Up to 8 selectable request inputs per DMA channel
– 2-level programmable priority of DMA channels within the DMA Sub-Block
– Software and hardware DMA request
– Hardware requests by selected on-chip peripherals and external inputs
•Programmable priority of the DMA Sub-Blocks on the bus interfaces
•Buffer capability for move actions on the buses (at least 1 move per bus is buffered).
•Individually programmable operation modes for each DMA channel
– Single Mode: stops and disables DMA channel after a predefined number of DMA
transfers
– Continuous Mode: DMA channel remains enabled after a predefined number of
DMA transfers; DMA transaction can be repeated.
– Programmable address modification
•Full 32-bit addressing capability of each DMA channel
– 4 Gbyte address range
– Support of circular buffer addressing mode
•Programmable data width of DMA transfer/transaction: 8-bit, 16-bit, or 32-bit
•Micro Link bus interface support
•Register set for each DMA channel
– Source and destination address register
– Channel control and status register
– Transfer count register
•Flexible interrupt generation (the service request node logic for the MLI channels is
also implemented in the DMA module)
•All buses connected to the DMA module must work at the same frequency.
•Read/write requests of the System Bus side to the peripherals on DMA Bus are
bridged to the DMA Bus (only the DMA is the master on the DMA bus), allowing easy
access to these peripherals by CPU
Memory Checker
The Memory Checker Module (MCHK) makes it possible to check the data consistency
of memories. Any SPB bus master may access the memory checker. It is preferable the
DMA does it as described hereafter. It uses DMA 8-bit, 16-bit, or 32-bit moves to read
from the selected address area and to write the value read in a memory checker input
register. With each write operation to the memory checker input register, a polynomial
checksum calculation is triggered and the result of the calculation is stored in the
memory checker result register.
The memory checker uses the standard Ethernet polynomial, which is given by:
Note: Although the polynomial above is used for generation, the generation algorithm
differs from the one that is used by the Ethernet protocol.
3.6Interrupt System
The TC1161/TC1162 interrupt system provides a flexible and time-efficient means of
processing interrupts. An interrupt request is serviced by the CPU, which is called the
“Service Provider”. Interrupt requests are called “Service Requests” rather than
“Interrupt Requests” in this document.
Each peripheral in the TC1161/TC1162 can generate service requests. Additionally, the
Bus Control Units, the Debug Unit, and even the CPU itself can generate service
requests to the Service Provider.
As shown in Figure 3-2, each TC1161/TC1162 unit that can generate service requests
is connected to one or multiple Service Request Nodes (SRN). Each SRN contains a
Service Request Control Register mod_SRCx, where “mod” is the identifier of the
service requesting unit and “x” an optional index. The CPU Interrupt Arbitration Bus
connects the SRNs with the Interrupt Control Unit (ICU), which arbitrates service
requests for the CPU and administers the CPU Interrupt Arbitration Bus.
The Debug Unit can generate service requests to the CPU. The CPU makes service
requests directly to itself (via the ICU). The CPU Service Request Nodes are activated
through software.
Depending on the selected system clock frequency f
, the number of f
SYS
clock cycles
SYS
per arbitration cycle must be selected as follows:
•
f
< 60 MHz: ICR.CONECYC = 1
SYS
f
•
> 60 MHz: ICR.CONECYC = 0
SYS
Data Sheet49V0.1, 2005-11
Service
Requestors
Service Req.
Nodes
TC1161/TC1162
Functional DescriptionAdvance Information
CPU
Interrupt
Arbitration Bus
MSC0
MLI0
SSC0
ASC0
GPTA 0
2
4
3
4
4
6
1)
4
2
38
2 SRNs
4 SRNs
3 SRNs
4 SRNs
4 SRNsASC1
6 SRNsMultiCAN
4 SRNsADC0
2 SRNsFADC
38 SRNs
38
2
4
3
4
4
6
4
2
Service Req.
Nodes
5
5 SRNs
CPU Interrupt
Control Unit
Int. Re q.
Service Req.
Nodes
1
1
1 SRN
1 SRN
ICU
PIPN
5
1
1
Interrupt
Service
Providers
Software
and
Breakpoi nt
Interrupts
CPU
Int. A ck.
CCPN
Service
Requestors
LBCU
SBCU
STM
FPU
Flash
Ext. In t
1) M ultiCAN m odule and t he 6 SRNs are not applicable t o T C1161.
2
1
1
2
1 SRN
1 SRN
2 SRNs
2
1
1
2
4
1
1
4 SRNs
1 SRN
1 SRN
4
1
1
TC1161/T C1162 I nterr upt Sy st em
DMA2 SRNs
Cerberus
DMA Bus
Figure 3-2Block Diagram of the TC1161/TC1162 Interrupt System
Data Sheet50V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.7Asynchronous/Synchronous Serial Interfaces (ASC0, ASC1)
Figure 3-3 shows a global view of the functional blocks and interfaces of the two
Asynchronous/Synchronous Serial Interfaces, ASC0 and ASC1.
f
Clock
Control
Address
Decoder
Interrupt
Control
ASC
EIR
TBIR
TIR
RIR
ASC0
Module
(Kernel)
RXD_I0
RXD_I1
RXD_O
TXD_O
A2
A2
A2
A2
P3.0 /
RXD0A
P3.1 /
TXD0A
P3.12 /
RXD0B
P3.13 /
TXD0B
To
DMA
To
DMA
ASC0_RDR
ASC0_TDR
Interrupt
Control
ASC1_RDR
ASC1_TDR
EIR
TBIR
TIR
RIR
ASC1
Module
(Kernel)
RXD_I0
RXD_I1
RXD_O
TXD_O
Figure 3-3Block Diagram of the ASC Interfaces
Port 3
Control
A2
A2
A2
A2
P3.9 /
RXD1A
P3.8 /
TXD1A
P3.14 /
RXD1B
P3.15 /
TXD1B
MCB06211
The ASC provides serial communication between the TC1161/TC1162 and other
microcontrollers, microprocessors, or external peripherals.
The ASC supports full-duplex asynchronous communication and half-duplex
synchronous communication. In Synchronous Mode, data is transmitted or received
synchronous to a shift clock that is generated by the ASC internally. In Asynchronous
Mode, 8-bit or 9-bit data transfer, parity generation, and the number of stop bits can be
Data Sheet51V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
selected. Parity, framing, and overrun error detection are provided to increase the
reliability of data transfers. Transmission and reception of data is double-buffered. For
multiprocessor communication, a mechanism is included to distinguish address bytes
from data bytes. Testing is supported by a loop-back option. A 13-bit baud rate generator
provides the ASC with a separate serial clock signal, which can be accurately adjusted
by a prescaler implemented as fractional divider.
Features
•Full-duplex asynchronous operating modes
– 8-bit or 9-bit data frames, LSB first
– Parity-bit generation/checking
– One or two stop bits
– Baud rate from 4.1Mbit/s to 0.98 bit/s (@ 66 MHz module clock)
– Multiprocessor mode for automatic address/data byte detection
– Loop-back capability
•Half-duplex 8-bit synchronous operating mode
– Baud rate from 8.25 Mbit/s to 671.4 bit/s (@ 66 MHz module clock)
•Double-buffered transmitter/receiver
•Interrupt generation
– On a transmit buffer empty condition
– On a transmit last bit of a frame condition
– On a receive buffer full condition
– On an error condition (frame, parity, overrun error)
Data Sheet52V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.8High-Speed Synchronous Serial Interfaces (SSC0)
Figure 3-4 shows a global view of the functional blocks and interfaces of the high-speed
Synchronous Serial Interfaces, SSC0.
To
DMA
Clock
Control
Address
Decoder
Interr u p t
Control
SSC0_RDR
SSC0_TDR
M/S Select
Enable
f
SSC0
f
CLC0
EIR
TIR
RIR
MRSTA
Master
Slave
Slave
SSC0
Module
(Kernel)
1)
1)
Master
Slave
Master
MRSTB
MTSR
MTSRA
MTSRB
MRST
SCLKA
SCLKB
SCLK
SLSI1
SLSI[7:2]
SLSO[2:0]
SLSO[5:3]
SLSO6
SLSO7
1)
Port 3
Control
1)
.
.
.
P3 .4 /MTS R0
A2
P3 .3 /MRST0
A2
P3 .2 /S C L K 0
A2
P3 .7 /S L S I0
A2
P3 .5 /S L S O0
A2
P3 .7 /S L S O2
A2
P3 .8 /S L S O6
A2
P2 .1 /S L S O3
A2
P2 .8 /S L S O4
A2
Port 2
Control
1) T hese lines are not connect ed
A2
P2 .9 /S L S O5
MCB 06225
Figure 3-4Block Diagram of the SSC Interfaces
The SSC supports full-duplex and half-duplex serial synchronous communication up to
33 MBaud (@ 66 MHz module clock). The serial clock signal can be generated by the
SSC itself (Master Mode) or can be received from an external master (Slave Mode). Data
width, shift direction, clock polarity and phase are programmable. This allows
communication with SPI-compatible devices. Transmission and reception of data is
Data Sheet53V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
double-buffered. A shift clock generator provides the SSC with a separate serial clock
signal. Seven slave select inputs are available for Slave Mode operation. Eight
programmable slave select outputs (chip selects) are supported in Master Mode.
Features
•Master and Slave Mode operation
– Full-duplex or half-duplex operation
– Automatic pad control possible
•Flexible data format
– Programmable number of data bits: 2 to 16 bits
– Programmable shift direction: LSB or MSB shift first
– Programmable clock polarity: Idle low or idle high state for the shift clock
– Programmable clock/data phase: Data shift with leading or trailing edge of the shift
clock
•Baud rate generation from 503.5 bit/s to 33 Mbit/s (@ 66 MHz module clock)
•Interrupt generation
– On a transmitter empty condition
– On a receiver full condition
– On an error condition (receive, phase, baud rate, transmit error)
•Flexible SSC pin configuration
•Seven slave select inputs SLSI[7:1]
•Eight programmable slave select outputs SLSO[7:0] in Master Mode
– Automatic SLSO generation with programmable timing
– Programmable active level and enable control
in Slave Mode
Data Sheet54V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.9Micro Second Bus Interfaces (MSC0)
The MSC interface provides a serial communication link typically used to connect power
switches or other peripheral devices. The serial communication link includes a fast
synchronous downstream channel and a slow asynchronous upstream channel.
Figure 3-5 shows a global view of the MSC interface signals.
SR15 (from CAN)
f
Clock
Control
Address
Decoder
Interrupt
Control
To DMA
ALTINL[15:0]
(from GPTA)
ALTINH[15:0]
EMGSTOPMSC
(from SCU)
f
2)
MSC0
CLC0
SR[1:0]
SR[3:2]
16
16
MSC0
Module
(Kernel)
Upstream
Downstream Channel
Channel
FCLP
FCLN
SOP
SON
EN0
EN1
SDI[0]
FCLP 0A
FCLN0
SOP0A
SON0
P2 .1 1 / FCLP0 B
P2 .1 2 / S OP0 B
P2 .8 / E N0 0
Port 2
Control
1)
P2 .9 / E N0 1
P2 .1 3 / S DI0
1) SDI[7:1] are connected to high level
2) Not applic able t o T C1161
MCA06255
Figure 3-5Block Diagram of the MSC Interfaces
The downstream and upstream channels of the MSC module communicate with the
external world via nine I/O lines. Eight output lines are required for the serial
communication of the downstream channel (clock, data, and enable signals). One out of
eight input lines SDI[7:0] is used as serial data input signal for the upstream channel. The
source of the serial data to be transmitted by the downstream channel can be MSC
register contents or data that is provided at the ALTINL/ALTINH input lines. These input
lines are typically connected to other on-chip peripheral units (for example with a timer
unit like the GPTA). An emergency stop input signal makes it possible to set bits of the
serial data stream to dedicated values in emergency cases.
Data Sheet55V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
Clock control, address decoding, and interrupt service request control are managed
outside the MSC module kernel. Service request outputs are able to trigger an interrupt
or a DMA request.
Features
•Fast synchronous serial interface to connect power switches in particular, or other
peripheral devices via serial buses
•High-speed synchronous serial transmission on downstream channel
f
– Serial output clock frequency:
FCL
= f
– Fractional clock divider for precise frequency control of serial clock
– Command, data, and passive frame types
– Start of serial frame: Software-controlled, timer-controlled, or free-running
– Programmable upstream data frame length (16 or 12 bits)
– Transmission with or without SEL bit
– Flexible chip select generation indicates status during serial frame transmission
– Emergency stop without CPU intervention
•Low-speed asynchronous serial reception on upstream channel
f
– Baud rate:
divided by 4, 8, 16, 32, 64, 128, or 256
MSC
– Standard asynchronous serial frames
– Parity error checker
– 8-to-1 input multiplexer for SDI lines
– Built-in spike filter on SDI lines
MSC
/2
f
MSC
Data Sheet56V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.10MultiCAN Controller (CAN)
Note: Section 3.10 is not applicable to TC1161.
Figure 3-6 shows a global view of the MultiCAN module with its functional blocks and
interfaces.
f
Clock
Control
CAN
f
CLC
MultiCAN Module Kernel
Address
Decoder
DMA
Interrupt
Control
INT_O
[1:0]
INT_O
[5:2]
INT_O15
Message
Object
Buffer
64
Objects
CAN Control
Linked
List
Control
CAN
Node 1
CAN
Node 0
TXDC1
RXDC1
TXDC0
RXDC0
Port 3
Control
P3.15 /
A2
TXDCAN1
P3.14 /
A2
RXDCAN1
P3.13 /
A2
TXDCAN0
P3.12 /
A2
RXDCAN0
MCA06281
Figure 3-6Block Diagram of MultiCAN Module
The MultiCAN module contains two independently-operating CAN nodes with Full-CAN
functionality that are able to exchange Data and Remote Frames via a gateway function.
Transmission and reception of CAN frames is handled in accordance with CAN
specification V2.0 B (active). Each CAN node can receive and transmit standard frames
with 11-bit identifiers as well as extended frames with 29-bit identifiers.
Both CAN nodes share a common set of message objects. Each message object can be
individually allocated to one of the CAN nodes. Besides serving as a storage container
for incoming and outgoing frames, message objects can be combined to build gateways
between the CAN nodes or to setup a FIFO buffer.
The message objects are organized in double-chained linked lists, where each CAN
node has its own list of message objects. A CAN node stores frames only into message
objects that are allocated to the message object list of the CAN node, and it transmits
only messages belonging to this message object list. A powerful, command-driven list
controller performs all message object list operations.
Data Sheet57V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
The bit timings for the CAN nodes are derived from the module timer clock (f
CAN
), and
Data Sheet58V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.11Micro Link Serial Bus Interface (MLI0)
The Micro Link Interface is a fast synchronous serial interface that allows data exchange
between microcontrollers of the 32-bit AUDO microcontroller family without intervention
of a CPU or other bus masters. Figure 3-7 shows how two microcontrollers are typically
connected together via their MLI interface. The MLI operates in both microcontrollers as
a bus master on the system bus.
Figure 3-7Typical Micro Link Interface Connection
Features
•Synchronous serial communication between MLI transmitters and MLI receivers
located on the same or on different microcontroller devices
•Automatic data transfer/request transactions between local/remote controller
The GPTA provides a set of timer, compare, and capture functionalities that can be
flexibly combined to form signal measurement and signal generation units. They are
optimized for tasks typical of electrical motor control applications, but can also be used
to generate simple and complex signal waveforms needed in other industrial
applications.
The TC1161/TC1162 contains one General Purpose Timer Array (GPTA0). Figure 3-9
shows a global view of the GPTA module.
GPTA
Clock Generation Unit
FPC0
FPC1
FPC2
FPC3
FPC4
FPC5
PDL0
PDL1
DCM0
DCM1
DCM2
DCM3
DIGITAL
PLL
Clock Distribution Unit
f
GPTA
Signal
GT0
GT1
GTC00
GTC01
GTC02
GTC03
Global
Timer
Cell Array
GTC30
GTC31
I/O Line Sharing Unit
Interrupt Sharing Unit
Generation Unit
Clock Bus
LTC00
LTC01
LTC02
LTC03
Local
Timer
Cell Array
LTC62
LTC63
Clock
Conn.
MCB06063
Figure 3-9Block Diagram of the GPTA Module
Data Sheet61V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.12.1Functionality of GPTA0
The General Purpose Timer Array GPTA0 provides a set of hardware modules required
for high-speed digital signal processing:
•Filter and Prescaler Cells (FPC) support input noise filtering and prescaler operation.
•Phase Discrimination Logic units (PDL) decode the direction information output by a
rotation tracking system.
•Duty Cycle Measurement Cells (DCM) provide pulse-width measurement
capabilities.
•A Digital Phase Locked Loop unit (PLL) generates a programmable number of GPTA
module clock ticks during an input signal’s period.
•Global Timer units (GT) driven by various clock sources are implemented to operate
as a time base for the associated Global Timer Cells.
•Global Timer Cells (GTC) can be programmed to capture the contents of a Global
Timer on an external or internal event. A GTC may also be used to control an external
port pin depending on the result of an internal compare operation. GTCs can be
logically concatenated to provide a common external port pin with a complex signal
waveform.
•Local Timer Cells (LTC) operating in Timer, Capture, or Compare Mode may also be
logically tied together to drive a common external port pin with a complex signal
waveform. LTCs — enabled in Timer Mode or Capture Mode — can be clocked or
triggered by various external or internal events.
Input lines can be shared by an LTC and a GTC to trigger their programmed operation
simultaneously.
The following list summarizes the specific features of the GPTA unit.
Clock Generation Unit
•Filter and Prescaler Cell (FPC)
– Six independent units
– Three basic operating modes:
•Global Timers (GT)
– Two independent units
– Two operating modes (Free-Running Timer and Reload Timer)
– 24-bit data width
f
–
–
maximum resolution
GPTA
f
/2 maximum input signal frequency
GPTA
•Global Timer Cell (GTC)
– 32 units related to the Global Timers
– Two operating modes (Capture, Compare and Capture after Compare)
– 24-bit data width
f
–
–
maximum resolution
GPTA
f
/2 maximum input signal frequency
GPTA
•Local Timer Cell (LTC)
– 64 independent units
– Three basic operating modes (Timer, Capture and Compare) for 63 units
– Special compare modes for one unit
– 16-bit data width
f
–
–
maximum resolution
GPTA
f
/2 maximum input signal frequency
GPTA
Interrupt Control Unit
•111 interrupt sources, generating up to 38 service requests
Data Sheet63V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
I/O Sharing Unit
•Interconnecting inputs and outputs from internal clocks, FPC, GTC, LTC, ports, and
MSC interface
Data Sheet64V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.13Analog-to-Digital Converter (ADC0)
Section 3.13 shows the global view of the ADC module with its functional blocks and
interfaces and the features which are provided by the module.
Clock
Control
Address
Decoder
Interrupt
Control
To DMA
f
ADC
f
CLC
SR[3:0]
SR[7:4]
V
AGND0
V
DD
V
SS
ADC0
Module
Kernel
V
DDM
SSM
V
AREF0
GPRS
EMUX0
EMUX1
ASGT
SW0TR, SW0GT
ETR, EGT
QTR, QGT
TTR, TGT
Group 0
Group 1
Analog Multiplexer
P1.14 /
A1
AD0EMUX2 (GRPS)
Port 1
Control
External
Request
Unit
(SCU)
AIN0
AIN15
AIN16
AIN30
AIN31
0
1
Die
Temperature
Measurement
P1.13 /AD0EMUX1
A1
P1.12 /AD0EMUX0
A1
8
From Ports
2
From MSC0
6
From GPTA
D
AN0
AN15
D
AN16
D
AN30
D
AN31
D
SCU_CON.DTSON
MCA06427
V
Figure 3-10Block Diagram of the ADC Module
The ADC module has 16 analog input channels. An analog multiplexer selects the input
line for the analog input channels from among 32 analog inputs. Additionally, an external
analog multiplexer can be used for analog input extension. External Clock control,
address decoding, and service request (interrupt) control are managed outside the ADC
module kernel. External trigger conditions are controlled by an External Request Unit.
This unit generates the control signals for auto-scan control (ASGT), software trigger
control (SW0TR, SW0GT), the event trigger control (ETR, EGT), queue control (QTR,
QGT), and timer trigger control (TTR, TGT).
An automatic self-calibration adjusts the ADC module to changing temperatures or
process variations. Figure 3-10 shows the global view of the ADC module with its
functional blocks and interfaces.
Data Sheet65V0.1, 2005-11
Functional DescriptionAdvance Information
Features
•8-bit, 10-bit, 12-bit A/D conversion
•Conversion time below 2.5µs @ 10-bit resolution
•Extended channel status information on request source
•Successive approximation conversion method
•Total Unadjusted Error (TUE) of ±2 LSB @ 10-bit resolution
•Integrated sample & hold functionality
•Direct control of up to 16(32) analog input channels per ADC
•Dedicated control and status registers for each analog channel
•Powerful conversion request sources
•Selectable reference voltages for each channel
•Programmable sample and conversion timing schemes
•Limit checking
•Flexible ADC module service request control unit
•Automatic control of external analog multiplexers
•Equidistant samples initiated by timer
•External trigger and gating inputs for conversion requests
•Power reduction and clock control feature
•On-chip die temperature sensor output voltage measurement
TC1161/TC1162
Data Sheet66V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.14Fast Analog-to-Digital Converter Unit (FADC)
The on-chip FADC module of the TC1161/TC1162 basically is a 2-channel A/D converter
with 10-bit resolution that operates by the method of the successive approximation.
As shown in Figure 3-11, the main FADC functional blocks are:
•The Input Stage — contains the differential inputs and the programmable amplifier
•The A/D Converter — is responsible for the analog-to-digital conversion
•The Data Reduction Unit — contains programmable antialiasing and data reduction
filters
•The Channel Trigger Control block — determines the trigger and gating conditions
for the two FADC channels
•The Channel Timers — can independently trigger the conversion of each FADC
channel
•The A/D Control block is responsible for the overall FADC functionality
The FADC module is supplied by the following power supply and reference voltage lines:
V
•
DDMF/VDDMF
V
•
DDAF/VDDAF
V
•
FAREF/VFAGND
:FADC Analog Part Power Supply (3.3 V)
:FADC Analog Part Logic Power Supply (1.5 V)
:FADC Reference Voltage (3.3 V)/FADC Reference Ground
Data Sheet67V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
Clock
Control
Address
Decoder
Interrupt
Control
DMA
GPTA0
f
FADC
f
CLC
SR[1:0]
SR[3:2]
OUT1
OUT9
OUT18
OUT26
OUT2
OUT10
OUT19
OUT27
V
FAREF
V
FAGND
V
DDAF
V
FADC
Module
Kernel
GS[7:0]
TS[7:0]
SSAF
V
DDMF
V
SSMF
FAIN0P
FAIN0N
FAIN1P
FAIN1N
AN32
D
AN33
D
AN34
D
AN35
D
P3.10 / REQ0
A1
P3.11 / REQ1
A1
P0.14 / REQ4
A1
P0.15 / REQ5
A1
External Request Unit
(SCU)
PDOUT2
PDOUT3
MCA06445
Figure 3-11Block Diagram of the FADC Module
Features
•Extreme fast conversion, 21 cycles of
clock (318.2 ns @ f
FADC
=66 MHz)
FADC
f
•10-bit A/D conversion
– Higher resolution by averaging of consecutive conversions is supported
•Successive approximation conversion method
•Two differential input channels
•Offset and gain calibration support for each channel
•Differential input amplifier with programmable gain of 1, 2, 4 and 8 for each channel
•Free-running (Channel Timers) or triggered conversion modes
•Trigger and gating control for external signals
•Built-in Channel Timers for internal triggering
•Channel timer request periods independently selectable for each channel
•Selectable, programmable anti-aliasing and data reduction filter block
Data Sheet68V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.15System Timer
The TC1161/TC1162’s STM is designed for global system timing applications requiring
both high precision and long period.
Features
•Free-running 56-bit counter
•All 56 bits can be read synchronously
•Different 32-bit portions of the 56-bit counter can be read synchronously
•Flexible interrupt generation based on compare match with partial STM content
f
•Driven by maximum 66 MHz (=
, default after reset = f
SYS
•Counting starts automatically after a reset operation
•STM is reset by:
– Watchdog reset
– Software reset (RST_REQ.RRSTM must be set)
– Power-on reset
•STM (and clock divider STM_CLC.RMC) is not reset at a hardware reset (HDRST
0)
•STM can be halted in debug/suspend mode (via STM_CLC register)
SYS
/2)
=
The STM is an upward counter, running either at the system clock frequency f
f
fraction of it. The STM clock frequency is
f
reset is
STM
= f
/2, selected by RMC = 010B). RMC is a bit field in register STM_CLC.
SYS
STM
= f
/RMC with RMC = 0-7 (default after
SYS
SYS
or at a
In case of a power-on reset, a watchdog reset, or a software reset, the STM is reset. After
one of these reset conditions, the STM is enabled and immediately starts counting up. It
is not possible to affect the content of the timer during normal operation of the
TC1161/TC1162. The timer registers can only be read but not written to.
The STM can be optionally disabled for power-saving purposes, or suspended for
debugging purposes via its clock control register. In suspend mode of the
TC1161/TC1162 (initiated by writing an appropriate value to STM_CLC register), the
STM clock is stopped but all registers are still readable.
Due to the 56-bit width of the STM, it is not possible to read its entire content with one
instruction. It needs to be read with two load instructions. Since the timer would continue
to count between the two load operations, there is a chance that the two values read are
not consistent (due to possible overflow from the low part of the timer to the high part
between the two read operations). To enable a synchronous and consistent reading
operation of the STM content, a capture register (STM_CAP) is implemented. It latches
the content of the high part of the STM each time when one of the registers STM_TIM0
to STM_TIM5 is read. Thus, STM_CAP holds the upper value of the timer at exactly the
same time when the lower part is read. The second read operation would then read the
content of the STM_CAP to get the complete timer value.
Data Sheet69V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
The STM can also be read in sections from seven registers, STM_TIM0 through
STM_TIM6, that select increasingly higher-order 32-bit ranges of the STM. These can
be viewed as individual 32-bit timers, each with a different resolution and timing range.
The content of the 56-bit System Timer can be compared with the content of two
compare values stored in the STM_CMP0 and STM_CMP1 registers. Interrupts can be
generated on a compare match of the STM with the STM_CMP0 or STM_CMP1
registers.
56
The maximum clock period is 2
× f
34.60 years before overflowing. Thus, it is capable of timing the entire expected product
life-time of a system without overflowing continuously.
Figure 3-12 shows an overview on the System Timer with the options for reading parts
of the STM contents.
STM
. At f
= 66 MHz, for example, the STM counts
STM
Interrupt
Control
Clock
Control
Address
Decoder
PORST
STMIR1
STMIR0
Enable /
Disable
f
STM
STM_CMP0
55473931231570
00
H
00
H
STM_TIM5
STM_TIM4
31231570
Compare Register 0
31231570
STM_CMP1
56-Bit System Timer
STM_TIM3
STM_TIM2
Compare Register1
STM_CAP
STM_TIM6
STM Module
STM_TIM1
STM_TIM0
MCB06185
Figure 3-12General Block Diagram of the STM Module Registers
Data Sheet70V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.16Watchdog Timer
The WDT provides a highly reliable and secure way to detect and recover from software
or hardware failure. The WDT helps to abort an accidental malfunction of the
TC1161/TC1162 in a user-specified time period. When enabled, the WDT will cause the
TC1161/TC1162 system to be reset if the WDT is not serviced within a userprogrammable time period. The CPU must service the WDT within this time interval to
prevent the WDT from causing a TC1161/TC1162 system reset. Hence, routine service
of the WDT confirms that the system is functioning as expected.
In addition to this standard “Watchdog” function, the WDT incorporates the End-ofInitialization (Endinit) feature and monitors its modifications. A system-wide line is
connected to the WDT_CON0.ENDINIT bit, serving as an additional write-protection for
critical registers (besides Supervisor Mode protection). Registers protected via this line
can only be modified when Supervisor Mode is active and bit ENDINIT = 0.
A further enhancement in the TC1161/TC1162’s WDT is its reset prewarning operation.
Instead of resetting the device upon the detection of an error immediately (the way that
standard Watchdogs do), the WDT first issues a Non-Maskable Interrupt (NMI) to the
CPU before resetting the device at a specified time period later. This step gives the CPU
a chance to save the system state to the memory for later investigation of the cause of
the malfunction; an important aid in debugging.
Features
•16-bit Watchdog counter
•Selectable input frequency:
/256 or f
SYS
SYS
/16384
f
•16-bit user-definable reload value for normal Watchdog operation, fixed reload value
for Time-Out and Prewarning Modes
•Incorporation of the ENDINIT bit and monitoring of its modifications
•Sophisticated Password Access mechanism with fixed and user-definable password
fields
•Proper access always requires two write accesses. The time between the two
accesses is monitored by the WDT and is limited.
•Access Error Detection: Invalid password (during first access) or invalid guard bits
(during second access) trigger the Watchdog reset generation
•Overflow Error Detection: An overflow of the counter triggers the Watchdog reset
generation.
•Watchdog function can be disabled; access protection and ENDINIT monitor function
remain enabled.
•Double Reset Detection: If a Watchdog induced reset occurs twice without a proper
access to its control register in between, a severe system malfunction is assumed
and the TC1161/TC1162 is held in reset until a power-on or hardware reset occurs.
This prevents the device from being periodically reset if, for instance, connection to
Data Sheet71V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
the external memory has been lost such that system initialization could not even be
performed.
•Important debugging support is provided through the reset prewarning operation by
first issuing an NMI to the CPU before finally resetting the device after a certain
period of time.
3.17System Control Unit
The System Control Unit (SCU) of the TC1161/TC1162 handles several system control
tasks. The system control tasks of the SCU are:
•Clock system selection and control
•Reset and boot operation control
•Power management control
•Configuration input sampling
•External Request Unit
•System clock output control
•On-chip SRAM parity control
•Pad driver temperature compensation control
•Emergency stop input control for GPTA outputs
•GPTA input IN1 control
•Pad test mode control for dedicated pins
•ODCS level 2 trace control
•NMI control
•Miscellaneous SCU control
Data Sheet72V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.18Boot Options
The TC1161/TC1162 booting schemes provide a number of different boot options for the
start of code execution. Table 3-6 shows the boot options available in the
TC1161/TC1162.
Table 3-6TC1161/TC1162 Boot Selections
BRKIN
HWCFG
[3:0]
Normal Boot Options
10000
0001
0010
0011
1111
B
1)
B
B
B
B
TESTMODEType of BootBootROM
Exit Jump
Address
1Enter bootstrap loader mode 1:
D400 0000
Serial ASC0 boot via ASC0 pins
Enter bootstrap loader mode 2:
Serial CAN boot via P3.12 and
P3.13 pins
Start from internal PFLASHA000 0000
Alternate boot mode (ABM): Start
from internal PFLASH after CRC
check is correctly executed; enter
a serial bootstrap loader mode
Defined in
ABM header
or D400 0000
2)
if
CRC check fails
Enter bootstrap loader mode 3:
D400 0000
Serial ASC0 boot via P3.12 and
P3.13 pins
H
H
H
H
othersReserved; execute stop loop–
Debug Boot Options
00000
B
1Tri-state chip–
othersirrel.Reserved; execute stop loop–
1) This option is not applicable to TC1161.
2) The type of the alternate bootstrap loader mode is selected by the value of the SCU_SCLIR.SWOPT[2:0] bit
field, which contains the levels of the P0.[2:0] latched in with the rising edge of the HDRST.
Data Sheet73V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.19Power Management System
The TC1161/TC1162 power management system allows software to configure the
various processing units so that they automatically adjust to draw the minimum
necessary power for the application. There are three power management modes:
•Run Mode
•Idle Mode
•Sleep Mode
The operation of each system component in each of these states can be configured by
software. The power-management modes provide flexible reduction of power
consumption through a combination of techniques, including stopping the CPU clock,
stopping the clocks of other system components individually, and individually clockspeed reduction of some peripheral components.
Besides these explicit software-controlled power-saving modes, special attention has
been paid to automatic power-saving in those operating units which are not required at
a certain point of time, or idle in the TC1161/TC1162. In that case, they are shut off
automatically until their operation is required again.
Table 3-7 describes the features of the power management modes.
Table 3-7Power Management Mode Summary
ModeDescription
RunThe system is fully operational. All clocks and peripherals are enabled,
as determined by software.
IdleThe CPU clock is disabled, waiting for a condition to return it to Run
Mode. Idle Mode can be entered by software when the processor has no
active tasks to perform. All peripherals remain powered and clocked.
Processor memory is accessible to peripherals. A reset, Watchdog
Timer event, a falling edge on the NMI
pin, or any enabled interrupt event
will return the system to Run Mode.
SleepThe system clock signal is distributed only to those peripherals
programmed to operate in Sleep Mode. The other peripheral module will
be shut down by the suspend signal. Interrupts from operating
peripherals, the Watchdog Timer, a falling edge on the NMI
pin, or a
reset event will return the system to Run Mode. Entering this state
requires an orderly shut-down controlled by the Power Management
State Machine.
In typical operation, Idle Mode and Sleep Mode may be entered and exited frequently
during the run time of an application. For example, system software will typically cause
the CPU to enter Idle Mode each time it has to wait for an interrupt before continuing its
tasks. In Sleep Mode and Idle Mode, wake-up is performed automatically when any
Data Sheet74V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
enabled interrupt signal is detected, or when the count value (WDT_SR.WDTTIM)
changes from 7FFF
to 8000H.
H
3.20On-Chip Debug Support
Figure 3-13 shows a block diagram of the TC1161/TC1162 OCDS system.
OCDS2[15:0]
16
Multiplexer
TDO
TDI
TMS
TCK
TRST
DMA L2
OCD S
L2
JTAG
Controller
TriCore
Watch-
dog
Timer
OCDS
OSCU
Cerberus
Debug
L1
JDI
I/F
OCDS
L1
Enable , Control and Reset
BCU
SPB
Peripheral
Unit 1
SPB
Peripheral
Unit n
DMA
Break and Suspend Signals
BRKIN
BRKOUT
MCBS
Break
Switch
System Peripheral Bus
T C1161/ TC1162 O CDS S ys t em B lock Diagram
Figure 3-13OCDS System Block Diagram
The TC1161/TC1162 basically supports three levels of debug operation:
•OCDS Level 1 debug support
•OCDS Level 2 debug support
Data Sheet75V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
OCDS Level 1 Debug Support
The OCDS Level 1 debug support is mainly assigned for real-time software debugging
purposes which have a demand for low-cost standard debugger hardware.
The OCDS Level 1 is based on a JTAG interface that is used by the external debug
hardware to communicate with the system. The on-chip Cerberus module controls the
interactions between the JTAG interface and the on-chip modules. The external debug
hardware may become master of the internal buses, and read or write the on-chip
register/memory resources. The Cerberus also makes it possible to define breakpoint
and trigger conditions as well as to control user program execution (run/stop, break,
single-step).
OCDS Level 2 Debug Support
The OCDS Level 2 debug support makes it possible to implement program tracing
capabilities for enhanced debuggers by extending the OCDS Level 1 debug functionality
with an additional 16-bit wide trace output port with trace clock. With the trace extension,
the following four trace capabilities are provided (only one of the three trace capabilities
can be selected at a time):
•Trace of the CPU program flow
•Trace of the DMA Controller transaction requests
•Trace of the DMA Controller Move Engine status information
Data Sheet76V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.21Clock Generation and PLL
The TC1161/TC1162 clock system performs the following functions:
•Acquires and buffers incoming clock signals to create a master clock frequency
•Distributes in-phase synchronized clock signals throughout the TC1161/TC1162’s
entire clock tree
•Divides a system master clock frequency into lower frequencies required by the
different modules for operation.
•Dynamically reduces power consumption during operation of functional units
•Statically reduces power consumption through programmable power-saving modes
•Reduces electromagnetic interference (EMI) by switching off unused modules
The clock system must be operational before the TC1161/TC1162 can function, so it
contains special logic to handle power-up and reset operations. Its services are
fundamental to the operation of the entire system, so it contains special fail-safe logic.
Features
•PLL operation for multiplying clock source by different factors
•Direct drive capability for direct clocking
•Comfortable state machine for secure switching between basic PLL, direct or
prescaler operation
•Sleep and Power-Down Mode support
The TC1161/TC1162 Clock Generation Unit (CGU) as shown in Figure 3-14 allows a
very flexible clock generation. It basically consists of an main oscillator circuit and a
Phase- Locked Loop (PLL). The PLL can converts a low-frequency external clock signal
from the oscillator circuit to a high-speed internal clock for maximum performance.
The system clock
is generated from an oscillator clock f
SYS
in either one of the four
OSC
f
hardware/software selectable ways:
•Direct Drive Mode (PLL Bypass):
In Direct Drive Mode, the TC1161/TC1162 clock system is directly driven by an
external clock signal. input, i.e.
CPU
= f
OSC
and f
SYS
= f
. This allows operation of
OSC
f
the TC1161/TC1162 with a reasonably small fundamental mode crystal.
•VCO Bypass Mode (Prescaler Mode):
f
In VCO Bypass Mode,
CPU
and f
P-Divider and K-Divider. The system clock
are derived from f
SYS
f
SYS
by the two divider stages,
OSC
is equal to f
CPU
.
•PLL Mode:
f
In PLL Mode, the PLL is running. The VCO clock
is derived from f
VCO
the P factor, multiplied by the PLL (N-Divider). The clock signals
f
derived from
by the K-Divider. The system clock f
VCO
is equal to f
SYS
f
CPU
OSC
and f
CPU
, divided by
are
SYS
.
•PLL Base Mode:
f
In PLL Base Mode, the PLL is running at its VCO base frequency and
CPU
and f
SYS
Data Sheet77V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
are derived from f
equal to
XTAL1
XTAL2
BYPASS
f
CPU
Oscillator
Circuit
MOSCOGC
only by the K-Divider. In this mode, the system clock f
VCO
.
f
OSC
P
Divi-
Osc. Run
Detect.
OSCRPLL_
der
PDIV
[2:0]
Clock Generation Unit (CGU)
OSC
DISC
≥1
Lock
Detector
LOCK
Phase
Detect.
N
Divider
PLL
NDIV
[6:0]
VCO
VCO_
SEL[1:0]
f
VCO
VCO_
BYPASS
is
SYS
1:1
Divider
1
M
U
X
0
K:1
Divider
KDIV
[3:0]
SYS
FSL
PLL_
BYPASS
f
SYS
M
U
f
X
CPU
OSC_
BYPASS
Register
OSC_CON
System Control Unit (SCU)
Register PLL_CLC
MCA06083
Figure 3-14Clock Generation Unit
Recommended Oscillator Circuits
The oscillator circuit, a Pierce oscillator, is designed to work with both, an external crystal
oscillator or an external stable clock source. It basically consists of an inverting amplifier
and a feedback element with XTAL1 as input, and XTAL2 as output.
When using a crystal, a proper external oscillator circuitry must be connected to both
pins, XTAL1 and XTAL2. The crystal frequency can be within the range of 4 MHz
C
to 25 MHz. Additionally, it is necessary to have two load capacitances
R
depending on the crystal type, a series resistor
, to limit the current. A test resistor R
X2
and CX2, and
X1
may be temporarily inserted to measure the oscillation allowance (negative resistance)
R
of the oscillator circuitry.
values are typically specified by the crystal vendor. The C
Q
X1
and CX2 values shown in Figure 3-15 can be used as starting points for the negative
resistance evaluation and for non-productive systems. The exact values and related
operating range are dependent on the crystal frequency and have to be determined and
optimized together with the crystal vendor using the negative resistance method.
Q
Data Sheet78V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
Oscillation measurement with the final target system is strongly recommended to verify
the input amplitude at XTAL1 and to determine the actual oscillation allowance (margin
negative resistance) for the oscillator-crystal system.
When using an external clock signal, the signal must be connected to XTAL1. XTAL2 is
left open (unconnected). The external clock frequency can be in the range of 0 - 40 MHz
if the PLL is bypassed, and 4 - 40 MHz if the PLL is used.
The oscillator can also be used in combination with a ceramic resonator. The final
circuitry must also be verified by the resonator vendor.
Figure 3-15 shows the recommended external oscillator circuitries for both operating
modes, external crystal mode and external input clock mode. A block capacitor is
recommended to be placed between
V
DDOSC/VDDOSC3
and V
SSOSC
.
V
DDOSC
XTAL1
4 - 25
MHz
R
Q
C
X1
Fundamental
Mode Crystal
Crystal Frequency
4 MHz
8 MHz
12 MHz
16 - 25 MHz
1) Not e t hat t hese are ev aluat ion st ar t values !
C
TC1161/TC1162
R
X2
XTAL2
X2
C
33 pF
18 pF
12 pF
10 pF
V
DDOSC3
Oscillator
V
SSOSC
1)
,
C
X1
X2
V
DDOSC
f
OS C
1)
R
X2
0
0
0
0
External Clock
Signal
4 - 40
MHz
XTAL1
TC1161/TC1162
XTAL2
TC1161/TC1162 Oscillator Circuit ry
V
DDOSC3
Oscilla tor
V
SSOSC
f
OS C
Figure 3-15Oscillator Circuitries
Note: For crystal operation, it is strongly recommended to measure the negative
resistance in the final target system (layout) to determine the optimum parameters
for the oscillator operation. Please refer to the minimum and maximum values of
the negative resistance specified by the crystal supplier.
Data Sheet79V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.22Power Supply
The TC1161/TC1162 has several power supply lines for different voltage classes:
•1.5 V: Core logic, oscillator and A/D converter supply
•3.3 V: I/O ports, Flash memories, oscillator, and A/D converter supply with reference
voltages
Figure 3-16 shows the power supply concept of the TC1161/TC1162 with the power
supply pins and its connections to the functional units.
V
DDM
(3.3V)
V
SSM
V
SSA
V
(1.5 V)
1
DDA
1
V
AREF
(3.3V)
V
AGND
2
2
ADC
V
(1.5V)
V
Ports
DDAF
SSAF
22
Core
V
DDMF
(3.3V)
V
SSMF
V
FAREF
(3.3V)
V
FAGND
FADC
Fl as h
Memori es
2
TC1161/TC1162
PLL
OSC
V
DDP
(3.3 V)
8
V
DDF L 3
3.3 V
1
V
DDO S C3
V
DDO S C
V
SSOSC
TC1161/TC1162 Power Supply
3
(3.3 V)
(1.5 V)
9
V
SS
7
V
DD
(1.5 V)
Figure 3-16Power Supply Concept of TC1161/TC1162
Data Sheet80V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information
3.23Identification Register Values
Table 3-8 shows the address map and reset values of the TC1161/TC1162 Identification
Registers.
Table 3-8TC1161/TC1162 Identification Registers
Short NameAddressReset Value
SCU_ IDF000 0008
MANIDF000 0070
CHIPIDF000 0074
RTIDF000 0078
SBCU_IDF000 0108
STM_IDF000 0208
CBS_ JDPIDF000 0408
MSC0_ IDF000 0808
ASC0_ IDF000 0A08
ASC1_ IDF000 0B08
GPTA0_ IDF000 1808
DMA_IDF000 3C08
CAN_ID
1)
F000 4008
SSC0_ IDF010 0108
FADC_ IDF010 0308
ADC0_IDF010 0408
MLI0_ IDF010 C008
MCHK_ IDF010 C208
CPS_IDF7E0 FF08
CPU_IDF7E1 FE18
PMU_IDF800 0508
FLASH_IDF800 2008
DMI_IDF87F FC08
PMI_IDF87F FD08
LBCU_IDF87F FE08
LFI_IDF87F FF08
1) The address and reset value of CAN_ID is not applicable to TC1161.
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
002C C002
0000 1820
0000 8B02
0000 0000
0000 6A0A
0000 C006
0000 6307
0028 C001
0000 4402
0000 4402
0029 C004
001A C012
002B C012
0000 4510
0027 C012
0030 C001
0025 C006
001B C001
0015 C006
000A C005
002E C012
0041 C002
0008 C004
000B C004
000F C005
000C C005
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
Data Sheet81V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
4Electrical Parameters
Chapter 4 provides the characteristics of the electrical parameters which are
implementation-specific for the TC1161/TC1162.
4.1General Parameters
The general parameters are described here to aid the users in interpreting the
parameters mainly in Section 4.2 and Section 4.3. The absolute maximum ratings and
its operating conditions are provided for the appropriate setting in the TC1161/TC1162.
4.1.1Parameter Interpretation
The parameters listed in this section partly represent the characteristics of the
TC1161/TC1162 and partly its requirements on the system. To aid interpreting the
parameters easily when evaluating them for a design, they are marked with an two-letter
abbreviation in column “Symbol”:
•CC
Such parameters indicate Controller Characteristics which are a distinctive feature of
the TC1161/TC1162 and must be regarded for a system design.
•SR
Such parameters indicate System Requirements which must provided by the
microcontroller system in which the TC1161/TC1162 designed in.
Data Sheet82V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
4.1.2Pad Driver and Pad Classes Summary
This section gives an overview on the different pad driver classes and its basic
characteristics. More details (mainly DC parameters) are defined in Section 4.2.1.
Table 4-1Pad Driver and Pad Classes Overview
1)
Class Power
Supply
TypeSub ClassSpeed
Grade
LoadLeakage
Termination
A3.3VLVTTL
I/O,
LVTTL
outputs
C3.3VLVDS–50
A1
(e.g. GPIO)
A2
(e.g. serial
I/Os)
A3
(e.g. BRKIN,
BRKOUT)
A4
(e.g. Trace
Clock)
6 MHz100 pF 500 nANo
40
MHz
50 pF6 µASeries
termination
recommended
66
MHz/
50 pF6 µASeries
termination
recommended
(for
66
MHz
25 pF6 µASeries
termination
recommended
–Parallel
MHz
termination
f > 25 MHz)
2)
,
100Ω±10%
D–Analog inputs, reference voltage inputs
1)Values are for T
2) In applications where the LVDS pins are not used (disabled), these pins must be either left unconnected, or
properly terminated with the differential parallel termination of 100Ω±10%.
Jmax
=125°C.
Data Sheet83V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
4.1.3Absolute Maximum Ratings
Table 4-2 shows the absolute maximum ratings of the TC1161/TC1162 parameters.
Table 4-2Absolute Maximum Rating Parameters
ParameterSymbolLimit ValuesUnitNotes
Min.Max.
Ambient temperature
Storage temperature
Junction temperature
Voltage at 1.5 V power supply
pins with respect to
V
SS
1)
Voltage at 3.3 V power supply
pins with respect to
V
SS
2)
Voltage on any Class A input
pin and dedicated input pins
with respect to
V
SS
Voltage on any Class D
analog input pin with respect
to V
AGND
Voltage on any Class D
analog input pin with respect
V
to
SSAF
CPU & LMB Bus Frequency
FPI Bus Frequency
1) Applicable for VDD, V
2) Applicable for V
3) The PLL jitter characteristics add to this value according to the application settings. See the PLL jitter
parameters.
4) The ratio between f
DDP
, V
DDOSC
DDFL3, VDDM
and f
CPU
, V
DDPLL
SYS
T
A
T
ST
T
J
V
DD
V
DDP
V
IN
V
AIN,
V
AREFx
V
AINF,
V
FAREF
f
CPU
f
SYS
, and V
, and V
is fixed at 1:1.
DDAF
DDMF
SR-4085°CUnder bias
SR-65150°C–
SR-40125°CUnder bias
SR–2.25V–
SR–3.75V–
SR-0.5V
or
DDP
+ 0.5
VWhatever is
lower
max. 3.7
SR-0.5V
SR-0.5V
SR–66
SR–66
.
.
+ 0.5
DDM
or max. 3.7
+ 0.5
DDMF
or max. 3.7
3)
3)
VWhatever is
lower
VWhatever is
lower
MHz –
MHz
4)
Note: Stresses above those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This is a stress rating only and functional
operation of the device at these or any other conditions above those indicated in
the operational sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect device reliability.
V
During absolute maximum rating overload conditions (
V
< VSS) the voltage on the related VDD pins with respect to ground (VSS) must
IN
> related VDD or
IN
not exceed the values defined by the absolute maximum ratings.
Data Sheet84V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
4.1.4Operating Conditions
The following operating conditions must not be exceeded in order to ensure correct
operation of the TC1161/TC1162. All parameters specified in the following table refer to
these operating conditions, unless otherwise noted.
Table 4-3Operating Condition Parameters
ParameterSymbolLimit
Values
UnitNotes
Conditions
Min.Max.
Digital supply voltage
1)
V
DD
V
DDOSC
V
DDP
V
DDOSC3
SR1.421.582)V–
SR3.133.473)VFor Class A
pins
(3.3V ± 5%)
Digital ground voltage
Ambient temperature under
V
DDFL3
V
SS
T
A
SR3.133.473)V–
SR0V–
SR-40+85°C–
bias
Analog supply voltages––––See separate
specification
Page 4-91,
Page 4-98
CPU clock
Short circuit current
Absolute sum of short circuit
f
CPU
I
SC
SR–
SR-5+5mA
4)
Σ|ISC|SR–20mASee note
66
5)
MHz –
6)
7)
currents of a pin group (see
Table 4-4)
Absolute sum of short circuit
Σ|ISC|SR–100mASee note
7)
currents of the device
Inactive device pin current
(V
DD
=V
DDP
=0)
External load capacitance
I
C
ID
SR-11mA–
L
SR–See
DC
pFDepending on
pin class
chara
cterist
ics
Data Sheet85V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
1) Digital supply voltages applied to the TC1161/TC1162 must be static regulated voltages which allow a typical
voltage swing of ±5%.
2) Voltage overshoot up to 1.7 V is permissible at Power-Up and PORST
than 100 µs and the cumulated summary of the pulses does not exceed 1 h.
3) Voltage overshoot to 4 V is permissible at Power-Up and PORST
100 µs and the cumulated summary of the pulses does not exceed 1 h.
4) The TC1161/TC1162 uses a static design, so the minimum operation frequency is 0 MHz. Due to test time
restriction no lower frequency boundary is tested, however.
5) The PLL jitter characteristics add to this value according to the application settings. See the PLL jitter
parameters.
6) Applicable for digital outputs.
7) See additional document “TC1796 Pin Reliability in Overload“ for overload current definitions.
low, provided the pulse duration is less
low, provided the pulse duration is less than
Data Sheet86V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
Table 4-4Pin Groups for Overload/Short-Circuit Current Sum Parameter
1) Not subject to production test, verified by design / characterization.
2) Only one of these parameters is tested, the other is verified by design characterization
3) Max. resistance between pin and next power supply pin 25 Ω for strong driver mode
(verified by design characterization).
4) Function verified by design, value is not subject to production test - verified by design/characterization.
Hysteresis is implemented to avoid metastable states and switching due to internal ground bounce. It cannot
be guaranteed that it suppresses switching due to external system noise.
Data Sheet90V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
4.2.2Analog to Digital Converter (ADC0)
Table 4-6 provides the characteristics of the ADC module in the TC1161/TC1162.
ON resistance of
the transmission
gates in the
analog voltage
path
R
AIN
Min.Typ.Max.
CC–11.5kΩ
ON resistance for
the ADC test
(pull-down for
AIN7)
Current through
resistance for the
ADC test (pulldown for AIN7)
1) Voltage overshoot to 4 V are permissible, provided the pulse duration is less than 100 µs and the cumulated
summary of the pulses does not exceed 1 h.
2) Voltage overshoot to 1.7 V are permissible, provided the pulse duration is less than 100 µs and the cumulated
summary of the pulses does not exceed 1 h.
3) A running conversion may become inexact in case of violating the normal operating conditions (voltage
overshoot).
4) If a reduced reference voltage in a range of
If the reference voltage is reduced with the factor k (k<1), then TUE, DNL, INL Gain and Offset errors increase
with the factor 1/k.
If a reduced reference voltage in a range of 1 V to
ADC speed and accuracy.
5) Current peaks of up to 6 mA with a duration of max. 2 ns may occur
6) TUE is tested at
7) ADC module capability.
8) Not subject to production test, verified by design / characterization.
9) Value under typical application conditions due to integration (switching noise, etc.).
10) The sum of DNL/INL/Gain/Offset errors does not exceed the related TUE total unadjusted error.
11) For 10-bit conversions the DNL/INL/Gain/Offset error values must be multiplied with factor 0.25.
For 8-bit conversions the DNL/INL/Gain/Offset error values must be multiplied with 0.0625.
12) The leakage current definition is a continuous function, as shown in Figure 4-3. The numerical values defined
determine the characteristic points of the given continuous linear approximation - they do not define step
function.
13) Only one of these parameters is tested, the other is verified by design characterization.
I
14)
AREF_MAX
with a duration of up to
needs a total charge of
All ADC conversions with a duration longer than
is valid for the minimum specified conversion time. The current flowing during an ADC conversion
V
AREF
R
AIN7T
I
AIN7T
CC2003001000ΩTest feature
CC–15
rms
V
/2 to V
DDM
=3.3V, V
t
=25µs can be calculated with the formula I
C
Q
= 150pC from V
CONV
= 0 V and V
AGND
AREF
t
DDM
V
/2 is used, then there are additional decrease in the
DDM
=3.3V
DDM
.
= 25µs consume an I
C
available only for
AIN7
8)
30
peak
mATest feature
available only for
AIN7
8)
is used, then the ADC converter errors increase.
AREF_MAX
AREF_MAX
= Q
= 6µA.
. Every conversion
CONV/tC
Data Sheet94V0.1, 2005-11
TC1161/TC1162
f
Electrical ParametersAdvance Information
15) For the definition of the parameters see also Figure 4-2.
16) Applies to AIN0 and AIN1, when used as auxiliary reference inputs.
17) This represents an equivalent switched capacitance. This capacitance is not switched to the reference voltage
at once. Instead of this smaller capacitances are successively switched to the reference voltage.
V
18) The sampling capacity of the conversion C-Network is pre-charged to
Because of the parasitic elements the voltage measured at AINx is lower then
A/D Converter Module
CLC
Fractional
Divider
Arbiter
(1:20)
f
DIV
f
TIMER
Programmable
Clock Divider
(1:1) t o (1:256)
CON.CTCCHCONn.STC
Cont rol Unit
(Timer)
f
BC
1:4
Control/ St atus Logic
External Trigger Logic
External Multip lex er Logi c
Request Generation Logic
/2 before the sampling moment.
AREF
V
/2.
AREF
Sample
f
ANA
Programmable
Counter
Interrupt Logi c
Time
t
S
MCA04657_mod
Figure 4-1ADC0 Clock Circuit
Data Sheet95V0.1, 2005-11
TC1161/TC1162
Electrical ParametersAdvance Information
R
EXT
V
=
AIN
C
EXT
ANx
V
AGNDx
R
AIN7T
R
C
AINTOT
AIN, On
- C
AINSW
C
AINSW
Reference Voltage Input Circuitry
R
Analog Input Circuitry
V
AREF
V
V
AGNDx
AREFx
C
AREFTOT
AREF, On
- C
AREFSW
C
AREFSW
Analog_InpRefDiag
Figure 4-2ADC0 Input Circuits
Data Sheet96V0.1, 2005-11
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.