16/32-bit risc flash microcontroller - ti.com · gioc[4] gioc[3] rst v ss v cc test gioh[5] gioc[2]...
Embed Size (px)
TRANSCRIPT
-
1FEATURES
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
16/32-Bit RISC Flash Microcontroller
23• High-Performance Static CMOS Technology – Two Serial Communication Interfaces(SCIs)• TMS470R1x 16/32-Bit RISC Core
(ARM7TDMI™) – 224 Selectable Baud Rates– 24-MHz System Clock (48-MHz Pipeline) – Asynchronous/Isosynchronous Modes– Independent 16/32-Bit Instruction Set – Two Standard CAN Controllers (SCC)– Open Architecture With Third-Party Support – 16-Mailbox Capacity– Built-In Debug Module – Fully Compliant With CAN Protocol,
Version 2.0B• Integrated Memory– Class II Serial Interface B (C2SIb)– 384K-Byte Program Flash
– Normal 10.4 Kbps and 4X Mode– Three Banks With 18 Contiguous41.6 KbpsSectors
– Three Inter-Integrated Circuit (I2C) Modules– 32K-Byte Static RAM (SRAM)(See I2C Notes in TMS470R1A384 Silicon• Operating FeaturesErrata, Literature Number SPNZ148)
– Core Supply Voltage (VCC): 1.71 V to 2.05 V – Multi-Master and Slave Interfaces– I/O Supply Voltage (VCCIO): 3.0 V to 3.6 V – Up to 400 Kbps (Fast Mode)– Low-Power Modes: STANDBY and HALT
– 7- and 10-Bit Address Capability– Extended Industrial Temperature Range
• High-End Timer (HET)• 470+ System Module
– 12 Programmable I/O Channels:– 32-Bit Address Space Decoding
– 12 High-Resolution Pins– Bus Supervision for Memory/Peripherals
– High-Resolution Share Feature (XOR)– Analog Watchdog (AWD) Timer
– High-End Timer RAM– Enhanced Real-Time Interrupt (RTI)
– 64-Instruction Capacity– Interrupt Expansion Module (IEM)
• External Clock Prescale (ECP) Module– System Integrity and Failure Detection
– Programmable Low-Frequency External• Direct Memory Access (DMA) Controller Clock (CLK)
– 32 Control Packets and 16 Channels • 12-Channel 10-Bit Multi-Buffered• Zero-Pin Phase-Locked Loop (ZPLL)-Based Analog-to-Digital Converter (MibADC)
Clock Module With Prescaler – 32-Word FIFO Buffer– Multiply-by-4 or -8 Internal ZPLL Option – Single- or Continuous-Conversion Modes– ZPLL Bypass Mode – 1.55-µs Minimum Sample/Conversion Time
• Expansion Bus Module (EBM) (PGE Package) – Calibration Mode and Self-Test Features– Supports 8- and 16-Bit Expansion Bus • 55 Dedicated General-Purpose I/O (GIO) Pins
Memory Interface Mappings and 39 Additional Peripheral I/Os (PGE)– 40 I/O Expansion Bus Pins • 14 Dedicated General-Purpose I/O (GIO) Pins
• Ten Communication Interfaces: and 39 Additional Peripheral I/Os (PZ)– Two Serial Peripheral Interfaces (SPIs) • Flexible Interrupt Handling
– 255 Programmable Baud Rates • Eight External Interrupts
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications ofTexas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
2ARM7TDMI is a trademark of Advanced RISC Machines Limited (ARM).3All other trademarks are the property of their respective owners.
PRODUCTION DATA information is current as of publication date. Copyright © 2005–2008, Texas Instruments IncorporatedProducts conform to specifications per the terms of the TexasInstruments standard warranty. Production processing does notnecessarily include testing of all parameters.
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www-s.ti.com/sc/techlit/SPNZ148
-
HET[1]HET[2]
VCCIOGIOE[6]
HET[4]HET[3]GIOE[5]VSS
GIOE[2]SPI2SOMI
SPI2ENASPI2SIMO
GIOE[3]SPI2SCSHET[5]GIOE[4]
GIOD[0]GIOH[1]
SCI2RX
SCI1RX
GIOE[0]GIOB[0]
SCI1TX
SCI1CLKGIOE[1]
SCI2TX
VSSSCI2CLK
VCCCAN2SRXCAN2STXSPI2CLK
GIOD[1]
GIOH[4]GIOH[3]
GIOH[2]
727170696867666564636261605958575655545352515049484746454443424140393837
109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
ADREFHIADREFLO
VCCADVSSAD
ADIN[4]ADIN[3]ADIN[2]ADIN[1]ADIN[0]
PORRSTGIOC[4]GIOC[3]
RSTVSSVCC
TESTGIOH[5]GIOC[2]
GIOA[4]/INT[4]GIOC[1]
VSSVCC
VCCPFLTP2
GIOA[3]/INT[3]GIOA[2]/INT[2]
GIOC[0]GIOA[1]/INT[1]/ECLK
VCCIOVSS
GIOH[0]GIOG[7]
GIOA[0]/INT[0]GIOG[6]GIOG[5]
TRST
AD
IN[5
]A
DIN
[6]
AD
IN[7
]A
DIN
[8]
AD
IN[9
]A
DIN
[10]
AD
IN[1
1]A
DE
VT
GIO
F[7
]G
IOF
[6]
GIO
A[5
]/IN
T[5
]P
LL
DIS
GIO
F[5
]I2
C2S
CL
I2C
2SD
AG
IOF
[4]
VC
CV
SS
GIO
F[3
]G
IOF
[2]
I2C
1SC
LI2
C1S
DA
VC
CIO
VS
SC
AN
1ST
XC
AN
1SR
XG
IOF
[1]
CL
KO
UT
GIO
F[0
]G
IOA
[7]/
INT
[7]
GIO
A[6
]/IN
T[6
]G
IOE
[7]
TC
KT
DO
TD
IH
ET
[0]
108
107
106
105
104
103
102
101
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73
1 2 3 4 5 6 7 8 9
SP
I1S
CS
SP
I1E
NA
GIO
G[4
]S
PI1
CL
KS
PI1
SIM
OG
IOG
[3]
SP
I1S
OM
IG
IOG
[2]
HE
T[6
]10 11 12 13 14 15 16 17 18 19 20 21
GIO
G[1
]H
ET
[7]
HE
T[8
]V
CC
VS
SH
ET
[18]
TM
S2
TM
SH
ET
[20]
HE
T[2
2]G
IOG
[0]
C2S
ILP
N22 23 24 25 26 27 28 29 30 31 32 33
C2S
IRX
GIO
D[5
]C
2SIT
XV
CC
IOV
SS
GIO
D[4
]I2
C3S
CL
I2C
3SD
AG
IOD
[3]
VC
CO
SC
OU
TO
SC
IN34 35 36
VS
SG
IOD
[2]
AW
D
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
• On-Chip Scan-Base Emulation Logic, IEEE • 100-Pin Plastic Low-Profile Quad FlatpackStandard 1149.1(1) (JTAG) Test-Access Port (PZ Suffix)
• 144-Pin Plastic Low-Profile Quad Flatpack (1) The test-access port is compatible with the IEEE Standard1149.1-1990, IEEE Standard Test-Access Port and Boundary(PGE Suffix)Scan Architecture specification. Boundary scan is notsupported on this device.
TMS470R1A384 144-Pin PGE Package (Top View) (Without Expansion Bus)
2 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
HET[1]HET[2]
VCCIOEBDATA[6]
HET[4]HET[3]EBDATA[5]VSS
EBDATA[2]SPI2SOMI
SPI2ENASPI2SIMO
EBDATA[3]SPI2SCSHET[5]EBDATA[4]
EBADDR[0]EBADDR[23]/EBADDR[15]
SCI2RX
SCI1RX
EBDATA[0]EBDMAREQ[0]
SCI1TX
SCI1CLKEBDATA[1]
SCI2TX
VSSSCI2CLK
VCCCAN2SRXCAN2STXSPI2CLK
EBADDR[1]
EBADDR[26]/EBADDR[18]EBADDR[25]/EBADDR[17]
EBADDR[24]/EBADDR[16]
727170696867666564636261605958575655545352515049484746454443424140393837
109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
ADREFHIADREFLO
VCCADVSSAD
ADIN[4]ADIN[3]ADIN[2]ADIN[1]ADIN[0]
PORRSTEBCS[6]EBCS[5]
RSTVSSVCC
TESTEBHOLDEBWR[1]
GIOA[4]/INT[4]EBWR[0]
VSSVCC
VCCPFLTP2
GIOA[3]/INT[3]GIOA[2]/INT[2]
EBOEGIOA[1]/INT[1]/ECLK
VCCIOVSS
EBADDR[22]/EBADDR[14]EBADDR[21]/EBADDR[13]
GIOA[0]/INT[0]EBADDR[20]/EBADDR[12]EBADDR[19]/EBADDR[11]
TRST
AD
IN[5
]A
DIN
[6]
AD
IN[7
]A
DIN
[8]
AD
IN[9
]A
DIN
[10]
AD
IN[1
1]A
DE
VT
EB
AD
DR
[13]
/EB
DA
TA[1
5]E
BA
DD
R[1
2]/E
BD
ATA
[14]
GIO
A[5
]/IN
T[5
]P
LL
DIS
EB
AD
DR
[11]
/EB
DA
TA[1
3]I2
C2S
CL
I2C
2SD
AE
BA
DD
R[1
0]/E
BD
ATA
[12]
VC
CV
SS
EB
AD
DR
[9]/
EB
DA
TA[1
1]E
BA
DD
R[8
]/E
BD
ATA
[10]
I2C
1SC
LI2
C1S
DA
VC
CIO
VS
SC
AN
1ST
XC
AN
1SR
XE
BA
DD
R[7
]/E
BD
ATA
[9]
CL
KO
UT
EB
AD
DR
[6]/
EB
DA
TA[8
]G
IOA
[7]/
INT
[7]
GIO
A[6
]/IN
T[6
]E
BD
ATA
[7]
TC
KT
DO
TD
IH
ET
[0]
108
107
106
105
104
103
102
101
100
99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73
1 2 3 4 5 6 7 8 9
SP
I1S
CS
SP
I1E
NA
EB
AD
DR
[18]
/EB
AD
DR
[10]
SP
I1C
LK
SP
I1S
IMO
EB
AD
DR
[17]
/EB
AD
DR
[9]
SP
I1S
OM
IE
BA
DD
R[1
6]/E
BA
DD
R[8
]H
ET
[6]
10 11 12 13 14 15 16 17 18 19 20 21
EB
AD
DR
[15]
/EB
AD
DR
[7]
HE
T[7
]H
ET
[8]
VC
CV
SS
HE
T[1
8]T
MS
2T
MS
HE
T[2
0]H
ET
[22]
EB
AD
DR
[14]
/EB
AD
DR
[6]
C2S
ILP
N22 23 24 25 26 27 28 29 30 31 32 33
C2S
IRX
EB
AD
DR
[5]
C2S
ITX
VC
CIO
VS
SE
BA
DD
R[4
]I2
C3S
CL
I2C
3SD
AE
BA
DD
R[3
]V
CC
OS
CO
UT
OS
CIN
34 35 36
VS
SE
BA
DD
R[2
]A
WD
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
TMS470R1A384 144-Pin PGE Package (Top View) (with Expansion Bus)
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 3
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
1 2 3 4 5 6 7 8 9 10 11 12 1413 15 16 2017 18 19 2221 23 2524
75 74 73 72 71 70 6869 67 66 6465 6263 61 60 565859 57 5455 53 5152
50494847464544434241403938373635343332313029282726
767778798081828384858687888990919293949596979899100
ADREFHIADREFLO
VCCADVSSAD
ADIN[4]ADIN[3]ADIN[2]ADIN[1]ADIN[0]
PORRSTRST
TESTGIOH[5]
GIOA[4]/INT[4]VSSVCC
VCCPFLTP2
GIOA[3]/INT[3]GIOA[2]/INT[2]
GIOA[1]/INT[1]/ECLKVCCIO
VSSGIOA[0]/INT[0]
TRST
HET[1]HET[2]VCCIOVSSHET[3]HET[4]HET[5]SPI2SCSSPI2ENASPI2SIMOSPI2SOMISPI2CLKCAN2STXCAN2SRXSCI2CLKSCI2RXSCI2TXSCI1CLKSCI1RXSCI1TXGIOB[0]GIOH[1]GIOH[2]GIOH[3]GIOH[4]
AD
IN[5
]A
DIN
[6]
AD
IN[7
]A
DIN
[8]
AD
IN[9
]A
DIN
[10]
AD
IN[1
1]A
DE
VT
GIO
A[5
]/IN
T[5
]P
LL
DIS
I2C
2SC
LI2
C2S
DA
VC
CV
SS
I2C
1SC
LI2
C1S
DA
CA
N1S
TX
CA
N1S
RX
CL
KO
UT
GIO
A[7
]/IN
T[7
]G
IOA
[6]/
INT
[6]
TC
KT
DO
TD
IH
ET
[0]
SP
I1S
CS
SP
I1E
NA
SP
I1C
LK
SP
I1S
IMO
SP
I1S
OM
IH
ET
[6]
HE
T[7
]H
ET
[8]
HE
T[1
8]T
MS
2T
MS
HE
T[2
0]H
ET
[22]
C2S
ILP
NC
2SIR
XC
2SIT
XV
CC
IOV
SS
I2C
SC
LI2
C3S
DA
VC
CO
SC
OU
TO
SC
INV
SS
AW
D
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
TMS470R1A384 100-Pin PZ Package (Top View)
4 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
DESCRIPTION
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
The TMS470R1A384 (1) devices are members of the Texas Instruments TMS470R1x family of general-purpose16/32-bit reduced instruction set computer (RISC) microcontrollers. The A384 microcontroller offers highperformance utilizing the high-speed ARM7TDMI 16/32-bit RISC central processing unit (CPU), resulting in ahigh instruction throughput while maintaining greater code efficiency. The ARM7TDMI 16/32-bit RISC CPU viewsmemory as a linear collection of bytes numbered upwards from zero. The A384 utilizes the big-endian formatwhere the most significant byte of a word is stored at the lowest-numbered byte and the least significant byte atthe highest-numbered byte.
High-end embedded control applications demand more performance from their controllers while maintaining lowcosts. The A384 RISC core architecture offers solutions to these performance and cost demands whilemaintaining low power consumption.
The A384 devices contain the following:• ARM7TDMI 16/32-bit RISC CPU• TMS470R1x system module (SYS) with 470+ enhancements• 384K-byte flash• 32K-byte SRAM• Zero-pin phase-locked loop (ZPLL) clock module• Analog watchdog (AWD) timer• Enhanced real-time interrupt (RTI) module• Interrupt expansion module (IEM)• Two serial peripheral interface (SPI) modules• Two serial communications interface (SCI) modules• Two standard CAN controllers (SCC)• Three inter-integrated circuit (I2C) modules• Class II serial interface B (C2SIb) module• 10-bit multi-buffered analog-to-digital converter (MibADC), with 12 input channels• High-end timer (HET) controlling 12 I/Os• External clock prescale (ECP)• Expansion bus module (EBM)• Up to 87 I/O pins and 1 input-only pin (PGE suffix only), up to 51 I/O pins and 1 input-only pin (PZ suffix only)
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• Parallel signature analysis (PSA)
The enhanced real-time interrupt (RTI) module on the A384 has the option to be driven by the oscillator clock.This data sheet includes device-specific information such as memory and peripheral select assignment, interruptpriority, and a device memory map. For a more detailed functional description of the SYS module, see theTMS470R1x System Module Reference Guide (literature number SPNU189).
The A384 memory includes general-purpose SRAM supporting single-cycle read/write accesses in byte,half-word, and word modes.
The flash memory on this device is a nonvolatile, electrically erasable and programmable memory implementedwith a 32-bit-wide data bus interface. The flash operates with a system clock frequency of up to 24 MHz. Whenin pipeline mode, the flash operates with a system clock frequency of up to 48 MHz. For more detailedinformation on the flash, see the Flash section of this data sheet and the TMS470R1x F05 Flash ReferenceGuide (literature number SPNU213).(1) Throughout the remainder of this document, the TMS470R1A384 is referred to as either the full device name or as A384.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 5
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
The A384 device has ten communication interfaces: two SPIs, two SCIs, two SCCs, a C2SI, and three I2Cs. TheSPI provides a convenient method of serial interaction for high-speed communications between similarshift-register type devices. The SCI is a full-duplex, serial I/O interface intended for asynchronous communicationbetween the CPU and other peripherals using the standard non-return-to-zero (NRZ) format. The SCC uses aserial, multimaster communication protocol that efficiently supports distributed real-time control with robustcommunication rates of up to 1 megabit per second (Mbps). The SCC is ideal for applications operating in noisyand harsh environments (e.g., industrial fields) that require reliable serial communication or multiplexed wiring.The C2SIb allows the A384 to transmit and receive messages on a class II network following an SAE J1850 (2)standard. The I2C module is a multi-master communication module providing an interface between the A384microcontroller and an I2C-compatible device via the I2C serial bus. The I2C supports both 100 Kbps and400 Kbps speeds. For more detailed functional information on the SPI, SCI, and CAN peripherals, see thespecific reference guides (literature numbers SPNU195, SPNU196, and SPNU197). For more detailed functionalinformation on the I2C, see the TMS470R1x Inter-Integrated Circuit (I2C) Reference Guide (literature numberSPNU223). For more detailed functional information on the C2SI, see the TMS470R1x Class II Serial Interface B(C2SIb) Reference Guide (literature number SPNU214).
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 anattached I/O port. The HET can be used for compare, capture, or general-purpose I/O. It is especially well suitedfor applications requiring multiple sensor information and drive actuators with complex and accurate time pulses.The HET used in this device is the high-end timer lite. It has fewer I/Os than the usual 32 in a standard HET. Formore detailed functional information on the HET, see the TMS470R1x High-End Timer (HET) Reference Guide(literature number SPNU199).
The A384 HET peripheral contains the XOR-share feature. This feature allows two adjacent HET high- resolutionchannels to be XORed together, making it possible to output smaller pulses than a standard HET. For moredetailed information on the HET XOR-share feature, see the TMS470R1x High-End Timer (HET) ReferenceGuide (literature number SPNU199).
The A384 device has one 10-bit-resolution sample-and-hold MibADC. Each of the MibADC channels can beconverted individually or can be grouped by software for sequential conversion sequences. There are threeseparate groupings, two of which can be triggered by an external event. Each sequence can be converted oncewhen triggered or configured for continuous conversion mode. For more detailed functional information on theMibADC, see the TMS470R1x Multi-Buffered Analog-to-Digital Converter (MibADC) Reference Guide (literaturenumber SPNU206).
The zero-pin phase-locked loop (ZPLL) clock module contains a phase-locked loop, a clock-monitor circuit, aclock-enable circuit, and a prescaler (with prescale values of 1–8). The function of the ZPLL is to multiply theexternal 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 A384 device modules. For moredetailed functional information on the ZPLL, see the TMS470R1x Zero-Pin Phase-Locked Loop (ZPLL) ClockModule Reference Guide (literature number SPNU212).
NOTE:
ACLK should not be confused with the MibADC internal clock, ADCLK. ACLK is thecontinuous system clock from an external resonator/crystal reference.
The expansion bus module (EBM) is a stand-alone module that supports the multiplexing of the GIO functionsand the expansion bus interface. For more information on the EBM, see the TMS470R1x Expansion Bus Module(EBM) Reference Guide (literature number SPNU222).
The A384 device also has an external clock prescaler (ECP) module that, when enabled, outputs a continuousexternal clock (ECLK) on a specified GIO pin. The ECLK frequency is a user-programmable ratio of theperipheral interface clock (ICLK) frequency. For more detailed functional information on the ECP, see theTMS470R1x External Clock Prescaler (ECP) Reference Guide (literature number SPNU202).
(2) SAE Standard J1850 Class B Data Communication Network Interface.
6 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www-s.ti.com/sc/techlit/SPNU195http://www-s.ti.com/sc/techlit/SPNU196http://www-s.ti.com/sc/techlit/SPNU197http://www-s.ti.com/sc/techlit/SPNU214http://www-s.ti.com/sc/techlit/SPNU199http://www-s.ti.com/sc/techlit/SPNU206http://www-s.ti.com/sc/techlit/SPNU212http://www-s.ti.com/sc/techlit/SPNU222http://www-s.ti.com/sc/techlit/SPNU202http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Device Characteristics
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
The A384 device is a derivative of the F05 system emulation device SE470R1VB8AD. Table 1 identifies all thecharacteristics of the A384 device except the SYSTEM and CPU, which are generic.
Table 1. Device CharacteristicsTMS470R1A384CHARACTERISTICS COMMENTSDEVICE DESCRIPTION
MEMORYFor the number of memory selects on this device, see Table 3, TMS470R1A384 Memory Selection Assignment.
Pipeline/non-pipeline Flash is pipeline capable.384K-byte flash The A384 RAM is implemented in one 16K-byte array selected byInternal Memory32K-byte SRAM two memory-select signals (see Table 3, TMS470R1A384 Memory
Selection Assignment).PERIPHERALS
For the device-specific interrupt priority configurations, see Table 6, Interrupt Priority (IEM and CIM). For the 1K-byte peripheral addressranges and their peripheral selects, see Table 4, A384 Peripherals, System Module, and Flash Base Addresses.CLOCK ZPLL Zero-pin PLL has no external loop filter pins.
Expansion bus module with 40 pins. Supports 8- and 16-bitExpansion Bus EBM memories, PGE package only. See Table 7 for details.In the PGE package, Port A has 8 external pins; Port B has only 1external pin; Ports C, D, E, F, and G each have 8 external pins; and
55 I/O (PGE suffix) Port H has 6 external pins.General-Purpose I/Os 14 I/O (PZ suffix)In the PZ package, Port A has 8 external pins, Port B has 1 externalpin, and Port H has 5 external pins.
ECP YesSCI 2 (3-pin)CAN (HECC and/or SCC) 2 SCC Two standard CAN controllersSPI (5 pin, 4 pin, or 3 pin) 2 (5-pin)C2SIb 1I2C 3
The high-resolution (HR) Share feature allows even-numbered HRpins to share the next higher odd-numbered HR pin structures. ThisHR sharing is independent of whether or not the odd pin is available
HET with XOR Share 12 I/O externally. If an odd pin is available externally and shared, then theodd pin can only be used as a general-purpose I/O. For moreinformation on HR SHARE, see the TMS470R1x High-End Timer(HET) Reference Guide (literature number SPNU199).
HET RAM 64-instruction capacity10-bit 12-channel Both the logic and registers for a full 16-channel MibADC areMibADC 64-word FIFO present.
Core Voltage 1.8 VI/O Voltage 3.3 VPins 144/100Packages PGE/PZ
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 7
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
ZPLL
MibADC32−Word
FIFO
HET64 Words
SCC1
SCC2
SCI1
SCI2
I2C3
I2C2
I2C1
OSCIN
OSCOUT
PLLDIS
ADIN[11:0]
ADEVT
ADREFHIADREFLOVCCADVSSAD
HET[0:8;18,20,22]
CAN1STX
CAN1SRX
CAN2STX
CAN2SRX
SCI1CLK
SCI1TX
SCI1RX
SCI2CLK
SCI2TX
SCI2RX
I2C3SDA
I2C3SCL
I2C2SDA
I2C2SCL
I2C1SDA
I2C1SCL
C2SI SPI2 SPI1 ECP GIO/EBM(A)
TMS470R1x CPU
TMS470R1x System Module
DMA Controller16 Channels
Interrupt ExpansionModule (IEM)
FLASH(384K Byte)
3 Banks18 Sectors
RAM(32K Bytes)
CPU Address/Data Bus
Exp
ansi
on A
ddre
ss/D
ata
Bus
VCCP
FLTP2
TRST
TCK
TDI
TDO
TMS
TMS2
RST
AWD
TEST
PORRST
CLKOUT
ExternalPins Pins
External
Cry
stal
C2S
ITX
C2S
IRX
C2S
ILP
N
SP
I2S
CS
SP
I2E
NA
SP
I2S
IMO
SP
I2S
OM
I
SP
I2C
LK
SP
I1S
CS
SP
I1E
NA
SP
I1S
IMO
GIO
A[1
]/IN
T[1
]/EC
LK
GIO
A[0
]/IN
T[0
]
GIO
A[7
:2]/I
NT
[7:2
]
GIO
B[0
]
GIO
C[5
:0](
A)
GIO
D[5
:0](
A)
GIO
E[7
:0](
A)
GIO
F[7
:0](
A)
GIO
G[7
:0](
A)
GIO
H[5
,0](
A)
SP
I1S
OM
I
SP
I1C
LK
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Functional Block Diagram
A. GIOC[4:0], GIOD[5:0], GIOE[5:0], GIOF[7:0], and GIOH[0], which are multiplexed with EBM, are not available on thePZ package. See Table 7 for EBM-to-GIO mapping.
8 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
Table 2. Terminal FunctionsTERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
HIGH-END TIMER (HET)HET[0] 51 73
Timer input capture or output compare. TheHET[1] 50 72HET[8:0,18,20,22] applicable pins can beHET[2] 49 71 programmed as general-purpose input/output
HET[3] 46 66 (GIO) pins. All are high-resolution pins.The high-resolution (HR) SHARE feature allowsHET[4] 45 65even HR pins to share the next higher odd HR
HET[5] 44 63 pin structures. This HR sharing is independent3.3 V 2 mAof whether or not the odd pin is availableHET[6] 6 9externally. If an odd pin is available externallyHET[7] 7 11 and shared, then the odd pin can only be used
HET[8] 8 12 as a general-purpose I/O. For more informationon HR SHARE, see the TMS470R1x High-EndHET[18] 9 15 Timer (HET) Reference Guide (literature number
HET[20] 12 18 SPNU199).HET[22] 13 19
STANDARD CAN CONTROLLER (SCC)CAN1SRX 58 83 5-V tolerant 4 mA SCC1 receive pin or GIO pinCAN1STX 59 84 3.3 V 2 mA SCC1 transmit pin or GIO pinCAN2SRX 37 54 5-V tolerant 4 mA SCC2 receive pin or GIO pinCAN2STX 38 55 3.3 V 2 mA SCC 2 transmit pin or GIO pin
CLASS II SERIAL INTERFACE (C2SIB)C2SILPN 14 21 3.3 V 2 mA C2SIb module loopback enable pin or GIO pinC2SIRX 15 22 5-V tolerant 4 mA C2SIb module receive data input pin or GIO pin
C2SIb module transmit data output pin or GIOC2SITX 16 24 3.3 V 2 mA pinGENERAL-PURPOSE I/O (GIO)
GIOA[0]/INT[0] 99 141GIOA[1]/INT[1]/ECLK 96 136GIOA[2]/INT[2] 95 134 General-purpose input/output pins.
GIOA[7:0]/INT[7:0] are interrupt-capable pins.GIOA[3]/INT[3] 94 1335-V tolerant 4 mA GIOA[1]/INT[1]/ECLK pin is multiplexed with theGIOA[4]/INT[4] 89 127 external clock-out function of the external clock
prescale (ECP) module.GIOA[5]/INT[5] 67 98GIOA[6]/INT[6] 55 78GIOA[7]/INT[7] 56 79GIOB[0]/DMAREQ[0] 30 43GIOC[0]/EBOE - 135 GIOB[0], GIOC[4:0], GIOD[5:0], GIOE[7:0:],GIOC[1]/EBWR[0] - 128 GIOF[7:0], GIOG[7:0], and GIOH[5:0] are
3.3 V 2 mA IPD (20 µA) multiplexed with the expansion bus module.GIOC[2]/EBWR[1] - 126See Table 7.GIOC[3]/EBCS[5] - 120
GIOC[4]/EBCS[6] - 119
(1) PWR = power, GND = ground, REF = reference voltage, NC = no connect(2) All I/O pins, except RST, are configured as inputs while PORRST is low and immediately after PORRST goes high.(3) IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are active on input pins, independent of the PORRST
state.)
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 9
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Table 2. Terminal Functions (continued)TERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
GENERAL-PURPOSE I/O (GIO) (CONTINUED)GIOD[0]/EBADDR[0] - 42GIOD[1]/EBADDR[1] - 39GIOD[2]/EBADDR[2] - 35GIOD[3]/EBADDR[3] - 30GIOD[4]/EBADDR[4] - 27GIOD[5]/EBADDR[5] - 23GIOE[0]/EBDATA[0] - 44GIOE[1]/EBDATA[1] - 47GIOE[2]/EBDATA[2] - 58GIOE[3]/EBDATA[3] - 61GIOE[4]/EBDATA[4] - 64GIOE[5]/EBDATA[5] - 67GIOE[6]/EBDATA[6] - 70GIOE[7]/EBDATA[7] - 77GIOF[0]/EBADDR[6]/ - 80EBDATA[8]
GIOB[0], GIOC[4:0], GIOD[5:0], GIOE[7:0:],GIOF[1]/EBADDR[7]/ - 82 GIOF[7:0], GIOG[7:0], AND GIOH[5:0] areEBDATA[9] 3.3 V 2 mA IPD (20 µA) multiplexed with the expansion bus module.GIOF[2]/EBADDR[8]/ - 89 See Table 7.EBDATA[10]GIOF[3]/EBADDR[9]/ - 90EBDATA[11]GIOF[4]/EBADDR[10]/ - 93EBDATA[12]GIOF[5]/EBADDR[11]/ - 96EBDATA[13]GIOF[6]/EBADDR[12]/ - 99EBDATA[14]GIOF[7]/EBADDR[13]/ - 100EBDATA[15]GIOG[0]/EBADDR[14]/ - 20EBADDR[6]GIOG[1]/EBADDR[15]/ - 10EBADDR[7]GIOG[2]/EBADDR[16]/ - 8EBADDR[8]GIOG[3]/EBADDR[17]/ - 6EBADDR[9]
10 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
Table 2. Terminal Functions (continued)TERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
GENERAL-PURPOSE I/O (GIO) (CONTINUED)GIOG[4]/EBADDR[18]/ - 3EBADDR[10]GIOG[5]/EBADDR[19]/ - 143EBADDR[11]GIOG[6]/EBADDR[20]/ - 142EBADDR[12]GIOG[7]/EBADDR[21]/ - 140EBADDR[13]
GIOB[0], GIOC[4:0], GIOD[5:0], GIOE[7:0:],GIOH[0]/EBADDR[22]/ - 139 GIOF[7:0], GIOG[7:0], AND GIOH[5:0] areEBADDR[14] 3.3 V 2 mA IPD (20 µA) multiplexed with the expansion bus module.GIOH[1]/EBADDR[23]/ See Table 7.29 41EBADDR[15]GIOH[2]/EBADDR[24]/ 28 40EBADDR[16]GIOH[3]/EBADDR[25]/ 27 38EBADDR[17]GIOH[4]/EBADDR[26]/ 26 37EBADDR[18]GIOH[5]/EBHOLD 88 125
MULTI-BUFFERED ANALOG-TO-DIGITAL CONVERTER (MibADC)MibADC event input. Can be programmed as aADEVT 68 101 3.3 V 2 mA GIO pin.
ADIN[0] 84 117ADIN[1] 83 116ADIN[2] 82 115ADIN[3] 81 114ADIN[4] 80 113ADIN[5] 75 108
3.3 V MibADC analog input pinsADIN[6] 74 107ADIN[7] 73 106ADIN[8] 72 105ADIN[9] 71 104ADIN[10] 70 103ADIN[11] 69 102ADREFHI 76 109 3.3-V REF MibADC module high-voltage reference inputADREFLO 77 110 GND REF MibADC module low-voltage reference inputVCCAD 78 111 3.3-V PWR MibADC analog supply voltageVSSAD 79 112 GND MibADC analog ground reference
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 11
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Table 2. Terminal Functions (continued)TERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
SERIAL PERIPHERAL INTERFACE 1 (SPI1)SPI1 clock. SPI1CLK can be programmed as aSPI1CLK 3 4 GIO pin.SPI1 chip enable. Can be programmed as aSPI1ENA 2 2 GIO pin.SPI1 slave chip select. Can be programmed asSPI1SCS 1 1 5-V tolerant 4 mA a GIO pin.SPI1 data stream. Slave in/master out. Can beSPI1SIMO 4 5 programmed as a GIO pin.SPI1 data stream. Slave out/master in. Can beSPI1SOMI 5 7 programmed as a GIO pin.
SERIAL PERIPHERAL INTERFACE 2 (SPI2)SPI2CLK 39 56 SPI2 clock. Can be programmed as a GIO pin.
SPI2 chip enable. Can be programmed as aSPI2ENA 42 60 GIO pin.SPI2 slave chip select. Can be programmed asSPI2SCS 43 62 5-V tolerant 4 mA a GIO pin.SPI2 data stream. Slave in/master out. Can beSPI2SIMO 41 59 programmed as a GIO pin.SPI2 data stream. Slave out/master in. Can beSPI2SOMI 40 57 programmed as a GIO pin.
INTER-INTEGRATED CIRCUIT (I2C)I2C1SDA 60 87 I2C1 serial data pin or GIO pinI2C1SCL 61 88 I2C1 serial clock pin or GIO pinI2C2SDA 64 94 I2C2 serial data pin or GIO pin
5-V tolerant 4 mAI2C2SCL 65 95 I2C2 serial clock pin or GIO pinI2C3SDA 20 29 I2C3 serial data pin or GIO pinI2C3SCL 19 28 I2C3 serial clock pin or GIO pin
ZERO-PIN PHASE-LOCKED LOOP (ZPLL)OSCIN 23 33 1.8 V Crystal connection pin or external clock inputOSCOUT 22 32 2 mA External crystal connection pin
Enable/disable the ZPLL. The ZPLL can bePLLDIS 66 97 3.3 V IPD (20 µA) bypassed and the oscillator becomes the system
clock.SERIAL COMMUNICATIONS INTERFACE 1 (SCI1)
SCI1 clock. SCI1CLK can be programmed as aSCI1CLK 33 48 3.3 V 2 mA GIO pin.SCI1 data receive. SCI1RX can be programmedSCI1RX 32 46 5-V tolerant 4 mA as a GIO pin.SCI1 data transmit. SCI1TX can be programmedSCI1TX 31 45 3.3 V 2 mA as a GIO pin.
SERIAL COMMUNICATIONS INTERFACE 2 (SCI2)SCI2 clock. SCI2CLK can be programmed as aSCI2CLK 36 51 3.3 V 2 mA GIO pin.SCI2 data receive. SCI2RX can be programmedSCI2RX 35 50 5-V tolerant 4 mA as a GIO pin.SCI2 data transmit. SCI2TX can be programmedSCI2TX 34 49 3.3 V 2 mA as a GIO pin.
12 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
Table 2. Terminal Functions (continued)TERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
SYSTEM MODULE (SYS)Bidirectional clock out. CLKOUT can be
CLKOUT 57 81 3.3 V 4 mA programmed as a GIO pin or the output ofSYSCLK, ICLK, or MCLK.Input master chip power-up reset. External VCCPORRST 85 118 3.3 V IPD (20 µA) monitor circuitry must assert a power-on reset.Bidirectional reset. The internal circuitry canassert a reset, and an external system reset canassert a device reset.On this pin, the output buffer is implemented asRST 86 121 3.3 V 4 mA IPU (20 µA) an open drain (drives low only).To ensure an external reset is not arbitrarilygenerated, TI recommends that an externalpullup resistor be connected to this pin.
WATCHDOG/REAL-TIME INTERRUPT (WD/RTI)Analog watchdog reset. The AWD pin providesa system reset if the WD KEY is not written intime by the system, providing an external RCnetwork circuit is connected. If the user is notusing AWD, TI recommends that this pin be
AWD 25 36 3.3 V 4 mA connected to ground or pulled down to groundby an external resistor.For more details on the external RC networkcircuit, see the TMS470R1x System ModuleReference Guide (literature number SPNU189).
TEST/DEBUG (T/D)Test clock. TCK controls the test hardwareTCK 54 76 2 mA IPD (20 µA) (JTAG).Test data in. TDI inputs serial data to the test
TDI 52 74 2 mA IPU (20 µA) instruction register, test data register, andprogrammable test address (JTAG).Test data out. TDO outputs serial data from thetest instruction register, test data register,TDO 53 75 4 mA IPD (20 µA) identification register, and programmable testaddress (JTAG).Test enable. Reserved for internal use only. TIrecommends that this pin be connected toTEST 87 124 3.3 V IPD (20 µA) ground or pulled down to ground by an externalresistor.Serial input for controlling the state of the CPUTMS 11 17 2 mA IPU (20 µA) test access port (TAP) controller (JTAG).Serial input for controlling the second TAP. TI
TMS2 10 16 2 mA IPU (20 µA) recommends that this pin be connected to VCCIOor pulled up to VCCIO by an external resistor.Test hardware reset to TAP1 and TAP2.IEEE Std 1149.1 (JTAG) Boundary-Scan Logic.TRST 100 144 IPD (20 µA) TI recommends that this pin be pulled down toground by an external resistor.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 13
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Table 2. Terminal Functions (continued)TERMINAL INTERNALINPUT OUTPUT PULLUP/ DESCRIPTIONVOLTAGE (1) (2) CURRENT (3)NAME PZ PGE PULLDOWN
FLASHFlash test pad 2. For proper operation, this
FLTP2 93 132 NC NC pin must not be connected [no connect(NC)].
VCCP 92 131 3.3-V PWR Flash external pump voltage (3.3 V)SUPPLY VOLTAGE CORE (1.8 V)
21 1363 3191 53
VCC 1.8-V PWR Core logic supply voltage- 92- 123- 130
SUPPLY VOLTAGE DIGITAL I/O (3.3 V)17 2548 69
VCCIO 3.3-V PWR Digital I/O supply voltage- 8697 137
SUPPLY GROUND CORE90 1498 26- 34- 52- 68
VSS GND Core supply ground reference47 85- 91
62 12224 12918 138
14 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384 DEVICE-SPECIFIC INFORMATION
Memory
System Module Control
(512K Bytes)
(512K Bytes)Peripheral Control Registers
Reserved
Flash Control Registers
Reserved
MPU Control Registers
Reserved (1 MByte)
Programand
Data Area
Exception, Interrupt, andReset Vectors
SYSTEM with PSA, CIM, RTI,DEC, DMA, MMC
IEMReserved
ReservedHET
ReservedSPI1
ReservedSCI2SCI1
ReservedMibADC
ECPReserved
EBMGIO
ReservedSCC2
ReservedSCC1
ReservedSCC2 RAMReserved
SCC1 RAMReserved
I2C3I2C2I2C1
ReservedSPI2
ReservedC2SIb
Reserved
ReservedFIQIRQ
ReservedData Abort
Prefetch AbortSoftware Interrupt
Undefined InstructionReset
RAM(32K Bytes)
FLASH(384K Bytes)
3 Banks
Memory (4G Bytes)0xFFFF_FFFF
0xFFF8_00000xFFF7_FFFF
0xFFF0_00000xFFEF_FFFF0xFFE8_C0000xFFE8_BFFF0xFFE8_80000xFFE8_7FFF0xFFE8_40210xFFE8_40200xFFE8_4000
0xFFE0_0000
0x7FFF_FFFF
0x0000_00240x0000_0023
0x0000_0000
0xFFFF_FFFF
0xFFFF_FD000xFFFF_FC000xFFF8_0000
0xFFF7_FC00
0xFFF7_F800
0xFFF7_F5000xFFF7_F400
0xFFF7_F0000xFFF7_EF00
0xFFF7_ED000xFFF7_EC00
0xFFF7_E200
0xFFF7_E000
0xFFF7_DE00
0xFFF7_DC00
0xFFF7_DA00
0xFFF7_D800
0xFFF7_D400
0xFFF7_C8000xFFF0_0000
0x0000_00230x0000_00200x0000_001C0x0000_00180x0000_00140x0000_00100x0000_000C0x0000_00080x0000_00040x0000_0000
Registers
0xFFF7_D900
18 Sectors
HET RAM(1K Bytes)
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
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. TMS470R1A384 Memory Map
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 15
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Memory Selects
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Memory selects allow the user to address memory arrays (i.e., flash, RAM, and HET RAM) at user-definedaddresses. Each memory select has its own set (low and high) of memory base address registers (MFBAHRxand MFBALRx) that, together, define the array's starting (base) address, block size, and protection.
The base address of each memory select is configurable to any memory address boundary that is a multiple ofthe decoded block size. For more information on how to control and configure these memory select registers, seethe bus structure and memory sections of the TMS470R1x System Module Reference Guide (literature numberSPNU189).
For the memory selection assignments and the memory selected, see Table 3.
Table 3. TMS470R1A384 Memory Selection AssignmentMEMORY MEMORY SELECTED MEMORY STATIC MEMMPU MEMORY BASE ADDRESS REGISTERSELECT (ALL INTERNAL) SIZE (1) CTL REGISTER
0 (fine) FLASH NO MFBAHR0 and MFBALR0384K
1 (fine) FLASH NO MFBAHR1 and MFBALR12 (fine) RAM YES MFBAHR2 and MFBALR2
32K (2)3 (fine) RAM YES MFBAHR3 and MFBALR34 (fine) HET RAM 1K NO MFBAHR4 and MFBALR4 SMCR1
4MB (x8)5 (fine) CS[5]/GIOC[3] NO MCBAHR2 and MCBALR2 SMCR51MB (x16)4MB (x8)6 (fine) CS[6]/GIOC[4] NO MCBAHR3 and MCBALR3 SMCR61MB (x16)
(1) x8 refers to size of memory in 8-bits; x16 refers to size of memory in 16-bits.(2) 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.
RAMThe A384 device contains 32K-bytes of internal static RAM configurable by the SYS module to be addressedwithin the range of 0x0000_0000 to 0xFFE0_0000. This A384 RAM is implemented in one 32K-byte arrayselected by two memory-select signals.
NOTE:
This A384 configuration imposes an additional constraint on the memory map forRAM; the starting addresses for both RAM memory selects cannot be offset fromeach other by the multiples of the size of the physical RAM (i.e., 32K bytes for theA384 device). The A384 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 userfiner blocks of memory protection than is allowed by the memory selects. The MPU is ideal for protecting anoperating system while allowing access to the current task. For more detailed information on the MPU portion ofthe SYS module and memory protection, see the memory section of the TMS470R1x System Module ReferenceGuide (literature number SPNU189).
16 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
F05 FlashThe F05 flash memory is a nonvolatile electrically erasable and programmable memory implemented with a32-bit-wide data bus interface. The F05 flash has an external state machine for programming and erasefunctions. See the Flash Read and Flash Program and Erase sections.
Flash Protection Keys
The A384 device provides flash protection keys. These four 32-bit protection keys preventprogram/erase/compaction operations from occurring until after the four protection keys have been matched bythe CPU loading the correct user keys into the FMPKEY control register. The protection keys on the A384 arelocated in the last 4 words of the first 8K sector. For more detailed information on the flash protection keys andthe FMPKEY control register, see the "Optional Quadruple Protection Keys" and "Programming the ProtectionKeys" portions of the TMS470R1x F05 Flash Reference Guide (literature number SPNU213).
Flash Read
The A384 flash memory is configurable by the SYS module to be addressed within the range of 0x0000_0000 to0xFFE0_0000. The flash is addressed through memory selects 0 and 1.
NOTE:
The flash external pump voltage (VCCP) is required for all operations (program, erase,and read).
Flash Pipeline Mode
When in pipeline mode, the flash operates with a system clock frequency of up to 48 MHz (versus a systemclock frequency of 24 MHz in normal mode). Flash in pipeline mode is capable of accessing 64-bit words andprovides two 32-bit pipelined words to the CPU. Also, in pipeline mode the flash can be read with no wait stateswhen memory addresses are contiguous (after the initial 1- or 2-wait-state reads).
NOTE:
After a system reset, pipeline mode is disabled (FMREGOPT[0] = 0). In other words,the A384 device powers up and comes out of reset in non-pipeline mode.Furthermore, setting the flash configuration mode bit (GBLCTRL[4]) overrides pipelinemode.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 17
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Peripheral Selects and Base Addresses
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Flash Program and Erase
The A384 device flash contains three 128K-byte memory arrays (or banks), for a total of 384K-bytes of flash, andconsists of 18 sectors. These 18 sectors are sized as follows:
SECTOR MEMORY ARRAYSSEGMENT LOW ADDRESS HIGH ADDRESSNO. (OR BANKS)0 8K Bytes 0x0000_0000 0x0000_1FFF1 8K Bytes 0x0000_2000 0x0000_3FFF2 16K Bytes 0x0000_4000 0x0000_7FFF3 16K Bytes 0x0000_8000 0x0000_BFFF4 16K Bytes 0x0000_C000 0x0000_FFFF BANK0
(128K Bytes)5 16K Bytes 0x0001_0000 0x0001_3FFF6 16K Bytes 0x0001_4000 0x0001_7FFF7 16K Bytes 0x0001_8000 0x0001_BFFF8 8K Bytes 0x0001_C000 0x0001_DFFF9 8K bytes 0x0001_E000 0x0001_FFFF
0 32K Bytes 0x0002_0000 0x0002_7FFF1 32K Bytes 0x0002_8000 0x0002_FFFF BANK1
(128K Bytes)2 32K Bytes 0x0003_0000 0x0003_7FFF3 32K Bytes 0x0003_8000 0x0003_FFFF
0 32K Bytes 0x0004_0000 0x0004_7FFF1 32K Bytes 0x0004_8000 0x0004_FFFF BANK2
(128K Bytes)2 32K Bytes 0x0005_0000 0x0005_7FFF3 32K Bytes 0x0005_8000 0x0005_FFFF
The minimum size for an erase operation is one sector. The maximum size for a program operation is one 16-bitword.
NOTE:
The flash external pump voltage (VCCP) is required for all operations (program, erase,and read).
Execution can occur from one bank while programming/erasing any or all sectors of another bank. However,execution cannot occur from any sector within a bank that is being programmed or erased.
NOTE:
When the OTP sector is enabled, the rest of the flash memory is disabled. The OTPmemory can only be read or programmed from code executed out of RAM.
For more detailed information on flash program and erase operations, see the TMS470R1x F05 Flash ReferenceGuide (literature number SPNU213).
HET RAMThe A384 device contains HET RAM. The HET RAM has a 64-instruction capability. The HET RAM isconfigurable by the SYS module to be addressed within the range of 0x0000_0000 to 0xFFE0_0000. The HETRAM is addressed through memory select 4.
The A384 device uses 10 of the 16 peripheral selects to decode the base addresses of the peripherals. Theseperipheral selects are fixed and transparent to the user because they are part of the decoding scheme used bythe SYS module.
Control registers for the peripherals, SYS module, and flash begin at the base addresses shown in Table 4.
18 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
Table 4. A384 Peripherals, System Module, and Flash Base AddressesADDRESS RANGE
CONNECTING MODULE PERIPHERAL SELECTSBASE ADDRESS ENDING ADDRESS
SYSTEM 0xFFFF_FFCC 0x FFFF_FFFF N/AReserved 0xFFFF_FF60 0xFFFF_FFCB N/A
PSA 0xFFFF_FF40 0xFFFF_FF5F N/ACIM 0xFFFF_FF20 0xFFFF_FF3F N/ARTI 0xFFFF_FF00 0xFFFF_FF1F N/A
DMA 0xFFFF_FE80 0xFFFF_FEFF N/ADEC 0xFFFF_FE00 0xFFFF_FE7F N/AMMC 0xFFFF_FD00 0xFFFF_FD7F N/AIEM 0xFFFF_FC00 0xFFFF_FCFF N/A
Reserved 0xFFFF_FB00 0xFFFF_FBFF N/AReserved 0xFFFF_FA00 0xFFFF_FAFF N/A
DMA CMD BUFFER 0xFFFF_F800 0xFFFF_F9FF N/AReserved 0xFFF8_0000 0xFFFF_F7FF N/A
HET 0xFFF7_FC00 0xFFF7_FFFF PS[0]SPI1 0xFFF7_F800 0xFFF7_FBFF PS[1]SCI2 0XFFF7_F500 0XFFF7_F7FF
PS[2]SCI1 0xFFF7_F400 0xFFF7_F4FF
MibADC 0xFFF7_F000 0xFFF7_F3FF PS[3]ECP 0xFFF7_EF00 0xFFF7_EFFF
Reserved 0xFFF7_EE00 0xFFF7_EEFFPS[4]
EBM 0xFFF7_ED00 0xFFF7_EDFFGIO 0xFFF7_EC00 0xFFF7_ECFF
Reserved 0xFFF7_E400 0xFFF7_EBFF PS[5]–PS[6]Reserved 0xFFF7_E300 0xFFF7_E3FF
SCC2 0xFFF7_E200 0xFFF7_E2FFPS[7]
Reserved 0xFFF7_E100 0xFFF7_E1FFSCC1 0xFFF7_E000 0xFFF7_E0FF
Reserved 0xFFF7_DF00 0xFFF7_DFFFSCC2 RAM 0xFFF7_DE00 0xFFF7_DEFF
PS[8]Reserved 0xFFF7_DD00 0xFFF7_DDFF
SCC1 RAM 0xFFF7_DC00 0xFFF7_DCFFReserved 0xFFF7_DB00 0xFFF7_DBFF
I2C3 0xFFF7_DA00 0xFFF7_DAFFPS[9]
I2C2 0xFFF7_D900 0xFFF7_D9FFI2C1 0xFFF7_D800 0xFFF7_D8FFSPI2 0xFFF7_D400 0xFFF7_D7FF PS[10]
Reserved 0xFFF7_CC00 0xFFF7_D3FF PS[11]–PS[12]C2SIb 0xFFF7_C800 0xFFF7_CBFF PS[13]
Reserved 0xFFF7_C000 0xFFF7_C7FF PS[14]–PS[15]Reserved 0xFFF0_0000 0xFFF7_BFFF N/A
Flash Control Registers 0xFFE8_8000 0xFFE8_BFFF N/AMPU Control Registers 0xFFE8_4000 0xFFE8_4023 N/A
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 19
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Direct Memory Access (DMA)
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
The DMA controller transfers data to and from any specified location in the A384 memory map (except forrestricted memory locations like the system control registers area). The DMA manages up to 16 channels, andsupports data transfer for both on-chip and off-chip memories and peripherals. The DMA controller is connectedto both the CPU and peripheral buses, enabling these data transfers to occur in parallel with CPU activity and,thus, maximizing overall system performance.
Although the DMA controller has two possible configurations for the A384 device, the DMA controllerconfiguration is 32 control packets and 16 channels.
For the A384 DMA request hardwired configuration, see Table 5.
Table 5. DMA Request Lines Connections (1)
MODULES DMA REQUEST INTERRUPT SOURCES DMA CHANNELEBM Expansion bus DMA request EBDMAREQ0 DMAREQ[0]SPI1 SPI1 end-receive SPI1DMA0 DMAREQ[1]SPI1 SPI1 end-transmit SPI1DMA1 DMAREQ[2]I2C1 I2C1 read I2C1DMA0 DMAREQ[3]SCI1 SCI1 end-receive SCI1DMA0 DMAREQ[4]SCI1 SCI1 end-transmit SCI1DMA1 DMAREQ[5]I2C1 I2C1 write I2C1DMA1 DMAREQ[6]SPI2 SPI2 end-receive SPI2DMA0 DMAREQ[7]SPI2 SPI2 end-transmit SPI2DMA1 DMAREQ[8]
I2C2/C2SIb I2C2 read/C2SIb end-receive I2C2DMA0/C2SIDMA0 DMAREQ[9]I2C2/C2SIb I2C2 write/C2SIb end-transmit I2C2DMA1/C2SIDMA1 DMAREQ[10]
I2C3 I2C3 read I2C3DMA0 DMAREQ[11]I2C3 I2C3 write I2C3DMA1 DMAREQ[12]
Reserved DMAREQ[13]SCI2/SPI3 SCI2 end-receive SCI2DMA0 DMAREQ[14]SCI2/SPI3 SCI2 end-transmit SCI2DMA1 DMAREQ[15]
(1) For DMA channels with more than one assigned request source (I2C2/C2SIb), only one of the sources listed can be the DMA requestgenerator in a given application. The device has software control to ensure that there are no conflicts between requesting modules.
Each channel has two control packets attached to it, allowing the DMA to continuously load RAM and generateperiodic interrupts so that the data can be read by the CPU. The control packets allow for the interrupt enable,and the channels determine the priority level of the interrupt.
DMA transfers occur in one of two modes:• Non-request mode (used when transferring from memory to memory)• Request mode (used when transferring from memory to peripheral)
For more detailed functional information on the DMA controller, see the TMS470R1x Direct Memory Access(DMA) Controller Reference Guide (literature number SPNU194).
20 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Interrupt Priority (IEM to CIM)
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
Interrupt requests originating from the A384 peripheral modules (i.e., SPI1 or SPI2, SCI1 or SCI2, RTI, etc.) areassigned to channels within the 48-channel interrupt expansion module (IEM) where, via programmable registermapping, these channels are then mapped to the 32-channel central interrupt manager (CIM) portion of the SYSmodule.
Programming multiple interrupt sources in the IEM to the same CIM channel effectively shares the CIM channelbetween sources.
The CIM request channels are maskable so that individual channels can be selectively disabled. All interruptrequests can be programmed in the CIM to be of either type:• Fast interrupt request (FIQ)• Normal interrupt request (IRQ)
The CIM prioritizes interrupts. The precedences of request channels decrease with ascending channel order inthe CIM [0 (highest) and 31 (lowest) priority]. For IEM-to-CIM default mapping, channel priorities, and theirassociated modules, see Table 6.
Table 6. Interrupt Priority (IEM and CIM)DEFAULT CIMMODULES INTERRUPT SOURCES IEM CHANNELINTERRUPT LEVEL/CHANNEL
SPI1 SPI1 end-transfer/overrun 0 0RTI COMP2 interrupt 1 1RTI COMP1 interrupt 2 2RTI TAP interrupt 3 3SPI2 SPI2 end-transfer/overrun 4 4GIO GIO interrupt A 5 5
Reserved 6 6HET HET interrupt 1 7 7I2C1 I2C1 interrupt 8 8
SCI1/SCI2 SCI1 or SCI2 error interrupt 9 9SCI1 SCI1 receive interrupt 10 10C2SIb C2SIb interrupt 11 11I2C2 I2C2 interrupt 12 12SCC2 SCC2 interrupt A 13 13SCC1 SCC1 interrupt A 14 14
Reserved 15 15MibADC MibADC end event conversion 16 16
SCI2 SCI2 receive interrupt 17 17DMA DMA interrupt 0 18 18I2C3 I2C3 interrupt 19 19SCI1 SCI1 transmit interrupt 20 20
System SW interrupt (SSI) 21 21Reserved 22 22
HET HET interrupt 2 23 23SCC2 SCC2 interrupt B 24 24SCC1 SCC1 interrupt B 25 25SCI2 SCI2 transmit interrupt 26 26
MibADC MibADC end group1 conversion 27 27DMA DMA Interrupt 1 28 28GIO GIO interrupt B 29 29
MibADC MibADC end group2 conversion 30 30Reserved 31 31
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 21
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Table 6. Interrupt Priority (IEM and CIM) (continued)DEFAULT CIMMODULES INTERRUPT SOURCES IEM CHANNELINTERRUPT LEVEL/CHANNEL
Reserved 31 32Reserved 31 33Reserved 31 34Reserved 31 35Reserved 31 36Reserved 31 37Reserved 31 38Reserved 31 39Reserved 31 40Reserved 31 41Reserved 31 42Reserved 31 43Reserved 31 44Reserved 31 45Reserved 31 46Reserved 31 47
For more detailed functional information on the IEM, see the TMS470R1x Interrupt Expansion Module (IEM)Reference Guide (literature number SPNU211). For more detailed functional information on the CIM, see theTMS470R1x System Module Reference Guide (literature number SPNU189).
22 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Expansion Bus Module (EBM)
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
The expansion bus module (EBM) is a standalone module used to bond out both general-purpose input/outputpins and expansion bus interface pins. The module supports 8- and 16-bit expansion bus memory interfacemappings, as well as mapping of the following expansion bus signals:• 22-bit address bus (EBADDR[21:0]) for x8, 19-bit address bus (EBADDR[18:0]) for x16• 8- or 16-bit data bus (EBDATA[7:0]or EBDATA[15:0])• Two write strobes (EBWR[1:0])• Two memory chip selects (EBCS[6:5])• One output enable (EBOE)• One external hold signal for interfacing to slow memories (EBHOLD)
Table 7 shows the multiplexing of I/O signals with the expansion bus interface signals. The mapping of thesepins varies depending on the memory mode.
Table 7. Expansion Bus Multiplex Mapping (1)
EXPANSION BUS MODULE PINS (2)GIO
x8 x16GIOB[0] EBDMAREQ[0] EBDMAREQ[0]GIOC[0] EBOE EBOE
GIOC[2:1] EBWR[1:0] EBWR[1:0]GIOC[4:3] EBCS[6:5] EBCS[6:5]GIOD[5:0] EBADDR[5:0] EBADDR[5:0]GIOE[7:0] EBDATA[7:0] EBDATA[7:0]GIOF[7:0] EBADDR[13:6] EBDATA[15:8]GIOG[7:0] EBADDR[21:14] EBADDR[13:6]GIOH[4:0] – EBADDR[18:14]GIOH[5] EBHOLD EBHOLD
(1) These mappings are controlled by the EBM mux control registers B–H (EBMXCRB–EBMXCRH) andthe EBM control register 1 (EBMCR1). For GPIO functions, use GIODIRx, GIODINx, GIODOUTx,GIODSETx, and GIODCLRx. For more detailed information, see the TMS470R1x General-PurposeInput/Output (GIO) Reference Guide (literature number SPNU192) and the TMS470R1x ExpansionBus Module (EBM) Reference Guide (literature number SPNU222).
(2) x8 refers to size of memory in 8-bits; x16 refers to size of memory in 16-bits.
Table 8 lists the names of the expansion bus interface signals and their functions.
Table 8. Expansion Bus PinsPIN DESCRIPTION
EBDMAREQ Expansion bus DMA requestEBOE Expansion bus output enable
Expansion bus write strobe. EBWR[1] controlsEBWR EBDATA[15:8] and EBWR[0] controls EBDATA[7:0].EBCS Expansion bus chip select
EBADDR Expansion bus addressEBDATA Expansion bus data
Expansion bus hold: an external device connected toEBHOLD the expansion bus may assert this signal to add wait
states to an expansion bus transaction.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 23
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
MibADC
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
The multi-buffered analog-to-digital converter (MibADC) accepts an analog signal and converts the signal to a10-bit digital value.
The A384 MibADC module can function in two modes: compatibility mode, where its programmer's model iscompatible with the TMS470R1x ADC module and its digital results are stored in digital result registers; or inbuffered mode, where the digital result registers are replaced with three FIFO buffers, one for each conversiongroup [event, group1 (G1), and group2 (G2)]. In buffered mode, the MibADC buffers can be serviced byinterrupts or by the DMA.
NOTE:
The MibADC on this device does not support the DMA.
MibADC Event Trigger EnhancementsThe MibADC includes two major enhancements over the event-triggering capability of the TMS470R1x ADC.• Both group1 and the event group can be configured for event-triggered operation, providing up to two
event-triggered groups.• The trigger source and polarity can be selected individually for both group1 and the event group from the
options identified in Table 9.
Table 9. MibADC Event Hookup ConfigurationSOURCE SELECT BITS FOR G1 OR EVENTEVENT NO. SIGNAL PIN NAME(G1SRC[1:0] OR EVSRC[1:0])
EVENT1 00 ADEVTEVENT2 01 HET18EVENT3 10 ReservedEVENT4 11 Reserved
For group1, these event-triggered selections are configured via the group1 source select bits (G1SRC[1:0]) in theAD event source register (ADEVTSRC[5:4]). For the event group, these event-triggered selections are configuredvia 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-DigitalConverter (MibADC) Reference Guide (literature number SPNU206).
24 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
JTAG Interface
TCK
TRST
TMS
TDI TDO
TMS470R1x CPU
Factory Test
TDI
TRST
TMS
TCK
TDO
TCK
TRST
TMS
TDI
TMS2
TDO
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
There are two main test access ports (TAPs) on the device:• TMS470R1x CPU TAP• Device TAP for factory test
Some of the JTAG pins are shared among these two TAPs. The connection is shown in Figure 2.
Figure 2. JTAG Interface
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 25
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Documentation Support
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Extensive documentation supports all of the TMS470 microcontroller family generation of devices. The types ofdocumentation available include data sheets with design specifications, complete user's guides for all devicesand development support tools, and hardware and software applications. Useful reference documentationincludes:• Bulletin
– TMS470 Microcontroller Family Product Bulletin (literature number SPNB086)• User's Guides
– TMS470R1x System Module Reference Guide (literature number SPNU189)– TMS470R1x General Purpose Input/Output (GIO) Reference Guide (literature number SPNU192)– TMS470R1x Direct Memory Access (DMA) Controller Reference Guide (literature number SPNU194)– 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 MultiBuffered Analog to Digital (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 B (C2SIb) Reference Guide (literature number SPNU214)– TMS470R1x Class II Serial Interface A (C2SIa) Reference Guide (literature number SPNU218)– TMS470R1x JTAG Security Module (JSM) Reference Guide (literature number SPNU245)– TMS470R1x Memory Security Module (MSM) Reference Guide (literature number SPNU246)– TMS470 Peripherals Overview Reference Guide (literature number SPNU248)
• Errata Sheet– TMS470R1A384 TMS470 Microcontrollers Silicon Errata (literature number SPNZ148)
26 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Device and Development-Support Tool Nomenclature
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all DSPdevices and support tools. Each DSP commercial family member has one of three prefixes: TMX, TMP, or TMS(e.g., TMS470R1A384). Texas Instruments recommends two of three possible prefix designators for its supporttools: TMDX and TMDS. These prefixes represent evolutionary stages of product development from engineeringprototypes (TMX/TMDX) through fully qualified production devices/tools (TMS/TMDS).
Device development evolutionary flow:
TMX Experimental device that is not necessarily representative of the final device's electrical specificationsTMP Final silicon die that conforms to the device's electrical specifications but has not completed quality and
reliability verification
TMS Fully qualified production deviceSupport tool development evolutionary flow:
TMDX Development-support product that has not yet completed Texas Instruments internal qualification testing.TMDS Fully qualified development-support productTMX and TMP devices and TMDX development-support tools are shipped against the following disclaimer:
"Developmental product is intended for internal evaluation purposes."
TMS devices and TMDS development-support tools have been characterized fully, and the quality and reliabilityof the device have been demonstrated fully. TI's standard warranty applies.
Predictions show that prototype devices (TMX or TMP) have a greater failure rate than the standard productiondevices. Texas Instruments recommends that these devices not be used in any production system because theirexpected end-use failure rate still is undefined. Only qualified production devices are to be used.
Figure 3 illustrates the numbering and symbol nomenclature for the TMS470R1x family.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 27
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS 470 R1 A 384 Pxx
PREFIXTMS
FAMILY470
ARCHITECTURER1
DEVICE TYPE A
= Fully Qualified Device
= TMS470 RISC − Embedded Microcontroller Family
= ARM7TDM1 CPU
1.8-V Core, 3.3-V I/OFlash Program MemoryZPLL Clock1K-Byte Static RAM1K-Byte HET RAM (64 Instructions)AWDRTI10-Bit 12-Input MibADCTwo SPI ModulesTwo SCI ModulesC2SIbTwo CAN [SCC]
HET, 12 ChannelsECPEBM
With 384K-Bytes Flash Memory:
TEMPERATURE RANGE T = −40°C to 105°C
Q = −40°C to 125°C
PACKAGE TYPE
PGEPZ
= 144-pin Low-Profile Quad Flatpack (LQFP)= 100-pin Low-Profile Quad Flatpack (LQFP)
REVISION CHANGE Blank = Original
FLASH MEMORY 384 = 384K-Byte Flash Memory
OPTIONS
T
Three I2Cs
DMA Controller
48-MHz Frequency
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Figure 3. TMS470R1x Family Nomenclature
28 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Device Identification Code Register
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
The device identification code register identifies the silicon version, the technology family (TF), a ROM or flashdevice, and an assigned device-specific part number (see Figure 4). The A384 device identification code registervalue is 0x096F.
Figure 4. TMS470 Device ID Bit Allocation Register [offset = FFFF_FFF0h]31 16
Reserved
15 12 11 10 9 3 2 1 0
VERSION TF R/F PART NUMBER 1 1 1R-K R-K R-K R-K R-1 R-1 R-1
LEGEND:R = Read only, -K = Value constant after RESET; -n = Value after RESET
Table 10. TMS470 Device ID Bit Allocation Register Field DescriptionsBit Field Value Description
31–16 Reserved Reads are undefined and writes have no effect.15–12 VERSION Silicon version (revision) bits
These bits identify the silicon version of the device. Initial device version numbers start at 0000.11 TF Technology family bit
This bit distinguishes the technology family core power supply:0 3.3 V for F10/C10 devices1 1.8 V for F05/C05 devices
10 R/F ROM/flash bitThis bit distinguishes between ROM and flash devices:
0 Flash device1 ROM device
9–3 PART NUMBER Device-specific part number bitsThese bits identify the assigned device-specific part number.The assigned device-specific part number for the A384 device is 0101101.
2–0 1 Mandatory HighBits 2, 1, and 0 are tied high by default.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 29
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Device Electrical Specifications and Timing Parameters
Absolute Maximum Ratings
Device Recommended Operating Conditions (1)
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
over operating free-air temperature range (1)
Supply voltage range: VCC(2) –0.5 V to 2.5 VSupply voltage range: VCCIO , VCCAD , VCCP (flash pump) (2) –0.5 V to 4.1 VInput voltage range: All 5 V- tolerant input pins –0.5 V to 6.0 V
All other input pins –0.5 V to 4.1 VInput clamp current, IIK: All 5-V tolerant pins, PORRST, TRST, TEST,
and TCK (VI < 0) –20 mA (3)
ADIN[0:11] (VI < 0 or VI > VCCAD) ±10 mAAll other pins (VI < 0 or VI > VCCAD) ±20 mA
Operating free-air temperature range, TA T version –40°C to 105°CQ version –40°C to 125°C
Operating junction temperature range, TJ –40°C to 150°CStorage temperature range, Tstg –40°C to 150°C
(1) Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratingsonly, and functional operation of the device at these or any other conditions beyond those indicated under "recommended operatingconditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltage values are with respect to their associated grounds.(3) These pins do not have an internal clamp diode to a positive supply voltage.
MIN NOM MAX UNITVCC Digital logic supply voltage (Core) 1.71 2.05 VVCCIO Digital logic supply voltage (I/O) 3 3.3 3.6 VVCCAD MibADC supply voltage 3 3.3 3.6 VVCCP Flash pump supply voltage 3 3.3 3.6 VVSS Digital logic supply ground 0 VVSSAD MibADC supply ground –0.1 0.1 V
T version –40 105TA Operating free-air temperature °CQ version –40 125TJ Operating junction temperature –40 150 °C
(1) All voltages are with respect to VSS, except VCCAD, which is with respect to VSSAD.
30 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Electrical Characteristics
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
over recommended operating free-air temperature range (1)
PARAMETER TEST CONDITIONS MIN TYP MAX UNITVhys Input hysteresis 0.15 V
All inputs (2) except –0.3 0.8Low-level input OSCINVIL VvoltageOSCIN only –0.3 0.35 VCCAll inputs except VCCIO +2High-level input OSCIN 0.3VIH VvoltageOSCIN only 0.65 VCC VCC + 0.3
Input thresholdVth AWD only 1.35 1.8 VvoltageDrain to source onRDSON AWD only (3) VOL – 0.35 V at IOL = 4 mA 90resistance
IOL = IOL MAX 0.2 VCCIOVOL Low-level output voltage (4) VIOL = 3 mA 0.4IOH = IOH MIN 0.8 VCCIOVOH High-level output voltage (4) VIOH = 250 µA 2.7
IIC Input clamp current (I/O pins) (5) VI < VSSIO – 0.3 or VI > VCCIO + 0.3 –2 2 mAIIL Pulldown VI = VSS –1 1IIH Pulldown VI = VCCIO 5 40
Input current (3.3-V IIL Pullup VI = VSS –40 –5 µAinput pins)IIH Pullup VI = VCCIO –1 1
II All other pins No pullup or pulldown –1 1VI = VSS –1 1VI = VCCIO –1 1Input current (5-V tolerant input pins) µAVI = 5 V 0.5 20VI = 5.5 V 1 40
RST, CLKOUT, 4AWD, TDOLow-level outputIOL All other 3.3 V VOL = VOL MAX mAcurrent 2I/O (6)
5-V tolerant 4RST, CLKOUT, –4TDO
High-level outputIOH All other 3.3 V VOH = VOH MIN –2 mAcurrent I/O (6)
5 V tolerant –4
(1) Source currents (out of the device) are negative, while sink currents (into the device) are positive.(2) This does not apply to the PORRST pin. For PORRST exceptions, see the RST and PORRST Timings section.(3) These values help to determine the external RC network circuit. For more details, see the TMS470R1x System Module Reference Guide
(literature number SPNU189).(4) VOL and VOH are linear with respect to the amount of load current (IOL/IOH) applied.(5) Parameter does not apply to input-only or output-only pins.(6) 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 is always low.
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 31
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Electrical Characteristics (continued)over recommended operating free-air temperature range
PARAMETER TEST CONDITIONS MIN TYP MAX UNITSYSCLK = 24 MHz, ICLK = 15 MHz, 90VCC = 2.05 VVCC digital supply current mA(operating mode) SYSCLK = 48 MHz, ICLK = 24 MHz, 115VCC = 2.05 V
T version 1(105°C)VCC digital supply current OSCIN = 4 MHz,ICC mA(standby mode) (7) VCC = 2.05 V Q version 1.25(125°C)30°C version, VCC = 2.05 V 30
VCC digital supply current (halt mode) (7) T version (105°C), VCC = 2.05 V 365 µAQ version (125°C), VCC = 2.05 V 550
VCCIO digital supply current No DC load, VCCIO = 3.6 V (8) 10 mA(operating mode)ICCIO VCCIO digital supply current No DC load, VCCIO = 3.6 V (8) 15 µA(standby mode)
VCCIO digital supply current (halt mode) No DC load, VCCIO = 3.6 V (8) 5 µAVCCAD supply current (operating mode) All frequencies, VCCAD = 3.6 V 25 mA
ICCAD VCCAD supply current (standby mode) No DC load, VCCAD = 3.6 V (8) 10 µAVCCAD supply current (halt mode) VCCAD = 3.6 V 5 µA
VCCP = 3.6 V read operation 25 mAVCCP = 3.6 V program and erase 70 mAICCP VCCP pump supply current VCCP = 3.6 V standby mode operation (7) 10 µAVCCP = 3.6 V halt mode operation (7) 5 µA
CI Input capacitance 2 pFCO Output capacitance 3 pF
(7) For flash banks/pumps in sleep mode.(8) I/O pins configured as inputs or outputs with no load. All pulldown inputs ≤ 0.2 V. All pullup inputs ≥ VCCIO – 0.2 V.
32 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Parameter Measurement Information
��������������������
����
�
�
��
������
�����
���
�� Ω
Where: IOL = IOL MAX for the respective pin (A)
IOH = IOH MIN for the respective pin(A)
VLOAD = 1.5 VCL = 150-pF typical load-circuit capacitance(B)
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
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 5. Test Load Circuit
Copyright © 2005–2008, Texas Instruments Incorporated Submit Documentation Feedback 33
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
Timing Parameter Symbology
TMS470R1A384
SPNS110E–AUGUST 2005–REVISED MAY 2008 ......................................................................................................................................................... www.ti.com
Timing parameter symbols have been created in accordance with JEDEC Standard 100. To shorten the symbols,some of the pin names and other related terminology have been abbreviated as follows:
CM Compaction, CMPCT RD ReadCO CLKOUT RST Reset, RSTER Erase RX SCInRXICLK Interface clock S Slave modeM Master mode SCC SCInCLKOSC, OSCI OSCIN SIMO SPInSIMOOSCO OSCOUT SOMI SPInSOMIP Program, PROG SPC SPInCLKR Ready SYS System clockR0 Read margin 0, RDMRGN0 TX SCInTXR1 Read margin 1, RDMRGN1
Lowercase subscripts and their meanings are:
a access time r rise timec cycle time (period) su setup timed delay time t transition timef fall time v valid timeh hold time w pulse duration (width)
The following additional letters are used with these meanings:
H High X Unknown, changing, or don't care levelL Low Z High impedanceV Valid
34 Submit Documentation Feedback Copyright © 2005–2008, Texas Instruments Incorporated
Product Folder Link(s): TMS470R1A384
http://focus.ti.com/docs/prod/folders/print/tms470r1a384.htmlhttp://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPNS110E&partnum=TMS470R1A384http://focus.ti.com/docs/prod/folders/print/tms470r1a384.html
-
External Reference Resonator/Crystal Oscillator Clock Option
�! �����������������
�� ���������������
����������
��"� ��
����������
��� ���
���� ����
TMS470R1A384
www.ti.com ......................................................................................................................................................... SPNS110E–AUGUST 2005–REVISED MAY 2008
The oscillator is enabled by connecting the appropriate fundamental 4-20 MHz resonator/crystal and loadcapacitors across the external OSCIN and OSCOUT pins as shown in Figure 6a. The oscillator is a single-stageinverter held in bias by an integrated bias resistor. This resistor is disabled during leakage test measurement andHALT mod