INFINEON TC1161, TC1162 User Manual

Data Sheet, V0.1, Nov. 2005
TC1161/TC1162
32-Bit Single-Chip Microcontroller
TriCore
TM
Microcontrollers
Never stop thinking.
Edition 2005-11
Published by Infineon Technologies AG, St.-Martin-Strasse 53, 81669 München, Germany
© Infineon Technologies AG 2005.
All Rights Reserved.
Attention please!
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
Page Subjects (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:
mcdocu.comments@infineon.com
Template: mc_a5_um_tmplt.fm / 4 / 2004-09-15
TC1161/TC1162
Table of ContentsAdvance Information
Table of Contents
1 Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 General Device Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Pad Driver and Input Classes Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.5 Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.1 System Architecture and On-Chip Bus Systems . . . . . . . . . . . . . . . . . . . . 24
3.2 On-Chip Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.3 Memory Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.1 Architectural Address Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.2 How to Read the Address Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.3.3 Contents of the Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.3.4 Address Map of the FPI Bus System . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.3.4.1 Segments 0 to 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.3.4.2 Segment 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.3.5 Address Map of the Local Memory Bus (LMB) . . . . . . . . . . . . . . . . . . . 42
3.4 Memory Protection System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.5 DMA Controller and Memory Checker . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.6 Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.7 Asynchronous/Synchronous Serial Interfaces (ASC0, ASC1) . . . . . . . . . . 51
3.8 High-Speed Synchronous Serial Interfaces (SSC0) . . . . . . . . . . . . . . . . . 53
3.9 Micro Second Bus Interfaces (MSC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.10 MultiCAN Controller (CAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3.11 Micro Link Serial Bus Interface (MLI0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.12 General Purpose Timer Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.12.1 Functionality of GPTA0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.13 Analog-to-Digital Converter (ADC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.14 Fast Analog-to-Digital Converter Unit (FADC) . . . . . . . . . . . . . . . . . . . . . . 67
3.15 System Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.16 Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3.17 System Control Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
3.18 Boot Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.19 Power Management System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
3.20 On-Chip Debug Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
3.21 Clock Generation and PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3.22 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3.23 Identification Register Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Data Sheet 1 V0.1, 2005-11
TC1161/TC1162
Table of ContentsAdvance Information
4 Electrical Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.1 General Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.1.1 Parameter Interpretation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
4.1.2 Pad Driver and Pad Classes Summary . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.1.3 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4.1.4 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
4.2 DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.2.1 Input/Output Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.2.2 Analog to Digital Converter (ADC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2.3 Fast Analog to Digital Converter (FADC) . . . . . . . . . . . . . . . . . . . . . . . . 98
4.2.4 Oscillator Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.2.5 Temperature Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
4.2.6 Power Supply Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
4.3 AC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4.3.1 Testing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4.3.2 Output Rise/Fall Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
4.3.3 Power Sequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.3.4 Power, Pad and Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4.3.5 Phase Locked Loop (PLL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4.3.6 Debug Trace Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4.3.7 Peripheral Timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.3.7.1 Micro Link Interface (MLI) Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.3.7.2 Micro Second Channel (MSC) Interface Timing . . . . . . . . . . . . . . . 115
4.3.7.3 Synchronous Serial Channel (SSC) Master Mode Timing . . . . . . . . 116
5 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
5.1 Package Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
5.2 Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
5.3 Flash Memory Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
5.4 Quality Declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Data Sheet 2 V0.1, 2005-11
TriCore
TC1161/TC116232-Bit Single-Chip Microcontroller
TM
Data Sheet 3 V0.1, 2005-11
TC1161/TC1162
Summary of FeaturesAdvance Information
– 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-1 TC1161/TC1162 Derivative Synopsis
Derivative Ambient Temperature Range
SAF-TC1161-128F66HL T
SAF-TC1162-128F66HL T
= -40oC to +85oC
A
= -40oC to +85oC
A
Data Sheet 5 V0.1, 2005-11
General Device InformationAdvance Information

2 General Device Information

Chapter 2 provides the general information for the TC1161/TC1162.

2.1 Block 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 SCU PLL
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-1 TC1161/TC1162 Block Diagram
Data Sheet 6 V0.1, 2005-11

2.2 Logic 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-2 TC1161/TC1162 Logic Symbol
Data Sheet 7 V0.1, 2005-11

2.3 Pin Configuration

Figure 2-3 shows the TC1161/TC1162 pin configuration.
TC1161/TC1162
General Device InformationAdvance Information
Figure 2-3 TC1161/TC1162 Pinning for PG-LQFP-176-2 Package
Data Sheet 8 V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information

2.4 Pad 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-1 Pad Driver and Input Classes Overview
Class Power
Supply
A 3.3V LVTTL I/O,
Type Sub Class Speed
Grade
LVTTL outputs
A1
(e.g. GPIO)
A2
6 MHz No
40 MHz Series termination
(e.g. serial
Termination
recommended
I/Os)
A3
(e.g. BRKIN,
66 MHz/ Yes, series
termination
BRKOUT)
A4
(e.g.Trace Clock)
66 MHz Yes, series
termination
C 3.3V LVDS 50 MHz Parallel termination
D Analog
––
input
Data Sheet 9 V0.1, 2005-11
General Device InformationAdvance Information

2.5 Pin Definitions and Functions

Table 2-2 shows the TC1161/TC1162 pin definitions and functions.
Table 2-2 Pin Definitions and Functions
TC1161/TC1162
Symbol Pins I/O Pad
Driver Class
Parallel Ports
P0 I/O A1
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 general­purpose I/O port which can be alternatively used for GPTA I/O lines or external trigger inputs.
IN0 / OUT0 / IN1 / OUT1 / IN2 / OUT2 / IN3 / OUT3 / IN4 / OUT4 / IN5 / OUT5 / IN6 / OUT6 / REQ2 IN7 / OUT7 / REQ3 IN8 / OUT8 / IN9 / OUT9 / IN10 / OUT10 / IN11 / OUT11 / IN12 / OUT12 / IN13 / OUT13 / IN14 / OUT14 / REQ4 IN15 / OUT15 / REQ5
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
. Therefore, Port 0 pins can be used
for operating mode selections by software.
Data Sheet 10 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver
Power Supply
Class
P1 I/O V
P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P1.8 P1.9 P1.10 P1.11 P1.12
P1.13
P1.14
91 92 93 98 107 108 109 110 94 95 96 97 73
72
71
A1 A1 A1 A1 A1 A1 A1 A1 A2 A2 A2 A2 A1
A1
A1
DDP
Functions
Port 1
Port 1 is a 15-bit bi-directional general purpose I/O port which can be alternatively used for GPTA I/O lines and ADC0 interface.
IN16 / OUT16 / IN17 / OUT17 / IN18 / OUT18 / IN19 / OUT19 / IN20 / OUT20 / IN21 / OUT21 / IN22 / OUT22 / IN23 / OUT23 / IN24 / OUT24 / IN25 / OUT25 / IN26 / OUT26 / IN27 / OUT27 / AD0EMUX0
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 Sheet 11 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver
Power Supply
Class
P2 I/O V
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 general­purpose 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 Sheet 12 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
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 Sheet 13 V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information
P3 I/O V
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 general­purpose 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.
SCLK0 MRST0
SSC0 clock input/output SSC0 master receive input/ slave transmit output
MTSR0
SSC0 master transmit
output/slave receive input SLSO00 SLSO01 SLSI0 SLSO02 SLSO06 TXD1A RXD1A REQ0 REQ1 RXDCAN0
1)
RXD0B TXDCAN0
1)
TXD0B RXDCAN1
1)
RXD1B TXDCAN1
1)
TXD1B
Data Sheet 14 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver
Power Supply
Functions
Class
P4 I/O V
DDP
Port 4 / Hardware Configuration Inputs
P4.[3:0] HWCFG[3:0] Boot mode and boot location
inputs; inputs are latched
with the rising edge of
HDRST
.
During normal operation, Port 4 pins may be used as alternate functions for GPTA or system clock output.
P4.0 P4.1 P4.2 P4.3
86 87 88 90
A1 A1 A2 A2
IN28 / OUT28 / IN29 / OUT29 / IN30 / OUT30 / IN31 / OUT31 / SYSCLK
IN52 / OUT52 line of GPTA
IN53 / OUT53 line of GPTA
IN54 / OUT54 line of GPTA
IN55 / OUT55 line of GPTA
System Clock Output
Data Sheet 15 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver
Power Supply
Class
P5 I/O A2 V
P5.0
P5.1
P5.2
P5.3
P5.4
P5.5
P5.6
P5.7
1
2
3
4
5
6
7
8
DDP
Functions
Port 5
Port 5 is a 16-bit bi-directional general­purpose 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 Sheet 16 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
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 Sheet 17 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
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
Data Sheet 18 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver Class
Analog Inputs
AN[35:0]
AN0 AN1 AN2 AN3 AN4 AN5 AN6 AN7 AN8 AN9 AN10 AN11 AN12 AN13 AN14 AN15 AN16 AN17 AN18 AN19 AN20 AN21 AN22 AN23 AN24 AN25 AN26 AN27 AN28 AN29 AN30
67 66 65 64 63 62 61 36 60 59 58 57 56 55 50 49 48 47 46 45 44 43 42 41 40 39 38 37 35 34 33
ID Analog Input Port
Power Supply
Functions
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 Sheet 19 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
Driver
Power Supply
Class
AN31 AN32 AN33 AN34 AN35
32 31 30 29 28
I D Analog input 31
System I/O
TRST
114 I A2
TCK 115 I A2
TDI 111 I A1
TDO 113 O A2
TMS 112 I A2
BRKIN
BRK
117 I/O A3 V
116 I/O A3 V
2)
2)
2)
V
V
V
V
2)
V
OUT
TRCLK 9OA4 V
NMI 120 I A2
HDRST
PORST
122 I/O A2 V
6)121 I A2
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 119 I A1
2)
V
DDP
PLL Clock Bypass Select Input
This input has to be held stable during power­on resets. With BYPASS = 1, the spike filters in the HDRST
, PORST and NMI inputs are
switched off.
TEST MODE
118 I A2
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 Sheet 20 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
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 Sheet 21 V0.1, 2005-11
Table 2-2 Pin Definitions and Functions (cont’d)
TC1161/TC1162
General Device InformationAdvance Information
Symbol Pins I/O Pad
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 Sheet 22 V0.1, 2005-11
TC1161/TC1162
General Device InformationAdvance Information
Table 2-3 List of Pull-up/Pull-down Reset Behavior of the Pins
Pins PORST
=0 PORST=1
TDI, TMS, TDO Pull-up
HDRST
Drive-low Pull-up
BYPASS Pull-up High-impedance
TRST
, TCK High-impedance Pull-down
TRCLK High-impedance
BRKIN
NMI
, BRKOUT, TESTMODE Pull-up
, PORST Pull-down
Data Sheet 23 V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information

3 Functional Description

Chapter 3 provides an overview of the TC1161/TC1162 functional description.

3.1 System 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 Sheet 24 V0.1, 2005-11
TC1161/TC1162
Functional DescriptionAdvance Information

3.2 On-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)
Program memory in PMI
– 8 Kbyte Scratch-Pad RAM (SPRAM) – 8 Kbyte Instruction Cache (ICACHE)
Data memory in PMU
– 16 Kbyte Data Flash (DFlash) – 4 Kbyte Overlay RAM (OVRAM)
Data memory in DMI
– 32 Kbyte Local Data RAM (LDRAM)
On-chip SRAM with parity error protection
Features of Program Flash
1024 Kbyte on-chip program Flash memory
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 Sheet 25 V0.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 Sheet 26 V0.1, 2005-11
Loading...
+ 95 hidden pages