TI TMS470R1VC346BPZA

TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
z
z
High-Performance Static CMOS Technology
TMS470R1x 16/32-Bit RISC Core (ARM7TDMI™)
– 24-MHz System Clock (VC346 only)
– 28-MHz System Clock (VC336 only)
– 48-MHz Pipeline Mode
– Independent 16/32-Bit Instruction Set
– Open Architecture With Third-Party Support
– Built-In Debug Module
– Utilizes Big-Endian Format
– Class II Serial Interface (C2SIa)
– Two Selectable Data Rates
– Normal Mode 10.4 Kbps and 4X Mode
41.6 Kbps
z
High-End Timer (HET)
– 27 Programmable I/O Channels (VC336):
– 23 High-Resolution Pins
– 4 Standard-Resolution Pins
– 16 Programmable I/O Channels (VC346):
– 14 High-Resolution Pins
– 2 Standard-Resolution Pins
– High-Resolution Share Feature (XOR)
– HET RAM (64-Instruction Capacity)
z
Integrated Memory
– 128K-Byte Program ROM
– ROM Pipeline Wrapper (RPW)
– 8K-Byte Static RAM (SRAM)
z
Operating Features
– Core Supply Voltage (VCC): 1.81 V - 2.06 V
– Core Supply Voltage (VCC): 1.70 V - 2.06 V
When Used At or Below 85C Ambient Temp
and 115C Junction Temp
– I/O Supply Voltage (VCCIO): 3.0 V - 3.6 V
– Low-Power Modes: STANDBY and HALT
– Industrial and Automotive Temperature
Ranges
z
10-Bit Multi-Buffered ADC (MibADC)
12-Channel (VC336),
16-Channel (VC346)
– 64-Word FIFO Buffer
– Single- or Continuous-Conversion Modes
– 1.55 μs Minimum Sample and Conversion
Time
– Calibration Mode and Self-Test Features
z
Eight External Interrupts (VC346)
470+ System Module
– 32-Bit Address Space Decoding
– Bus Supervision for Memory and
Peripherals
– Analog Watchdog (AWD) Timer
– Real-Time Interrupt (RTI)
– System Integrity and Failure Detection
z
Six External Interrupts (VC336)
Flexible Interrupt Handling
5 Dedicated General-Purpose I/O (GIO) Pins,
1 Input-Only GIO Pin, and 48 Additional
Peripheral I/Os (VC336)
z
z
Zero-Pin Phase-Locked Loop (ZPLL)-Based
Clock Module With Prescaler
– Multiply-by-4 or -8 Internal ZPLL Option
– ZPLL Bypass Mode
z
Six Communication Interfaces:
– Two Serial Peripheral Interfaces (SPIs)
– 255 Programmable Baud Rates
– Two Serial Communications Interfaces
(SCIs)
– 224 Selectable Baud Rates
– Asynchronous/Isosynchronous Modes
– Standard CAN Controller (SCC)
– 16-Mailbox Capacity
– Fully Compliant With CAN Protocol,
Version 2.0B
z
z
z
11 Dedicated GIO Pins,1 Input-Only GIO Pin,
and 38 Additional Peripheral I/Os (VC346)
z
External Clock Prescale (ECP) Module
– Programmable Low-Frequency External
Clock (CLK)
z
On-Chip Scan-Base Emulation Logic,
IEEE Standard 1149.1† (JTAG) Test-Access Port
100-Pin Plastic Low-Profile Quad Flatpack
(PZ Suffix)
z
z
Development System Support Tools Available
– Code Composer Studio™ Integrated
Development Environment (IDE)
– HET Assembler and Simulator
– Real-Time In-Circuit Emulation
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
TexasInstruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
Code Composer Studio is a trademark of Texas Instruments.
ARM7TDMI is a trademark of Advanced RISC Machines (ARM) Limited.
All trademarks are the property of their respective owners.
† The test-access port is compatible with the IEEE Standard 1149.1-1990, IEEE Standard Test-Access Port and Boundary Scan Architecture
specification. Boundary scan is not supported on this device.
Copyright © 2006, Texas Instruments Incorporated
PRODUCTION DATA information is current as of publication
date. Products conform to specifications per the Texas
Instruments standard warranty. Production processing does
not necessarily include testing of all parameters.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
1
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
PLLDIS
TDI
TDO
TCK
HET[8]
HET[9]
VCCIO
VSSIO
CLKOUT
CANSRX
CANSTX
SCI1CLK
SCI1TX
SCI1RX
VSS
VCC
ADIN[7]
ADEVT
ADIN[6]
ADIN[5]
ADIN[4]
ADIN[3]
ADIN[2]
ADIN[1]
ADIN[0]
TMS470R1VC336 100-PIN PZ PACKAGE (TOP VIEW)
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
HET[20]
ADREFHI
80
46
HET[21]
ADREFLO
VCCAD
81
45
HET[22]
82
44
SPI2ENA
VSSAD
83
43
SPI2SOMI
TMS
84
42
SPI2SIMO
TMS2
85
41
SPI2CLK
VSS
86
40
VCC
VCC
87
39
VSS
HET[0]
88
38
C2SIaRX
HET[1]
89
37
C2SIaTX
VSS
90
36
C2SIaLPN
VCC
91
35
HET[24]
NC
92
34
HET[31]
NC
93
33
HET[30]
NC
94
32
HET[29]
HET[2]
95
31
SCI2TX
HET[3]
96
30
SCI2RX
HET[4]
97
29
GIOA[1]/INT[1]/ECLK
HET[5]
98
28
GIOA[0]/INT0†
HET[6]
99
27
TEST
HET[7]
100
26
TRST
2
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
GIOA[4]/INT4
GIOA[5]/INT5
GIOA[6]/INT6
GIOA[7]/INT7
HET[10]
† GIOA[0]/INT0 (pin 28) is an input-only GIO pin.
PORRST
HET[11]
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
HET[12]
9
HET[13]
8
HET[14]
7
HET[15]
6
HET[16]
5
HET[17]
4
VCCIO
3
RST
2
VSSIO
1
VCC
ADIN[8]
47
OSCIN
HET[19]
79
OSCOUT
48
VSS
78
SPI1CLK
HET[18]
ADIN[9]
SPI1SOMI
AWD
49
SPI1SIMO
50
77
SPI1ENA
76
ADIN[10]
SPI1SCS
ADIN[11]
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
PLLDIS
TDI
TDO
TCK
HET[8]
VSSIO
VCCIO
CANSRX
CLKOUT
CANSTX
SCI1TX
SCI1CLK
SCI1RX
VSS
VCC
ADIN[7]
ADEVT
ADIN[6]
ADIN[5]
ADIN[15]
ADIN[4]
ADIN[3]
ADIN[2]
ADIN[1]
ADIN[0]
TMS470R1VC346 100-PIN PZ PACKAGE (TOP VIEW)
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
79
ADIN[9]
80
46
HET[21]
ADIN[12]
ADIN[8]
81
45
SPI2SCS
82
44
SPI2ENA
ADREFHI
83
43
SPI2SOMI
ADREFLO
84
42
SPI2SIMO
VCCAD
85
41
SPI2CLK
VSSAD
86
40
VCC
TMS
87
39
VSS
TMS2
88
38
C2SIaRX
VSS
89
37
C2SIaTX
VCC
90
36
C2SIaLPN
HET[0]
91
35
HET[24]
VSS
92
34
HET[31]
VCC
93
33
SCI2TX
NC
94
32
SCI2RX
NC
95
31
GIOA[3]/INT3
NC
96
30
GIOA[2]/INT2
HET[2]
97
29
GIOA[1]/INT1/ECLK
HET[4]
98
28
GIOA[0]/INT0†
HET[6]
99
27
TEST
HET[7]
100
26
TRST
GIOA[4]/INT4
GIOA[5]/INT5
GIOA[6]/INT6
GIOA[7]/INT7
PORRST
HET[10]
HET[11]
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
HET[12]
9
GIOB[0]
8
HET[13]
7
GIOB[1]
6
GIOB[2]
5
GIOB[3]
4
VSSIO
3
VCCIO
2
RST
1
VCC
ADIN[13]
HET[20]
OSCIN
HET[19]
47
OSCOUT
48
VSS
78
SPI1CLK
HET[18]
ADIN[10]
SPI1SOMI
AWD
49
SPI1SIMO
50
77
SPI1ENA
76
ADIN[14]
SPI1SCS
ADIN[11]
† GIOA[0]/INT0 (pin 28) is an input-only GIO pin.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
3
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
description
The TMS470R1VC336 and TMS470R1VC346† devices are members of the Texas Instruments TMS470R1x
family of general-purpose16/32-bit reduced instruction set computer (RISC) microcontrollers. These microcontrollers offer high performance utilizing the high-speed ARM7TDMI 16/32-bit RISC central processing unit
(CPU), resulting in a high instruction throughput while maintaining greater code efficiency. The ARM7TDMI 16/
32-bit RISC CPU views memory as a linear collection of bytes numbered upwards from zero. The
TMS470R1VC3x6 utilizes the big-endian format, where the most significant byte of a word is stored at the
lowest numbered byte and the least significant byte at the highest numbered byte.
High-end embedded control applications demand more performance from their controllers while maintaining
low costs. The VC3x6 RISC core architecture offers solutions to these performance and cost demands while
maintaining low power consumption.
The VC3x6 device contains the following:
z
z
z
z
z
z
z
z
z
z
z
z
z
z
z
ARM7TDMI 16/32-Bit RISC CPU
TMS470R1x system module (SYS) with 470+ enhancements
128K-byte ROM with RPW
8K-byte SRAM
Zero-pin phase-locked loop (ZPLL) clock module
Analog watchdog (AWD) timer
Real-time interrupt (RTI) module
Two serial peripheral interface (SPI) modules
Two serial communications interface (SCI) modules
Standard CAN controller (SCC)
Class II serial interface (C2SIa)
10-bit multi-buffered analog-to-digital converter (MibADC), 12-input channels (VC336), 16-input channels
(VC346)
High-end timer (HET) controlling 27 I/Os (VC336), controlling 16 I/Os (VC346)
External Clock Prescale (ECP)
Up to 53 I/O pins and 1 input-only pin (VC336), up to 49 I/O pins and 1 input-only pin (VC346)
The functions performed by the 470+ system module (SYS) include: address decoding; memory protection;
memory and peripherals bus supervision; reset and abort exception management; prioritization for all internal
interrupt sources; device clock control; and parallel signature analysis (PSA). This data sheet includes devicespecific information such as memory and peripheral select assignment, interrupt priority, and a device memory
map. For a more detailed functional description of the SYS module, see the TMS470R1x System Module
Reference Guide (literature number SPNU189).
The VC3x6 memory includes general-purpose SRAM supporting single-cycle read/write accesses in byte,
half-word, and word modes.
The ROM memory on the VC3x6 device is programmable read-only memory that is masked at the time of
device fabrication. The ROM operates with a system clock frequency of up to 24 MHz for the VC346 and up
to 28 MHz for the VC336. In pipeline mode, the ROM operates with a system clock frequency of up to 48MHz.
For more detailed information on the ROM Pipeline Wrapper, see the TMS470R1x ROM Pipeline Wrapper
(RPW) Reference Guide (literature number SPNU009).
† Throughout the remainder of this document, the TMS470R1VC336 and TMS470R1VC346 device names, where generic, shall be referred to
as TMS470R1VC3x6 or VC3x6, and where unique, shall be referred to either by the full device name, or VC336 or VC346.
4
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
description (continued)
The VC3x6 device has six communication interfaces: two SPIs, two SCIs, an SCC, and a C2SIa. The SPI
provides a convenient method of serial interaction for high-speed communications between similar shift-register
type devices. The SCI is a full-duplex, serial I/O interface intended for asynchronous communication between
the CPU and other peripherals using the standard Non-Return-to-Zero (NRZ) format. The SCC uses a serial,
multimaster communication protocol that efficiently supports distributed real-time control with robust
communication rates of up to 1 megabit per second (Mbps). The SCC is ideal for applications operating in noisy
and harsh environments (e.g., automotive and industrial fields) that require reliable serial communication or
multiplexed wiring. The C2SIa allows the VC3x6 to transmit and receive messages on a class II network following
an SAE J1850† standard. For more detailed functional information on the SPI, SCI, and SCC peripherals, see
the specific TMS470R1x Peripheral Reference Guides (literature numbers SPNU195, SPNU196, and
SPNU197, respectively). For more detailed functional information on the C2SIa peripheral, see the TMS470R1x
Class II Serial Interface A (C2SIa) Reference Guide (literature number SPNU218).
The HET is an advanced intelligent timer that provides sophisticated timing functions for real-time applications.
The timer is software-controlled, using a reduced instruction set, with a specialized timer micromachine and
an attached I/O port. The HET can be used for compare, capture, or general-purpose I/O. It is especially well
suited for applications requiring multiple sensor information and drive actuators with complex and accurate
time pulses. For more detailed functional information on the HET, see the TMS470R1x High-End Timer (HET)
Reference Guide (literature number SPNU199). The VC3x6 HET peripheral contains the XOR-share feature.
This feature allows two adjacent HET high-resolution channels to be XORed together, making it possible to
output smaller pulses than a standard HET. For more detailed information on the HET XOR-share feature, see
the TMS470R1x High-End Timer (HET) Reference Guide (literature number SPNU199).
The VC3x6 device has a 10-bit-resolution sample-and-hold MibADC. The MibADC channels can be converted
individually or can be grouped by software for sequential conversion sequences. There are three separate
groupings, two of which are triggerable by an external event. Each sequence can be converted once when
triggered or configured for continuous conversion mode. For more detailed functional information on the MibADC, see the TMS470R1x Multi-Buffered Analog-to-Digital Converter (MibADC) Reference Guide (literature
number SPNU206).
The zero-pin phase-locked loop (ZPLL) clock module contains a phase-locked loop, a clock-monitor circuit, a
clock-enable circuit, and a prescaler (with prescale values of 1–8). The function of the ZPLL is to multiply the
external frequency reference to a higher frequency for internal use. The ZPLL provides ACLK‡ to the system
(SYS) module. The SYS module subsequently provides system clock (SYSCLK), real-time interrupt clock
(RTICLK), CPU clock (MCLK), and peripheral interface clock (ICLK) to all other VC3x6 device modules. For
more detailed functional information on the ZPLL, see the TMS470R1x Zero-Pin Phase-Locked Loop (ZPLL)
Clock Module Reference Guide (literature number SPNU212).
The VC3x6 device also has an external clock prescaler (ECP) module that when enabled, outputs a continuous
external clock (ECLK) on a specified GIO pin. The ECLK frequency is a user-programmable ratio of the peripheral interface clock (ICLK) frequency. For more detailed functional information on the ECP, see the
TMS470R1x External Clock Prescaler (ECP) Reference Guide (literature number SPNU202).
device characteristics
The TMS470R1VC3x6 device is a derivative of the F05 system emulation device SE470R1VB8AD. Table 1
identifies all the characteristics of the TMS470R1VC3x6 device except the SYSTEM and CPU, which are
generic. The COMMENTS column aids the user in software-programming and references device-specific information.
† SAE Standard J1850 Class B Data Communication Network Interface
‡ ACLK should not be confused with the MibADC internal clock, ADCLK. ACLK is the continuous system clock from an external resonator/crystal
reference.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
5
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
device characteristics (continued)
Table 1. Device Characteristics
CHARACTERISTICS
DEVICE
DESCRIPTION
TMS470R1VC336
DEVICE DESCRIPTION
TMS470R1VC346
COMMENTS
MEMORY
For the number of memory selects on this device, see the Memory Selection Assignment tables (Table 2).
Pipeline capable.
INTERNAL
MEMORY
128K-Byte ROM
8K-Byte SRAM
128K-Byte ROM
8K-Byte SRAM
The VC3x6 RAM is implemented in one 8K array selected by
two memory-select signals (see theVC3x6 Memory Selection
Assignment table, Table 2).
PERIPHERALS
For the device-specific interrupt priority configurations, see the Interrupt Priority table (Table 4). And for the 1K peripheral address ranges and
their peripheral selects, see the VC3x6 Peripherals and System Module Base Addresses table (Table 3).
CLOCK
ZPLL
ZPLL
GENERAL-PURPOSE
I/Os
5 I/O
1 Input only
11 I/O
1 Input only
ECP
YES
YES
C2SIa
1
1
SCI
1 (3-pin)
1 (2-pin)
1 (3-pin)
1 (2-pin)
CAN
(HECC and/or SCC)
1 SCC
1 SCC
SPI
(5-pin, 4-pin or 3-pin)
1 (5-pin)
1 (4-pin)
2 (5-pin)
Zero-pin PLL has no external loop filter pins.
For VC336, Port A has only six (6) external pins – GIOA[2]/INT2
and GIOA[3]/INT3 are not applicable.
For VC346, Port A has all eight (8) external pins, and Port B
has four (4).
SCI2 has no external clock pin, only transmit/receive pins
(SCI2TX and SCI2RX)
Standard CAN controller
For VC336, SPI2 has no chip select pin.
All devices have both the logic and registers for a full 32-I/O
HET implemented, even though not all 32 pins are available
externally.
HET with
XOR Share
27 I/O
16 I/O
HET RAM
64-Instruction Capacity
64-Instruction Capacity
MibADC
10-bit, 12-channel
64-word FIFO
10-bit, 16-channel
64-word FIFO
1.81 - 2.06 V
1.81 - 2.06 V
1.70 − 2.06V
1.70 − 2.06V
I/O VOLTAGE
3.0 - 3.6 V
3.0 - 3.6 V
PINS
100
100
PACKAGE
PZ
PZ
CORE VOLTAGE
6
POST OFFICE BOX 1443
The high-resolution (HR) SHARE feature allows even HR pins
to share the next higher odd HR pin structures. This HR sharing
is independent of whether or not the odd pin is available
externally. If an odd pin is available externally and shared, then
the odd pin can only be used as a general-purpose I/O. For
more information on HR SHARE, see the TMS470R1x HighEnd Timer (HET) Reference Guide (literature number
SPNU199).
12-channel MibADC (VC336), 16-channel MibADC (VC346).
Both the logic and registers for a full
16-channel MibADC are present.
When operating at or below 85C ambient temperature and 115C
junction temperature.
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
functional block diagram
OSCIN
ROM
128K Bytes
RAM
8K Bytes
ZPLL
PLLDIS
ADIN[11:0]†
CPU Address/Data Bus
MibADC
with
64-Word
FIFO
TRST
TMS470R1x
CPU
TCK
OSCOUT
Crystal
External Pins
External Pins
ADEVT
ADREFHI
ADREFLO
VCCAD
VSSAD
TDI
TMS
TMS470R1x 470+ SYSTEM MODULE
TMS2
RST
AWD
TEST
PORRST
Expansion Address/Data Bus
TDO
CLKOUT
HET with
XOR Share
(64-Word)
SCC
HET[31:28, 24]‡
HET[22:0]‡
CANSTX
CANSRX
SCI1CLK
SCI1
SCI1TX
SCI1RX
SCI2
SCI2TX
SCI2RX
C2SIaTX
C2SIa
C2SIaRX
SPI2
SPI1
SPI1SCS
SPI1ENA
SPI1SIMO
SPI1SOMI
SPI1CLK
GIO
ECP
GIOA[0]/
INT[0]¶
GIOA[7:2]/
INT[7:2]#
GIOB[3:0]||
GIOA[1]/INT[1]/
ECLK
SPI2SCS§
SPI2ENA
SPI2SIMO
SPI2SOMI
SPI2CLK
C2SIaLPN
† ADIN[11:0] for VC336 and ADIN[15:0] for VC346.
‡ HET[31, 24] and HET[21:18, 13:10, 8, 7, 6, 4, 2, 0] only for VC346.
§ The SPI2 chip select pin (SPI2SCS) is only applicable to the VC346 device.
¶ GIOA[0]/INT[0] is an input-only GIO pin.
# GIOA[2]/INT[2] and GIOA[3]/INT[3] pins are not applicable to the VC336 device.
||
GIOB[3:0] are not applicable to the VC336 device.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
7
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
Terminal Functions
TERMINAL
NAME
VC336
VC346
HET[0]
88
91
HET[1]
89
–
HET[2]
95
97
HET[3]
96
–
HET[4]
97
98
HET[5]
98
–
HET[6]
99
99
HET[7]
100
100
HET[8]
55
55
HET[9]
56
–
HET[10]
20
20
TYPE†‡
INTERNAL
PULLUP/
PULLDOWN§
DESCRIPTION
HIGH-END TIMER (HET)
All devices have both the logic and registers for a full 32-I/O HET
implemented, even though not all 32 pins are available externally.
Timer input capture or output compare. The HET[31:0] applicable pins
can be programmed as general-purpose input/output (GIO) pins.
HET[11]
19
19
HET[12]
18
18
HET[13]
17
17
HET[14]
16
–
HET[15]
15
–
HET[16]
14
–
HET[17]
13
–
HET[18]
49
49
HET[19]
48
48
HET[20]
47
47
HET[21]
46
46
HET[22]
45
–
HET[24]
35
35
HET[28]
–¶
–¶
HET[29]
32
–
HET[30]
33
–
HET[31]
34
34
CANSRX
60
59
3.3-V I/O
CANSTX
61
60
3.3-V I/O
C2SIaLPN
36
36
3.3-V I/O
C2SIaRX
38
38
3.3-V I/O
C2SIaTX
37
37
3.3-V I/O
HET[22:0] are high-resolution pins and HET[31:28, 24] are standardresolution pins for VC336.
3.3-V I/O
IPD
HET[21:18, 13:10, 8, 7, 6, 4, 2, 0] are high-resolution pins and HET[31,
24] are standard-resolution pins for VC346.
The high-resolution (HR) SHARE feature allows even HR pins to share
the next higher odd HR pin structures. This HR sharing is independent of
whether or not the odd pin is available externally. If an odd pin is available
externally and shared, then the odd pin can only be used as a generalpurpose I/O. For more information on HR SHARE, see the TMS470R1x
High-End Timer Reference Guide (literature number SPNU199).
STANDARD CAN CONTROLLER (SCC)
SCC receive pin or GIO pin
IPU
SCC transmit pin or GIO pin
CLASS II SERIAL INTERFACE (C2SIA)
IPD
C2SIa module loopback enable pin or GIO pin
C2SIa module receive data input pin or GIO pin
IPD
C2SIa module transmit data output pin or GIO pin
† I = input, O = output, PWR = power, GND = ground, REF = reference voltage, NC = no connect
‡ All I/O pins, except RST, are configured as inputs while PORRST is low and immediately after PORRST goes high.
§ IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are active on input pins, independent of the PORRST state.)
¶ N/A on the VC346 device. For the VC336 device, the HET[28] signal is only connected to the pad, not to a package pin.
8
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
Terminal Functions (Continued)
TERMINAL
NAME
VC336
VC346
GIOA[0]/INT0
28
28
GIOA[1]/INT1/
ECLK
29
29
GIOA[2]/INT2
–
30
TYPE†‡
INTERNAL
PULLUP/
PULLDOWN§
DESCRIPTION
GENERAL-PURPOSE I/O (GIO)
GIOA[3]/INT3
–
31
GIOA[4]/INT4
25
25
GIOA[5]/INT5
24
24
GIOA[6]/INT6
23
23
GIOA[7]/INT7
22
22
GIOB[0]
–
16
GIOB[1]
–
15
GIOB[2]
–
14
GIOB[3]
–
13
ADEVT
67
66
ADIN[0]
75
75
ADIN[1]
74
74
ADIN[2]
73
73
ADIN[3]
72
72
ADIN[4]
71
71
ADIN[5]
70
69
ADIN[6]
69
68
ADIN[7]
68
67
ADIN[8]
79
82
3.3-V I
General-purpose input/output pins.
GIOA[0]/INT[0] is an input-only pin. GIOA[7:0]/INT[7:0] are interruptcapable pins.
3.3-V I/O
IPD
GIOA[1]/INT[1]/ECLK pin is multiplexed with the external clock-out
function of the external clock prescale (ECP) module.
GIOA[2]/INT[2], GIOA[3]/INT[3], and GIOB[0:3] pins are not applicable on
the VC336 device.
MULTI-BUFFERED ANALOG-TO-DIGITAL CONVERTER (MibADC)
3.3-V I/O
IPD
MibADC event input. ADEVT can be programmed as a GIO pin.
MibADC analog input pins
3.3-V I
The VC336 device has only 12 input channels but all S/W registers are
capable. ADIN[15:12] pins are not applicable to the VC336 device.
ADIN[9]
78
80
ADIN[10]
77
78
ADIN[11]
76
76
ADIN[12]
–
81
ADIN[13]
–
79
ADIN[14]
–
77
ADIN[15]
–
70
ADREFHI
80
83
3.3-V
REF I
MibADC module high-voltage reference input
ADREFLO
81
84
GND
REF I
MibADC module low-voltage reference input
VCCAD
82
85
3.3-V
PWR
MibADC analog supply voltage
VSSAD
83
86
GND
MibADC analog ground reference
The VC346 device has all 16 input channels.
† I = input, O = output, PWR = power, GND = ground, REF = reference voltage, NC = no connect
‡ All I/O pins, except RST, are configured as inputs while PORRST is low and immediately after PORRST goes high.
§ IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are active on input pins, independent of the PORRST state.)
¶ N/A on the VC346 device. For the VC336 device, the HET[28] signal is only connected to the pad, not to a package pin.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
9
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
Terminal Functions (Continued)
TERMINAL
NAME
TYPE†‡
INTERNAL
PULLUP/
PULLDOWN§
DESCRIPTION
VC336
VC346
SPI1CLK
5
5
SPI1 clock. SPI1CLK can be programmed as a GIO pin.
SPI1ENA
1
1
SPI1 chip enable. SPI1ENA can be programmed as a GIO pin.
SPI1SCS
2
2
SERIAL PERIPHERAL INTERFACE 1 (SPI1)
SPI1SIMO
3
3
SPI1SOMI
4
4
SPI1 slave chip select. SPI1SCS can be programmed as a GIO pin.
3.3-V I/O
IPD
SPI1 data stream. Slave in/master out. SPI1SIMO can be programmed as
a GIO pin.
SPI1 data stream. Slave out/master in. SPI1SOMI can be programmed as
a GIO pin.
SERIAL PERIPHERAL INTERFACE 2 (SPI2)
SPI2CLK
41
41
SPI2ENA
44
44
SPI2 clock. SPI2CLK can be programmed as a GIO pin.
SPI2 chip enable. SPI2ENA can be programmed as a GIO pin.
SPI2 slave chip select. SPI2SCS can be programmed as a GIO pin.
(This pin is not applicable to the VC336 device.)
SPI2SCS
–
45
SPI2SIMO
42
42
SPI2 data stream. Slave in/master out. SPI2SIMO can be programmed as
a GIO pin.
SPI2SOMI
43
43
SPI2 data stream. Slave out/master in. SPI2SOMI can be programmed as
a GIO pin.
3.3-V I/O
IPD
ZERO-PIN PHASE-LOCKED LOOP (ZPLL)
OSCIN
8
8
1.8-V I
Crystal connection pin or external clock input
OSCOUT
7
7
1.8-V O
External crystal connection pin
PLLDIS
51
51
3.3-V I
IPD
Enable/disable the ZPLL. The ZPLL can be bypassed and the oscillator
becomes the system clock. If not in bypass mode, TI recommends that this
pin be connected to ground or pulled down to ground by an external resistor.
SERIAL COMMUNICATIONS INTERFACE 1 (SCI1)
SCI1CLK
62
61
3.3-V I/O
IPD
SCI1 clock. SCI1CLK can be programmed as a GIO pin.
SCI1RX
64
63
3.3-V I/O
IPU
SCI1 data receive. SCI1RX can be programmed as a GIO pin.
SCI1TX
63
62
3.3-V I/O
IPU
SCI1 data transmit. SCI1TX can be programmed as a GIO pin.
SERIAL COMMUNICATIONS INTERFACE 2 (SCI2)
SCI2RX
30
32
3.3-V I/O
IPU
SCI2 data receive. SCI2RX can be programmed as a GIO pin.
SCI2TX
31
33
3.3-V I/O
IPU
SCI2 data transmit. SCI2TX can be programmed as a GIO pin.
SYSTEM MODULE (SYS)
CLKOUT
59
58
3.3-V I/O
IPD
Bidirectional pin. CLKOUT can be programmed as a GIO pin or the output
of SYSCLK, ICLK, or MCLK.
PORRST
21
21
3.3-V I
IPD
Input master chip power-up reset. External VCC monitor circuitry must
assert a power-on reset.
IPU
Bidirectional reset. The internal circuitry can assert a reset, and an external
system reset can assert a device reset.
On this pin, the output buffer is implemented as an open drain (drives low
only).
To ensure an external reset is not arbitrarily generated, TI recommends
that an external pullup resistor be connected to this pin.
RST
10
10
3.3-V I/O
† I = input, O = output, PWR = power, GND = ground, REF = reference voltage, NC = no connect
‡ All I/O pins, except RST, are configured as inputs while PORRST is low and immediately after PORRST goes high.
§ IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are active on input pins, independent of the PORRST state.)
¶ N/A on the VC346 device. For the VC336 device, the HET[28] signal is only connected to the pad, not to a package pin.
10
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
Terminal Functions (Continued)
TERMINAL
NAME
AWD
VC336
VC346
50
50
INTERNAL
PULLUP/
DESCRIPTION
PULLDOWN§
WATCHDOG/REAL-TIME INTERRUPT (WD/RTI)
Analog watchdog reset. The AWD pin provides a system reset if the WD
KEY is not written in time by the system, providing an external RC network
circuit is connected. If the user is not using AWD, TI recommends that this
pin be connected to ground or pulled down to ground by an external
resistor.
3.3-V I/O
IPD
TYPE†‡
TCK
54
54
3.3-V I
TDI
52
52
3.3-V I
TDO
53
53
3.3-V O
TEST
27
27
3.3-V I
TMS
84
87
3.3-V I
TMS2
85
88
3.3-V I
TRST
26
26
3.3-V I
VCC
9
40
66
87
91
9
40
65
90
93
1.8-V
PWR
VCCIO
12
58
12
57
3.3-V
PWR
VSS
6
39
65
86
90
6
39
64
89
92
VSSIO
11
57
11
56
For more details on the external RC network circuit, see the TMS470R1x
System Module Reference Guide (literature number SPNU189) and the
application note Analog Watchdog Resistor, Capacitor and Discharge
Interval Selection Constraints (literature number SPNA005).
TEST/DEBUG (T/D)
IPD
Test clock. TCK controls the test hardware (JTAG)
Test data in. TDI inputs serial data to the test instruction register, test data
IPU
register, and programmable test address (JTAG).
Test data out. TDO outputs serial data from the test instruction register,
IPD
test data register, identification register, and programmable test address
(JTAG).
Test enable. Reserved for internal use only. TI recommends that this pin
IPD
be connected to ground or pulled down to ground by an external resistor.
Serial input for controlling the state of the CPU test access port (TAP)
IPU
controller (JTAG)
Serial input for controlling the second TAP. TI recommends that this pin
IPU
be connected to VCCIO or pulled up to VCCIO by an external resistor.
Test hardware reset to TAP1 and TAP2. IEEE Standard 1149-1 (JTAG)
Boundary-Scan Logic. TI recommends that this pin be pulled down to
ground by an external resistor.
SUPPLY VOLTAGE CORE (1.8 V)
IPD
Core logic supply voltage
SUPPLY VOLTAGE DIGITAL I/O (3.3 V)
Digital I/O supply voltage
SUPPLY GROUND CORE
GND
Core supply ground reference
SUPPLY GROUND DIGITAL I/O
GND
Digital I/O supply ground reference
† I = input, O = output, PWR = power, GND = ground, REF = reference voltage, NC = no connect
‡ All I/O pins, except RST, are configured as inputs while PORRST is low and immediately after PORRST goes high.
§ IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are active on input pins, independent of the PORRST state.)
¶ N/A on the VC346 device. For the VC336 device, the HET[28] signal is only connected to the pad, not to a package pin.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
11
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
VC3X6 DEVICE-SPECIFIC INFORMATION
memory
Figure 1 shows the memory map of the VC3x6 device.
0xFFFF_FFFF
Memory (4G Bytes)
SYSTEM
0xFFFF_FFFF
0xFFFF_FD00
System Module Control Registers
(512K Bytes)
Reserved
0xFFF8_0000
0xFFF7_FFFF
HET
Peripheral Control Registers
(512K Bytes)
0xFFF0_0000
0xFFEF_FFFF
0xFFE8_C000
0xFFE8_BFFF
0xFFE8_8000
0xFFE8_7FFF
0xFFE8_4024
0xFFE8_4023
0xFFE8_4000
0xFFE8_3FFF
SPI1
SCI2
Reserved
SCI1
Reserved
MibADC
Reserved
GIO/ECP
MPU Control Registers
Reserved
SCC
Reserved
SCC RAM
0xFFE0_0000
Reserved
SPI2
Reserved
VC3x6
RAM
8K Bytes
Program
and
Data Area
VC3x6
ROM
128K Bytes
C2SIa
Reserved
FIQ
IRQ
Reserved
Data Abort
Prefetch Abort
0x0000_0020
0x0000_001F
0x0000_0000
Software Interrupt
Undefined Instruction
Exception, Interrupt, and
Reset Vectors
Reset
0xFFF8_0000
0xFFF7_FC00
0xFFF7_F800
0xFFF7_F500
0xFFF7_F400
0xFFF7_F000
0xFFF7_EC00
0xFFF7_E400
0xFFF7_E000
0xFFF7_DC00
0xFFF7_D800
0xFFF7_D400
0xFFF7_CC00
0xFFF7_C800
0xFFF0_0000
0x0000_001F
0x0000_001C
0x0000_0018
0x0000_0014
0x0000_0010
0x0000_000C
0x0000_0008
0x0000_0004
0x0000_0000
NOTES: A. Memory addresses are configurable by the system (SYS) module within the range of 0x0000_0000 to 0xFFE0_0000.
B. The CPU registers are not a part of the memory map.
Figure 1. Memory Map
12
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
memory selects
Memory selects allow the user to address memory arrays (i.e., ROM, RAM, and HET RAM) at user-defined
addresses. Each memory select has its own set (low and high) of memory base address registers (MFBAHRx
and MFBALRx) that, together, define the array’s starting (base) address, size, and protection.
The base address of each memory select is configurable to any memory address boundary that is a multiple
of the decoded block size. The decoded block size for the ROM memory on this device is 0x00100000. For
more information on how to control and configure these memory select registers, see the bus structure and
memory sections of the TMS470R1x System Module Reference Guide (literature number SPNU189).
For the memory selection assignments and the memory selected, see Table 2.
Table 2. VC3x6 Memory Selection Assignment
MEMORY
SELECT
MEMORY SELECTED
(ALL INTERNAL)
0 (fine)
ROM
1 (fine)
ROM
2 (fine)
RAM
3 (fine)
RAM
4 (fine)
HET RAM
MEMORY
SIZE
128K
8K†
1K
MPU
MEMORY BASE ADDRESS REGISTER
NO
MFBAHR0 and MFBALR0
NO
MFBAHR1 and MFBALR1
YES
MFBAHR2 and MFBALR2
YES
MFBAHR3 and MFBALR3
MFBAHR4 and MFBALR4
STATIC MEM
CTL REGISTER
SMCR1
† The starting addresses for both RAM memory-select signals cannot be offset from each other by a multiple of the user-defined block size in the
memory-base address register.
RAM
The VC3x6 device contains 8K bytes of internal static RAM configurable by the SYS module to be addressed
within the range of 0x0000_0000 to 0xFFE0_0000. This VC3x6 RAM is implemented in one 8K array selected
by two memory-select signals. These configurations impose an additional constraint on the memory map for
RAM; the starting addresses for both RAM memory selects cannot be offset from each other by the multiples
of the size of the physical RAM (i.e., 8K for the VC3x6 device). The VC3x6 RAM is addressed through memory
selects 2 and 3.
The RAM can be protected by the memory protection unit (MPU) portion of the SYS module, allowing the user
finer blocks of memory protection than is allowed by the memory selects. The MPU is ideal for protecting an
operating system while allowing access to the current task. For more detailed information on the MPU portion
of the SYS module and memory protection, see the memory section of the TMS470R1x System Module
Reference Guide (literature number SPNU189).
ROM
The VC3x6 program ROM consists of 128K bytes mask programmable read-only memory. The program ROM
is used for permanent storage of data or instructions. Programming the mask ROM is performed at the time of
device fabrication.
HET RAM
The VC3x6 device contains HET RAM. The HET RAM has a 64-instruction capability. The HET RAM is configurable by the SYS module to be addressed within the range of 0x0000_0000 to 0xFFE0_0000. The HET
RAM is addressed through memory select 4.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
13
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
peripheral selects and base addresses
The VC3x6 device uses ten of the sixteen peripheral selects to decode the base addresses of the peripherals.
These peripheral selects are fixed and transparent to the user since they are part of the decoding scheme used
by the SYS module.
Control registers for the peripherals and SYS module begin at the base addresses shown in Table 3.
Table 3. VC3x6 Peripherals and System Module Base Addresses
CONNECTING MODULE
14
ADDRESS RANGE
BASE ADDRESS
ENDING ADDRESS
PERIPHERAL SELECTS
SYSTEM
0xFFFF_FD00
0xFFFF_FFFF
RESERVED
0xFFF8_0000
0xFFFF_FCFF
N/A
HET
0xFFF7_FC00
0xFFF7_FFFF
PS[0]
PS[1]
SPI1
0xFFF7_F800
0xFFF7_FBFF
SCI2
0XFFF7_F500
0XFFF7_F7FF
SCI1
0xFFF7_F400
0xFFF7_F4FF
N/A
PS[2]
ADC
0xFFF7_F000
0xFFF7_F3FF
GIO/ECP
0xFFF7_EC00
0xFFF7_EFFF
PS[3]
PS[4]
RESERVED
0xFFF7_E400
0xFFF7_EBFF
PS[5] - PS[6]
SCC
0xFFF7_E000
0xFFF7_E3FF
PS[7]
SCC RAM
0xFFF7_DC00
0xFFF7_DFFF
PS[8]
RESERVED
0XFFF7_D800
0XFFF7_DBFF
PS[9]
SPI2
0XFFF7_D400
0XFFF7_D7FF
PS[10]
RESERVED
0xFFF7_CC00
0xFFF7_D3FF
PS[11] - PS[12]
C2SIA
0xFFF7_C800
0xFFF7_CBFF
PS[13]
RESERVED
0xFFF7_C000
0xFFF7_C7FF
PS[14] - PS[15]
RESERVED
0xFFF0_0000
0xFFF7_BFFF
N/A
ROM CONTROL REGISTERS
0xFFE8_8000
0xFFE8_BFFF
N/A
MPU CONTROL REGISTERS
0xFFE8_4000
0xFFE8_4023
N/A
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
interrupt priority
The central interrupt manager (CIM) portion of the SYS module manages the interrupt requests from the device
modules (i.e., SPI1 or SPI2, SCI1 or SCI2, and RTI, etc.).
Although the CIM can accept up to 32 interrupt request signals, the VC3x6 device only uses 21 of those interrupt
request signals. The request channels are maskable so that individual channels can be selectively disabled.
All interrupt requests can be programmed in the CIM to be of either type:
z
Fast interrupt request (FIQ)
z
Normal interrupt request (IRQ)
The precedences of request channels decrease with ascending channel order in the CIM (0 [highest] and
31 [lowest] priority). For these channel priorities and the associated modules, see Table 4.
Table 4. Interrupt Priority
MODULES
INTERRUPT SOURCES
INTERRUPT LEVEL/CHANNEL
SPI1
SPI1 end-transfer/overrun
0
RTI
COMP2 interrupt
1
RTI
COMP1 interrupt
2
RTI
TAP interrupt
3
SPI2
SPI2 end-transfer/overrun
4
GIO
Interrupt A
5
RESERVED
HET
6
Interrupt A
7
RESERVED
SCI1/SCI2
8
SCI1/SCI2 error interrupt
9
SCI1
SCI1 receive interrupt
10
C2SIa
C2SIa interrupt
11
RESERVED
12
RESERVED
SCC
13
Interrupt A
14
MibADC
End event conversion
16
SCI2
SCI2 receive interrupt
17
RESERVED
15
RESERVED
18
RESERVED
SCI1
System
19
SCI1 transmit interrupt
20
SW interrupt (SSI)
21
RESERVED
HET
22
Interrupt B
23
RESERVED
24
SCC
Interrupt B
SCI2
SCI2 transmit interrupt
26
End Group 1 conversion
27
MibADC
25
RESERVED
GIO
MibADC
28
Interrupt B
29
End Group 2 conversion
30
RESERVED
31
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
15
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
MibADC
The multi-buffered analog-to-digital converter (MibADC) accepts an analog signal and converts the signal to a
10-bit digital value.
The VC3x6 MibADC module can function in two modes: compatibility mode, where its programmer’s model is
compatible with the TMS470R1x ADC module and its digital results are stored in digital result registers; or in
buffered mode, where the digital result registers are replaced with three FIFO buffers, one for each conversion
group [event, group1 (G1), and group2 (G2)]. In buffered mode, the MibADC buffers can be serviced by interrupts
or by the DMA.
MibADC event trigger enhancements
The MibADC includes two major enhancements over the event-triggering capability of the TMS470R1x ADC.
z
Both group1 and the event group can be configured for event-triggered operation, providing up to two eventtriggered groups.
z
The trigger source and polarity can be selected individually for both group 1 and the event group from the
three options identified in Table 5.
Table 5. MibADC Event Hookup Configuration
EVENT #
SOURCE SELECT BITS FOR G1 OR EVENT
(G1SRC[1:0] or EVSRC[1:0])
SIGNAL PIN NAME
EVENT1
00
ADEVT
EVENT2
01
HET18
EVENT3
10
HET19
EVENT4
11
RESERVED
For group 1, these event-triggered selections are configured via the group 1 source select bits (G1SRC[1:0])
in the AD event source register (ADEVTSRC.[5:4]). For the event group, these event-triggered selections are
configured via the event group source select bits (EVSRC[1:0]) in the AD event source register
(ADEVTSRC.[1:0]).
For more detailed functional information on the MibADC, see the TMS470R1x Multi-Buffered Analog-to-Digital
Converter (MibADC) Reference Guide (literature number SPNU206).
16
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
development system support
Texas Instruments provides extensive hardware and software development support tools for the TMS470R1x
family. These support tools include:
z
Code Composer Studio™ Integrated Development Environment (IDE)
–
–
–
z
Optimizing C compiler
–
–
–
–
–
–
–
z
Provides extensive macro capability
Allows high-speed operation
Allows extensive control of the assembly process using assembler directives
Automatically resolves memory references as C and assembly modules are combined
TMS470R1x CPU Simulator
–
–
–
z
Supports high-level language programming
Full implementation of the standard ANSI C language
Powerful optimizer that improves code-execution speed and reduces code size
Extensive run-time support library included
TMS470R1x control registers easily accessible from the C program
Interfaces C functions and assembly functions easily
Establishes comprehensive, easy-to-use tool set for the development of high-performance
microcontroller applications in C/C++
Assembly language tools (assembler and linker)
–
–
–
–
z
Fully integrated suite of software development tools
Includes Compiler/Assembler/Linker, Debugger, and Simulator
Supports Real-Time analysis, data visualization, and open API
Provides capability to simulate CPU operation without emulation hardware
Allows inspection and modifications of memory locations
Allows debugging programs in C or assembly language
XDS emulation communication kits
–
Allow high-speed JTAG communication to the TMS470R1x emulator or target board
For information on pricing and availability, contact the nearest TI field sales office or authorized distributor.
Code Composer Studio is a trademark of Texas Instruments.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
17
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
documentation support
Extensive documentation supports all of the TMS470 microcontroller family generation of devices. The types
of documentation available include: data sheets with design specifications; complete user’s guides for all
devices and development support tools; and hardware and software applications. Useful reference documentation includes:
z
z
18
User’s Guides
–
TMS470R1x 32-Bit RISC Microcontroller Family User’s Guide (literature number SPNU134)
–
TMS470R1x C/C++ Compiler User’s Guide (literature number SPNU151)
–
TMS470R1x Code Generation Tools Getting Started Guide (literature number SPNU117)
–
TMS470R1x C Source Debugger User’s Guide (literature number SPNU124)
–
TMS470R1x Assembly Language Tools User’s Guide (literature number SPNU118)
–
TMS470R1x System Module Reference Guide (literature number SPNU189)
–
TMS470R1x Serial Peripheral Interface (SPI) Reference Guide (literature number SPNU195)
–
TMS470R1x Serial Communication Interface (SCI) Reference Guide (literature number SPNU196)
–
TMS470R1x Controller Area Network (CAN) Reference Guide (literature number SPNU197)
–
TMS470R1x High-End Timer (HET) Reference Guide (literature number SPNU199)
–
TMS470R1x External Clock Prescale (ECP) Reference Guide (literature number SPNU202)
–
TMS470R1x Multi-Buffered Analog-to-Digital Converter (MibADC) Reference Guide
(literature number SPNU206)
–
TMS470R1x Zero-Pin Phase-Locked Loop (ZPLL) Clock Module Reference Guide
(literature number SPNU212)
–
TMS470R1x F05 Flash Reference Guide (literature number SPNU213)
–
TMS470R1x Class II Serial Interface A (C2SIa) Reference Guide (literature number SPNU218)
Application Reports:
–
Analog Watchdog Resistor, Capacitor and Discharge Interval Selection Constraints
(literature number SPNA005)
–
F05/C05 Power Up Reset and Power Sequencing Requirements (literature number SPNA009)
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
device numbering conventions
Figure 2 illustrates the numbering and symbol nomenclature for the TMS470R1x family.
TMS 470 R1 V C 33 6 A PZ Q
Prefix: TMS = Standard Prefix for Fully Qualified Devices
Family:
470 = TMS470 RISC-Embedded Microcontroller Family
V = 1.8-V Core Voltage
Program Memory Types:
C
F
L
B
R
=
=
=
=
=
Masked ROM
Flash
ROM-less
System Emulator for Development Tools
RAM
CPU Type:
R1 = ARM7TDMI CPU
Device Type: 33/34 = 33/34 Devices Contain the Following Modules:
– ZPLL Clock
– 8K-Byte Static RAM
– 1K-Byte HET RAM (64 Instructions)
– Analog Watchdog (AWD)
– Real-Time Interrupt (RTI)
– 10-Bit, 12-Input Multi-buffered Analog-to-Digital
Converter (MibADC)†
– Two Serial Peripheral Interface (SPI) Modules
– Two Serial Communications Interface (SCI) Modules
– Class II Serial Interface (C2SIa)
– Standard Controller Area Network (CAN) [SCC]
– High-End Timer (HET)
– External Clock Prescaler (ECP)
Program Memory Size
6 = 0
– No on-chip program memory
1–5 – 1 to < 128K Bytes
6–B – 128K Bytes to < 1M Bytes
C–F – > 1M Bytes
Operating Free-Air
Temperature Ranges:
A =
T =
–40°C to 85°C
–40°C to 105°C
Q =
–40°C to 125°C
Silicon Version: Blank = Version 1.0
A = Version 2.0
B = Version 3.0
Package:
PZ = 100-Pin Plastic Low-Profile Quad Flatpack (LQFP)
† The VC346 device contains a 10-bit, 16-input MibADC.
Figure 2. TMS470R1x Family Nomenclature
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
19
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
device identification code register
The device identification code register identifies the silicon version, the technology family (TF), a ROM or Flash
device, and an assigned device-specific part number (see Table 6). The VC3x6 device identification code
register value is 0xnC5F.
Table 6. TMS470 Device ID Bit Allocation Register
BIT 31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
BIT 16
6
5
4
3
2
1
BIT 0
RESERVED
FFFF_FFF0
BIT 15
LEGEND:
For bits 3–15:
For bits 0–2:
14
13
12
11
10
9
8
7
VERSION
TF
R/F
PART NUMBER
1
1
1
R-K
R-K
R-K
R-K
R-1
R-1
R-1
R = Read only, -K = Value constant after RESET
R = Read only, -1 = Value after RESET
Bits 31:16
Reserved. Reads are undefined and writes have no effect.
Bits 15:12
VERSION. Silicon version (revision) bits
These bits identify the silicon version of the device.
Bit 11
TF. Technology Family (TF) bit
This bit distinguishes the technology family core power supply:
0 = 3.3 V for F10/C10 devices
1 = 1.8 V for F05/C05 devices
Bit 10
R/F. ROM/Flash bit
This bit distinguishes between ROM and Flash devices:
0 = Flash device
1 = ROM device
Bits 9:3
PART NUMBER. Device-specific part number bits
These bits identify the assigned device-specific part number.
The assigned device-specific part number for the VC3x6 device is: 0001011.
Bits 2:0
20
"1" Mandatory High. Bits 2,1, and 0 are tied high by default.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
device part numbers
Table 7 lists all the available TMS470R1VC3x6 devices.
Table 7. Device Part Number†
DEVICE PART
NUMBER
PROGRAM MEMORY
ROM
FLASH
EEPROM
PACKAGE TYPE
TEMPERATURE RANGES
100-PIN
LQFP
−40°C TO 85°C
X
TMS470R1VC336APZA
X
X
TMS470R1VC336APZ-T
X
X
TMS470R1VC336APZQ
X
X
TMS470R1VC346APZA
X
X
TMS470R1VC346APZ-T
X
X
TMS470R1VC346APZQ
X
X
TMS470R1VC336BPZA
X
X
TMS470R1VC336BPZ-T
X
X
TMS470R1VC336BPZQ
X
X
TMS470R1VC346BPZA
X
X
TMS470R1VC346BPZ-T
X
X
TMS470R1VC346BPZQ
X
X
−40°C TO 105°C
−40°C TO 125°C
X
X
X
X
X
X
X
X
X
X
X
† The various part numbers listed in this table differ due to differences in either electrical specifications or functional errata. Electrical differences
will be noted in this datasheet. For functional errata, see the errata document for the specific part number you are using.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
21
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
DEVICE ELECTRICAL SPECIFICATIONS AND TIMING PARAMETERS
absolute maximum ratings over operating free-air temperature range, Q version
(unless otherwise noted)†
Supply voltage ranges: VCC (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 2.5 V
Supply voltage ranges: VCCIO , VCCAD (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 4.1 V
Input voltage range: All input pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −0.5 V to 4.1 V
Input clamp current: IIK (VI < 0 or VI > VCCIO)
All pins except ADIN[0:11], PORRST, TRST, TEST and TCK . . . . . . . . . . . . . . ±20 mA
IIK (VI < 0 or VI > VCCAD)
ADIN[0:11] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±10 mA
Operating free-air temperature ranges, TA: A version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −40°C to 85°C
T version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −40°C to 105°C
Q version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −40°C to 125°C
Operating junction temperature range, TJ A version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .−40°C to 115°C
T version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . − 40°C to 130°C
Q version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −40°C to 150°C
Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . −65°C to 150°C
† Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only,
and functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is
not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE 1: All voltage values are with respect to their associated grounds.
device recommended operating conditions‡
MIN
2.06
V
When operating at or below 85C ambient
temp and 115C juntion temp
1.70
2.06
V
3.3
3.6
V
3.3
3.6
V
VCCIO
Digital logic supply voltage (I/O)
3
VCCAD
ADC supply voltage
3
VSS
Digital logic supply ground
VSSAD
ADC supply ground
TA
Operating free-air temperature
0
− 0.1
V
0.1
A version
− 40
85
T version
− 40
105
Q version
− 40
125
A version
− 40
115
T version
− 40
130
Q version
− 40
150
‡ All voltages are with respect to VSS, except VCCAD, which is with respect to VSSAD.
22
UNIT
1.81
Digital logic supply voltage (Core)
Operating junction temperature
MAX
− 40C to 125C
VCC
TJ
NOM
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
V
°C
°C
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
electrical characteristics over recommended operating free-air temperature range, Q version
(unless otherwise noted)†
PARAMETER
Vhys
TEST CONDITIONS
Input hysteresis
VIL
Low-level input voltage
VIH
High-level input voltage
Vth
Input threshold voltage
All
All inputs except OSCIN
AWD only
Low-level output voltage¶
VOH
High-level output voltage¶
IIC
Input clamp current (I/O pins)#
Low-level output
current
AWD
only§
0.35 VCC
IOH = IOH MIN
V
VCCIO + 0.3
VCC + 0.3
1.35
1.8
V
45
Ω
0.2 VCCIO
0.2
0.8 VCCIO
VI < VSSIO − 0.3 or VI > VCCIO + 0.3
−2
2
−1
1
IIL Pulldown
VI = VSS
VI = VCCIO
IIL Pullup
VI = VSS
IIH Pullup
All other pins
CLKOUT, AWD, TDO
VOL = VOL MAX
8
RST, SPI1CLK, SPI1SOMI,
VOL = VOL MAX
SPI1SIMO, SPI2CLK,
SPI2SOMI, SPI2SIMO
4
5
40
–40
–5
VI = VCCIO
−1
1
No pullup or pulldown
−1
1
VOL = VOL MAX
mA
μA
mA
2
CLKOUT, TDO
VOH = VOH MIN
−8
SPI1CLK, SPI1SOMI,
SPI1SIMO, SPI2CLK,
SPI2SOMI, SPI2SIMO
VOH = VOH MIN
−4
VOH = VOH MIN
−2
RST||
V
V
VCCIO − 0.2
IIH Pulldown
All other output pins except
V
0.65 VCC
IOL = 50 μA
output pins||
High-level output
current
− 0.3
IOL = IOL MAX
All other
IOH
0.8
VOL = 0.35V @ IOL = 8mA
IOH = 50 μA
UNIT
V
− 0.3
2
OSCIN only
VOL
IOL
except OSCIN
OSCIN only
Drain to source on
resistance
Input current (I/O pins)
MAX
0.15
inputs‡
RDSON
II
MIN
mA
† Source currents (out of the device) are negative while sink currents (into the device) are positive.
‡ This does not apply to the PORRST pin. For PORRST exceptions, see the RST and PORRST timings section on page 30.
§ These values help to determine the external RC network circuit. For more details, see the TMS470R1x System Module Reference Guide
(literature number SPNU189).
¶ VOL and VOH are linear with respect to the amount of load current (IOL/IOH) applied.
# Parameter does not apply to input-only or output-only pins.
||
The 2 mA buffers on this device are called zero-dominant buffers. If two of these buffers are shorted together and one is outputting a low level
and the other is outputting a high level, the resulting value will always be low.
,I/O pins configured as inputs or outputs with no load. All pulldown inputs ≤ 0.2 V. All pullup inputs ≥ VCCIO − 0.2 V.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
23
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
electrical characteristics over recommended operating free-air temperature range, Q version
(unless otherwise noted) (continued)†
PARAMETER
TEST CONDITIONS
VCC Digital supply current (operating mode)
ICC
ICCIO
TYP
MAX
UNIT
SYSCLK = 48 MHz,
ICLK = 24 MHz, VCC = 2.06 V
50
mA
SYSCLK = 24 MHz,
ICLK = 12 MHz, VCC = 2.06 V
35
mA
VCC Digital supply current (standby mode)
OSCIN = 6 MHz, VCC = 2.06 V
3.0
mA
VCC Digital supply current (halt mode)
VCC = 2.06 V
1.0
mA
VCCIO Digital supply current (operating mode)
No DC load, VCCIO = 3.6 VI
10
mA
VI
300
μA
I
300
μA
VCCIO Digital supply current (standby mode)
VCCIO Digital supply current (halt mode)
ICCAD
MIN
No DC load, VCCIO = 3.6
No DC load, VCCIO = 3.6 V
VCCAD supply current (operating mode)
All frequencies, VCCAD = 3.6 V
18
mA
VCCAD supply current (standby mode)
All frequencies, VCCAD = 3.6 V
20
μA
VCCAD supply current (halt mode)
VCCAD = 3.6 V
20
μA
CI
Input capacitance
2
pF
CO
Output capacitance
3
pF
† Source currents (out of the device) are negative while sink currents (into the device) are positive.
‡ This does not apply to the PORRST pin. For PORRST exceptions, see the RST and PORRST timings section on page 30.
§ These values help to determine the external RC network circuit. For more details, see the TMS470R1x System Module Reference Guide
(literature number SPNU189).
¶ VOL and VOH are linear with respect to the amount of load current (IOL/IOH) applied.
# Parameter does not apply to input-only or output-only pins.
||
The 2 mA buffers on this device are called zero-dominant buffers. If two of these buffers are shorted together and one is outputting a low level
and the other is outputting a high level, the resulting value will always be low.
,I/O pins configured as inputs or outputs with no load. All pulldown inputs ≤ 0.2 V. All pullup inputs ≥ VCCIO − 0.2 V.
24
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
PARAMETER MEASUREMENT INFORMATION
IOL
Tester Pin
Electronics
50 Ω
VLOAD
Output
Under
Test
CL
IOH
Where: IOL
= IOL MAX for the respective pin (see Note A)
= IOH MIN for the respective pin (see Note A)
IOH
VLOAD = 1.5 V
= 150-pF typical load-circuit capacitance (see Note B)
CL
NOTES: A. For these values, see the electrical characteristics over recommended operating free-air temperature range table.
B. All timing parameters measured using an external load capacitance of 150 pF unless otherwise noted.
Figure 3. Test Load Circuit
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
25
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
timing parameter symbology
Timing parameter symbols have been created in accordance with JEDEC Standard 100. In order to shorten
the symbols, some of the pin names and other related terminology have been abbreviated as follows:
CM
CO
ER
ICLK
M
OSC, OSCI
OSCO
P
R
R0
R1
Compaction, CMPCT
CLKOUT
Erase
Interface clock
Master mode
OSCIN
OSCOUT
Program, PROG
Ready
Read margin 0, RDMRGN0
Read margin 1, RDMRGN1
RD
RST
RX
S
SCC
SIMO
SOMI
SPC
SYS
TX
Read
Reset, RST
SCInRX
Slave mode
SCInCLK
SPInSIMO
SPInSOMI
SPInCLK
System clock
SCInTX
r
su
t
v
w
rise time
setup time
transition time
valid time
pulse duration (width)
Lowercase subscripts and their meanings are:
a
c
d
f
h
access time
cycle time (period)
delay time
fall time
hold time
The following additional letters are used with these meanings:
26
H
High
X
L
V
Low
Valid
Z
POST OFFICE BOX 1443
Unknown, changing, or don’t care
level
High impedance
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
external reference resonator/crystal oscillator clock option
The oscillator is enabled by connecting the appropriate fundamental 4–20 MHz resonator/crystal and load
capacitors across the external OSCIN and OSCOUT pins as shown in Figure 4a. The oscillator is a singlestage inverter held in bias by an integrated bias resistor. This resistor is disabled during leakage test measurement and HALT mode. TI strongly encourages each customer to submit samples of the device to the
resonator/crystal vendors for validation. The vendors are equipped to determine what load capacitors will
best tune their resonator/crystal to the microcontroller device for optimum start-up and operation over temperature/voltage extremes.
An external oscillator source can be used by connecting a 1.8 V clock signal to the OSCIN pin and leaving the
OSCOUT pin unconnected (open) as shown in Figure 4b.
OSCIN
C1
(see Note A)
OSCOUT
Crystal
OSCIN
C2
(see Note A)
OSCOUT
External
Clock Signal
(toggling 0–1.8 V)
(a)
(b)
NOTE A: The values of C1 and C2 should be provided by the resonator/crystal vendor.
Figure 4. Crystal/Clock Connection
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
27
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
ZPLL and clock specifications
timing requirements for ZPLL circuits enabled or disabled
MIN
TYP
MAX
UNIT
20
MHz
f(OSC)
Input clock frequency
tc(OSC)
Cycle time, OSCIN
50
ns
tw(OSCIL)
Pulse duration, OSCIN low
15
ns
tw(OSCIH)
Pulse duration, OSCIN high
15
ns
f(OSCRST)
OSC FAIL
4
frequency†
53
kHz
† Causes a device reset (specifically a clock reset) by setting the RST OSC FAIL (GLBCTRL.15) and the OSC FAIL flag (GLBSTAT.1) bits equal
to 1. For more detailed information on these bits and device resets, see the TMS470R1x System Module Reference Guide (literature number
SPNU189).
switching characteristics over recommended operating conditions for clocks‡§
TEST CONDITIONS¶
PARAMETER
f(SYS)
System clock frequency
f(ICLK)
Interface clock frequency
f(ECLK)
External clock output frequency for ECP Module
tc(SYS)
Cycle time, system clock
tc(ICLK)
Cycle time, interface clock
tc(ECLK)
Cycle time, ECP module external clock output
MIN
MAX
Pipeline mode enabled
48
Pipeline mode disabled (VC346 only)
24
Pipeline mode disabled (VC336 only)
28
Pipeline mode enabled
25
Pipeline mode disabled
24
Pipeline mode enabled
25
Pipeline mode disabled
24
Pipeline mode enabled
20.8
Pipeline mode disabled (VC346 only)
41.6
Pipeline mode disabled (VC336 only)
35.7
Pipeline mode enabled
40
Pipeline mode disabled
41.6
Pipeline mode enabled
40
Pipeline mode disabled
41.6
UNIT
MHz
MHz
MHz
ns
ns
ns
‡ f(SYS) = M × f(OSC) / R, where M = {4 or 8}, R = {1,2,3,4,5,6,7,8} when PLLDIS = 0. R is the system-clock divider determined by the CLKDIVPRE
[2:0] bits in the global control register (GLBCTRL.[2:0]) and M is the PLL multiplier determined by the MULT4 bit also in the GLBCTRL register
(GLBCTRL.3).
f(SYS) = f(OSC) / R, where R = {1,2,3,4,5,6,7,8} when PLLDIS = 1.
f(ICLK) = f(SYS) / X, where X = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}. X is the interface clock divider ratio determined by the PCR0.[4:1] bits
in the SYS module.
§ f(ECLK) = f(ICLK) / N, where N = {1 to 256}. N is the ECP prescale value defined by the ECPCTRL.[7:0] register bits in the ECP module.
¶ Pipeline mode enabled or disabled is determined by the ENPIPE bit (REGOPT.0).
28
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
ZPLL and clock specifications (continued)
switching characteristics over recommended operating conditions for external clocks
(see Figure 5 and Figure 6)†‡§
NO.
PARAMETER
TEST CONDITIONS
MIN
SYSCLK or MCLK
1
tw(COL)
0.5tc(ICLK) – tf
ICLK, X is even or 1#
Pulse duration, CLKOUT low
ICLK, X is odd and not
1#
tw(COH)
Pulse duration, CLKOUT high ICLK, X is even or
0.5tc(ICLK) – tr
ICLK, X is odd and not 1
3
4
tw(EOH)
Pulse duration, ECLK low
Pulse duration, ECLK high
ns
0.5tc(SYS) – tr
1#
#
tw(EOL)
UNIT
0.5tc(ICLK) + 0.5tc(SYS) – tf
SYSCLK or MCLK¶
2
MAX
0.5tc(SYS) – tf
¶
N is even and X is even or odd
0.5tc(ECLK) – tf
N is odd and X is even
0.5tc(ECLK) – tf
N is odd and X is odd and not 1
0.5tc(ECLK) + 0.5tc(SYS) – tf
N is even and X is even or odd
0.5tc(ECLK) – tr
0.5tc(ECLK) – tr
N is odd and X is even
N is odd and X is odd and not 1
ns
0.5tc(ICLK) – 0.5tc(SYS) – tr
ns
ns
0.5tc(ECLK) – 0.5tc(SYS) – tr
† X = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}. X is the interface clock divider ratio determined by the PCR0.[4:1] bits in the SYS module.
‡ N = {1 to 256}. N is the ECP prescale value defined by the ECPCTRL.[7:0] register bits in the ECP module.
§ CLKOUT/ECLK pulse durations (low/high) are a function of the OSCIN pulse durations when PLLDIS is active.
¶ Clock source bits selected as either SYSCLK (CLKCNTL.[6:5] = 11 binary) or MCLK (CLKCNTL.[6:5] = 10 binary).
# Clock source bits selected as ICLK (CLKCNTL.[6:5] = 01 binary).
2
CLKOUT
1
Figure 5. CLKOUT Timing Diagram
4
ECLK
3
Figure 6. ECLK Timing Diagram
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
29
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
RST and PORRST timings
timing requirements for PORRST (see Figure 7)
MIN
NO.
3
MAX
UNIT
VCCPORL
VCC low supply level when PORRST must be active during power up
VCCPORH
VCC high supply level when PORRST must remain active during power up and
become active during power down
VCCIOPORL
VCCIO low supply level when PORRST must be active during power up
VCCIOPORH
VCCIO high supply level when PORRST must remain active during power up and
become active during power down
VIL
Low-level input voltage after VCCIO > VCCIOPORH
VIL(PORRST)
Low-level input voltage of PORRST before VCCIO > VCCIOPORL
tsu(PORRST)r
Setup time, PORRST active before VCCIO > VCCIOPORL during power up
0
ms
0.6
1.5
V
V
1.1
2.75
V
V
0.2 VCCIO
0.5
V
V
5
tsu(VCCIO)r
Setup time, VCCIO > VCCIOPORL before VCC > VCCPORL
0
ms
6
th(PORRST)r
Hold time, PORRST active after VCC > VCCPORH
1
ms
7
tsu(PORRST)f
Setup time, PORRST active before VCC ≤ VCCPORH during power down
8
μs
8
th(PORRST)rio
Hold time, PORRST active after VCC > VCCIOPORH
1
ms
9
th(PORRST)d
Hold time, PORRST active after VCC < VCCPORL
0
ms
10
tsu(PORRST)fio
Setup time, PORRST active before VCC ≤ VCCIOPORH during power down
0
ns
11
tsu(VCCIO)f
Setup time, VCC < VCCPORL before VCCIO < VCCIOPORL
0
ns
VCCIO
VCC
VCCIOPORH
VCCPORH
6
VCCIOPORL
VCC
VCCIO
PORRST
VCCIOPORH
VCCIO
8
11
VCC
7
6
VCCPORL
VCCPORH
10
7
VCCPORL
VCCIOPORL
5
3
9
VIL(PORRST)
VIL
VIL
VIL
VIL
VIL(PORRST)
Figure 7. PORRST Timing Diagram
switching characteristics over recommended operating conditions for RST†
PARAMETER
tv(RST)
MIN
4112tc(OSC)
Valid time, RST active after PORRST inactive
8tc(SYS)
Valid time, RST active (all others)
MAX
UNIT
ns
† Specified values do NOT include rise/fall times. For rise and fall timings, see the switching characteristics for output timings versus load
capacitance table.
30
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
JTAG scan interface timing (JTAG clock specification 10-MHz and 50-pF load on TDO output)
MIN
NO.
MAX
UNIT
1
tc(JTAG)
Cycle time, JTAG low and high period
50
ns
2
tsu(TDI/TMS - TCKr)
Setup time, TDI, TMS before TCK rise (TCKr)
15
ns
3
th(TCKr -TDI/TMS)
Hold time, TDI, TMS after TCKr
15
ns
4
th(TCKf -TDO)
Hold time, TDO after TCKf
10
ns
5
td(TCKf -TDO)
Delay time, TDO valid after TCK fall (TCKf)
45
ns
TCK
1
1
TMS
TDI
2
3
TDO
4
5
Figure 8. JTAG Scan Timing
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
31
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
output timings
switching characteristics for output timings versus load capacitance (CL) (see Figure 9)
MIN
PARAMETER
tr
tf
tf
tf
tr
tf
Rise time, CLKOUT, AWD, TDO
Fall time, CLKOUT, AWD, TDO
Rise time, SPI1CLK, SPI1SOMI, SPI1SIMO, SPI2CLK,
SPI2SOMI, SPI2SIMO
Fall time, RST, SPI1CLK, SPI1SOMI, SPI1SIMO, SPI2CLK,
SPI2SOMI, SPI2SIMO
Rise time, all other output pins
Fall time, all other output pins
0.5
2.50
CL = 50 pF
1.5
5
CL = 100 pF
3
9
CL = 150 pF
4.5
12.5
CL = 15 pF
0.5
2.5
CL = 50 pF
1.5
5
CL = 100 pF
3
9
CL = 150 pF
4.5
12.5
CL = 15 pF
2.5
8
CL= 50 pF
5
14
CL = 100 pF
9
23
CL = 150 pF
13
32
CL = 15 pF
2.5
8
CL= 50 pF
5
14
CL = 100 pF
9
23
CL = 150 pF
13
32
CL = 15 pF
2.5
10
CL = 50 pF
6.0
25
CL = 100 pF
12
45
CL = 150 pF
18
65
CL = 15 pF
3
10
CL = 50 pF
8.5
25
CL = 100 pF
16
45
CL = 150 pF
23
65
tr
tf
80%
Output
20%
VCC
80%
20%
Figure 9. CMOS-Level Outputs
32
POST OFFICE BOX 1443
MAX UNIT
CL = 15 pF
• HOUSTON, TEXAS 77251-1443
0
ns
ns
ns
ns
ns
ns
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
input timings
timing requirements for input timings† (see Figure 10)
MIN
tpw
tc(ICLK) + 10
Input minimum pulse width
MAX
UNIT
ns
† tc(ICLK) = interface clock cycle time = 1/f(ICLK)
tpw
Input
80%
20%
VCC
80%
20%
0
Figure 10. CMOS-Level Inputs
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
33
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn master mode timing parameters
SPIn master mode external timing parameters (CLOCK PHASE = 0, SPInCLK = output, SPInSIMO =
output, and SPInSOMI = input)†‡§ (see Figure 11)
NO.
1
2#
3#
MIN
tc(SPC)M
6
MAX
100
256tc(ICLK)
0.5tc(SPC)M + 5
tw(SPCH)M
Pulse duration, SPInCLK high (clock polarity = 0)
0.5tc(SPC)M – tr
tw(SPCL)M
Pulse duration, SPInCLK low (clock polarity = 1)
0.5tc(SPC)M – tf
0.5tc(SPC)M + 5
tw(SPCL)M
Pulse duration, SPInCLK low (clock polarity = 0)
0.5tc(SPC)M – tf
0.5tc(SPC)M + 5
tw(SPCH)M
Pulse duration, SPInCLK high (clock polarity = 1)
0.5tc(SPC)M – tr
0.5tc(SPC)M + 5
td(SPCH-SIMO)M
Delay time, SPInCLK high to SPInSIMO valid
(clock polarity = 0)
10
td(SPCL-SIMO)M
Delay time, SPInCLK low to SPInSIMO valid
(clock polarity = 1)
10
tv(SPCL-SIMO)M
Valid time, SPInSIMO data valid
tsu(SOMI-SPCL)M
Setup time, SPInSOMI before SPInCLK low
(clock polarity = 0)
6
tsu(SOMI-SPCH)M
Setup time, SPInSOMI before SPInCLK high
(clock polarity = 1)
6
tv(SPCL-SOMI)M
Valid time, SPInSOMI data valid after SPInCLK low
(clock polarity = 0)
4
tv(SPCH-SOMI)M
Valid time, SPInSOMI data valid after SPInCLK high
(clock polarity = 1)
4
4#
5#
Cycle time, SPInCLK
¶
#
7#
UNIT
ns
ns
ns
ns
tc(SPC)M – 5 – tr/f
ns
ns
ns
† The MASTER bit (SPInCTRL2.3) is set and the CLOCK PHASE bit (SPInCTRL2.0) is cleared.
‡ tc(ICLK) = interface clock cycle time = 1/f(ICLK)
§ For rise and fall timings, see the “switching characteristics for output timings versus load capacitance” table.
¶ When the SPI is in Master mode, the following must be true:
For PS values from 1 to 255:
tc(SPC)M ≥ (PS +1)tc(ICLK) ≥ 100 ns, where PS is the prescale value set in the SPInCTL1.[12:5] register bits.
For PS values of 0:
tc(SPC)M = 2tc(ICLK) ≥ 100 ns.
# The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPInCTRL2.1).
34
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn master mode timing parameters (continued)
1
SPInCLK
(clock polarity = 0)
2
3
SPInCLK
(clock polarity = 1)
4
5
SPInSIMO
Master Out Data Is Valid
6
7
SPInSOMI
Master In Data
Must Be Valid
Figure 11. SPIn Master Mode External Timing (CLOCK PHASE = 0)
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
35
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn master mode timing parameters (continued)
SPIn master mode external timing parameters (CLOCK PHASE = 1, SPInCLK = output, SPInSIMO =
output, and SPInSOMI = input)†‡§ (see Figure 12)
MIN
MAX
UNIT
100
256tc(ICLK)
ns
Pulse duration, SPInCLK high (clock polarity = 0)
0.5tc(SPC)M – tr
0.5tc(SPC)M + 5
tw(SPCL)M
Pulse duration, SPInCLK low (clock polarity = 1)
0.5tc(SPC)M – tf
0.5tc(SPC)M + 5
tw(SPCL)M
NO.
1
2#
3#
4
tc(SPC)M
Cycle time, SPInCLK
tw(SPCH)M
Pulse duration, SPInCLK low (clock polarity = 0)
0.5tc(SPC)M – tf
0.5tc(SPC)M + 5
tw(SPCH)M
Pulse duration, SPInCLK high (clock polarity = 1)
0.5tc(SPC)M – tr
0.5tc(SPC)M + 5
tv(SIMO-SPCH)M
Valid time, SPInCLK high after SPInSIMO data valid
(clock polarity = 0)
0.5tc(SPC)M – 10
tv(SIMO-SPCL)M
Valid time, SPInCLK low after SPInSIMO data valid
(clock polarity = 1)
0.5tc(SPC)M – 10
tv(SPCH-SIMO)M
Valid time, SPInSIMO data valid after SPInCLK high
(clock polarity = 0)
0.5tc(SPC)M – 5 – tr
tv(SPCL-SIMO)M
Valid time, SPInSIMO data valid after SPInCLK low
(clock polarity = 1)
0.5tc(SPC)M – 5 – tf
tsu(SOMI-SPCH)M
Setup time, SPInSOMI before SPInCLK high
(clock polarity = 0)
6
tsu(SOMI-SPCL)M
Setup time, SPInSOMI before SPInCLK low
(clock polarity = 1)
6
tv(SPCH-SOMI)M
Valid time, SPInSOMI data valid after SPInCLK high
(clock polarity = 0)
4
tv(SPCL-SOMI)M
Valid time, SPInSOMI data valid after SPInCLK low
(clock polarity = 1)
4
#
5#
6#
7
¶
#
ns
ns
ns
ns
ns
ns
† The MASTER bit (SPInCTRL2.3) is set and the CLOCK PHASE bit (SPInCTRL2.0) is set.
‡ tc(ICLK) = interface clock cycle time = 1/f(ICLK)
§ For rise and fall timings, see the "switching characteristics for output timings versus load capacitance" table.
¶ When the SPI is in Master mode, the following must be true:
For PS values from 1 to 255:
tc(SPC)M ≥ (PS +1)tc(ICLK) ≥ 100 ns, where PS is the prescale value set in the SPInCTL1.[12:5] register bits.
For PS values of 0:
tc(SPC)M = 2tc(ICLK) ≥ 100 ns.
# The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPInCTRL2.1).
36
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn master mode timing parameters (continued)
1
SPInCLK
(clock polarity = 0)
2
3
SPInCLK
(clock polarity = 1)
4
5
SPInSIMO
Master Out Data Is Valid
Data Valid
6
7
SPInSOMI
Master In Data
Must Be Valid
Figure 12. SPIn Master Mode External Timing (CLOCK PHASE = 1)
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
37
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn slave mode timing parameters
SPIn slave mode external timing parameters (CLOCK PHASE = 0, SPInCLK = input, SPInSIMO =
input, and SPInSOMI = output)†‡§¶ (see Figure 13)
NO.
1
4
5
MAX
UNIT
ns
Cycle time, SPInCLK
100
256tc(ICLK)
tw(SPCH)S
Pulse duration, SPInCLK high
(clock polarity = 0)
0.5tc(SPC)S – 0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCL)S
Pulse duration, SPInCLK low
(clock polarity = 1)
0.5tc(SPC)S – 0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCL)S
Pulse duration, SPInCLK low
(clock polarity = 0)
0.5tc(SPC)S – 0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCH)S
Pulse duration, SPInCLK high
(clock polarity = 1)
0.5tc(SPC)S – 0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
td(SPCH-SOMI)S
Delay time, SPInCLK high to SPInSOMI valid
(clock polarity = 0)
6 + tr
td(SPCL-SOMI)S
Delay time, SPInCLK low to SPInSOMI valid
(clock polarity = 1)
6 + tf
tv(SPCH-SOMI)S
Valid time, SPInSOMI data valid after
SPInCLK high (clock polarity =0)
tc(SPC)S – 6 – tr
tv(SPCL-SOMI)S
Valid time, SPInSOMI data valid after
SPInCLK low (clock polarity =1)
tc(SPC)S – 6 – tf
tsu(SIMO-SPCL)S
Setup time, SPInSIMO before SPInCLK low
(clock polarity = 0)
6
tsu(SIMO-SPCH)S
Setup time, SPInSIMO before SPInCLK high
(clock polarity = 1)
6
tv(SPCL-SIMO)S
Valid time, SPInSIMO data valid after
SPInCLK low (clock polarity = 0)
6
tv(SPCH-SIMO)S
Valid time, SPInSIMO data valid after
SPInCLK high (clock polarity = 1)
6
2||
3
MIN
tc(SPC)S
||
||
||
6||
7||
#
ns
ns
ns
ns
ns
ns
† The MASTER bit (SPInCTRL2.3) is cleared and the CLOCK PHASE bit (SPInCTRL2.0) is cleared.
‡ If the SPI is in slave mode, the following must be true: tc(SPC)S ≥ (PS + 1) tc(ICLK), where PS = prescale value set in SPInCTL1.[12:5].
§ For rise and fall timings, see the "switching characteristics for output timings versus load capacitance" table.
¶ tc(ICLK) = interface clock cycle time = 1/f(ICLK)
# When the SPIn is in Slave mode, the following must be true:
For PS values from 1 to 255:
tc(SPC)S ≥ (PS +1)tc(ICLK) ≥ 100 ns, where PS is the prescale value set in the SPInCTL1.[12:5] register bits.
For PS values of 0:
tc(SPC)S = 2tc(ICLK) ≥ 100 ns.
||
The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPInCTRL2.1).
38
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn slave mode timing parameters (continued)
1
SPInCLK
(clock polarity = 0)
2
3
SPInCLK
(clock polarity = 1)
4
5
SPInSOMI
SPISOMI Data Is Valid
6
7
SPInSIMO
SPISIMO Data
Must Be Valid
Figure 13. SPIn Slave Mode External Timing (CLOCK PHASE = 0)
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
39
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn slave mode timing parameters (continued)
SPIn slave mode external timing parameters (CLOCK PHASE = 1, SPInCLK = input, SPInSIMO =
input, and SPInSOMI = output)†‡§¶ (see Figure 14)
NO.
1
2
MIN
MAX
UNIT
100
256tc(ICLK)
ns
Pulse duration, SPInCLK high
(clock polarity = 0)
0.5tc(SPC)S –0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCL)S
Pulse duration, SPInCLK low
(clock polarity = 1)
0.5tc(SPC)S –0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCL)S
Pulse duration, SPInCLK low
(clock polarity = 0)
0.5tc(SPC)S –0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tw(SPCH)S
Pulse duration, SPInCLK high
(clock polarity = 1)
0.5tc(SPC)S –0.25tc(ICLK)
0.5tc(SPC)S + 0.25tc(ICLK)
tv(SOMI-SPCH)S
Valid time, SPInCLK high after SPInSOMI
data valid (clock polarity = 0)
0.5tc(SPC)S – 6 – tr
tv(SOMI-SPCL)S
Valid time, SPInCLK low after SPInSOMI
data valid (clock polarity = 1)
0.5tc(SPC)S – 6 – tf
tv(SPCH-SOMI)S
Valid time, SPInSOMI data valid after
SPInCLK high (clock polarity =0)
0.5tc(SPC)S – 6 – tr
tv(SPCL-SOMI)S
Valid time, SPInSOMI data valid after
SPInCLK low (clock polarity =1)
0.5tc(SPC)S – 6 – tf
tsu(SIMO-SPCH)S
Setup time, SPInSIMO before SPInCLK
high (clock polarity = 0)
6
tsu(SIMO-SPCL)S
Setup time, SPInSIMO before SPInCLK
low (clock polarity = 1)
6
tv(SPCH-SIMO)S
Valid time, SPInSIMO data valid after
SPInCLK high (clock polarity = 0)
6
tv(SPCL-SIMO)S
Valid time, SPInSIMO data valid after
SPInCLK low (clock polarity = 1)
6
tc(SPC)S
Cycle time, SPInCLK
tw(SPCH)S
||
3||
4||
5||
6||
7||
#
ns
ns
ns
ns
ns
ns
† The MASTER bit (SPInCTRL2.3) is cleared and the CLOCK PHASE bit (SPInCTRL2.0) is set.
‡ If the SPI is in slave mode, the following must be true: tc(SPC)S ≥ (PS + 1) tc(ICLK), where PS = prescale value set in SPInCTL1.[12:5].
§ For rise and fall timings, see the "switching characteristics for output timings versus load capacitance" table.
¶ tc(ICLK) = interface clock cycle time = 1/f(ICLK)
# When the SPIn is in Slave mode, the following must be true:
For PS values from 1 to 255:
tc(SPC)S ≥ (PS +1)tc(ICLK) ≥ 100 ns, where PS is the prescale value set in the SPInCTL1.[12:5] register bits.
For PS values of 0:
tc(SPC)S = 2tc(ICLK) ≥ 100 ns.
||
The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPInCTRL2.1).
40
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SPIn slave mode timing parameters (continued)
1
SPInCLK
(clock polarity = 0)
2
3
SPInCLK
(clock polarity = 1)
4
5
SPInSOMI
SPISOMI Data Is Valid
Data Valid
6
7
SPInSIMO
SPISIMO Data Must
Be Valid
Figure 14. SPIn Slave Mode External Timing (CLOCK PHASE = 1)
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
41
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SCIn isosynchronous mode timings — internal clock
timing requirements for internal clock SCIn isosynchronous mode†‡§ (see Figure 15)
(BAUD + 1)
IS EVEN OR BAUD = 0
NO.
(BAUD + 1)
IS ODD AND BAUD ≠ 0
UNIT
MIN
MAX
MIN
MAX
2tc(ICLK)
224tc(ICLK)
3tc(ICLK)
(224 –1) tc(ICLK)
1
tc(SCC)
Cycle time, SCInCLK
2
tw(SCCL)
Pulse duration,
SCInCLK low
0.5tc(SCC) – tf
0.5tc(SCC) + 5
0.5tc(SCC) +0.5tc(ICLK) – tf 0.5tc(SCC) +0.5tc(ICLK)
ns
3
tw(SCCH)
Pulse duration,
SCInCLK high
0.5tc(SCC) – tr
0.5tc(SCC) + 5
0.5tc(SCC) –0.5tc(ICLK) – tr 0.5tc(SCC) –0.5tc(ICLK)
ns
4
td(SCCH-TXV)
Delay time, SCInCLK
high to SCInTX valid
5
tv(TX)
Valid time, SCInTX data
after SCInCLK low
6
tsu(RX-SCCL)
Setup time, SCInRX
before SCInCLK low
7
tv(SCCL-RX)
Valid time, SCInRX data
- tc(ICLK) + tf + 20
after SCInCLK low
10
10
ns
tc(SCC) – 10
tc(SCC) – 10
ns
tc(ICLK) + tf + 20
tc(ICLK) + tf + 20
ns
- tc(ICLK) + tf + 20
ns
† BAUD = 24-bit concatenated value formed by the SCI[H,M,L]BAUD registers.
‡ tc(ICLK) = interface clock cycle time = 1/f(ICLK)
§ For rise and fall timings, see the "switching characteristics for output timings versus load capacitance" table.
1
3
2
SCICLK
5
4
Data Valid
SCITX
6
7
Data Valid
SCIRX
NOTE A: Data transmission/reception characteristics for isosynchronous mode with internal clocking are similar to the asynchronous
mode. Data transmission occurs on the SCICLK rising edge, and data reception on the SCICLK falling edge.
Figure 15. SCIn Isosynchronous Mode Timing Diagram for Internal Clock
42
ns
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
SCIn isosynchronous mode timings — external clock
timing requirements for external clock SCIn isosynchronous mode†‡ (see Figure 16)
NO.
MIN
MAX
8tc(ICLK)
UNIT
1
tc(SCC)
Cycle time, SCInCLK
2
tw(SCCH)
Pulse duration, SCInCLK high
0.5tc(SCC) – 0.25tc(ICLK)
0.5tc(SCC) + 0.25tc(ICLK)
ns
3
tw(SCCL)
Pulse duration, SCInCLK low
0.5tc(SCC) – 0.25tc(ICLK)
0.5tc(SCC) + 0.25tc(ICLK)
ns
4
td(SCCH-TXV)
Delay time, SCInCLK high to SCInTX valid
2tc(ICLK) + 12 + tr
ns
5
tv(TX)
Valid time, SCInTX data after SCInCLK low
6
tsu(RX-SCCL)
Setup time, SCInRX before SCInCLK low
7
tv(SCCL-RX)
Valid time, SCInRX data after SCInCLK low
§
ns
2tc(SCC)–10
ns
0
ns
2tc(ICLK) + 10
ns
† tc(ICLK) = interface clock cycle time = 1/f(ICLK)
‡ For rise and fall timings, see the "switching characteristics for output timings versus load capacitance" table.
§ When driving an external SCInCLK, the following must be true: tc(SCC) ≥ 8tc(ICLK)
1
2
3
SCICLK
5
4
Data Valid
SCITX
6
7
Data Valid
SCIRX
NOTE A: Data transmission/reception characteristics for isosynchronous mode with external clocking are similar to the asynchronous mode.
Data transmission occurs on the SCICLK rising edge, and data reception on the SCICLK falling edge.
Figure 16. SCIn Isosynchronous Mode Timing Diagram for External Clock
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
43
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
high-end timer (HET) timings
minimum PWM output pulse width:
This is equal to one High Resolution Clock Period (HRP). The HRP is defined by the 6-bit High Resolution
Prescale Factor (hr) which is user defined, giving prescale factors of 1 to 64, with a linear increment of codes.
Therefore, the minimum PWM output pulse width = HRP(min) = hr(min)/SYSCLK = 1/SYSCLK
For example, for a SYSCLK of 30 MHz, the minimum PWM output pulse width = 1/30 = 33.33ns
minimum input pulses we can capture:
The input pulse width must be greater or equal to the Low Resolution Clock Period (LRP), i.e., the HET loop
(the HET program must fit within the LRP). The LRP is defined by the 3-bit Loop-Resolution Prescale Factor
(lr), which is user defined, with a power of 2 increment of codes. That is, the value of lr can be 1, 2, 4, 8, 16, or 32.
Therefore, the minimum input pulse width = LRP(min) = hr(min) * lr(min)/SYSCLK = 1 * 1/SYSCLK
For example, with a SYSCLK of 30 MHz, the minimum input pulse width = 1 * 1/30 = 33.33 ns
Note: Once the input pulse width is greater than LRP, the resolution of the measurement is still HRP. (That is,
the captured value gives the number of HRP clocks inside the pulse.)
Abbreviations:
High resolution clock period = HRP = hr/SYSCLK
Loop resolution clock period = LRP = hr*lr/SYSCLK
hr = HET high resolution divide rate = 1, 2, 3,...63, 64
lr = HET low resolution divide rate = 1, 2, 4, 8, 16, 32
44
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
standard CAN controller (SCC) mode timings
dynamic characteristics for the CANSTX and CANSRX pins
MIN
PARAMETER
td(CANSTX)
Delay time, transmit shift register to CANSTX pin†
td(CANSRX)
Delay time, CANSRX pin to receive shift register
MAX
UNIT
15
ns
5
ns
† These values do not include rise/fall times of the output buffer.
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
45
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
multi-buffered A-to-D converter (MibADC)
The multi-buffered A-to-D converter (MibADC) has a separate power bus for its analog circuitry that enhances
the A-to-D performance by preventing digital switching noise on the logic circuitry which could be present on
VSS and VCC from coupling into the A-to-D analog stage. All A-to-D specifications are given with respect to
ADREFLO unless otherwise noted.
Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 bits (1024 values)
Monotonic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assured
Output conversion code . . . . . . . . . . . . . . . . . . . . . . . .00h to 3FFh [00 for VAI ≤ADREFLO; 3FF for VAI ≥ ADREFHI]
MibADC recommended operating conditions†
ADREFHI
A-to-D high -voltage reference source
ADREFLO
A-to-D low-voltage reference source
VAI
Analog input voltage
MAX
UNIT
VCCAD
V
VSSAD
VCCAD
V
VSSAD − 0.3
VCCAD + 0.3
V
−2
2
mA
‡
Analog input clamp current
(VAI < VSSAD – 0.3 or VAI > VCCAD + 0.3)
IAIC
MIN
VSSAD
† For VCCAD and VSSAD recommended operating conditions, see the "device recommended operating conditions" table.
‡ Input currents into any ADC input channel outside the specified limits could affect conversion results of other channels.
operating characteristics over full ranges of recommended operating conditions§¶
PARAMETER
Analog input resistance
See Figure 17
Ci
Analog input capacitance
See Figure 17
IAIL
Analog input leakage current
See Figure 17
IADREFHI
ADREFHI input current
ADREFHI = 3.6 V, ADREFLO = VSSAD
CR
Conversion range over which specified
accuracy is maintained
ADREFHI − ADREFLO
EDNL
Differential nonlinearity error
EINL
ETOT
MIN
MAX
UNIT
250
500
Ω
Conversion
10
pF
Sampling
30
pF
250
nA
5
mA
–250
3.6
V
Difference between the actual step width and the
ideal value after offset correction. (See Figure 18)
±2
LSB
Integral nonlinearity error
Maximum deviation from the best straight line through
the MibADC. MibADC transfer characteristics,
excluding the quantization error after offset
correction.
(See Figure 19)
±2
LSB
Total error/Absolute accuracy
Maximum value of the difference between an analog
value and the ideal midstep value.
(See Figure 20)
±2
LSB
§ VCCAD = ADREFHI
¶ 1 LSB = (ADREFHI – ADREFLO)/210 for the MibADC
46
TYP
DESCRIPTION/CONDITIONS
Ri
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
3
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
multi-buffered A-to-D converter (MibADC) (continued)
External
Rs
MibADC
Input Pin
Ri
Sample Switch
Parasitic
Capacitance
Vsrc
Sample
Capacitor
Rleak
Ci
Figure 17. MibADC Input Equivalent Circuit
multi-buffer ADC timing requirements
MIN
NOM
MAX
UNIT
μs
tc(ADCLK)
Cycle time, MibADC clock
td(SH)
Delay time, sample and hold time
1
μs
td(C)
Delay time, conversion time
0.55
μs
td(SHC)(1)
Delay time, total sample/hold and conversion time
1.55
μs
0.05
† This is the minimum sample/hold and conversion time that can be achieved. These parameters are dependent on many factors; for more
details, see the TMS470R1x Multi-Buffered Analog-to-Digital (MibADC) Reference Guide (literature number SPNU206).
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
47
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
multi-buffered A-to-D converter (MibADC) (continued)
The differential nonlinearity error shown in Figure 18 (sometimes referred to as differential linearity) is the
difference between an actual step width and the ideal value of 1 LSB.
0 ... 110
Digital Output Code
0 ... 101
0 ... 100
0 ... 011
Differential
Linearity Error (1/2 LSB)
1 LSB
0 ... 010
0 ... 001
1 LSB
Differential Linearity
Error (–1/2 LSB)
0 ... 000
0
1
2
3
4
Analog Input Value (LSB)
5
NOTE A: 1 LSB = (ADREFHI – ADREFLO)/210
Figure 18. Differential Nonlinearity (DNL)
The integral nonlinearity error shown in Figure 19 (sometimes referred to as linearity error) is the deviation of
the values on the actual transfer function from a straight line.
0 ... 111
Digital Output Code
0 ... 110
Ideal
Transition
0 ... 101
Actual
Transition
0 ... 100
At Transition
011/100
(– 1/2 LSB)
0 ... 011
0 ... 010
End-Point Lin. Error
0 ... 001
At Transition
001/010 (– 1/4 LSB)
0 ... 000
0
1
2
3
4
5
6
Analog Input Value (LSB)
NOTE A: 1 LSB = (ADREFHI – ADREFLO)/210
Figure 19. Integral Nonlinearity (INL) Error
48
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
7
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
multi-buffer A-to-D converter (MibADC) (continued)
The absolute accuracy or total error of an MibADC as shown in Figure 20 is the maximum value of the difference
between an analog value and the ideal midstep value.
0 ... 111
Digital Output Code
0 ... 110
0 ... 101
0 ... 100
Total Error
At Step 0 ... 101
(–1 1/4 LSB)
0 ... 011
0 ... 010
Total Error
At Step
0 ... 001 (1/2 LSB)
0 ... 001
0 ... 000
0
1
2
3
4
5
6
Analog Input Value (LSB)
NOTE A: 1 LSB = (ADREFHI – ADREFLO)/210
7
Figure 20. Absolute Accuracy (Total) Error
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
49
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
MECHANICAL DATA
PZ (S-PQFP-G100)
PLASTIC QUAD FLATPACK
0,27
0,17
0,50
75
0,08 M
51
76
50
100
26
1
0,13 NOM
25
12,00 TYP
Gage Plane
14,20
SQ
13,80
16,20
SQ
15,80
0,05 MIN
1,45
1,35
0,25
0°-7°
0,75
0,45
Seating Plane
0,08
1,60 MAX
4040149/B 11/96
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MS-026.
Thermal Resistance Characteristics
50
PARAMETER
°C/W
RΘJA
51
RΘJC
5
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
List of Figures
TMS470R1VC336 100-Pin PZ Package (TOP VIEW)
TMS470R1VC346 100-Pin PZ Package (TOP VIEW)
Functional Block Diagram
Figure 1. Memory Map
Figure 2. TMS470R1x Family Nomenclature
Figure 3. Test Load Circuit
Figure 4. Crystal/Clock Connection
Figure 5. CLKOUT Timing Diagram
Figure 6. ECLK Timing Diagram
Figure 7. PORRST Timing Diagram
Figure 8. JTAG Scan Timing
Figure 9. CMOS-Level Outputs
Figure 10. CMOS-Level Inputs
Figure 11. SPIn Master Mode External Timing (CLOCK PHASE = 0)
Figure 12. SPIn Master Mode External Timing (CLOCK PHASE = 1)
Figure 13. SPIn Slave Mode External Timing (CLOCK PHASE = 0)
Figure 14. SPIn Slave Mode External Timing (CLOCK PHASE = 1)
Figure 15. SCIn Isosynchronous Mode Timing Diagram for Internal Clock
Figure 16. SCIn Isosynchronous Mode Timing Diagram for External Clock
Figure 17. MibADC Input Equivalent Circuit
Figure 18. Differential Nonlinearity (DNL)
Figure 19. Integral Nonlinearity (INL) Error
Figure 20. Absolute Accuracy (Total) Error
Mechanical Data
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
51
TMS470R1VC336, TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
SPNS084E – MAY 2003 – REVISED AUGUST 2006
List of Tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
52
Device Characteristics
VC3x6 Memory Selection Assignment
VC3x6 Peripherals and System Module Base Addresses
Interrupt Priority
MibADC Event Hookup Configuration
TMS470 Device ID Bit Allocation Register
Device Part Number
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
TMS470R1VC336,TMS470R1VC346
16/32-BIT RISC ROM MICROCONTROLLERS
REVISION HISTORY
REVISION HISTORY
REV
E
DATE
8/06
NOTES
Updates:
Throughout, VC336 system clock in non-pipeline mode changed to 28MHz
Page 34, timing #5 updated
Page 46, analog input leakage current updated
POST OFFICE BOX 1443
• HOUSTON, TEXAS 77251-1443
53
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements,
improvements, and other changes to its products and services at any time and to discontinue any product or service without
notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is
current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order
acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s
standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this
warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily
performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
application s using TI components. To minimize the risks associated with customer products and applications, customers should
provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask
work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services
are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such
products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under
the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is
accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is
an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation.
Resale of TI products or services with statements different form or beyond the parameters stated by TI for that product or service
voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business
practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products
Amplifiers
Data Converters
DSP
Interface
Logic
Power Mgmt
Microcontrollers
Low Power Wireless
Mailing Address:
Applications
amplifier.ti.com
dataconverter.ti.com
dsp.ti.com
interface.ti.com
logic.ti.com
power.ti.com
microcontroller.ti.com
www..ti.com/lpw
Audio
Automotive
Broadband
Digital Control
Military
Optical Networking
Security
Telephony
Video & Imaging
www.ti.com/audio
www.ti.com/automotive
www.ti.com/broadband
www.ti.com/digitalcontrol
www.ti.com/military
www.ti.com/opticalnetwork
www.ti.com/security
www.ti.com/telephony
www.ti.com/video
Imaging Wireless
www.ti.com/wireless
Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright © 2006, Texas Instruments Incorporated