TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com TMS470MF04207/TMS470MF03107 16/32-Bit RISC Flash Microcontroller Check for Samples: TMS470MF04207, TMS470MF03107 1 Features 1 • High-Performance Automotive Grade Microcontroller with Safety Features – Full Automotive Temperature Range – ECC on Flash and SRAM – CPU and Memory BIST (Built-In Self Test) • ARM Cortex™-M3 32-Bit RISC CPU – Efficient 1.2 DMIPS/MHz – Optimized Thumb2 Instruction Set – Memory Protection Unit (MPU) – Open Architecture With Third-Party Support – Built-In Debug Module • Operating Features – Up to 80MHz System Clock – Single 3.3V Supply Voltage • Integrated Memory – 448KB Total Program Flash with ECC – Support for Flash EEPROM Emulation – 24K-Byte Static RAM (SRAM) with ECC • Key Peripherals – High-End Timer, MibADC, CAN, MibSPI • Common TMS470M/570 Platform Architecture – Consistent Memory Map across the family – Real-Time Interrupt Timer (RTI) – Digital Watchdog – Vectored Interrupt Module (VIM) – Cyclic Redundancy Checker (CRC) • Frequency-Modulated Zero-Pin Phase-Locked Loop (FMzPLL)-Based Clock Module – Oscillator and PLL clock monitor • Up to 49 Peripheral IO pins – 4 Dedicated GIO - w/ External Interrupts • Two External Clock Prescale (ECP) Modules – Programmable Low-Frequency External Clock (ECLK) – One Dedicated Pin and One Muxed ECLK/HET pin • Communication Interfaces – Two CAN Controllers • One with 32 mailboxes, one with 16 • Parity on mailbox RAM – Two Multi-buffered Serial Peripheral Interface (MibSPI) • 12 total chip selects • 64 buffers with parity on each – Two UART (SCI) interfaces • H/W Support for Local Interconnect Network (LIN 2.1 master mode) • High-End Timer (HET) – Up to 16 Programmable I/O Channels – 128-Word High-End Timer RAM with Parity • 16-Channel 10-Bit Multi-Buffered ADC (MibADC) – 64-Word FIFO Buffer with Parity – Single- or Continuous-Conversion Modes – 1.55 µs Minimum Sample/Conversion Time – Calibration Mode and Self-Test Features • On-Chip Scan-Base Emulation Logic – IEEE Standard 1149.1 (JTAG) Test-Access Port and Boundary Scan • Packages supported – 100-Pin Plastic Quad Flatpack (PZ Suffix) – Green/Lead-Free • Development Tools Available – Development Boards – Code Composer Studio™ Integrated Development Environment (IDE) – HET Assembler and Simulator – nowFlash™ Flash Programming Tool • Community Resources – TI E2E Community 1 Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet. PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. Copyright © 2012, Texas Instruments Incorporated TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 HET[5] HET[4] VCCIOR VSS 54 53 52 51 HET[7] HET[6] 56 55 HET[9] HET[8] 58 57 HET[11] HET[10] 60 59 HET[13] HET[12] 62 61 HET[15]/ECLK2 VCCIOR 65 HET[14] VSS 66 63 VCC 67 64 ADIN[0] ADEVT 69 68 ADIN[2] ADIN[1] 71 70 ADIN[4] ADIN[3] 72 ADIN[5] 74 73 ADIN[6] 75 PZ Package Views ADIN[7] 76 50 HET[3] ADIN[8] 77 49 HET[2] ADIN[9] 78 48 TRST ADIN[10] 79 47 TMS ADIN[11] 80 46 TDI ADIN[12] 81 45 TDO ADREFHI 82 44 TCK ADREFLO 43 VSSAD 83 84 42 VCCIOR VSS VCCAD 85 41 VCC ADIN[13] 86 40 HET[1] ADIN[14] 87 39 HET[0] ADIN[15] 88 38 CAN2SRX PORRST 89 37 CAN2STX MIBSPI2ENA 90 36 MIBSPI1SOMI ENZ 91 35 MIBSPI1SIMO VCC 92 34 MIBSPI1CLK VSS 93 33 MIBSPI1SCS[0] VCCIOR 94 32 MIBSPI1SCS[1] 24 25 LIN1SCI1TX LIN1SCI1RX LIN2SCI2TX 22 23 VSS LIN2SCI2RX 20 21 VCCIOR 18 19 MIBSPI2SIMO MIBSPI2CLK MIBSPI2SOMI 16 17 GIOA[7]/INT[7] 14 15 13 VSS VCCIOR 12 VCC GIOA[6]/INT[6] 11 OSCOUT 9 10 VSS OSCIN MIBSPI1SCS[7] 7 26 8 MIBSPI1SCS[6] 100 VSS CAN1STX 27 CAN1SRX 99 5 MIBSPI1SCS[5] FLTP1 6 28 GIOA[4]/INT[4] 98 GIOA[5]/INT[5] MIBSPI1SCS[4] RST 4 29 MIBSPI2SCS[3] 97 3 MIBSPI1SCS[3] TEST MIBSPI2SCS[2] MIBSPI1SCS[2] 30 2 31 96 1 95 MIBSPI2SCS[1] VCCP ECLK MIBSPI2SCS[0] 1.1 www.ti.com Figure 1-1. TMS470MF04207 and TMS470MF03107 100-Pin PZ Package (Top View) 2 Features Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1.2 Description The TMS470MF04207/03107 devices are members of the Texas Instruments TMS470M family of Automotive Grade 16/32-bit reduced instruction set computer (RISC) microcontrollers. The TMS470M microcontrollers offer high performance utilizing the high efficiency Cortex™-M3 16/32-bit RISC central processing unit (CPU), resulting in a high instruction throughput while maintaining greater code efficiency. The TMS470M devices utilize the big-endian format where the most-significant byte of a word is stored at the lowest numbered byte and the least-significant byte is stored at the highest numbered byte. High-end embedded control applications demand more performance from their controllers while maintaining low costs. The TMS470M microcontroller architecture offers solutions to these performance and cost demands while maintaining low power consumption. The TMS470MF04207/03107 device contains the following: • 16/32-Bit RISC CPU Core • TMS470MF04207 Up to 448K-Byte Program Flash with SECDED ECC • TMS470MF03107 Up to 320K-Byte Program Flash with SECDED ECC • 64K-Byte Flash with SECDED ECC for additional program space or EEPROM Emulation • Up to 24K-Byte Static RAM (SRAM) with SECDED ECC • Real-Time Interrupt Timer (RTI) • Vectored Interrupt Module (VIM) • Hardware built-in self-test (BIST) checkers for SRAM (MBIST) and CPU (LBIST) • 64-bit Cyclic Redundancy Checker (CRC) • Frequency-Modulated Zero-Pin Phase-Locked Loop (FMzPLL)-Based Clock Module With Prescaler • Two Multi-buffered Serial Peripheral Interfaces (MibSPI) • Two UARTs (SCI) with Local Interconnect Network Interfaces (LIN) • Two CAN Controller (DCAN) • High-End Timer (HET) • External Clock Prescale (ECP) Module • One 16-Channel 10-Bit Multi-Buffered ADC (MibADC) • Error Signaling Module (ESM) • Four Dedicated General-Purpose I/O (GIO) Pins and 45 Additional Peripheral I/Os (100-Pin Package) The TMS470M memory includes general-purpose SRAM supporting single-cycle read/write accesses in byte, half-word, and word modes. The SRAM on the TMS470M devices can be protected by means of ECC. This feature utilizes a single error correction and double error detection circuit (SECDED circuit) to detect and optionally correct single bit errors as well as detect all dual bit and some multi-bit errors. This is achieved by maintaining an 8-bit ECC checksum/code for each 64-bit double-word of memory space in a separate ECC RAM memory space. The flash memory on this device is a nonvolatile, electrically erasable and programmable memory. It is implemented with a 144-bit wide data word (128-bit without ECC) and a 64-bit wide flash module interface. The flash operates with a system clock frequency of up to 28 MHz. Pipeline mode, which allows linear prefetching of flash data, enables a system clock of up to 80 MHz. The enhanced real-time interrupt (RTI) module on the TMS470M devices has the option to be driven by the oscillator clock. The digital watchdog (DWD) is a 25-bit resetable decrementing counter that provides a system reset when the watchdog counter expires. The TMS470M devices have six communication interfaces: two LIN/SCIs, two DCANs, and two MibSPIs. The LIN is the Local Interconnect Network standard and also supports an SCI mode. SCI can be used in 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 DCAN uses a serial, multimaster communication protocol that efficiently supports distributed real-time control with robust communication Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Features 3 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com rates of up to 1 megabit per second (Mbps). The DCAN 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 MibSPI provides a convenient method of serial interaction for high-speed communications between similar shift-register type devices. The MibSPI provides the standard SOMI, SIMO, and SPI clock interface as well as up to eight chip select lines. 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. The TMS470M 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. The TMS470M devices have one 10-bit-resolution, sample-and-hold MibADC. Each of the MibADC channels can be grouped by software for sequential conversion sequences. There are three separate groupings, all three of which can be triggered by an external event. Each sequence can be converted once when triggered or configured for continuous conversion mode. The frequency-modulated zero-pin phase-locked loop (FMzPLL) clock module contains a phase-locked loop, a clock-monitor circuit, a clock-enable circuit, and a prescaler. The function of the FMzPLL is to multiply the external frequency reference to a higher frequency for internal use. The FMzPLL provides the input to the global clock module (GCM). The GCM module subsequently provides system clock (HCLK), real-time interrupt clock (RTICLK), CPU clock (GCLK), HET clock (VCLK2), DCAN clock (AVCLK1), and peripheral interface clock (VCLK) to all other TMS470M device modules. The TMS470MF04207/TMS470MF03107 devices also have two external clock prescaler (ECP) modules that when enabled, output a continuous external clock (ECLK). The ECLK1 frequency is a user-programmable ratio of the peripheral interface clock (VCLK) frequency. The second ECLK output can be selected in place of HET15 output. It shares the same source clock as ECLK1 but can be independently programmed for a separate output frequency from ECLK1. An error signaling module (ESM) provides a common location within the device for error reporting allowing efficient error checking and identification. 4 Features Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1.3 Functional Block Diagram Figure 1-2 shows the functional block diagram of the TMS470M devices. TMS470MF04207/ TMS470MF03107 JTAG-DP ICEPICK Cortex™ M3 with MPU nVIC LBIST Boundary Scan M3VIM I TMS TCK TRST TDI TDO D SYS HET 128 Words w/Parity HET[15:0] ESM SYS BMM BMM LIN/SCI1 LIN/SCI2 VCCP FLTP1 Flash Up to 384KB w/ECC RAM Up to 24KB w/ECC PSA A2V MibSPI1 64 Words/ 16TGs w/Parity MBIST Flash 64KB w/ECC MibSPI2 64 Words/ 8TGs w/Parity RST PORRST TEST ECLK LIN/SCI1TX LIN/SCI1RX LIN/SCI2TX LIN/SCI2RX MIBSPI1SIMO MIBSPI1SOMI MIBSPI1CLK MIBSPI1SCS[7:0] MIBSPI2SIMO MIBSPIP2SOMI MIBSPI2CLK MIBSPI2SCS[3:0] MIBSPI2ENA PCR OSCIN1 OSCOUT1 VCCIOR ENZ OSC PLL CLK Monitor ADC 64 Words w/Parity ADIN[15:0] ADEVT VCCAD VSSAD ADREFHI ADREFLO 1.5-V P-Ch VREG DCAN1 16 Mailboxes w/Parity CANS1RX CANS1TX VCCOUT DCAN2 32 Mailboxes w/Parity CANS2RX CANS2TX VCC Passgate1 VCC Passgate2 VCC Passgate3 VCC Passgate4 Flash Wrapper RAM Wrapper RTI/ DWD GIO GIOOA[7:4]/INTA[7:4] Figure 1-2. TMS470M Functional Block Diagram Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Features 5 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 1.4 www.ti.com Terms and Acronyms Table 1-1. Terms and Acronyms 6 Terms and Acronyms Description Comments A2V AHB to VBUSP Bridge The A2V bridge provides the memory interface between the proprietary TI VBUSP and the ARM AHB bus in the TMS470 platform devices. ADC Analog To Digital Converter AHB Advanced High-performance Bus Part of the M3 core BMM Bus Matrix Master The BMM provides connectivity between different bus slave modules to different bus master modules. Accesses from different master modules are executed in parallel if no resource conflict occurs or if the master modules are kept in series through arbitration CRC Cyclic Redundancy Check Controller DAP Debug Access Port DCAN Controller Area Network DWD Digital Watchdog ECC Error Correction Code DAP is an implementation of an ARM Debug Interface. ESM Error Signaling Module GIO General-Purpose Input/Output HET High-End Timer ICEPICK In Circuit Emulation TAP (Test Access Port) Selection Module ICEPick can connect or isolate a module level TAP to or from a higher level chip TAP. ICEPick was designed with both emulation and test requirements in mind. JTAG Joint Test Access Group IEEE Committee responsible for Test Access Ports JTAG-DP JTAG Debug Port JTAG-DP contains a debug port state machine (JTAG) that controls the JTAG-DP operation, including controlling the scan chain interface that provides the external physical interface to the JTAG-DP. It is based closely on the JTAG TAP State Machine, see IEEE Std 1149.1-2001. LBIST Logic Built-In Self Test Test the integrity of M3 CPU LIN Local Interconnect Network M3VIM Cortex-M3 Vectored Interrupt Manager MBIST Memory Built-In Self Test MibSPI Multi-Buffered Serial Peripheral Interface MPU Protection Unit NVIC Nested Vectored Interrupt Controller OSC Oscillator PCR Peripheral Central Resource PLL Phase-Locked Loop PSA Parallel Signature Analysis RTI Real-Time Interrupt Test the integrity of SRAM Part of the M3 core SCI Serial Communication Interface SECDED Single Error Correction and Double Error Detection STC Self Test Controller SYS System Module VBUS Virtual Bus One of the protocols that comprises CBA (Common Bus Architecture) VBUSP Virtual Bus-Pipelined One of the protocols that comprises CBA (Common Bus Architecture) VREG Voltage Regulator Features Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1 2 3 ................................................... 1 1.1 PZ Package Views ................................... 2 1.2 Description ........................................... 3 1.3 Functional Block Diagram ............................ 5 1.4 Terms and Acronyms ................................ 6 Device Overview ........................................ 8 2.1 Memory Map Summary .............................. 9 2.2 Terminal Functions ................................. 14 2.3 Device Support ..................................... 18 Device Configurations ................................ 20 3.1 Reset/Abort Sources ............................... 20 3.2 Lockup Reset Module .............................. 21 3.3 ESM Assignments .................................. 21 3.4 Interrupt Priority (M3VIM) ........................... 22 3.5 MibADC ............................................. 23 3.6 MibSPI .............................................. 24 3.7 JTAG ID ............................................ 25 3.8 Scan Chains ........................................ 25 3.9 Adaptive Impedance 4 mA IO Buffer ............... 25 3.10 Built-In Self Test (BIST) Features .................. 29 3.11 Device Identification Code Register ................ 32 Features 3.12 4 5 6 7 Device Part Numbers ............................... ....................... Device Operating Conditions 33 34 4.1 Absolute Maximum Ratings Over Operating Free-Air Temperature Range, Q Version ........... 34 4.2 4.3 Device Recommended Operating Conditions ...... 34 Electrical Characteristics Over Recommended Operating Free-Air Temperature Range, Q Version ...................................................... 35 Peripheral Information and Electrical Specifications .......................................... 36 ........................ ...................... 5.3 SPIn Master Mode Timing Parameters ............. 5.4 SPIn Slave Mode Timing Parameters .............. 5.5 CAN Controller (DCANn) Mode Timings ........... 5.6 High-End Timer (HET) Timings ..................... 5.7 Multi-Buffered A-to-D Converter (MibADC) ......... Revision History ....................................... Mechanical Data ....................................... 7.1 Thermal Data ....................................... 7.2 Packaging Information .............................. 5.1 RST and PORRST Timings 36 5.2 PLL and Clock Specifications 39 Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Contents 50 54 58 58 59 63 64 64 64 7 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 2 Device Overview The TMS470MF04207/03107 device is a TMS470M Platform Architecture implemented in F035 130-nm TI technology. Table 2-1 identifies all the characteristics of the TMS470MF04207/03107 device except the SYSTEM and CPU, which are generic. Table 2-1. Device Characteristics CHARACTERISTICS DEVICE DESCRIPTION TMS470MF04207/03107 COMMENTS FOR TMS470M MEMORY INTERNAL MEMORY Pipeline/Non-Pipeline 2 Banks with up to 448K-Byte Flash with ECC Up to 24K-Byte SRAM with ECC CRC, 1-channel Flash is pipeline-capable PERIPHERALS For the device-specific interrupt priority configurations, see Table 3-4. For the peripheral address ranges and their peripheral selects, see Table 2-7. CLOCK GENERAL-PURPOSE I/Os LIN/SCI FMzPLL 4 I/O Frequency-modulated zero-pin PLL has no external loop filter pins. The GIOA port has up to four (4) external pins with external interrupt capability. 2 LIN/SCI DCAN 2 DCAN Each with 16/32 mailboxes, respectively. MibSPI 2 MibSPI One MibSPI with eight chip select pins, 16 transfer groups, and a 64 word buffer with parity. A second MibSPI with four chip select pins, 1 enable pin, 8 transfer groups, and a 64 word buffer with parity. 16 I/O The high-resolution (HR) SHARE feature allows even-numbered HR pins to share the next higher odd-numbered 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. HET RAM with parity checking capability. HET with XOR Share HET RAM MibADC 128-Instruction Capacity 10-bit, 16-channel 64-word FIFO CORE VOLTAGE 1.55 V I/O VOLTAGE 3.3 V PINS 100 PACKAGE 8 Device Overview PZ (100 pin) MibADC RAM includes parity support. The core voltage is supplied and regulated by the device's internal voltage regulator. There is not need for an externally supplied core voltage. Available in a 100-pin package. The 100-pin package designator is PZ. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 2.1 Memory Map Summary 2.1.1 Memory Map Figure 2-1 and Figure 2-2 show the TMS470MF04207 and TMS470MF03107 memory maps. 0xFFFFFFFF 0xFFF80000 0xFFF7FFFF SYSTEM Module Peripherals 0xFF000000 0xFEFFFFFF 0xFE000000 PSA 0x08405FFF 0x08400000 RAM - ECC 0x08105FFF 0x08100000 RAM - CLR Space 0x08085FFF 0x08080000 RAM - SET Space (A) (A) (24KB) (24KB) 0x08005FFF 0x08000000 RAM (24KB) 0x0047FFFF 0x00440000 0x0042FFFF 0x00400000 0x0008FFFF FLASH - ECC (Bank 1) 0x00080000 0x0005FFFF FLASH - ECC (Bank 0) FLASH (64KB - Bank 1) FLASH (384KB - Bank 0) 0x00000000 A. The RAM supports bit access operation which allows set/clear to dedicated bits without disturbing the other bits; for detailed description, see the Architecture Specification. Figure 2-1. TMS470MF04207 Memory Map Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 9 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 0xFFFFFFFF 0xFFF80000 0xFFF7FFFF SYSTEM Module Peripherals 0xFF000000 0xFEFFFFFF 0xFE000000 PSA 0x08403FFF 0x08400000 RAM - ECC 0x08103FFF 0x08100000 RAM - CLR Space 0x08083FFF 0x08080000 RAM - SET Space (A) (A) (16KB) (16KB) 0x08003FFF 0x08000000 RAM (16KB) 0x00447FFF 0x00440000 0x0041FFFF 0x00400000 FLASH - ECC (Bank 1) 0x0008FFFF 0x00080000 0x0003FFFF FLASH - ECC (Bank 0) FLASH (64KB - Bank 1) FLASH (256KB - Bank 0) 0x00000000 A. The RAM supports bit access operation which allows set/clear to dedicated bits without disturbing the other bits; for detailed description, see the Architecture Specification. Figure 2-2. TMS470MF03107 Memory Map 10 Device Overview Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 2.1.2 Memory Selects Memories in the TMS470M devices are located at fixed addresses. Table 2-2 through Table 2-7 detail the mapping of the memory regions. Table 2-2. TMS470MF04207-Specific Memory Frame Assignment MEMORY FRAME NAME START ADDRESS ENDING ADDRESS MEMORY TYPE ACTUAL MEMORY 0x0000 0000 0x0005 FFFF Flash 384K Bytes 0x0008 0000 0x0008 FFFF Flash 64K Bytes RAM-CLR 0x0810 0000 0x0810 5FFF Internal RAM 24K Bytes RAM-SET 0x0808 0000 0x0808 5FFF Internal RAM 24K Bytes 0x0800 0000 0x0800 5FFF Internal RAM 24K Bytes 0x0840 0000 0x0840 5FFF Internal RAM-ECC 24K Bytes nCS0 (1) CSRAM0 (1) (1) Additional address mirroring could be present resulting in invalid but addressable locations beyond those listed above. TI recommends the use of the MPU for protecting access to addresses outside the intended range of use. Table 2-3. TMS470MF03107-Specific Memory Frame Assignment MEMORY FRAME NAME START ADDRESS ENDING ADDRESS MEMORY TYPE ACTUAL MEMORY 0x0000 0000 0x0003 FFFF Flash 256K Bytes 0x0008 0000 0x0008 FFFF Flash 64K Bytes RAM-CLR 0x0810 0000 0x0810 3FFF Internal RAM 16K Bytes RAM-SET 0x0808 0000 0x0808 3FFF Internal RAM 16K Bytes 0x0800 0000 0x0800 3FFF Internal RAM 16K Bytes 0x0840 0000 0x0840 3FFF Internal RAM-ECC 16K Bytes nCS0 (1) CSRAM0 (1) (1) Additional address mirroring could be present resulting in invalid but addressable locations beyond those listed above. TI recommends the use of the MPU for protecting access to addresses outside the intended range of use. Table 2-4. Memory Initialization and MBIST ADDRESS RANGE BASE ADDRESS ENDING ADDRESS MEMORY INITIALIZATION CHANNEL MBIST CONTROLLER ENABLE CHANNEL System RAM (TMS470MF04207) 0x0800 0000 0x0800 5FFF 0 0 System RAM (TMS470MF03107) 0x0800 0000 0x0800 3FFF 0 0 MibSPI1 RAM 0xFF0E 0000 0xFF0F FFFF 1 MibSPI2 RAM 0xFF0C 0000 0xFF0D FFFF 2 CONNECTING MODULE (1) 1 or 2 (1) DCAN1 RAM 0xFF1E 0000 0xFF1F FFFF 3 DCAN2 RAM 0xFF1C 0000 0xFF1D FFFF 4 ADC RAM 0xFF3E 0000 0xFF3F FFFF 5 5 HET RAM 0xFF46 0000 0xFF47 FFFF Not Available 6 STC ROM Not Applicable Not Applicable Not Applicable 7 3 or 4 (1) There are single MBIST controllers for both MibSPI RAMs and both DCAN RAMs. The MBIST controller for both MibSPI RAMs is mapped to channels 1 and 2 and the MBIST controller for both DCAN RAMs is mapped to channels 3 and 4. MBIST on these modules can be initiated by selecting one of the 2 channels or both. Table 2-5. Peripheral Memory Chip Select Assignment CONNECTING MODULE ADDRESS RANGE BASE ADDRESS ENDING ADDRESS PERIPHERAL SELECTS MibSPI1 RAM 0xFF0E 0000 0xFF0F FFFF PCS[7] MibSPI2 RAM 0xFF0C 0000 0xFF0D FFFF PCS[6] DCAN1 RAM 0xFF1E 0000 0xFF1F FFFF PCS[14] DCAN2 RAM 0xFF1C 0000 0xFF1D FFFF PCS[15] Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 11 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 2-5. Peripheral Memory Chip Select Assignment (continued) ADDRESS RANGE BASE ADDRESS ENDING ADDRESS PERIPHERAL SELECTS ADC RAM 0xFF3E 0000 0xFF3F FFFF PCS[31] HET RAM 0xFF46 0000 0xFF47 FFFF PCS[35] CONNECTING MODULE NOTE All used peripheral memory chip selects should decode down to the smallest possible address for this particular peripheral configuration, starting from 4kB upwards. Unused addresses should generate an illegal address error when accessed. Table 2-6. System Peripheral Registers FRAME NAME PSA ADDRESS RANGE FRAME START ADDRESS FRAME ENDING ADDRESS 0xFE00 0000 0xFEFF FFFF Flash Wrapper Registers 0xFFF8 7000 0xFFF8 7FFF PCR Register 0xFFFF E000 0xFFFF E0FF System Frame 2 Registers 0xFFFF E100 0xFFFF E1FF CPU STC (LBIST) 0xFFFF E400 0xFFFF E4FF ESM Register 0xFFFF F500 0xFFFF F5FF RAM ECC Register 0xFFFF F900 0xFFFF F9FF RTI Register 0xFFFF FC00 0xFFFF FCFF VIM Register 0xFFFF FE00 0xFFFF FEFF System Registers 0xFFFF FF00 0xFFFF FFFF Table 2-7. Peripheral Select Map with Address Range 2.1.3 CONNECTING MODULE BASE ADDRESS END ADDRESS MibSPI2 0xFFF7 F600 0xFFF7 F7FF MibSPI1 0xFFF7 F400 0xFFF7 F5FF LIN/SCI1 0xFFF7 E500 0xFFF7 E5FF LIN/SCI2 0xFFF7 E400 0xFFF7 E4FF PERIPHERAL SELECTS PS[2] PS[6] DCAN2 0xFFF7 DE00 0xFFF7 DFFF DCAN1 0xFFF7 DC00 0xFFF7 DDFF ADC 0xFFF7 C000 0xFFF7 C1FF PS[15] GIO 0xFFF7 BC00 0xFFF7 BCFF PS[16] HET 0xFFF7 B800 0xFFF7 B8FF PS[17] PS[8] Flash Memory When in pipeline mode, the Flash operates with a system clock frequency of up to 80 MHz (versus a system clock in non-pipeline mode of up to 28 MHz). Flash in pipeline mode is capable of accessing 128-bit words and provides four 32-bit pipelined words to the CPU. 12 Device Overview Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com NOTE 1. After a system reset, pipeline mode is disabled [FRDCNTL[2:0] is 000b, see the Flash chapter in the TMS470M Series Technical Reference Manual (literature number SPNU495)]. In other words, the device powers up and comes out of reset in non-pipeline mode. 2. The flash external pump voltage (VCCP) is required for all operations (program, erase, and read). 2.1.4 Flash Program and Erase The TMS470MF04207/TMS470MF03107 devices flash contain one 384/256K-byte memory array (or bank) and one 64K-byte bank for a total of up to 12 sectors. Table 2-8 and Table 2-9 show the TMS470MF04207 and TMS470MF03107 flash memory banks and sectors. The minimum size for an erase operation is one sector. The maximum size for a program operation is one 32-bit word. Table 2-8. TMS470MF04207 Flash Memory Banks and Sectors SECTOR NO. SEGMENT LOW ADDRESS HIGH ADDRESS 0 16k 0x0000 0000 0x0000 3FFF 1 16k 0x0000 4000 0x0000 7FFF 2 32k 0x0000 8000 0x0000 FFFF 3 64k 0x0001 0000 0x0001 FFFF 4 64k 0x0002 0000 0x0002 FFFF 5 64k 0x0003 0000 0x0003 FFFF 6 64k 0x0004 0000 0x0004 FFFF 7 64k 0x0005 0000 0x0005 FFFF 0 16k 0x0008 0000 0x0008 3FFF 1 16k 0x0008 4000 0x0008 7FFF 2 16k 0x0008 8000 0x0008 BFFF 3 16k 0x0008 C000 0x0008 FFFF (1) MEMORY ARRAYS (OR BANKS) BANK 0 (384K Bytes) BANK 1 (1) (64K Bytes) Bank 1 can be used as either EEPROM emulation space or as program space. Table 2-9. TMS470MF03107 Flash Memory Banks and Sectors SECTOR NO. SEGMENT LOW ADDRESS HIGH ADDRESS 0 16k 0x0000 0000 0x0000 3FFF 1 16k 0x0000 4000 0x0000 7FFF 2 32k 0x0000 8000 0x0000 FFFF 3 64k 0x0001 0000 0x0001 FFFF 4 64k 0x0002 0000 0x0002 FFFF 5 64k 0x0003 0000 0x0003 FFFF 0 16k 0x0008 0000 0x0008 3FFF 1 16k 0x0008 4000 0x0008 7FFF 2 16k 0x0008 8000 0x0008 BFFF 3 16k 0x0008 C000 0x0008 FFFF (1) MEMORY ARRAYS (OR BANKS) BANK 0 (256K Bytes) BANK 1 (1) (64K Bytes) Bank 1 can be used as either EEPROM emulation space or as program space. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 13 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 2.2 www.ti.com Terminal Functions The terminal functions table (Table 2-10) identifies the pin names, the associated pin numbers, input voltage, output voltage, whether the pin has any internal pullup/pulldown resistors and a functional pin description. The TMS470MF04207 and TMS470MF03107 devices have the same pin out. Table 2-10. Terminal Functions TERMINAL NAME 100 PIN INPUT VOLTAGE (1) (2) OUTPUT CURRENT (3) IPU/IPD (4) DESCRIPTION HIGH-END TIMER (HET) HET[0] 39 HET[1] 40 HET[2] 49 HET[3] 50 HET[4] 53 HET[5] 54 HET[6] 55 HET[7] 56 HET[8] 57 HET[9] 58 HET[10] 59 HET[11] 60 HET[12] 61 HET[13] 62 HET[14] 63 HET[15]/ECLK2 64 CAN1STX 7 Timer input capture or output compare. The HET[15:0] applicable pins can be programmed as general-purpose input/output (GIO) pins. The high-resolution (HR) SHARE feature allows even HR pins to share the next higher odd HR pin structure. The next higher odd HR pin structure is always implemented, even if the next higher odd HR pad and/or pin itself is not. 3.3-V I/O Adaptive impedance 4 mA Programmable IPD (100 µA) Note: HET[15] is muxed with ECLK2 output. If ECLK2 output is enabled (through SYSPC1 register at 0xFFFFFF00), ECLK2 is output on this pin and HET[15] becomes an internal only HET channel. Note: ECLK2 source select must be programmed the same as ECLK1 due to device specific implementation details. Note: ECLK2 is enabled and ECLK2 divider is programmed through ECP control register 1 in System Frame 2 Registers (0xFFFFE128). CAN CONTROLLER 1 (DCAN1) CAN1SRX 8 CAN2STX 37 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) DCAN1 transmit pin or GIO pin. DCAN1 receive pin or GIO pin. CAN CONTROLLER 2 (DCAN2) CAN2SRX 38 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) DCAN2 transmit pin or GIO pin DCAN2 receive pin or GIO pin GENERAL-PURPOSE I/O (GIO) GIOA[4]/INT[4] 5 GIOA[5]/INT[5] 6 GIOA[6]/INT[6] 15 GIOA[7]/INT[7] 16 (1) (2) (3) (4) 14 General-purpose input/output pins. 3.3-V I/O Adaptive impedance 4 mA Programmable IPD (100 µA) They are interrupt-capable pins. 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. The TMS470M device utilizes adaptive impedance 4 mA buffers that default to an adaptive impedance mode of operation. As a fail-safe, the adaptive impedance features of the buffer may be disabled and revert the buffer to a standard buffer mode. IPD = internal pulldown, IPU = internal pullup (all internal pullups and pulldowns are inactive on input pins when PORRST is asserted) Device Overview Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 2-10. Terminal Functions (continued) TERMINAL NAME 100 PIN INPUT VOLTAGE (1) (2) OUTPUT CURRENT (3) IPU/IPD (4) DESCRIPTION MULTI-BUFFERED SERIAL PERIPHERAL INTERFACE 1 (MIBSPI1) MIBSPI1CLK 34 MIBSPI1 clock. MIBSPI1CLK can be programmed as a GIO pin. MIBSPI1SCS[0] 33 MIBSPI1SCS[1] 32 MIBSPI1SCS[2] 31 MIBSPI1SCS[3] 30 MIBSPI1SCS[4] 29 MIBSPI1SCS[5] 28 MIBSPI1SCS[6] 27 MIBSPI1SCS[7] 26 MIBSPI1SIMO 35 MIBSPI1 data stream. Slave in/master out. MIBSPI1SIMO can be programmed as a GIO pin. MIBSPI1SOMI 36 MIBSPI1 data stream. Slave out/master in. MIBSPI1SOMI can be programmed as a GIO pin. 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) MIBSPI1 slave chip select. MIBSPI1SCS[7:0] can be programmed as a GIO pins. MULTI-BUFFERED SERIAL PERIPHERAL INTERFACE 2 (MibSPI2) MibSPI2CLK 17 MibSPI2SCS[0] 1 MibSPI2SCS[1] 2 MibSPI2SCS[2] 3 MibSPI2 clock. MibSPI2CLK can be programmed as a GIO pin. MibSPI2 slave chip select MibSPI2SCS[3:0] can be programmed as GIO pins. MibSPI2SCS[3] 4 MibSPI2ENA 90 MibSPI2SIMO[0] 18 MibSPI2 data stream. Slave in/master out. MibSPI2SIMO pins can be programmed as a GIO pins. MibSPI2SOMI[0] 19 MibSPI2 data stream. Slave out/master in. MibSPI2SOMI pins can be programmed as GIO pins. 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) MibSPI2 enable pin. MibSPI2ENA can be programmed as a GIO pin. LOCAL INTERCONNECT NETWORK/SERIAL COMMUNICATIONS INTERFACE (LIN/SCI) LIN/SCI1RX 23 LIN/SCI1TX 22 LIN/SCI2RX 25 LIN/SCI2TX 24 ADEVT 68 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) 3.3-V I/O Adaptive impedance 4 mA Programmable IPU (100 µA) LIN/SCI1 data receive. Can be programmed as a GIO pin. LIN/SCI1 data transmit. Can be programmed as a GIO pin. LIN/SCI2 data receive. Can be programmed as a GIO pin. LIN/SCI2 data transmit. Can be programmed as a GIO pin. MULTI-BUFFERED ANALOG-TO-DIGITAL CONVERTER (MIBADC) 3.3-V I/O Adaptive impedance 4 mA Programmable IPD (100 µA) MibADC event input. Can be programmed as a GIO pin. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 15 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 2-10. Terminal Functions (continued) TERMINAL NAME 100 PIN INPUT VOLTAGE (1) (2) OUTPUT CURRENT (3) IPU/IPD (4) DESCRIPTION ADIN[0] 69 ADIN[1] 70 ADIN[2] 71 ADIN[3] 72 ADIN[4] 73 ADIN[5] 74 ADIN[6] 75 ADIN[7] 76 ADIN[8] 77 ADIN[9] 78 ADIN[10] 79 ADIN[11] 80 ADIN[12] 81 ADIN[13] 86 ADIN[14] 87 ADIN[15] 88 ADREFHI 82 3.3-V REF MibADC module high-voltage reference input. ADREFLO 83 GND REF MibADC module low-voltage reference input. VCCAD 85 3.3-V PWR MibADC analog supply voltage. VSSAD 84 GND 3.3 V MibADC analog input pins. MibADC analog ground reference. OSCILLATOR (OSC) OSCIN 10 1.55-V I OSCOUT 11 1.55-V O Crystal connection pin or external clock input. External crystal connection pin. SYSTEM MODULE (SYS) PORRST 89 RST 98 IPD (100 µA) 3.3-V I 3.3-V I/O ECLK 96 3.3-V I/O TCK 44 3.3-V I TDI 46 Adaptive impedance 4 mA Adaptive impedance 4 mA IPU (100 µA) Programmable IPD (100 µA) Input master chip power-up reset. External VCC monitor circuitry must assert a power-on reset. 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. Bidirectional pin. ECLK can be programmed as a GIO pin. TEST/DEBUG (T/D) TDO 45 3.3-V I/O TMS 47 TRST 48 16 Device Overview 3.3-V I Adaptive impedance 4 mA IPD (100 µA) Test clock. TCK controls the test hardware (JTAG). IPU (100 µA) Test data in pin. TDI inputs serial data to the test instruction register, test data register, and programmable test address (JTAG). IPD (100 µA) Test data out pin. TDO outputs serial data from the test instruction register, test data register, identification register, and programmable test address (JTAG). IPU (100 µA) Serial input pin for controlling the state of the CPU test access port (TAP) controller (JTAG). IPD (100 µA) Test hardware reset to TAP. IEEE Standard 1149-1 (JTAG) Boundary-Scan Logic. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 2-10. Terminal Functions (continued) TERMINAL NAME TEST 100 PIN INPUT VOLTAGE (1) (2) IPU/IPD (4) 97 3.3-V I ENZ OUTPUT CURRENT (3) IPD (100 µA) 91 DESCRIPTION Test enable. Reserved for internal use only. TI recommends that this pin be connected to ground or pulled down to ground by an external resistor. Enables/disables the internal voltage regulator. 0V - Enables internal voltage regulator. 3.3-V I IPD (100 µA) 3.3V-Disables internal voltage regulator. Note: The ENZ pin is provided to facilitate testing across the core voltage range and is not intended for disabling the on chip voltage regulator during application use. FLASH FLTP1 99 VCCP1 95 VCCP2 95 VCC 12 Flash Test Pad 1 pin. For proper operation, this pin must connect only to a test pad or not be connected at all [no connect (NC)]. The test pad must not be exposed in the final product where it might be subjected to an ESD event. Flash external pump voltage (3.3 V). This pin is required for both Flash read and Flash program and erase operations. VCCP1 and VCCP2 are double bonded to the same pin. 3.3-V PWR SUPPLY VOLTAGE CORE (1.55 V) 41 67 Vreg output voltage when Vreg is enabled. VCC input when Vreg is disabled. 1.55-V PWR 92 SUPPLY VOLTAGE DIGITAL I/O AND REGULATOR (3.3 V) VCCIOR 14 20 43 52 3.3-V PWR Digital I/O and internal regulator supply voltage. 65 94 SUPPLY GROUND VSS 9 13 21 42 51 GND Digital I/O and core supply ground reference. 66 93 100 Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 17 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 2.3 2.3.1 www.ti.com Device Support Device and Development-Support Tool Nomenclature To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all devices and support tools. Each commercial family member has one of three prefixes: TMX, TMP, or TMS (e.g.,TMS470MF04207). Texas Instruments recommends two of three possible prefix designators for its support tools: TMDX and TMDS. These prefixes represent evolutionary stages of product development from engineering prototypes (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 specifications. TMP Final silicon die that conforms to the device's electrical specifications but has not completed quality and reliability verification. TMS Fully-qualified production device. Support tool development evolutionary flow: TMDX Development-support product that has not yet completed Texas Instruments internal qualification testing. TMDS Fully qualified development-support product. TMX 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 reliability of 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 production devices. Texas Instruments recommends that these devices not be used in any production system because their expected end-use failure rate still is undefined. Only qualified production devices are to be used. TI device nomenclature also includes a suffix with the device family name. This suffix indicates the package type (for example, PZ), the temperature range (for example, "Blank" is the commercial temperature range), and the device speed range in megahertz. Figure 2-3 illustrates the numbering and symbol nomenclature for the TMS470M family. 18 Device Overview Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Full Part Number TMS 470 MF 04 2 07 B S PZ Q Q1 R Orderable Part Number S 4 MF 04 2 07 B S PZ Q Q1 R Prefix: TM S = TMS Qualified P = TMP Prototype X = TMX Samples Core Technology: 4 = 470 Cortex M3 Architecture: MF = M3 Flash Flash Memory Size: 04 = 448K Bytes 03 = 320K Bytes RAM Memory Size: 2 = 24K Bytes 1 = 16K Bytes Peripheral Configuration: Die Revision: Blank = Initial Die A = First Die Revision B = Second Die Revision Technology/Core Voltage: S = F035 (130 nm), 1.5-V Nominal Core Voltage Package Type: PZ = 100-Pin QFP Package (Green) Temperature Range: Q = -40°C to +125°C Quality Designator: Q1 = Automotive Shipping Options: R = Tape and Reel NOTE: The part number given above is for illustrative purposes only and does not necessarily represent the specific part number or silicon revision to which this document applies. Figure 2-3. TMS470M Device Numbering Conventions Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Overview 19 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 3 Device Configurations 3.1 Reset/Abort Sources Resets/aborts are handled as shown in Table 3-1. Table 3-1. Reset/Abort Sources SYSTEM MODE ERROR RESPONSE ESM HOOKUP, GROUP.CHANNEL Precise write error (NCNB/Strongly Ordered) User/Privilege Precise Abort (CPU) n/a Precise read error (NCB/Device or Normal) User/Privilege Precise Abort (CPU) n/a Imprecise write error (NCB/Device or Normal) User/Privilege Imprecise Abort (CPU) n/a External imprecise error (Illegal transaction with ok response) User/Privilege ESM 2.17 Illegal instruction User/Privilege Undefined Instruction Trap (CPU) (1) n/a M3 Lockup User/Privilege ESM => NMI 2.16 MPU access violation User/Privilege Abort (CPU) n/a ECC single error (correctable) User/Privilege ESM 1.26 ECC double error (uncorrectable) User/Privilege ESM => NMI 2.6 ECC single error (correctable) User/Privilege ESM 1.6 ECC double error (uncorrectable) User/Privilege ESM => NMI 2.4 User/Privilege ESM 1.7 MibSPI1 memory parity error User/Privilege ESM 1.17 MibSPI2 memory parity error User/Privilege ESM 1.18 User/Privilege ESM 1.19 DCAN1 memory parity error User/Privilege ESM 1.21 DCAN2 memory parity error User/Privilege ESM 1.23 User/Privilege ESM 1.10 User/Privilege ESM 1.11 n/a Reset n/a User/Privilege ESM 1.27 n/a Reset n/a ERROR SOURCE 1) CPU TRANSACTIONS 2) SRAM 3) FLASH WITH ECC 8) HET HET Memory parity error 9) MIBSPI 10) MIBADC Memory parity error 11) DCAN/CAN 13) PLL PLL slip error 14) CLOCK MONITOR Clock monitor interrupt 19) VOLTAGE REGULATOR Vcc out of range 20) CPU SELFTEST (LBIST) CPU Selftest (LogicBIST) error 21) ERRORS REFLECTED IN THE SYSESR REGISTER Power-Up Reset/Vreg out of voltage (2) (1) (2) 20 The undefined instruction trap is NOT detected outside of the CPU. The trap is taken only if the code reaches the execute stage of the CPU. Both a power-on reset and Vreg out-of-range reset are indicated by the PORST bit in the SYSESR register. Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-1. Reset/Abort Sources (continued) SYSTEM MODE ERROR RESPONSE ESM HOOKUP, GROUP.CHANNEL Oscillator fail / PLL slip (3) n/a Reset n/a M3 Lockup/LRM n/a Reset n/a Watchdog time limit exceeded n/a Reset n/a CPU Reset n/a Reset n/a Software Reset n/a Reset n/a External Reset n/a Reset n/a ERROR SOURCE (3) 3.2 Oscillator fail/PLL slip can be configured in the system register (SYS.PLLCTL1) to generate a reset. Lockup Reset Module The lockup reset module (LRM) is implemented to communicate a lockup condition by the core. The LRM provides a small watchdog timer which can generate a system reset in case a lockup condition that is identified by the core cannot be cleared by software. 3.3 ESM Assignments The ESM module is intended for the communication critical system failures in a central location. The error indication is by an error interrupt when the failure is recognized from any detection unit. The ESM module consist of three error groups with 32 inputs each. The generation of the interrupts is shown in Table 3-2. ESM assignments are listed in Table 3-3. Table 3-2. ESM Groups ERROR GROUP INTERRUPT, LEVEL Group1 maskable, low/high Group2 non-maskable, high Group3 Not Used Table 3-3. ESM Assignments ERROR SOURCES CHANNEL GROUP 1 Reserved 0-5 Flash - ECC Single Bit 6 HET memory parity error 7 Reserved 8-9 PLL Slip Error 10 Clock Monitor interrupt 11 Reserved 12-16 MibSPI1 memory parity error 17 MibSPI2 memory parity error 18 MibADC memory parity error 19 Reserved 20 DCAN1 memory parity error 21 Reserved 22 DCAN2 memory parity error 23 Reserved 24-25 SRAM - single bit 26 CPU LBIST - selftest error 27 Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 21 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-3. ESM Assignments (continued) ERROR SOURCES CHANNEL Reserved 28-31 GROUP 2 3.4 Reserved 0-3 Flash - Double-Bit Error (uncorrectable) 4 Reserved 5 SRAM - Double-Bit Error (uncorrectable) 6 Reserved 7-15 M3 Lockup 16 M3 External Imprecise Abort 17 Reserved 18-31 Interrupt Priority (M3VIM) The TMS470M platform interrupt architecture includes a vectored interrupt manager (M3VIM) that provides hardware assistance for prioritizing and controlling the many interrupt sources present on a device. Table 3-4 communicates the default interrupt request assignments. Table 3-4. Interrupt Request Assignments 22 MODULES INTERRUPT SOURCES DEFAULT VIM INTERRUPT REQUEST ESM ESM High level interrupt (NMI) 0 Reserved (NMI) 1 ESM ESM Low level interrupt 2 SYSTEM Software interrupt (SSI) 3 RTI RTI compare interrupt 0 4 RTI RTI compare interrupt 1 5 RTI RTI compare interrupt 2 6 RTI RTI compare interrupt 3 7 RTI RTI overflow interrupt 0 8 RTI RTI overflow interrupt 1 9 Reserved Reserved 10 GIO GIO Interrupt A 11 GIO GIO Interrupt B 12 HET HET level 0 interrupt 13 HET HET level 1 interrupt 14 MibSPI1 MibSPI1 level 0 interrupt 15 MibSPI1 MibSPI1 level 1 interrupt 16 Reserved Reserved 17 LIN/SCI2 LIN/SCI2 level 0 interrupt 18 LIN/SCI2 LIN/SCI2 level 1 Interrupt 19 LIN/SCI1 LIN/SCI1 level 0 interrupt 20 LIN/SCI1 LIN/SCI1 level 1 Interrupt 21 DCAN1 DCAN1 level 0 Interrupt 22 DCAN1 DCAN1 level 1 Interrupt 23 ADC ADC event group interrupt 24 ADC ADC sw group 1 interrupt 25 ADC ADC sw group 2 interrupt 26 Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-4. Interrupt Request Assignments (continued) 3.5 MODULES INTERRUPT SOURCES DEFAULT VIM INTERRUPT REQUEST MibSPI2 MibSPI2 level 0 interrupt 27 MibSPI2 MibSPI2 level 1 interrupt 28 DCAN2 DCAN2 level 0 interrupt 29 DCAN2 DCAN2 level 1 interrupt 30 ADC ADC magnitude threshold interrupt 31 Reserved Reserved 32 Reserved Reserved 33 DCAN1 DCAN1 IF3 interrupt 34 DCAN2 DCAN2 IF3 interrupt 35 Reserved Reserved 36-47 MibADC The multi-buffered analog-to-digital converter (MibADC) accepts an analog signal and converts the signal to a 10-bit digital value. The TMS470M MibADC module stores its digital results in one of three FIFO buffers. There is one FIFO buffer for each conversion group [event, group1 (G1), and group2 (G2)], and the total MibADC FIFO on the device is divided amongst these three regions. The size of the individual group buffers are software programmable. MibADC buffers can be serviced by interrupts. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 23 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 3.5.1 www.ti.com MibADC Event Triggers All three conversion groups can be configured for event-triggered operation, providing up to three event-triggered groups. The trigger source and polarity can be selected individually for group 1, group 2 and the event group from the options identified in Table 3-5. Table 3-5. MibADC Event Hookup Configuration (1) 3.6 EVENT NO. SOURCE SELECT BITS for G1 or EVENT (G1SRC[2:0] or EVSRC[2:0]) SIGNAL PIN NAME 1 000 ADEVT 2 001 HET[1] 3 010 HET[3] 4 011 HET[16] (1) 5 100 HET[18] (1) 6 101 HET[24] (1) 7 110 HET[26] (1) 8 111 HET[28] (1) These channels are available as internal signals even if they are not included as pins (Section 1.1). MibSPI The multi-buffered serial peripheral interface module allows CPU independent SPI communications with system peripherals. The MibSPI1 module can support up to 16 transfer groups and 8 chip selects. In addition, up to 4 data formats can be supported allowing assignment of various formats to each transfer group. The MibSPI2 module can support up to 8 transfer groups, 4 chip selects, and up to 4 data formats. 3.6.1 MibSPI Event Trigger The MibSPI module has the ability to automatically trigger SPI events based on internal and external event triggers. The trigger sources can be selected individually for each transfer group from the options identified in Table 3-6. Table 3-6. MibSPI1 and MibSPI2 Event Hookup Configuration (1) 24 EVENT NO. SOURCE SELECT BITS FOR MIBSPI EVENTS TGXCTRL TRIGSRC[3:0] SIGNAL PIN NAME Disabled 0000 No trigger source EVENT0 0001 GIOA[0] (1) EVENT1 0010 GIOA[1] (1) EVENT2 0011 GIOA[2] (1) EVENT3 0100 GIOA[3] (1) EVENT4 0101 GIOA[4] EVENT5 0110 GIOA[5] EVENT6 0111 HET[20] (1) EVENT7 1000 HET[21] (1) EVENT8 1001 HET[22] (1) These channels are available as internal signals even if they are not included as pins (Section 1.1). Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-6. MibSPI1 and MibSPI2 Event Hookup Configuration (continued) 3.7 EVENT NO. SOURCE SELECT BITS FOR MIBSPI EVENTS TGXCTRL TRIGSRC[3:0] SIGNAL PIN NAME EVENT9 1010 HET[23] (1) EVENT10 1011 HET[28] (1) EVENT11 1100 HET[29] (1) EVENT12 1101 HET[30] (1) EVENT13 1110 HET[31] (1) EVENT14 1111 Internal Tick Counter JTAG ID The 32-bit JTAG ID code for this device is 0x0B8D802F. 3.8 Scan Chains The device contains an ICEPICK module to access the debug scan chains; see Figure 3-1. Debug scan chain #0 handles the access to the CPU. The ICEPICK scan ID is 0x00366D05, which is the same as the device ID. TDI DAP CPU ICEPICK TDO Boundary Scan Chain #0 Boundary Scan Boundary Scan Interface Figure 3-1. Debug Scan Chains 3.9 Adaptive Impedance 4 mA IO Buffer The adaptive impedance 4 mA buffer is a buffer that has been explicitly designed to address the issue of decoupling EMI sources from the pins which they drive. This is accomplished by adaptively controlling the impedance of the output buffer and should be particularly effective with capacitive loads. The adaptive impedance 4 mA buffer features two modes of operation: Impedance Control Mode, and Low-Power Mode/Standard Buffer Mode as defined below: • Impedance Control Mode is enabled in the design by default. This mode adaptively controls the impedance of the output buffer. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 25 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 • www.ti.com Standard Buffer Mode is used to configure the buffer back into a generic configuration. This buffer mode is used when it is necessary to drive the output at very high speeds, or when EMI reduction is not a concern. Table 3-7. Adaptive Impedance 4 mA Buffer Mode Availability (1) 26 MODULE OR PIN NAME STANDARD BUFFER ENABLE (SBEN) (1) SYS.ECLK GPREG1.0 SYS.nRST GPREG1.1 SYS.TDI/TDO Standard Buffer Enabled SYS.TMSC Standard Buffer Enabled HET GPREG1.2 SCI1 GPREG1.3 LIN/SCI2 GPREG1.4 MIBSPI1 GPREG1.5 MibSPI2 GPREG1.6 Reserved GPREG1.7 MIBADC.ADEVT GPREG1.8 DCAN1 GPREG1.9 DCAN2 GPREG1.10 GIOA GPREG1.11 SBEN configuration can be achieved using the GPREG register within the system frame(0xFFFFFFA0). Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 3.9.1 Standard Buffer Enable Register (GPREG1) A general purpose register with the system frame has been utilized to control the enabling of standard buffer mode. This register is shown in Figure 3-2 and described in Table 3-8 NOTE In general, all device registers are defined within the TRM (SPNU450); however, in cases where the register definition is device specific, the register is defined within the device specific datasheet. 31 16 Reserved R-0 15 12 11 10 9 8 Reserved GIOA_SBEN DCAN2_SBEN DCAN1_SBEN ADC.ADEVT_ SBEN R-0 RW-0 RW-0 RW-0 RW-0 7 6 5 4 3 2 1 0 Reserved MibSPI2_ SBEN MIBSPI1_ SBEN LIN2SCI2_ SBEN LIN1SCI1_ SBEN HET_SBEN RST_SBEN ECLK_SBEN RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 LEGEND: R/W = Read/Write; R = Read only; -n = value after reset Figure 3-2. General-Purpose Register 1 (GPREG1) Table 3-8. General-Purpose Register 1 (GPREG1) Field Descriptions Bit 31-12 11 10 9 8 Field Value Description Reserved These bits are reserved. Reads return 0 and writes have no effect. GIOA_SBEN GIOA port standard buffer enable bit. This bit enables/disables standard buffer mode for all GIOA pins 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. DCAN2_SBEN DCAN2 standard buffer enable bit. This bit enables/disables standard buffer mode for all DCAN2 pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. DCAN1_SBEN DCAN1 standard buffer enable bit. This bit enables/disables standard buffer mode for all DCAN1 pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. ADC.ADEVT_SBEN ADC.ADEVT standard buffer enable bit. This bit enables/disables standard buffer mode for the ADC.ADEVT pin. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for the ADEVT pin. 7 Reserved These bits are reserved. Reads return 0 and writes have no effect. 6 MibSPI2_SBEN MibSPI2 standard buffer enable bit. This bit enables/disables standard buffer mode for all MibSPI2 pins. 5 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. MIBSPI1 MIBSPI1 standard buffer enable bit. This bit enables/disables standard buffer mode for all MIBSPI1 pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 27 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-8. General-Purpose Register 1 (GPREG1) Field Descriptions (continued) Bit 4 3 2 1 0 3.9.2 Field Value LIN2SCI2_SBEN Description LIN/SCI2 standard buffer enable bit. This bit enables/disables standard buffer mode for all LIN/SCI2 pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. LIN1SCI1_SBEN LIN/SCI1 standard buffer enable bit. This bit enables/disables standard buffer mode for all LIN/SCI1 pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. HET_SBEN HET standard buffer enable bit. This bit enables/disables standard buffer mode for all HET pins. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for all associated module pins. RST_SBEN RST standard buffer enable bit. This bit enables/disables standard buffer mode for the RST pin. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for the RST pin. ECLK_SBEN ECLK standard buffer enable bit. This bit enables/disables standard buffer mode for the ECLK pin. 0 Standard buffer mode is not enabled. 1 Standard buffer mode is enabled for the ECLK pin. Coresight Components/Debug ROM Coresight registers are memory-mapped and accessible via the CPU and JTAG. Table 3-9. Debug Component Memory Map COMPONENT FRAME START ADDRESS FRAME END ADDRESS DWT 0xE000_1000 0xE000_1FFF 4K FPB 0xE000_2000 0xE000_2FFF 4K NVIC 0xE000_E000 0xE000_EFFF 4K Debug ROM 1 0xE00F_F000 0xE00F_FFFF 4K FRAME SIZE MEMORY TYPE M3 INTEGRATION FRAME 28 Device Configurations Control Registers for debug and trace modules Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 3-10. Debug ROM contents for Debug ROM 1 (M3 ROM) ADDRESS OFFSET see Table 3-9 DESCRIPTION VALUE 0x000 NVIC 0xFFF0_F003 0x004 DWT 0xFFF0_2003 0x008 FPB 0xFFF0_3003 0x00C ITM 0xFFF0_1003 0x010 TPIU (1) 0xFFF4_1002 0x014 (1) 0xFFF4_2002 ETM 0x018 (1) End of Table 0x0000_0000 Cortex™-M3 debug ROM always will have entries for optional components TPIU and ETM. Whether or not these components are present is determined by bit number 0 of the entry value. 3.10 Built-In Self Test (BIST) Features 3.10.1 STC/LBIST The TMS470M family supports a logic built-in self test (LBIST or CPUBIST) of the M3 CPU. LBIST testing can be performed in two modes of operation: • Full Execution. In this mode, the full suite of test patterns is run without interruption. This test is started via CPU control and is well suited for use at device start up. • Cyclic Execution. During cyclic execution, a small percentage of time will be dedicated to running a subset of the self-test (STC Intervals). This mode is well suited for executing on a periodic basis to minimize the bandwidth use. After all STC intervals are executed, all test patterns will have been run. NOTE 1. The application will need to disable peripherals and or interrupts to avoid missing interrupts. 2. No debugger interaction is possible with the CPU during self test. This includes access to memory and registers since access is through the CPU. The default value of the LBIST clock prescaler (STCDIV) is divide-by-1 and the device will support STC frequencies up to and including HCLK frequency. In order to minimize the current consumption during LBIST execution, the LBIST clock prescalar (STCDIV) may be configured to reduce the LBIST frequency. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 29 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 100 2500.00 ³ 90% coverage 90 80 2000.00 60 1500.00 50 40 1000.00 Test Time (µs) % Coverage 70 30 500.00 20 10 0.00 0 0 50 100 150 200 250 300 350 No. of Intervals 400 450 500 550 555 total intervals Test Coverage Test Time (µs) A. B. A single LBIST interval is 158 STC CLK cycles in duration, excluding clock transition timing of 20 cycles. This device has 555 total intervals. Figure 3-3. CPU BIST Intervals vs Coverage 30 Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 3.10.2 MBIST The TMS470M supports memory built-in self test (MBIST) of the SRAM. The MBIST is accessible via the application in order to facilitate memory self test by the application by enabling the MBIST controllers associated with the specific RAMs to be tested. (For device-specific MBIST controller assignments, see Table 2-4.) The MBIST controller: • Supports testing of all system and peripheral RAM. • Captures the MBIST results in the MBIST status register (MSTFAIL). • Supports execution of each Memory BIST controller in parallel (MSINENA). For MSIENA bit assignments, see Table 2-4 • Supports execution of each Memory BIST controller individually (MSINENA). For MSIENA bit assignments, see Table 2-4 The MBIST controller selection is mapped to the MBIST controller/memory initialization enable register (MSIENA) within the SYS register frame. Each MBIST controller is enabled by setting the corresponding bit within this register and then enabling memory self-test via the memory self-test global enable within the global control register (MSTGCR.MSTGENA[3:0]). The MBIST controllers support execution of the following tests: Table 3-11. MBIST Algorithms and Cycle Counts (1) Module Algorithm (Cycle Counts) Checker Board March13N Background 0 March11N Background A March13N Background 3/0F/69 PMOS Open Address Decode ROM2 ADC RAM 1427 1555 1089 4033 4225 - DCAN RAM 1503 1503 1057 3745 3265 - SRAM 26835 26835 22529 79873 147457 - HET RAM 7539 8307 6529 24193 29185 - MibSPI RAM 3583 3583 2817 9985 10753 - STC ROM - - - - - 18433 (1) Cycle times provided are for the execution of the specific algorithms and do not include overhead from the BIST statemachine. NOTE The algorithm to be applied is selectable via the memory self-test global control register algo selection field (MSTGCR.MBIST_ALGSEL[7:0]). Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 31 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 3.11 Device Identification Code Register The device identification code register identifies the coprocessor status, an assigned device-specific part number, the technology family (TF), the I/O voltage, whether or not parity is supported, the levels of flash and RAM error detection, and the device version. The TMS470M device identification code base register value is 0X00366D05 and is subject to change based on the silicon version. 31 30 17 16 CP15 PART NUMBER TF R-0 R-00000000011011 R-0 15 12 11 TF 13 I/O VOLT PP FLASHECC RAMECC R-011 R-0 R-1 R-10 R-1 7 3 10 9 8 2 1 VERSION 1 0 0 1 R-0000 R-1 R-0 R-1 LEGEND: R = Read only; -n = value after reset Figure 3-4. TMS470 Device ID Bit Allocation Register Table 3-12. TMS470 Device ID Bit Allocation Register Field Descriptions Bit Field 31 CP15 Value Description This bit indicates the presence of coprocessor (CP15). 0 No coprocessor present in the device. 1 Coprocessor present in the device. 30-17 PART NUMBER These bits indicate the assigned device-specific part number. The assigned device-specific part number for the TMS470M device is 00000000011011. 16-13 TF Technology family bit. These bits indicate the technology family (C05, F05, F035, C035). 0011 12 11 10 8 32 I/O VOLT F035 I/O voltage bit. This bit identifies the I/O power supply. 0 3.3 V 1 5V PP Peripheral parity bit. This bit indicates whether parity is supported. 0 No parity on peripheral. 1 Parity on peripheral. FLASHECC Flash ECC bits. These bits indicate the level of error detection and correction on the flash memory. 00 No error detection/correction. 01 Program memory with parity. 10 Program memory with ECC. 11 Reserved RAMECC RAM ECC bits. This bit indicates the presence of error detection and correction on the CPU RAM. 0 RAM ECC not present. 1 RAM ECC present. 7-3 VERSION These bits identify the silicon version of the device. 2-0 101 Bits 2:0 are set to 101 by default to indicate a platform device. Device Configurations Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 3.12 Device Part Numbers Table 3-13 lists all the available TMS470MF04207/TMS470MF03107 device configurations. Table 3-13. Device Part Numbers DEVICE PART NUMBER SAP PART NUMBER PROGRAM MEMORY PACKAGE TYPE TEMPERATURE RANGE FLASH EEPROM 100-PIN LQFP -40°C to 125°C PbFREE/ GREEN (1) TMS470MF04207PZQ S4MF04207SPZQQ1 X X X X TMS470MF03107PZQ S4MF03107SPZQQ1 X X X X (1) RoHS compliant products are compatible with the current RoHS requirements for all six substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials, unless exempt. Pb-Free products are RoHS Compliant, plus suitable for use in higher temperature lead-free solder processes (typically 245 to 260°C). Green products are RoHS and Pb-Free, plus also free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material). Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Configurations 33 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 4 Device Operating Conditions Absolute Maximum Ratings Over Operating Free-Air Temperature Range, Q Version (1) 4.1 VCC (2) Supply voltage range: -0.5 V to 2.1 V VCCIOR, VCCAD, VCC (Flash pump) Input voltage range: (2) -0.5 V to 4.1 V All input pins Input clamp current: -0.5 V to 4.1 V IIK (VI < 0 or VI > VCCIOR) All pins, except ADIN[0:15] ±20 mA IIK (VI < 0 or VI > VCCIOR) ADIN[0:15] ±10 mA Operating free-air temperature range, TA: Q version -40°C to 125°C Operating junction temperature range, TJ: Standard -40°C to 150°C Storage temperature range, Tstg (1) (2) -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. 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. All voltage values are with respect to their associated grounds. Device Recommended Operating Conditions (1) 4.2 MIN NOM MAX 3 3.3 3.6 V 1.40 1.55 1.70 V MibADC supply voltage 3 3.3 3.6 V VCCP Flash pump supply voltage 3 3.3 3.6 V VSS Digital logic supply ground VSSAD MibADC supply ground TA Operating free-air temperature TJ Operating junction temperature VCCIOR Digital I/O and internal regulator supply voltage VCC Voltage regulator output voltage VCCAD (1) 34 0 Q version UNIT V -0.1 0.1 V -40 125 °C -40 150 °C All voltages are with respect to VSS, except VCCAD, which is with respect to VSSAD. Device Operating Conditions Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 4.3 Electrical Characteristics Over Recommended Operating Free-Air Temperature Range, Q Version (1) (2) PARAMETER Vhys TEST CONDITIONS Input hysteresis VIL TYP All inputs (3) -0.3 All inputs (3) 2 OSCIN Input clamp current (I/O pins) (4) IIC II Input current (I/O pins) V 0.2 V 0.2 VCCIOR IOH = IOH MAX 0.8 VCCIOR IOH = 50 µA Standard mode VCCIOR -0.2 IOH = 50 µA Impedance Control mode 0.8 VCCIOR VI < VSSIO - 0.3 or VI > VCCIOR + 0.3 IIH Pulldown VI = VCCIOR IIL Pullup VI = VSS All other pins No pullup or pulldown V -2 2 40 190 -190 -40 -1 1 IOL Low-level output tcurrent Adaptive impedance VOL = VOL MAX 4 mA Buffer IOH High-level output current Adaptive impedance VOH = VOH MIN 4 mA Buffer VCC digital supply current (operating mode, internal regulator disabled) HCLK = 80 MHz, VCLK = 80 MHz, VCC = 1.70 V (5) 110 ICC HCLK = 80 MHz, VCLK = 80 MHz, No DC load, VCCIOR = 3.6 V (5) (6) 115 VCCIOR IO and digital supply current (operating mode, internal regulator enabled) HCLK = 80 MHz, VCLK = 80 MHz, STCCLK = 80 MHz, No DC load, VCCIOR = 3.6 V (6) 155 VCCIOR IO and digital supply current (LBIST execution, internal regulator enabled) (7) HCLK = 80 MHz, VCLK = 80 MHz, No DC load, VCCIOR = 3.6 V (6) 130 VCCIOR IO and digital supply current (MBIST execution, internal regulator enabled) (8) ICCIOR (1) (2) (3) (4) (5) (6) (7) (8) V 0.2 VCCIOR IOL = 50 µA Standard mode High-level output voltage V 0.8 VCC IOL = 50 µA Impedance Control mode VOH 0.8 0.2 VCC VCCIOR + 0.3 IOL = IOL MAX Low-level output voltage UNIT mV OSCIN High-level input voltage VOL MAX 150 Low-level input voltage VIH MIN 4 -4 mA µA mA mA mA mA Source currents (out of the device) are negative while sink currents (into the device) are positive. "All frequencies" will include all specified device configuration frequencies. The VIL here does not apply to the OSCIN, OSCOUT and PORRST pins; the VIH here does not apply to the OSCIN, OSCOUT and RST pins; For RST and PORRST exceptions, see Section 5.1. Parameter does not apply to input-only or output-only pins. Maximum currents are measured using a system-level test case. This test case exercises all of the device peripherals concurrently (excluding MBIST and STC LBIST). I/O pins configured as inputs or outputs with no load. All pulldown inputs ≤ 0.2 V. All pullup inputs ≥ VCCIO - 0.2 V. ECLK output ≤ 2 MHz. LBIST current specified is peak current for the maximum supported operating clock (HCLK = 80 MHz) and STC CLK = HCLK. Lower current consumption can be achieved by configuring a slower STC Clock frequency. The current peak duration can last for the duration of 1 LBIST test interval. MBIST currents specified are for execution of MBIST on all RAMs in parallel. Lower current consumption can be achieved by sequenced execution of MBIST on each of the RAM spaces available. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Device Operating Conditions 35 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Electrical Characteristics Over Recommended Operating Free-Air Temperature Range, Q Version(1)(2) (continued) PARAMETER ICCAD VCCAD supply current (operating mode) ICCP VCCP pump supply current TEST CONDITIONS MIN TYP MAX All frequencies, VCCAD = 3.6 V 8 VCCP = 3.6 V read operation(5) 10 VCCP = 3.6 V program (9) 75 VCCP = 3.6 V erase 75 HCLK = 80 MHz, VCLK = 80 MHz, No DC load, VCCIOR = 3.6 V(5)(6) 125 UNIT mA mA ICCTOTAL (10) VCCIOR + VCCAD + VCCP total digital supply current (operating mode, internal regulator enabled) CI Input capacitance 6 pF CO Output capacitance 7 pF mA (9) Assumes reading from one bank while programming a different bank. (10) Total device operating current is derived from the total ICCIOR, ICCAD, and ICCP in normal operating mode excluding MBIST and LBIST execution. It is expected that the total will be less than the sums of the values of the individual components due to statistical calculations involved in producing the specification values. 5 Peripheral Information and Electrical Specifications 5.1 RST and PORRST Timings Table 5-1. Timing Requirements for PORRST (1) (see Figure 5-1) NO. MIN MAX VCC low supply level when RST becomes active VCCPORH VCC high supply level when RST becomes active 1.80 V VCCIOPORL VCCIO low supply level when PORRST must be active during power up 1.1 V VCCIOPORH VCCIO high supply level when PORRST must remain active during power up and become active during power down VIL (2) Low-level input voltage after VCCIOR > VCCIOPORH VOH (3) High-level output voltage after VCCIOR > VCCIOPORH VIL(PORRST) Low-level input voltage of PORRST before VCCIOR > VCCIOPORL 3 tsu(PORRST)r Setup time, PORRST active before VCCIOR > VCCIOPORL during power up 0 ms 5 tsu(VCCIOR)r Setup time, VCCIOR > 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 VCCIOR > VCCIOPORH 1 ms 9 th(PORRST)d Hold time, PORRST active after VCCIOR < VCCIORPORL 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 < VCCPORE before VCCIO < VCCIOPORL 0 ns tf(PORRST) Filter time PORRST, pulses less than MIN get filtered out; pulses greater than MAX generate a reset. 30 185 ns tf(RST) Filter time RST, pulses less than MIN get filtered out; pulses greater than MAX generate a reset. 40 150 ns (1) (2) (3) 36 1.30 UNIT VCCPORL V 3.0 V 0.2 VCCIOR 0.8 VCCIOR V V 0.5 V When the VCC timing requirements for PORRST are satisfied, there are no timing requirements for VCCP. Corresponds to PORRST. Corresponds to RST. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com VCCIOR VCCIOPORH VCCIOPORH VCCIOR 8 11 VCC VCCPORH 6 VCC 7 VCCPORH 7 6 10 VCCIOPORL VCCIOPORL VCCPORL VCCPORL 5 9 3 VIL(PORRST) PORRST VIL VIL VIL VIL(PORRST) VIL VCC (1.55 V) VCCP/VCCIOR (3.3 V) Note: VCC is provided by the on-chip voltage regulator during normal application run time. It is not recommended to use the device in an application with the Vreg disabled due to potential glitching issues; however, if used in this mode, the application should ensure that the specified voltage ranges for VCC are maintained. Figure 5-1. PORRST Timing Diagram Table 5-2. Switching Characteristics Over Recommended Operating Conditions for RST and PORRST (1) PARAMETER Valid time, RST active after PORRST inactive tv(RST) MAX 1024tc(OSC) Valid time, RST active (all others) VCCIOPORL (1) MIN ns 8tc(VCLK) Vccio low supply level when PORRST must be active during power-up and power-down UNIT 1.1 V UNIT Specified values do NOT include rise/fall times. For rise and fall timings, see Table 5-13. Table 5-3. Internal Voltage Regulator Specifications PARAMETER MIN MAX tD(VCCIOR)0-3 Delay time, input supply to ramp from 0 V to 3 V 12 1000 tV(PORRST)L Valid time, PORRST active after input supply becomes ≥ 3.0 V 1 ms VCCIORmin(PORRST)f Minimum input voltage, when PORRST must be made active during power down or brown out 3.0 V C(VCC)core Capacitance distributed over core VCC pins for voltage regulator stability 1.2 6.0 µF ESR(max)core Total combined ESR of stabilization capacitors on core VCC pins 0 0.75 Ω µs 3V VCCIORmin(PORRST)f tD(VCCIOR)0-3 tV(PORRST)L VCC PORRST Figure 5-2. PORRST Timing Requirements Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 37 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-4. VREG Recommended Operation Conditions PARAMETER ICC 38 VCC Load Rating MIN MAX UNIT Normal mode, regulator active CONDITIONS 0 200 mA Off, enable forced off - - µA Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 5.2 PLL and Clock Specifications Table 5-5. Timing Requirements for PLL Circuits Enabled or Disabled MIN MAX UNIT f(OSC) Input clock frequency PARAMETER 5 20 MHz tc(OSC) Cycle time, OSCIN 50 ns tw(OSCIL) Pulse duration, OSCIN low 15 ns tw(OSCIH) Pulse duration, OSCIN high 15 ns 5.2.1 External Reference Resonator/Crystal Oscillator Clock Option The oscillator is enabled by connecting the appropriate fundamental 5-20 MHz resonator/crystal and load capacitors across the external OSCIN and OSCOUT pins as shown in Figure 5-3(a). The oscillator is a single stage inverter held in bias by an integrated bias resistor. TI strongly encourages each customer to submit samples of the device to the resonator/crystal vendors for validation. Vendors are equipped to determine which load capacitors will best tune their resonator/crystal to the microcontroller device for optimum start-up and operation over temperature/voltage extremes. 5.2.2 External Clock Source An external oscillator source can be used by connecting a 1.55-V clock signal to the OSCIN pin and leaving the OSCOUT pin unconnected (open) as shown in Figure 5-3(b). OSCIN C1 (A) OSCOUT Crystal C2 OSCIN (A) External Clock Signal (toggling 0-1.55 V) (a) A. OSCOUT (b) The values of C1 and C2 should be provided by the resonator/crystal vendor. Figure 5-3. Recommended Crystal/Clock Connection Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 39 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.2.3 www.ti.com Validated FMPLL Settings The following table includes the validated FMPLL settings. Table 5-6. Validated FMPLL Settings Mode OSCIN Frequency (MHz) PLLCTL1 (1) 10 0x20048B00 0x00007800 0x20026100 0x00007C00 0x20058B00 0x00007800 12 Non-Modulated (2) 14 16 0x00007C00 0x00007800 10 0x20049F00 0x00007800 0x20055F00 0x00007400 0x20059F00 0x00007800 0x20065F00 0x00007400 0x20069F00 0x00007800 0x20075F00 0x00007400 0x20079F00 0x00007800 20 0x20099F00 0x00007800 10 0x20049F00 0x00007600 0x20026300 0x00007800 0x20059F00 0x00007600 0x20067700 0x00007400 0x20069F00 0x00007600 14 14 20 40 0x20036100 0x00007800 16 (2) 0x00007800 0x20098B00 12 (1) 0x00007600 0x20078B00 16 Non-Modulated (2) 0x20055F00 0x20068B00 20 12 Non-Modulated (2) PLLCTL2 (1) 0x20036300 0x00007800 0x20079F00 0x00007600 0x20099F00 0x00007600 FMPLL Output Modulation Frequency (MHz) Bandwidth (KHz) Modulation Depth 56 - - 64 - - 80 - - The recommended PLLCTL1 and PLLCTL2 values make no assumption of the intended use of ROS, BPOS, and ROF fields within the PLL control registers. For these settings, the application should set these as appropriate for the specific application requirements. Non-Modulated settings provided show FM related bit fields as 0. When initializing the PLLCTL registers for non-modulated use, the FM related bit fields should be masked such that reset/default values are retained. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-6. Validated FMPLL Settings (continued) Mode 10 12 Frequency Modulated 14 16 20 10 12 Frequency Modulated PLLCTL1 (1) PLLCTL2 (1) 0x20048B00 0x8300B844 0x20048B00 0x8300B889 0x20048B00 0x82409859 0x20048B00 0x824098B2 0x20058B00 0x8300B844 0x20058B00 0x8300B889 OSCIN Frequency (MHz) 14 16 20 0x20058B00 0x82409859 0x20058B00 0x824098B2 0x20068B00 0x8300B844 0x20068B00 0x8300B889 0x20068B00 0x82409859 0x20068B00 0x824098B2 0x20078B00 0x8300B844 0x20078B00 0x8300B889 0x20078B00 0x82409859 0x20078B00 0x824098B2 0x20098B00 0x8300B844 0x20098B00 0x8300B889 0x20098B00 0x82409859 0x20098B00 0x824098B2 0x20049F00 0x8300C83B 0x20049F00 0x8300C878 0x20049F00 0x8240A84D 0x20049F00 0x8240A89C 0x20059F00 0x8300C83B 0x20059F00 0x8300C878 0x20059F00 0x8240A84D 0x20059F00 0x8240A89C 0x20069F00 0x8300C83B 0x20069F00 0x8300C878 0x20069F00 0x8240A84D 0x20069F00 0x8240A89C 0x20079F00 0x8300C83B 0x20079F00 0x8300C878 0x20079F00 0x8240A84D 0x20079F00 0x8240A89C 0x20099F00 0x8300C83B 0x20099F00 0x8300C878 0x20099F00 0x8240A84D 0x20099F00 0x8240A89C FMPLL Output Modulation Frequency (MHz) Bandwidth (KHz) 76.92 100 76.92 100 76.92 56 100 76.92 100 76.92 100 76.92 100 76.92 100 76.92 64 100 76.92 100 76.92 100 Modulation Depth 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 41 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-6. Validated FMPLL Settings (continued) Mode OSCIN Frequency (MHz) 10 12 Frequency Modulated 14 16 20 42 PLLCTL1 (1) PLLCTL2 (1) 0x20049F00 0x8300C63B 0x20049F00 0x8300C678 0x20049F00 0x8240A64D 0x20049F00 0x8240A69C 0x20059F00 0x8300C63B 0x20059F00 0x8300C678 0x20059F00 0x8240A64D 0x20059F00 0x8240A69C 0x20069F00 0x8300C63B 0x20069F00 0x8300C678 0x20069F00 0x8240A64D 0x20069F00 0x8240A69C 0x20079F00 0x8300C63B 0x20079F00 0x8300C678 0x20079F00 0x8240A64D 0x20079F00 0x8240A69C 0x20099F00 0x8300C63B 0x20099F00 0x8300C678 0x20099F00 0x8240A64D 0x20099F00 0x8240A69C FMPLL Output Modulation Frequency (MHz) Bandwidth (KHz) 76.92 100 76.92 100 76.92 80 100 76.92 100 76.92 100 Modulation Depth 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% 0.50% 1.00% Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 5.2.4 LPO and Clock Detection The LPOCLKDET module consists of a clock monitor (CLKDET) and 2 low-power oscillators (LPO): a low-frequency (LF) and a high-frequency (HF) oscillator. The CLKDET is a supervisor circuit for an externally supplied clock signal. In case the externally supplied clock frequency falls out of a frequency window, the clock detector flags this condition and switches to the HF LPO clock (limp mode). The OSCFAIL flag and clock switch-over remain, regardless of the behavior of the oscillator clock signal. The only way OSCFAIL can be cleared (and OSCIN be again the driving clock) is a power-on reset. Table 5-7. LPO and Clock Detection PARAMETER invalid frequency MAX UNIT Lower threshold MIN 1.5 5.0 MHz Higher threshold 20.0 50.0 MHz 14.0 MHz limp mode frequency (HFosc) TYP 7.6 12 LFosc frequency 50 90 124 kHz HFosc frequency 7.6 12 14.0 MHz lower threshold guaranteed fail 1.5 upper threshold guaranteed pass 5.0 20.0 guaranteed fail 50.0 f (MHz) Figure 5-4. LPO and Clock Detection Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 43 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.2.5 www.ti.com Device Clock Domains Block Diagram The clock domains block diagram and GCM clock source assignments are given in Figure 5-5 and Table 5-8. OSCOUT OSCIN (5-20 MHz) 0 OSC FMZPLL /1..64 x92..184 LPO /1..8 RCLK /1..32 (A) 1 GCLK (to CPU) 4 5 HCLK (to SYSTEM) (A) LF OSC HF OSC /1,2,4,8 (A) RTICLK (to RTI) /1..16 VCLK (to Peripherals) (A) /1..16 (A) VCLK2 (to HET) AVCLK1 24 /1,2..256 /1,..1024 Prop_ seg Phase_ seg2 /1,2..65536 /1,2..65536 ECLK1 £ 20 MHz ECLK2 £ 20 MHz External Clock /2,3..2 /1,2..256 HRP /1..64 SPI Baud Rate £ VCLK/2 LIN Baud Rate £ 20 kB/s ADCLK £ 20 MHz LRP 0 5 /2 ..2 MibSPI SCI Baud Rate £ 115.2 kB/s ADC HET Loop CLK LIN/SCI Phase_ seg1 HET HiRes CLK HET CAN Baud Rate £ 1M Baud 8-MHz OSCIN CAN (DCAN1) A. See Table 5-9. Figure 5-5. Device Clock Domains Block Diagram Table 5-8. GCM Clock Source Assignments 44 GCM SOURCE NUMBER CLOCK SOURCE 0 OSCIN 1 F035 FMzPLL 2 Reserved 3 Reserved 4 LF OSC 5 HF OSC 6 Reserved 7 Reserved Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-9. Switching Characteristics Over Recommended Operating Conditions for Clocks (1) (2) (3) (4) (5) TEST CONDITIONS (6) PARAMETER f(HCLK) System clock frequency f(PROG/ERASE) System clock frequency Flash programming/erase f(VCLK/VCLK2) Peripheral VBUS clock frequency f(ECLK) External clock output frequency for ECP Module f(RCLK) RCLK - Frequency out of PLL macro into R-divider (Post ODPLL divider) tc(HCLK) Cycle time, system clock tc(PROG/ERASE) Cycle time, system clock - Flash programming/erase tc(VCLK/VCLK2) Cycle time, peripheral clock tc(ECLK) tc(RCLK) (1) (2) (3) (4) (5) (6) MIN MAX Pipeline mode enabled 80 Pipeline mode disabled, 0 flash wait states 28 Pipeline mode enabled 12.50 Pipeline mode disabled, 0 flash wait states 35.71 UNIT MHz 80 MHz f(HCLK) MHz 20 MHz 145 MHz ns 12.50 ns tc(HCLK) ns Cycle time, ECP module external clock output 50.0 ns Cycle time, RCLK minimum input cycle time out of PLL macro into R-divider 6.90 ns f(HCLK) = f(OSC) / NR *NF /ODPLL/PLLDIV; for details, see the PLL documentation. TI strongly recommends selection of NR and NF parameters such that NF ≤ 120 and (f(OSC) / NR *NF) ≤ 400. f(VCLK) = f(HCLK) / X, where X = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}. X is the peripheral VBUS clock divider ratio determined by the VCLKR[3:0] bits in the SYS module. Enabling FM mode can reduce maximum rated operating frequencies. The degree of impact is application-specific and the specific settings, as well as the impact of the settings, should be discussed and agreed upon prior to using FM modes. Use of FM modes do not impact the maximum rated external clock output, f(ECLK), for the ECP module. Pipeline mode enabled or disabled is determined by FRDCNTL[2:0]. f(ECLK) = f(VCLK) / N, where N = {1 to 65536}. N is the ECP prescale value defined by the ECPCTRL.[15:0] register bits in the ECP module. ECLK output will increase radiated emissions within the system that is used. Rated emissions at the device level do not include emissions due to ECLK output. All test conditions assume FM Mode disabled and RAM ECC enabled with 0 waitstates for RAM. RAM 0 Address Waitstates 0MHz f(HCLK) Data Waitstates 0 f(HCLK) 0MHz Flash 0 Address Waitstates 0MHz Data Waitstates f(HCLK) 0 0MHz 2 1 28MHz 56MHz f(HCLK) Figure 5-6. Timing - Wait States NOTE If FMzPLL frequency modulation is enabled, special care must be taken to ensure that the maximum system clock frequency f(HCLK) and peripheral clock frequency f(VCLK) are not exceeded. The speed of the device clocks may need be derated to accommodate the modulation depth when FMzPLL frequency modulation is enabled. Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 45 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.2.5.1 www.ti.com ECLK Specification Table 5-10. Switching Characteristics Over Recommended Operating Conditions for External Clocks (1) (2) (see Figure 5-7) NO. (1) (2) PARAMETER TEST CONDITIONS MIN MAX UNIT 1 tw(EOL) Pulse duration, ECLK low Under all prescale factor combinations (X and N) 0.5tc(ECLK) - tf ns 2 tw(EOH) Pulse duration, ECLK high Under all prescale factor combinations (X and N) 0.5tc(ECLK) - tr ns X = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}. X is the VBUS interface clock divider ratio determined by the CLKCNTL.[19:16] bits in the SYS module. N = {1 to 65536}. N is the ECP prescale value defined by the ECPCNTL.[15:0] register bits in the SYS module. 2 ECLK 1 Figure 5-7. ECLK Timing Diagram 5.2.6 TEST Pin Glitch Filter Timing Table 5-11. Test Pin Glitch Filter Timing NO. PARAMETER tf(TEST) 46 Filter time TEST, high pulses less than MIN will be filtered out. MIN 40 MAX UNIT ns Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 5.2.7 JTAG Timing Table 5-12. JTAG Scan Interface Timing (JTAG Clock specification 10-MHz and 50-pF Load on TDO Output) (see Figure 5-8 NO. MIN 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) 5 ns 3 th(TCKr -TDI/TMS) Hold time, TDI, TMS after TCKr 5 ns 4 th(TCKf -TDO) Hold time, TDO after TCKf 5 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 5-8. JTAG Scan Timings Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 47 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.2.8 www.ti.com Output Timings Table 5-13. Switching Characteristics for Output Timings Versus Load Capacitance (CL) (1) (see Figure 5-9) PARAMETER tr tf (1) MAX Adaptive impedance 4 mA pins Adaptive impedance 4 mA pins CL = 15 pF 4 CL = 50 pF 8 CL = 100 pF 15 CL = 150 pF 21 CL = 15 pF 5 CL = 50 pF 8 CL = 100 pF 12 CL = 150 pF 17 UNIT ns ns Peripheral output timings given within this document are measured in either standard buffer or impedance control mode. tr tf VCCIO 80% 80% Output 20% 20% 0 Figure 5-9. CMOS-Level Outputs 5.2.9 Input Timings Table 5-14. Timing Requirements for Input Timings (1) (see Figure 5-10) MIN tpw (1) Input minimum pulse width MAX tc(VCLK) + 10 UNIT ns tc(VCLK) = peripheral VBUS clock cycle time = 1 / f(VCLK). tpw 80% VCC 80% Input 20% 20% 0 Figure 5-10. CMOS-Level Inputs 48 Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 5.2.10 Flash Timings Table 5-15. Timing Requirements for Program Flash PARAMETER TEST CONDITIONS Flash pump stabilization time tacc_delay Flash bank stabilization time tprog(32-bit) tprog(Total) terase(sector) Half-word (32-bit) programming time (1) (2) (3) From Standby Mode to Active Mode MIN NOM MAX 1 µs From Sleep Mode to Standby Mode 1.9 From Standby Mode to Active Mode 0.1 37.5 300 3.7 29.5 448k-byte programming time (1) 4.3 34.4 Sector erase time 1.5 15 Write/erase cycles at TA = -40 to 125°C EEPROM emulation requirement for 16k flash sectors in Bank 1 UNIT 20 384k-byte programming time (1) Write/erase cycles at TA = -40 to 125°C with 15-year Data Retention requirement Nwec From Sleep Mode to Standby Mode µs s s 1000 (2) cycles 25000 (2) (3) cycles tprog(Total) programming time includes overhead of state machine, but does not include data transfer time. Flash write/erase cycles and data retention specifications are based on a validated implementation of the TI flash API. Non-TI flash API implementation is not supported. For detailed description see the F035 Flash Validation Procedure (SPNA127). Flash write/erase cycle and data retention specifications are based on an assumed distribution of write/erase cycles over the life of the product including an even distribution over the rated temperature range and time between cycles. The EEPROM emulation bank has been qualified as outlined in the JEDEC specification JESD22-A117C. Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 49 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.3 www.ti.com SPIn Master Mode Timing Parameters Table 5-16. SPIn Master Mode External Timing Parameters (CLOCK PHASE = 0, SPInCLK = output, SPInSIMO = output, and SPInSOMI = input) (1) (2) (3) (see Figure 5-11 and Figure 5-12) NO. 1 2 (5) 3 (5) MIN 6 7 Cycle time, SPICLK 90 256tc(VCLK) tw(SPCH)M Pulse duration, SPICLK high (clock polarity = 0) 0.5tc(SPC)M - tr-8 0.5tc(SPC)M + 5 tw(SPCL)M Pulse duration, SPICLK low (clock polarity = 1) 0.5tc(SPC)M - tf-8 0.5tc(SPC)M + 5 tw(SPCL)M Pulse duration, SPICLK low (clock polarity = 0) 0.5tc(SPC)M - tf-8 0.5tc(SPC)M + 5 tw(SPCH)M Pulse duration, SPICLK high (clock polarity = 1) 0.5tc(SPC)M - tr-8 0.5tc(SPC)M + 5 td(SIMO-SPCL)M Delay time, SPISIMO data valid before SPICLK low (clock polarity = 0) 0.5tc(SPC)M - 10 td(SIMO-SPCH)M Delay time, SPISIMO data valid before SPICLK high (clock polarity = 1) 0.5tc(SPC)M - 10 tv(SPCL-SIMO)M Valid time, SPISIMO data valid (clock polarity = 0) 0.5tc(SPC)M - tf(SPC)-5 tv(SPCH-SIMO)M Valid time, SPISIMO data valid (clock polarity = 1) 0.5tc(SPC)M - tr(SPC)-5 tsu(SOMI-SPCL)M Setup time, SPISOMI before SPICLK low (clock polarity = 0) tr(SPC)+4 tsu(SOMI-SPCH)M Setup time, SPISOMI before SPICLK high (clock polarity = 1) tf(SPC)+4 th(SPCL-SOMI)M Hold time, SPISOMI data valid after SPICLK low (clock polarity = 0) 10 th(SPCH-SOMI)M Hold time, SPISOMI data valid after SPICLK high (clock polarity = 1) 10 (5) (5) (5) 8 (5) (6) (C2TDELAY+CSHOLD+ 2)*tc(VCLK) - tf(SPICS) + tr(SPICLK)-21 (C2TDELAY+CSHOLD+ 2)*tc(VCLK) - tf(SPICS) + tr(SPICLK)+6 Setup time CS active until SPICLK low (clock polarity = 1) (C2TDELAY+CSHOLD+ 2)*tc(VCLK) - tf(SPICS) + tf(SPICLK)-21 (C2TDELAY+CSHOLD+ 2)*tc(VCLK) - tf(SPICS) + tf(SPICLK)+6 Hold time SPICLK low until CS inactive (clock polarity = 0) 0.5*tc(SPC)M +T2CDELAY*tc(VCLK) + tc(VCLK) - tf(SPICLK) + tr(SPICS)-4 0.5*tc(SPC)M +T2CDELAY*tc(VCLK) + tc(VCLK) - tf(SPICLK) + tr(SPICS)+17 Hold time SPICLK high until CS inactive (clock polarity = 1) 0.5*tc(SPC)M +T2CDELAY*tc(VCLK) + tc(VCLK) - tr(SPICLK) + tr(SPICS)-4 0.5*tc(SPC)M +T2CDELAY*tc(VCLK) + tc(VCLK) - tr(SPICLK) + tr(SPICS)+17 SPIENAn sample point C2TDELAY * tc(VCLK) tf(SPICS)-25 C2TDELAY * tc(VCLK) tC2TDELAY tT2CDELAY (1) (2) (3) (4) (5) (6) 50 tSPIENA UNIT ns Setup time CS active until SPICLK high (clock polarity = 0) 9 (5) (6) 10 MAX tc(SPC)M 4 (5) 5 (4) ns The MASTER bit (SPIGCR1.0) is set and the CLOCK PHASE bit (SPIFMTx.16) is clear. tc(VCLK) = interface clock cycle time = 1 / f(VCLK). For rise and fall timings, see Table 5-13. When the SPI is in Master mode, the following must be true: • For PS values from 1 to 255: t ≥ (PS +1)tc(VCLK) ≥ 90 ns, where PS is the prescale value set in the SPIFMTx.[15:8] register bits. • For PS values of 0: tc(SPC)M = 2tc(VCLK) ≥ 90 ns. The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPIFMTx.17). C2TDELAY and T2CDELAY are programmed in the SPIDELAY register. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1 SPICLK (clock polarity = 0) 2 3 SPICLK (clock polarity = 1) 4 5 SPISIMO Master Out Data is Valid 6 7 Master In Data Must Be Valid SPISOMI Figure 5-11. SPI Master Mode External Timing (CLOCK PHASE = 0) SPICLK (clock polarity = 0) SPICLK (clock polarity = 1) SPISIMO Master Out Data is Valid 8 9 SPICSn 10 SPIENAn Figure 5-12. SPI Master Mode Chip Select Timing (CLOCK PHASE = 0) Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 51 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-17. SPIn Master Mode External Timing Parameters (CLOCK PHASE = 1, SPInCLK = output, SPInSIMO = output, and SPInSOMI = input) (1) (2) (3) (see Figure 5-13 and Figure 5-14) NO. 1 2 (5) 3 (5) 4 5 6 7 52 90 256tc(VCLK) tw(SPCH)M Pulse duration, SPICLK high (clock polarity = 0) 0.5tc(SPC)M - tr-8 0.5tc(SPC)M + 5 tw(SPCL)M Pulse duration, SPICLK low (clock polarity = 1) 0.5tc(SPC)M - tf-8 0.5tc(SPC)M + 5 tw(SPCL)M Pulse duration, SPICLK low (clock polarity = 0) 0.5tc(SPC)M - tf-8 0.5tc(SPC)M + 5 tw(SPCH)M Pulse duration, SPICLK high (clock polarity = 1) 0.5tc(SPC)M - tr-8 0.5tc(SPC)M + 5 tv(SIMO-SPCH)M Valid time, SPISIMO data valid before SPICLK high (clock polarity = 0) 0.5tc(SPC)M - 10 tv(SIMO-SPCL)M Valid time, SPISIMO data valid before SPICLK low (clock polarity = 1) 0.5tc(SPC)M - 10 tv(SPCH-SIMO)M Valid time, SPISIMO data valid after SPICLK high (clock polarity = 0) 0.5tc(SPC)M - tr(SPC)-5 tv(SPCL-SIMO)M Valid time, SPISIMO data valid after SPICLK low (clock polarity = 1) 0.5tc(SPC)M - tf(SPC)-5 tsu(SOMI-SPCH)M Setup time, SPISOMI before SPICLK high (clock polarity = 0) tr(SPC)+4 tsu(SOMI-SPCL)M Setup time, SPISOMI before SPICLK low (clock polarity = 1) tf(SPC)+4 th(SPCH-SOMI)M Hold time, SPISOMI data valid after SPICLK high (clock polarity = 0) 10 th(SPCL-SOMI)M Hold time, SPISOMI data valid after SPICLK low (clock polarity = 1) 10 (5) (5) 10 (7) (5) (6) (7) Cycle time, SPICLK (5) 9 (5) (6) MAX tc(SPC)M (5) 8 (5) (6) (1) (2) (3) (4) MIN (4) 0.5tc(SPC)M+(C2TDELAY +CSHOLD+2)*tc(VCLK)tf(SPICS) + tr(SPICLK)-21 0.5tc(SPC)M+(C2TDELAY +CSHOLD+2)*tc(VCLK) tf(SPICS) + tr(SPICLK)+6 Setup time CS active until SPICLK low (clock polarity = 1) 0.5tc(SPC)M+(C2TDELAY +CSHOLD+2)*tc(VCLK) tf(SPICS) + tf(SPICLK)-21 0.5tc(SPC)M+(C2TDELAY +CSHOLD+2)*tc(VCLK) tf(SPICS) + tf(SPICLK)+6 Hold time SPICLK low CS until inactive (clock polarity = 0) T2CDELAY*tc(VCLK) + tc(VCLK) - tf(SPICLK) + tr(SPICS)-4 T2CDELAY*tc(VCLK) + tc(VCLK) - tf(SPICLK) + tr(SPICS)+17 Hold time SPICLK high until CS inactive (clock polarity = 1) T2CDELAY*tc(VCLK) + tc(VCLK) - tr(SPICLK) + tr(SPICS)-4 T2CDELAY*tc(VCLK) + tc(VCLK) - tr(SPICLK) + tr(SPICS)+17 C2TDELAY * tc(VCLK) tf(SPICS)-25 C2TDELAY * tc(VCLK) tT2CDELAY tSPIENA ns Setup time CS active until SPICLK high (clock polarity = 0) tC2TDELAY SPIENAn Sample Point UNIT ns The MASTER bit (SPIGCR1.0) is set and the CLOCK PHASE bit (SPIFMTx.16) is clear. tc(VCLK) = interface clock cycle time = 1 / f(VCLK). For rise and fall timings, see Table 5-13. When the SPI is in Master mode, the following must be true: • For PS values from 1 to 255: t ≥ (PS +1)tc(VCLK) ≥ 90 ns, where PS is the prescale value set in the SPIFMTx.[15:8] register bits. • For PS values of 0: tc(SPC)M = 2tc(VCLK) ≥ 90 ns. The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPIFMTx.17). C2TDELAY and T2CDELAY is programmed in the SPIDELAY register. C2TDELAY and T2CDELAY is programmed in the SPIDELAY register. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1 SPICLK (clock polarity = 0) 2 3 SPICLK (clock polarity = 1) 4 5 SPISIMO Data Valid Master Out Data is Valid 6 7 Master In Data Must Be Valid SPISOMI Figure 5-13. SPI Master Mode External Timing (CLOCK PHASE = 1) SPICLK (clock polarity = 0) SPICLK (clock polarity = 1) SPISIMO Master Out Data is Valid 8 9 SPICSn 10 SPIENAn Figure 5-14. SPI Master Mode Chip Select timing (CLOCK PHASE = 1) Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 53 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.4 www.ti.com SPIn Slave Mode Timing Parameters Table 5-18. SPIn Slave Mode External Timing Parameters (CLOCK PHASE = 0, SPInCLK = input, SPInSIMO = input, and SPInSOMI = output) (1) (2) (3) (4) (see Figure 5-15 and Figure 5-16) NO. 1 2 (6) 3 (6) 4 (6) 5 Cycle time, SPInCLK tw(SPCH)S Pulse duration, SPInCLK high (clock polarity = 0) 30 tw(SPCL)S Pulse duration, SPInCLK low (clock polarity = 1) 30 tw(SPCL)S Pulse duration, SPInCLK low (clock polarity = 0) 30 tw(SPCH)S Pulse duration, SPInCLK high (clock polarity = 1) 30 td(SPCH-SOMI)S Delay time, SPInCLK high to SPInSOMI valid (clock polarity = 0) trf(SOMI)+17 td(SPCL-SOMI)S Delay time, SPInCLK low to SPInSOMI valid (clock polarity = 1) trf(SOMI)+17 tv(SPCH-SOMI)S Valid time, SPInSOMI data valid after SPInCLK high (clock polarity = 0) 0 tv(SPCL-SOMI)S Valid time, SPInSOMI data valid after SPInCLK low (clock polarity = 1) 0 tsu(SIMO-SPCL)S Setup time, SPInSIMO before SPInCLK low (clock polarity = 0) 5 tsu(SIMO-SPCH)S Setup time, SPInSIMO before SPInCLK high (clock polarity = 1) 5 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 td(SPCL-SENAH)S Delay time, SPIENAn high after last SPICLK low (clock polarity = 0) 1.5tc(VCLK) 2.5tc(VCLK)+ tr(ENAn)+20 td(SPCH-SENAH)S Delay time, SPIENAn high after last SPICLK high (clock polarity = 1) 1.5tc(VCLK) 2.5tc(VCLK)+ tr(ENAn)+20 td(SCSL-SENAL)S Delay time, SPIENAn low after SPICSn low (if new data has been written to the SPI buffer) tf(ENAn) tc(VCLK)+ tf(ENAn)+18 (6) 8 9 (1) (2) (3) (4) (5) (6) 54 MAX tc(SPC)S (6) 6 (6) 7 MIN (5) UNIT 90 ns ns ns The MASTER bit (SPIGCR1.0) is clear and the CLOCK PHASE bit (SPIFMTx.16) is clear. When the SPI is in Slave mode, the following must be true: tc(SPC)S > 2tc(VCLK) and tc(SPC)S ≥ 90 ns. For rise and fall timings, see Table 5-13. tc(VCLK) = interface clock cycle time = 1 / f(VCLK). When the SPI is in Slave mode, the following must be true: tw(SPCL)S > tc(VCLK), tw(SPCL)S ≥ 30, tw(SPCH)S > tc(VCLK) ns and tw(SPCH)S ≥ 30 ns. The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPIFMTx.17). Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1 SPICLK (clock polarity = 0) 2 3 SPICLK (clock polarity = 1) 5 4 SPISOMI Data Is Valid SPISOMI 6 7 SPISIMO Data Must Be Valid SPISIMO Figure 5-15. SPI Slave Mode External Timing (CLOCK PHASE = 0) SPICLK (clock polarity = 0) SPICLK (clock polarity = 1) 8 SPIENAn 9 SPICSn Figure 5-16. SPI Slave Mode Enable Timing (CLOCK PHASE = 0) Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 55 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com Table 5-19. SPIn Slave Mode External Timing Parameters (CLOCK PHASE = 1, SPInCLK = input, SPInSIMO = input, and SPInSOMI = output) (1) (2) (3) (4) (see Figure 5-17 and Figure 5-18) NO. 1 MIN (5) MAX UNIT tc(SPC)S Cycle time, SPInCLK tw(SPCH)S Pulse duration, SPInCLK high (clock polarity = 0) 30 tw(SPCL)S Pulse duration, SPInCLK low (clock polarity = 1) 30 tw(SPCL)S Pulse duration, SPInCLK low (clock polarity = 0) 30 tw(SPCH)S Pulse duration, SPInCLK high (clock polarity = 1) 30 td(SPCH-SOMI)S Delay time, SPInSOMI data valid after SPInCLK high (clock polarity = 0) trf(SOMI)+17 td(SPCL-SOMI)S Delay time, SPInSOMI data valid after SPInCLK low (clock polarity = 1) trf(SOMI)+17 tv(SOMI-SPCH)S Valid time, SPInCLK high after SPInSOMI data valid (clock polarity = 0) 0 tv(SOMI-SPCL)S Valid time, SPInCLK low after SPInSOMI data valid (clock polarity = 1) 0 tsu(SIMO-SPCH)S Setup time, SPInSIMO before SPInCLK high (clock polarity = 0) 5 tsu(SIMO-SPCL)S Setup time, SPInSIMO before SPInCLK low (clock polarity = 1) 5 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 td(SPCH-SENAH)S Delay time, SPIENAn high after last SPICLK high (clock polarity = 0) 1.5tc(VCLK) 2.5tc(VCLK)+ tr(ENAn)+20 td(SPCL-SENAH)S Delay time, SPIENAn high after last SPICLK low (clock polarity = 1) 1.5tc(VCLK) 2.5tc(VCLK)+ tr(ENAn)+20 9 td(SCSL-SENAL)S Delay time, SPIENAn low after SPICSn low (if new data has been written to the SPI buffer) tf(ENAn) tc(VCLK)+ tf(ENAn)+18 ns 10 td(SCSL-SOMI)S Delay time, SOMI valid after SPICSn low (if new data has been written to the SPI buffer) tc(VCLK) 2tc(VCLK)+ trf(SOMI)+17 ns 2 (6) 3 (6) 4 (6) 5 (6) 6 (6) 7 (6) 8 (1) (2) (3) (4) (5) (6) 56 90 ns ns The MASTER bit (SPInCTRL2.3) is cleared and the CLOCK PHASE bit (SPInCTRL2.0) is set. When the SPI is in Slave mode, the following must be true: tc(SPC)S > 2tc(VCLK) and tc(SPC)S ≥ 90 ns. For rise and fall timings, see Table 5-13. tc(VCLK) = interface clock cycle time = 1 /f(VCLK). When the SPI is in Slave mode, the following must be true: tw(SPCL)S > tc(VCLK), tw(SPCL)S ≥ 30, tw(SPCH)S > tc(VCLK) ns and tw(SPCH)S ≥ 30 ns. The active edge of the SPInCLK signal referenced is controlled by the CLOCK POLARITY bit (SPIFMTx.17). Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 1 SPICLK (clock polarity = 0) 2 3 SPICLK (clock polarity = 1) 4 5 SPISOMI Data is Valid SPISOMI Data Valid 6 7 SPISIMO Data Must Be Valid SPISIMO Figure 5-17. SPI Slave Mode External Timing (CLOCK PHASE = 1) SPICLK (clock polarity = 0) SPICLK (clock polarity = 1) 8 SPIENAn 9 SPICSn 10 Slave Out is Valid SPISOMI Figure 5-18. SPI Slave Mode Enable Timing (CLOCK PHASE = 1) Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 57 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.5 www.ti.com CAN Controller (DCANn) Mode Timings Table 5-20. Dynamic Characteristics for the CANnSTX and CANnSRX Pins PARAMETER td(CANnSTX) Delay time, transmit shift register to CANnSTX pin (1) td(CANnSRX) Delay time, CANnSRX pin to receive shift register (1) 5.6 MIN MAX UNIT 15 ns 6 ns These values do not include rise/fall times of the output buffer. High-End Timer (HET) Timings Table 5-21. Dynamic Characteristics for the HET Pins PARAMETER topw(HET) tipw(HET) (1) (2) 58 MIN Output pulse width, this is the minimum pulse width that can be generated (1) Input pulse width, this is the minimum pulse width that can be captured (2) MAX UNIT 1/f(VCLK2) ns 1/f(VCLK2) ns topw(HET)min = HRP(min) = hr(min) / VCLK2. tipw(HET) = LRP(min) = hr(min) * lr(min) / VCLK2. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 5.7 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 00h to 3FFh [00 for VAI ≤ ADREFLO; 3FF for VAI ≥ ADREFHI] Output conversion code Table 5-22. MibADC Recommended Operating Conditions (1) ADREFHI A-to-D high -voltage reference source ADREFLO A-to-D low-voltage reference source VAI Analog input voltage IAIC Analog input clamp current (2) (VAI < VSSAD - 0.3 or VAI > VCCAD + 0.3) (1) (2) MIN MAX UNIT 3.0 VCCAD V VSSAD 0.3 V ADREFLO ADREFHI V -2 2 mA For VCCAD and VSSAD recommended operating conditions, see . Input currents into any ADC input channel outside the specified limits could affect conversion results of other channels. Table 5-23. MibADC Operating Characteristics Over Full Range of Recommended Operating Conditions (1) NOM MAX UNIT Rmux Analog input mux on-resistance PARAMETER See Figure 5-19 125 1.5K Ω Rsamp ADC sample switch on-resistance See Figure 5-19 150 1.5K Ω Cmux Input mux capacitance See Figure 5-19 16 pF Csamp ADC sample capacitance See Figure 5-19 8 pF IAIL Analog input leakage current Input leakage per ADC input pin IADREFHI ADREFHI input current ADREFHI = 3.6 V, ADREFLO = VSSAD CR Conversion range over which specified accuracy is maintained ADREFHI - ADREFLO EDNL Differential non-linearity error EINL Integral non-linearity error ETOT (1) DESCRIPTION/CONDITIONS Total error/Absolute accuracy MIN -200 200 nA 5 mA 3.6 V Difference between the actual step width and the ideal value (see Figure 5-20). ±2 LSB Maximum deviation from the best straight line through the MibADC. MibADC transfer characteristics, excluding the quantization error (see Figure 5-21). ±2 LSB Maximum value of the difference between an analog value and the ideal midstep value (see Figure 5-22). ±2 LSB 3 1 - LSB = (ADREFHI – ADREFLO)/ 210 for the MibADC. Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 59 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 5.7.1 www.ti.com MibADC Input Model Pin Pin Smux Rmux Smux Rmux IAIL Pin IAIL Smux Rmux IAIL IAIL Ssamp Rsamp Cmux Csamp Figure 5-19. MibADC Input Equivalent Circuit Table 5-24. Multi-Buffer ADC Timing Requirements PARAMETER MIN NOM MAX UNIT 0.05 µs 1 µs 0.55 µs tc(ADCLK) Cycle time, MibADC clock td(SH) Delay time, sample and hold time td(C) Delay time, conversion time td(SHC) (1) Delay time, total sample/hold and conversion time 1.55 µs (1) 60 This is the minimum sample/hold and conversion time that can be achieved. These parameters are dependent on many factors. Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com The differential non-linearity error shown in Figure 5-20 (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 Differential Linearity Error (-1/2 LSB) 1 LSB 0 ... 000 1 0 A. 2 3 4 5 Analog Input Value (LSB) 1 LSB = (ADREFHI – ADREFLO)/210 Figure 5-20. Differential Non-linearity (DNL) The integral non-linearity error shown in Figure 5-21 (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 0 ... 100 Actual Transition 0 ... 011 0 ... 010 At Transition 011/100 (-1/2 LSB) End-Point Lin. Error 0 ... 001 At Transition 001/010 (-1/4 LSB) 0 ... 000 0 A. 1 2 3 4 5 Analog Input Value (LSB) 6 7 1 LSB = (ADREFHI – ADREFLO)/210 Figure 5-21. Integral Non-linearity (INL) Error The absolute accuracy or total error of an MibADC as shown in Figure 5-22 is the maximum value of the difference between an analog value and the ideal midstep value. Peripheral Information and Electrical Specifications Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Copyright © 2012, Texas Instruments Incorporated 61 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 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 A. 1 2 3 4 5 Analog Input Value (LSB) 6 7 1 LSB = (ADREFHIµ – ADREFLO)/210 Figure 5-22. Absolute Accuracy (Total) Error 62 Peripheral Information and Electrical Specifications Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 6 Revision History This data sheet revision history highlights the technical changes made to the device or the datasheet. Date August 2011 December 2011 Additions, Deletions, And Modifications Added descriptions for the ENZ pin. Revision A Corrected number of GIO pins available from 8 to 4 in Device Characteristics table Updated LBIST section to include support for STCCLK = HCLK Added additional detail about MBIST cycle counts Operating Conditions and electrical specs upated with characterized values Added upper limit to Vreg ramp specification B Removed support for low power modes Added TEST Pin Glitch Filter Timing specification Added note about back to back write/erase cycling in the EEPROM emulation bank. Added FMPLL validated settings table January 2012 Updated programming times in the Flash Timings table. Corrected programming word size from 16-bit to 32-bit in the Flash Timings table to accurately reflect the default FSM configuration. C Added assumed use case and qualification standards for EEPROM emulation use in an application in the Flash Timings table. Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 Revision History 63 TMS470MF04207 TMS470MF03107 SPNS159C – JANUARY 2012 www.ti.com 7 Mechanical Data 7.1 Thermal Data Table 7-1 shows the thermal resistance characteristics for the PQFP - PZ mechanical packages. Table 7-1. Thermal Resistance Characteristics (S-PQFP Package) [PZ] 7.2 PARAMETER °C/W RθJA 48 RθJC 5 Packaging Information The following packaging information reflects the most current released data available for the designated device(s). This data is subject to change without notice and without revision of this document. 64 Mechanical Data Copyright © 2012, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Link(s): TMS470MF04207 TMS470MF03107 PACKAGE OPTION ADDENDUM www.ti.com 2-Mar-2012 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/ Ball Finish MSL Peak Temp (3) S4MF03107SPZQQ1 ACTIVE LQFP PZ 100 90 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR S4MF04207SPZQQ1 ACTIVE LQFP PZ 100 90 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR Samples (Requires Login) (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1 MECHANICAL DATA MTQF013A – OCTOBER 1994 – REVISED DECEMBER 1996 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 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 1 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 applications 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 TI 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. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from 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. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Mobile Processors www.ti.com/omap Wireless Connectivity www.ti.com/wirelessconnectivity TI E2E Community Home Page e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2012, Texas Instruments Incorporated