Refer to the PDF data sheet for device specific package drawings
The RM44Lx20 device is part of the Hercules RM series of high-performance industrial-grade ARM® Cortex®-R-based MCUs. Comprehensive documentation, tools, and software are available to assist in the development of IEC 61508 functional safety applications. Start evaluating today with the Hercules RM LaunchPad Development Kit. The RM44Lx20 device has on-chip diagnostic features including: dual CPUs in lockstep; CPU and memory Built-In Self-Test (BIST) logic; ECC on both the flash and the SRAM; parity on peripheral memories; and loopback capability on most peripheral I/Os.
The RM44Lx20 device integrates the ARM Cortex-R4F floating-point CPU which offers an efficient 1.66 DMIPS/MHz, and has configurations which can run up to 180 MHz providing up to 298 DMIPS. The RM44Lx20 device supports the little-endian [LE] format.
The RM44Lx20 device has up to 1MB of integrated flash and 128KB of RAM configurations with single-bit error correction and double-bit error detection. The flash memory on this device is nonvolatile, electrically erasable and programmable, and is implemented with a 64-bit-wide data bus interface. The flash operates on a 3.3-V supply input (same level as the I/O supply) for all read, program, and erase operations. The SRAM supports single-cycle read and write accesses in byte, halfword, word, and doubleword modes throughout the supported frequency range.
The RM44Lx20 device features peripherals for real-time control-based applications, including two Next-Generation High-End Timer (N2HET) timing coprocessors with up to 44 total I/O terminals, seven Enhanced PWM (ePWM) modules with up to 14 outputs, six Enhanced Capture (eCAP) modules, two Enhanced Quadrature Encoder Pulse (eQEP) modules, and two 12-bit Analog-to-Digital Converters (ADCs) supporting up to 24 inputs.
The N2HET 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 N2HET can be used for pulse-width-modulated outputs, capture or compare inputs, or general-purpose I/O (GIO). The N2HET is especially well suited for applications requiring multiple sensor information and drive actuators with complex and accurate time pulses. A High-End Timer Transfer Unit (HTU) can transfer N2HET data to or from main memory. A Memory Protection Unit (MPU) is built into the HTU.
The ePWM module can generate complex pulse width waveforms with minimal CPU overhead or intervention. The ePWM is easy to use and supports complementary PWMs and deadband generation. With integrated trip zone protection and synchronization with the on-chip MibADC, the ePWM is ideal for digital motor control applications.
The eCAP module is essential in systems where the accurately timed capture of external events is important. The eCAP can also be used to monitor the ePWM outputs or to generate simple PWM when not needed for capture applications.
The eQEP module is used for direct interface with a linear or rotary incremental encoder to get position, direction, and speed information from a rotating machine as used in high-performance motion and position-control systems.
The device has two 12-bit-resolution MibADCs with 24 total inputs and 64 words of parity-protected buffer RAM each. The MibADC channels can be converted individually or can be grouped by software for sequential conversion sequences. Sixteen inputs are shared between the two MibADCs. There are three separate groups. Each group can be converted once when triggered or configured for continuous conversion mode. The MibADC has a 10-bit mode for use when compatibility with older devices or faster conversion time is desired.
The device has multiple communication interfaces: three MibSPIs; two SPIs; two SCIs, one of which can be used as LIN; up to three DCANs; and one I2C module. The SPI provides a convenient method of serial interaction for high-speed communications between similar shift-register type devices. The LIN supports the Local Interconnect standard 2.0 and can be used as a UART in full-duplex mode using the standard Non-Return-to-Zero (NRZ) format. The DCAN supports the CAN 2.0B protocol standard and uses a serial, multimaster communication protocol that efficiently supports distributed real-time control with robust communication rates of up to 1 Mbps. The DCAN is ideal for applications operating in noisy and harsh environments (for example, automotive and industrial fields) that require reliable serial communication or multiplexed wiring.
The I2C module is a multimaster communication module providing an interface between the microcontroller and an I2C-compatible device through the I2C serial bus. The I2C module supports speeds of 100 and 400 kbps.
A Frequency-Modulated Phase-Locked Loop (FMPLL) clock module is used to multiply the external frequency reference to a higher frequency for internal use. The FMPLL provides one of the six possible clock source inputs to the Global Clock Module (GCM). The GCM manages the mapping between the available clock sources and the device clock domains.
The device also has an external clock prescaler (ECP) circuit that when enabled, outputs a continuous external clock on the ECLK terminal. The ECLK frequency is a user-programmable ratio of the peripheral interface clock (VCLK) frequency. This low-frequency output can be monitored externally as an indicator of the device operating frequency.
The Direct Memory Access (DMA) controller has 16 channels, 32 peripheral requests, and parity protection on its memory. An MPU is built into the DMA to protect memory against erroneous transfers.
The Error Signaling Module (ESM) monitors device errors and determines whether an interrupt or external error signal (nERROR) is asserted when a fault is detected. The nERROR terminal can be monitored externally as an indicator of a fault condition in the microcontroller.
With integrated functional safety features and a wide choice of communication and control peripherals, the RM44Lx20 device is an ideal solution for high-performance, real-time control applications with safety-critical requirements.
PART NUMBER | PACKAGE | BODY SIZE |
---|---|---|
RM44L920PGE | LQFP (144) | 20.0 mm × 20.0 mm |
RM44L920PZ | LQFP (100) | 14.0 mm × 14.0 mm |
RM44L520PGE | LQFP (144) | 20.0 mm × 20.0 mm |
RM44L520PZ | LQFP (100) | 14.0 mm × 14.0 mm |
Figure 1-1 shows the functional block diagram of the device.
NOTE: The block diagram reflects the 144PGE package. Some functions are multiplexed or not available in other packages. For details, see the respective terminal functions table in Section 4.2, Terminal Functions.
This data manual revision history highlights the technical changes made to the SPNS229B device-specific data manual to make it an SPNS229C revision.
Scope: Applicable updates to the RM44Lx20 device family, specifically relating to the RM44L920 and RM44L520 devices (Silicon Revision A), which are now in the production data (PD) stage of development have been incorporated.
Changes from October 31, 2015 to November 1, 2016 (from B Revision (October 2015) to C Revision)
Table 3-1 lists the features of the RM44Lx20 devices.
FEATURES | DEVICES | ||||||
---|---|---|---|---|---|---|---|
Generic Part Number | RM46L852ZWT | RM46L852PGE | RM44L920PGE | RM44L920PZ | RM44L520PGE | RM44L520PZ | RM42L432PZ |
Package | 337 BGA | 144 QFP | 144 QFP | 100 QFP | 144 QFP | 100 QFP | 100 QFP |
CPU | ARM Cortex-R4F | ARM Cortex-R4F | ARM Cortex-R4F | ARM Cortex-R4F | ARM Cortex-R4F | ARM Cortex-R4F | ARM Cortex-R4 |
Frequency (MHz) | 220 | 220 | 180 | 120 | 180 | 120 | 100 |
Flash (KB) | 1280 | 1280 | 1024 | 1024 | 768 | 768 | 384 |
RAM (KB) | 192 | 192 | 128 | 128 | 128 | 128 | 32 |
Data Flash [EEPROM] (KB) | 64 | 64 | 64 | 64 | 64 | 64 | 16 |
USB OHCI + Device | 2+0 or 1+1 | 2+0 or 1+1 | – | – | – | – | – |
EMAC | 10/100 | 10/100 | – | – | – | – | – |
FlexRay | – | – | – | – | – | – | – |
CAN | 3 | 3 | 3 | 2 | 3 | 2 | 2 |
MibADC 12-bit (Ch) |
2 x (24ch) | 2 x (24ch) | 2 x (24ch) | 2 x (16ch) | 2 x (24ch) | 2 x (16ch) | 1 x (16ch) |
N2HET (Ch) | 2 (44) | 2 (40) | 2 (40) | 2 (21) | 2 (40) | 2 (21) | 1 (19) |
ePWM Channels | 14 | 14 | 14 | 8 | 14 | 8 | – |
eCAP Channels | 6 | 6 | 6 | 4 | 6 | 4 | – |
eQEP Channels | 2 | 2 | 2 | 1 | 2 | 1 | 2 |
MibSPI (CS) | 3 (6 + 6 + 4) | 3 (5 + 6 + 1) | 3 (5 + 6 + 1) | 2 (4 + 2) | 3 (5 + 6 + 1) | 2 (4 + 2) | 1 (4) |
SPI (CS) | 2 (2 + 1) | 1 (1) | 1 (1) | 1 (1) | 1 (1) | 1 (1) | 2 (4 + 4) |
SCI (LIN) | 2 (1 with LIN) | 2 (1 with LIN) | 2 (1 with LIN) | 1(with LIN) | 2 (1 with LIN) | 1(with LIN) | 1(with LIN) |
I2C | 1 | 1 | 1 | – | 1 | – | – |
GPIO (INT) | 101 (with 16 interrupt capable) | 64 (with 10 interrupt capable) | 64 (with 16 interrupt capable) | 45 (with 9 interrupt capable) | 64 (with 16 interrupt capable) | 45 (with 9 interrupt capable) | 45 (with 8 interrupt capable) |
EMIF | 16-bit data | – | – | – | – | – | – |
ETM [Trace] (Data) | – | – | – | – | – | – | – |
RTP/DMM (Data) | – | – | – | – | – | – | – |
Operating Temperature |
-40ºC to 105ºC | -40ºC to 105ºC | -40ºC to 105ºC | -40ºC to 105ºC | -40ºC to 105ºC | -40ºC to 105ºC | -40ºC to 105ºC |
Core Supply (V) | 1.14 V – 1.32 V | 1.14 V – 1.32 V | 1.14 V – 1.32 V | 1.14 V – 1.32 V | 1.14 V – 1.32 V | 1.14 V – 1.32 V | 1.14 V – 1.32 V |
I/O Supply (V) | 3.0 V – 3.6 V | 3.0 V – 3.6 V | 3.0 V – 3.6 V | 3.0 V – 3.6 V | 3.0 V – 3.6 V | 3.0 V – 3.6 V | 3.0 V – 3.6 V |
For information about other devices in this family of products or related products, see the following links.
Products for RM 16-Bit and 32-Bit MCUs
An expansive portfolio of software and pin-compatible high-performance ARM® Cortex®-R-based MCU products from 80 MHz up to 300 MHz with on-chip features that prove a high level of diagnostic coverage, as well as provide scalability to address a wide range of applications.
Companion Products for RM44L920/RM44L520
Review products that are frequently purchased or used with this product.
The signal descriptions section shows pin information in module function order per package.
Section 4.2.1 and Section 4.2.2 identify the external signal names, the associated pin or ball numbers along with the mechanical package designator, the pin or ball type (Input, Output, I/O, Power, or Ground), whether the pin or ball has any internal pullup/pulldown, whether the pin or ball can be configured as a GIO, and a functional pin or ball description. The first signal name listed is the primary function for that terminal (pin or ball). The signal name in Bold is the function being described. For information on how to select between different multiplexed functions, see Section 4.3, Pin Multiplexing or see the I/O Multiplexing and Control Module (IOMM) chapter of the RM44Lx 16/32-Bit RISC Flash Microcontroller Technical Reference Manual (SPNU608).
NOTE
All I/O signals except nRST are configured as inputs while nPORRST is low and immediately after nPORRST goes high.
All output-only signals are configured as high impedance while nPORRST is low, and are configured as outputs immediately after nPORRST goes high.
While nPORRST is low, the input buffers are disabled, and the output buffers are high impedance.
In the Terminal Functions tables of Section 4.2.1 and Section 4.2.2, the RESET PULL STATE is the state of the pullup or pulldown while nPORRST is low and immediately after nPORRST goes high. The default pull direction may change when software configures the pin for an alternate function. The PULL TYPE is the type of pull asserted when the signal name in bold is enabled for the given terminal.
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
ADREFHI(1) | 66 | Power | – | None | ADC high reference supply |
ADREFLO(1) | 67 | Power | ADC low reference supply | ||
VCCAD(1) | 69 | Power | Operating supply for ADC | ||
VSSAD(1) | 68 | Ground | |||
AD1EVT | 86 | I/O | Pulldown | Programmable, 20 µA | ADC1 event trigger input, or GIO |
MIBSPI3NCS[0]/AD2EVT/GIOB[2]/ EQEP1I/N2HET2_PIN_nDIS |
55 | I/O | Pullup | Programmable, 20 µA | ADC2 event trigger input, or GIO |
AD1IN[0] | 60 | Input | – | None | ADC1 analog input |
AD1IN[01] | 71 | ||||
AD1IN[02] | 73 | ||||
AD1IN[03] | 74 | ||||
AD1IN[04] | 76 | ||||
AD1IN[05] | 78 | ||||
AD1IN[06] | 80 | ||||
AD1IN[07] | 61 | ||||
AD1IN[08] / AD2IN[08] | 83 | Input | – | None | ADC1/ADC2 shared analog inputs |
AD1IN[09] / AD2IN[09] | 70 | ||||
AD1IN[10] / AD2IN[10] | 72 | ||||
AD1IN[11] / AD2IN[11] | 75 | ||||
AD1IN[12] / AD2IN[12] | 77 | ||||
AD1IN[13] / AD2IN[13] | 79 | ||||
AD1IN[14] / AD2IN[14] | 82 | ||||
AD1IN[15] / AD2IN[15] | 85 | ||||
AD1IN[16] / AD2IN[0] | 58 | ||||
AD1IN[17] / AD2IN[01] | 59 | ||||
AD1IN[18] / AD2IN[02] | 62 | ||||
AD1IN[19] / AD2IN[03] | 63 | ||||
AD1IN[20] / AD2IN[04] | 64 | ||||
AD1IN[21] / AD2IN[05] | 65 | ||||
AD1IN[22] / AD2IN[06] | 81 | ||||
AD1IN[23] / AD2IN[07] | 84 | ||||
MIBSPI3SOMI[0]/AWM1_EXT_ENA/ECAP2 | 51 | Output | Pullup | – | AWM1 external analog mux enable |
MIBSPI3SIMO[0]/AWM1_EXT_SEL[0]/ECAP3 | 52 | Output | Pullup | – | AWM1 external analog mux select line0 |
MIBSPI3CLK/AWM1_EXT_SEL[1]/EQEP1A | 53 | Output | Pullup | – | AWM1 external analog mux select line0 |
TERMINAL | SIGNAL TYPE | RESET PULL STATE |
PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 144 PGE | ||||
N2HET1[15]/MIBSPI1NCS[4]/ECAP1 | 41 | I/O | Pulldown | Fixed, 20 µA | Enhanced Capture Module 1 I/O |
MIBSPI3SOMI[0]/AWM1_EXT_ENA/ECAP2 | 51 | Pullup | Enhanced Capture Module 2 I/O | ||
MIBSPI3SIMO[0]/AWM1_EXT_SEL[0]/ECAP3 | 52 | Enhanced Capture Module 3 I/O | |||
MIBSPI1NENA/N2HET1[23]/ECAP4 | 96 | Enhanced Capture Module 4 I/O | |||
MIBSPI5NENA/MIBSPI5SOMI[1]/ECAP5 | 97 | Enhanced Capture Module 5 I/O | |||
MIBSPI1NCS[0]/MIBSPI1SOMI[1]/ECAP6 | 105 | Enhanced Capture Module 6 I/O |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 144 PGE | ||||
MIBSPI3CLK/AWM1_EXT_SEL[1]/EQEP1A | 53 | Input | Pullup | Fixed, 20 µA | Enhanced QEP1 Input A |
MIBSPI3NENA/MIBSPI3NCS[5]/N2HET1[31]/EQEP1B | 54 | Input | Enhanced QEP1 Input B | ||
MIBSPI3NCS[0]/AD2EVT/GIOB[2]/EQEP1I/N2HET2_PIN_nDIS | 55 | I/O | Enhanced QEP1 Index | ||
MIBSPI1NCS[1]/N2HET1[17]//EQEP1S | 130 | I/O | Enhanced QEP1 Strobe | ||
N2HET1[01]/SPI4NENA/N2HET2[8]/EQEP2A | 23 | Input | Pulldown | Enhanced QEP2 Input A | |
N2HET1[03]/SPI4NCS[0]/N2HET2[10]/EQEP2B | 24 | Input | Enhanced QEP2 Input B | ||
GIOA[2]/N2HET2[0]/EQEP2I | 9 | I/O | Enhanced QEP2 Index | ||
N2HET1[30]/EQEP2S | 127 | I/O | Enhanced QEP2 Strobe |
TERMINAL | SIGNAL TYPE | RESET PULL STATE |
PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 144 PGE | ||||
GIOA[5]/EXTCLKIN1/EPWM1A/N2HET1_PIN_nDIS | 14 | Output | Pulldown | – | Enhanced PWM1 Output A |
GIOA[6]/N2HET2[4]/EPWM1B | 16 | Enhanced PWM1 Output B | |||
N2HET1[11]/MIBSPI3NCS[4]/N2HET2[18]/EPWM1SYNCO | 6 | External ePWM Sync Pulse Output | |||
N2HET1[16]/EPWM1SYNCI/EPWM1SYNCO | 139 | Input | Pullup | Fixed, 20 µA | External ePWM Sync Pulse Output |
GIOA[7]/N2HET2[6]/EPWM2A | 22 | Output | Pulldown | – | Enhanced PWM2 Output A |
N2HET1[0]/SPI4CLK/EPWM2B | 25 | Enhanced PWM2 Output B | |||
N2HET1[02]/SPI4SIMO[0]/EPWM3A | 30 | Enhanced PWM3 Output A | |||
N2HET1[05]/SPI4SOMI[0]/N2HET2[12]/EPWM3B | 31 | Enhanced PWM3 Output B | |||
MIBSPI5NCS[0]/EPWM4A | 32 | Output | Pullup | – | Enhanced PWM4 Output A |
N2HET1[04]/EPWM4B | 36 | Output | Pulldown | – | Enhanced PWM4 Output B |
N2HET1[06]/SCIRX/EPWM5A | 38 | Enhanced PWM5 Output A | |||
N2HET1[13]/SCITX/EPWM5B | 39 | Enhanced PWM5 Output B | |||
N2HET1[18]/EPWM6A | 140 | Enhanced PWM6 Output A | |||
N2HET1[20]/EPWM6B | 141 | Enhanced PWM6 Output B | |||
N2HET1[09]/N2HET2[16]/EPWM7A | 35 | Enhanced PWM7 Output A | |||
N2HET1[07]/N2HET2[14]/EPWM7B | 33 | Enhanced PWM7 Output B | |||
MIBSPI3NCS[3]/I2CSCL/N2HET1[29]/nTZ1 | 3 | Input | Pullup | Fixed, 20 µA | Trip Zone Inputs 1, 2 and 3. These signals are either connected asynchronously to the ePWMx trip zone inputs, or double-synchronized with VCLK4, or double-synchronized and then filtered with a 6-cycle VCLK4-based counter before connecting to the ePWMx trip zone inputs. |
MIBSPI3NCS[2]/I2CSDA/N2HET1[27]/nTZ2 | 4 | ||||
N2HET1[10]/nTZ3 | 118 | Pulldown |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
GIOA[0] | 2 | I/O | Pulldown | Programmable, 20 µA | General-purpose I/O. All GIO terminals are capable of generating interrupts to the CPU on rising / falling / both edges. |
GIOA[1] | 5 | ||||
GIOA[2]/N2HET2[0]/EQEPII | 9 | ||||
GIOA[5]/EXTCLKIN1/EPWM1A/N2HET1_PIN_nDIS | 14 | ||||
GIOA[6]/N2HET2[4]/EPWM1B | 16 | ||||
GIOA[7]/N2HET2[6]/EPWM2A | 22 | ||||
GIOB[0] | 126 | ||||
GIOB[1] | 133 | ||||
GIOB[2] | 142 | ||||
MIBSPI3NCS[0]/AD2EVT/GIOB[2]/EQEP1I/N2HET2_PIN_nDIS | 55(1) | Pullup | |||
GIOB[3] | 1 | Pulldown |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
CAN1RX | 90 | I/O | Pullup | Programmable, 20 µA | CAN1 receive, or GIO |
CAN1TX | 89 | CAN1 transmit, or GIO | |||
CAN2RX | 129 | CAN2 receive, or GIO | |||
CAN2TX | 128 | CAN2 transmit, or GIO | |||
CAN3RX | 12 | CAN3 receive, or GIO | |||
CAN3TX | 13 | CAN3 transmit, or GIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
LINRX | 131 | I/O | Pullup | Programmable, 20 µA | LIN receive, or GIO |
LINTX | 132 | LIN transmit, or GIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
N2HET1[06]/SCIRX/EPWM5A | 38 | I/O | Pulldown | Programmable, 20 µA | SCI receive, or GIO |
N2HET1[13]/SCITX/EPWM5B | 39 | SCI transmit, or GIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
MIBSPI3NCS[2]/I2CSDA/N2HET1[27]/nTZ2 | 4 | I/O | Pullup | Programmable, 20 µA | I2C serial data, or GIO |
MIBSPI3NCS[3]/I2CSCL/N2HET1[29]/nTZ1 | 3 | I2C serial clock, or GIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
N2HET1[0]/SPI4CLK/EPWM2B | 25 | I/O | Pulldown | Programmable, 20 µA | SPI4 clock, or GIO |
N2HET1[03]/SPI4NCS[0]/N2HET2[10]/EQEP2B | 24 | SPI4 chip select, or GIO | |||
N2HET1[01]/SPI4NENA/N2HET2[8]/EQEP2A | 23 | SPI4 enable, or GIO | |||
N2HET1[02]/SPI4SIMO[0]/EPWM3A | 30 | SPI4 slave-input master-output, or GIO | |||
N2HET1[05]/SPI4SOMI[0]/N2HET2[12]/EPWM3B | 31 | SPI4 slave-output master-input, or GIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
MIBSPI1CLK | 95 | I/O | Pullup | Programmable, 20 µA | MibSPI1 clock, or GIO |
MIBSPI1NCS[0]/MIBSPI1SOMI[1]/ECAP6 | 105 | MibSPI1 chip select, or GIO | |||
MIBSPI1NCS[1]/N2HET1[17]//EQEP1S | 130 | ||||
MIBSPI1NCS[2]/N2HET1[19]/ | 40 | ||||
N2HET1[15]/MIBSPI1NCS[4]/ECAP1 | 41 | Pulldown | Programmable, 20 µA | MibSPI1 chip select, or GIO | |
N2HET1[24]/MIBSPI1NCS[5] | 91 | ||||
MIBSPI1NENA/N2HET1[23]/ECAP4 | 96 | Pullup | Programmable, 20 µA | MibSPI1 enable, or GIO | |
MIBSPI1SIMO[0] | 93 | MibSPI1 slave-in master-out, or GIO | |||
N2HET1[08]/MIBSPI1SIMO[1] | 106 | Pulldown | Programmable, 20 µA | MibSPI1 slave-in master-out, or GIO | |
MIBSPI1SOMI[0] | 94 | Pullup | Programmable, 20 µA | MibSPI1 slave-out master-in, or GIO | |
MIBSPI1NCS[0]/MIBSPI1SOMI[1]/ECAP6 | 105 | ||||
MIBSPI3CLK/AWM1_EXT_SEL[1]/EQEP1A | 53 | I/O | Pullup | Programmable, 20 µA | MibSPI3 clock, or GIO |
MIBSPI3NCS[0]/AD2EVT/GIOB[2]/EQEP1I/N2HET2_PIN_nDIS | 55 | MibSPI3 chip select, or GIO | |||
MIBSPI3NCS[1]/N2HET1[25] | 37 | ||||
MIBSPI3NCS[2]/I2CSDA/N2HET1[27]/nTZ2 | 4 | ||||
MIBSPI3NCS[3]/I2CSCL/N2HET1[29]/nTZ1 | 3 | ||||
N2HET1[11]/MIBSPI3NCS[4]/N2HET2[18]/EPWM1SYNCO | 6 | Pulldown | Programmable, 20 µA | MibSPI3 chip select, or GIO | |
MIBSPI3NENA /MIBSPI3NCS[5]/N2HET1[31]/EQEP1B | 54 | Pullup | Programmable, 20 µA | MibSPI3 chip select, or GIO | |
MIBSPI3NENA/MIBSPI3NCS[5]/N2HET1[31]/EQEP1B | 54 | MibSPI3 enable, or GIO | |||
MIBSPI3SIMO[0]/AWM1_EXT_SEL[0]/ECAP3 | 52 | MibSPI3 slave-in master-out, or GIO | |||
MIBSPI3SOMI[0]/AWM1_EXT_ENA/ECAP2 | 51 | MibSPI3 slave-out master-in, or GIO | |||
MIBSPI5CLK | 100 | I/O | Pullup | Programmable, 20 µA | MibSPI5 clock, or GIO |
MIBSPI5NCS[0]/EPWM4A | 32 | MibSPI5 chip select, or GIO | |||
MIBSPI5NENA/MIBSPI5SOMI[1]/ECAP5 | 97 | MibSPI5 enable, or GIO | |||
MIBSPI5SIMO[0]/MIBSPI5SOMI[2] | 99 | MibSPI5 slave-in master-out, or GIO | |||
MIBSPI5SOMI[0] | 98 | MibSPI5 slave-out master-in, or GIO | |||
MIBSPI5NENA/MIBSPI5SOMI[1]/ECAP5 | 97 | MibSPI5 SOMI[0], or GIO | |||
MIBSPI5SIMO[0]/MIBSPI5SOMI[2] | 99 | MibSPI5 SOMI[0], or GIO |
TERMINAL | SIGNAL TYPE | RESET PULL STATE |
PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 144 PGE | ||||
nPORRST | 46 | Input | Pulldown | 100 µA | Power-on reset, cold reset External power supply monitor circuitry must drive nPORRST low when any of the supplies to the microcontroller fall out of the specified range. This terminal has a glitch filter. See Section 6.8. |
nRST | 116 | I/O | Pullup | 100 µA | System reset, warm reset, bidirectional. The internal circuitry indicates any reset condition by driving nRST low. The external circuitry can assert a system reset by driving nRST low. To ensure that an external reset is not arbitrarily generated, TI recommends that an external pullup resistor is connected to this terminal. This terminal has a glitch filter. See Section 6.8. |
nERROR | 117 | I/O | Pulldown | 20 µA | ESM Error Signal Indicates error of high severity. See Section 6.8. |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
OSCIN | 18 | Input | – | None | From external crystal/resonator, or external clock input |
KELVIN_GND | 19 | Input | Kelvin ground for oscillator | ||
OSCOUT | 20 | Output | To external crystal/resonator | ||
ECLK | 119 | I/O | Pulldown | Programmable, 20 µA | External prescaled clock output, or GIO. |
GIOA[5]/EXTCLKIN1/EPWM1A /N2HET1_PIN_nDIS | 14 | Input | Pulldown | 20 µA | External clock input #1 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
TEST | 34 | Input | Pulldown | Fixed, 100 µA | Test enable. This terminal must be connected to ground directly or via a pulldown resistor. |
nTRST | 109 | Input | JTAG test hardware reset | ||
RTCK | 113 | Output | - | None | JTAG return test clock |
TCK | 112 | Input | Pulldown | Fixed, 100 µA | JTAG test clock |
TDI | 110 | Input | Pullup | JTAG test data in | |
TDO | 111 | Output | Pulldown | JTAG test data out | |
TMS | 108 | Input | Pullup | JTAG test select |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
VCCP | 134 | 3.3-V Power | – | None | Flash pump supply |
FLTP1 | 7 | – | – | None | Flash test pads. These terminals are reserved for TI use only. For proper operation these terminals must connect only to a test pad or not be connected at all [no connect (NC)]. |
FLTP2 | 8 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
VCC | 17 | 1.2-V Power | – | None | Core supply |
VCC | 29 | ||||
VCC | 45 | ||||
VCC | 48 | ||||
VCC | 49 | ||||
VCC | 57 | ||||
VCC | 87 | ||||
VCC | 101 | ||||
VCC | 114 | ||||
VCC | 123 | ||||
VCC | 137 | ||||
VCC | 143 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
VCCIO | 10 | 3.3-V Power | – | None | Operating supply for I/Os |
VCCIO | 26 | ||||
VCCIO | 42 | ||||
VCCIO | 104 | ||||
VCCIO | 120 | ||||
VCCIO | 136 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 144 PGE | ||||
VSS | 11 | Ground | – | None | Ground reference |
VSS | 21 | ||||
VSS | 27 | ||||
VSS | 28 | ||||
VSS | 43 | ||||
VSS | 44 | ||||
VSS | 47 | ||||
VSS | 50 | ||||
VSS | 56 | ||||
VSS | 88 | ||||
VSS | 102 | ||||
VSS | 103 | ||||
VSS | 115 | ||||
VSS | 121 | ||||
VSS | 122 | ||||
VSS | 135 | ||||
VSS | 138 | ||||
VSS | 144 |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
N2HET1[0]/ SPI4CLK / EPWM2B | 19 | I/O | Pulldown | Programmable, 20 µA |
N2HET2 timer input capture or output compare, or GIO. Each terminal has a suppression filter with a programmable duration. Timer input capture or output compare. The N2HET applicable terminals can be programmed as general-purpose input/output (GIO). |
N2HET1[2] / SPI4SIMO / EPWM3A | 22 | ||||
N2HET1[4] / EPWM4B | 25 | ||||
N2HET1[6] / SCIRX / EPWM5A | 26 | ||||
N2HET1[8] / MIBSPI1SIMO[1] | 74 | ||||
N2HET1[10] / nTZ3 | 83 | ||||
N2HET1[12] | 89 | ||||
N2HET1[14] | 90 | ||||
N2HET1[16] / EPWM1SYNCI / EPWM1SYNCO | 97 | ||||
MIBSPI1nCS[1] / N2HET1[17] / EQEP1S | 93 | Pullup | |||
N2HET1[18] / EPWM6A | 98 | Pulldown | |||
MIBSPI1nCS[2] / N2HET1[19] | 27 | Pullup | |||
MIBSPI1nCS[3] / N2HET1[21] | 39 | ||||
N2HET1[22] | 11 | Pulldown | |||
MIBSPI1nENA / N2HET1[23] / ECAP4 | 68 | Pullup | |||
N2HET1[24] / MIBSPI1nCS[5] | 64 | Pulldown | |||
MIBSPI3nENA / MIBSPI3nCS[5] / N2HET1[31] / EQEP1B | 37 | Pullup | |||
GIOA[5] / INT[5] / EXTCLKIN /EPWM1A/N2HET1_PIN_nDIS | 10 | Pulldown | Disable selected PWM outputs | ||
GIOA[2] / INT[2] / N2HET2[0] / EQEP2I | 5 | Pulldown |
N2HET2 timer input capture or output compare, or GIO. Each terminal has a suppression filter with a programmable duration. Timer input capture or output compare. The N2HET applicable terminals can be programmed as general-purpose input/output (GIO). |
||
GIOA[3] / INT[3] / N2HET2[2] | 8 | ||||
GIOA[6] / INT[6] / N2HET2[4] / EPWM1B | 12 | ||||
GIOA[7] / INT[7] / N2HET2[6] / EPWM2A | 18 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
MIBSPI3SOMI[0] / AWM1_EXT_ENA / ECAP2 | 34 | I/O | Pullup | Fixed, 20 µA | Enhanced Capture Module 2 I/O |
MIBSPI3SIMO[0] / AWM1_EXT_SEL[0] / ECAP3 | 35 | Enhanced Capture Module 3 I/O | |||
MIBSPI1NENA / N2HET1[23] / ECAP4 | 68 | Enhanced Capture Module 4 I/O | |||
MIBSPI1NCS[0] / MIBSPI1SOMI[1] / ECAP6 | 73 | Enhanced Capture Module 6 I/O |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
MIBSPI3CLK / AWM1_EXT_SEL[1] / EQEP1A | 36 | I/O | Pullup | Fixed, 20 µA | Enhanced QEP1 Input A |
MIBSPI3nENA / MIBSPI3nCS[5] / N2HET1[31] / EQEP1B | 37 | Enhanced QEP1 Input B | |||
MIBSPI3nCS[0] / AD2EVT / GIOB[2] / EQEP1I/N2HET2_PIN_nDIS | 38 | Enhanced QEP1 Index | |||
MIBSPI1nCS[1] / N2HET1[17] / EQEP1S | 93 | Enhanced QEP1 Strobe | |||
GIOA[2] / INT[2] / N2HET2[0] / EQEP2I | 5 | Pulldown | Enhanced QEP2 Index |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
GIOA[5] / INT[5] / EXTCLKIN / EPWM1A/N2HET1_PIN_nDIS | 10 | Output | Pulldown | – | Enhanced PWM1 Output A |
GIOA[6] / INT[6] / N2HET2[4] / EPWM1B | 12 | Pulldown | Enhanced PWM1 Output B | ||
N2HET1[16] / EPWM1SYNCI / EPWM1SYNCO | 97 | Input | Pulldown | Fixed, 20 µA | External ePWM Sync Pulse Input |
N2HET1[16] / EPWM1SYNCI / EPWM1SYNCO | 97 | Output | Pulldown | – | External ePWM Sync Pulse Output |
GIOA[7] / INT[7] / N2HET2[6] / EPWM2A | 18 | Enhanced PWM2 Output A | |||
N2HET1[0] / SPI4CLK / EPWM2B | 19 | Enhanced PWM2 Output B | |||
N2HET1[2] / SPI4SIMO / EPWM3A | 22 | Enhanced PWM3 Output A | |||
N2HET1[4] / EPWM4B | 25 | Enhanced PWM4 Output B | |||
N2HET1[6] / SCIRX / EPWM5A | 26 | Enhanced PWM5 Output A | |||
N2HET1[18] / EPWM6A | 98 | Enhanced PWM6 Output A | |||
N2HET1[10] / nTZ3 | 83 | Input | Pulldown | Trip Zone 1 input 3 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
GIOA | |||||
GIOA[0] / INT[0] | 1 | I/O | Pulldown | Programmable, 20 µA | General-purpose input/output All GPIO terminals are capable of generating interrupts to the CPU on rising/falling/both edges. |
GIOA[1] / INT[1] | 2 | ||||
GIOA[2] / INT[2] / N2HET2[0] / EQEP2I | 5 | ||||
GIOA[3] / INT[3] / N2HET2[2] | 8 | ||||
GIOA[4]/ INT[4] | 9 | ||||
GIOA[5] / INT[5] / EXTCLKIN / EPWM1A/ N2HET1_PIN_nDIS | 10 | ||||
GIOA[6] / INT[6] / N2HET2[4] / EPWM1B | 12 | ||||
GIOA[7] / INT[7] / N2HET2[6] / EPWM2A | 18 | ||||
GIOB | |||||
MIBSPI3nCS[0] / AD2EVT / GIOB[2] / EQEP1I/N2HET2_PIN_nDIS | 38 | I/O | General-purpose input/output |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
DCAN1 | |||||
CAN1RX | 63 | I/O | Pullup | Programmable, 20 µA | CAN1 Receive, or general-purpose I/O (GPIO) |
CAN1TX | 62 | CAN1 Transmit, or GPIO | |||
DCAN2 | |||||
CAN2RX | 92 | I/O | Pullup | Programmable, 20 µA | CAN2 Receive, or GPIO |
CAN2TX | 91 | CAN2 Transmit, or GPIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
SPI2 | |||||
SPI2CLK | 71 | I/O | Pullup | Programmable, 20 µA | SPI2 Serial Clock, or GPIO |
SPI2nCS[0] | 23 | SPI2 Chip Select, or GPIO | |||
SPI2SIMO | 70 | SPI2 Slave-In-Master-Out, or GPIO | |||
SPI2SOMI | 69 | SPI2 Slave-Out-Master-In, or GPIO | |||
The drive strengths for the SPI2CLK, SPI2SIMO and SPI2SOMI signals are selected individually by configuring the respective SRS bits of the SPIPC9 register fo SPI2. SRS = 0 for 8mA drive (fast). This is the default mode as the SRS bits in the SPIPC9 register default to 0. SRS = 1 for 2mA drive (slow) |
|||||
SPI4 | |||||
N2HET1[0] / SPI4CLK / EPWM2B | 19 | I/O | Pulldown | Programmable, 20 µA | SPI2 Serial Clock, or GPIO |
N2HET1[2] / SPI4SIMO / EPWM3A | 22 | SPI2 Slave-In-Master-Out, or GPIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
MibSPI1 | |||||
MIBSPI1CLK | 67 | I/O | Pullup | Programmable, 20 µA | MibSPI1 Serial Clock, or GPIO |
MIBSPI1nCS[0]/MIBSPI1SOMI[1]/ ECAP6 |
73 | MibSPI1 Chip Select, or GPIO | |||
MIBSPI1nCS[1]/N2HET1[17]/ EQEP1S |
93 | ||||
MIBSPI1nCS[2]/N2HET1[19] | 27 | ||||
MIBSPI1nCS[3]/N2HET1[21] | 39 | ||||
MIBSPI1nENA/N2HET1[23]/ ECAP4 |
68 | MibSPI1 Enable, or GPIO | |||
MIBSPI1SIMO[0] | 65 | MibSPI1 Slave-In-Master-Out, or GPIO | |||
N2HET1[8]/MIBSPI1SIMO[1] | 74 | ||||
MIBSPI1SOMI[0] | 66 | MibSPI1 Slave-Out-Master-In, or GPIO | |||
MIBSPI1nCS[0]/MIBSPI1SOMI[1]/ ECAP6 |
73 | ||||
MibSPI3 | |||||
MIBSPI3CLK/AWM1_EXT_SEL[1]/ EQEP1A |
36 | I/O | Pullup | Programmable, 20 µA | MibSPI3 Serial Clock, or GPIO |
MIBSPI3nCS[0]/AD2EVT/GIOB[2]/ EQEP1I/N2HET2_PIN_nDIS |
38 | MibSPI3 Chip Select, or GPIO | |||
MIBSPI3nENA/MIBSPI3nCS[5]/ N2HET1[31]/EQEP1B |
37 | ||||
MIBSPI3nENA/MIBSPI3nCS[5]/ N2HET1[31]/EQEP1B |
37 | MibSPI3 Enable, or GPIO | |||
MIBSPI3SIMO[0]/AWM1_EXT_SEL[0]/ ECAP3 |
35 | MibSPI3 Slave-In-Master-Out, or GPIO | |||
MIBSPI3SOMI[0]/AWM1_EXT_ENA/ ECAP2 |
34 | MibSPI3 Slave-Out-Master-In, or GPIO |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
LINRX | 94 | I/O | Pullup | Programmable, 20 µA | LIN Receive, or GPIO |
LINTX | 95 | LIN Transmit, or GPIO |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
MibADC1 | |||||
AD1EVT | 58 | I/O | Pulldown | Programmable, 20 µA | ADC1 Event Trigger or GPIO |
AD1IN[0] | 42 | Input | – | – | Analog Inputs |
AD1IN[1] | 49 | ||||
AD1IN[2] | 51 | ||||
AD1IN[3] | 52 | ||||
AD1IN[4] | 54 | ||||
AD1IN[5] | 55 | ||||
AD1IN[6] | 56 | ||||
AD1IN[7] | 43 | ||||
AD1IN[8]/AD2IN[8] | 57 | ||||
AD1IN[9]/AD2IN[9] | 48 | ||||
AD1IN[10]/AD2IN[10] | 50 | ||||
AD1IN[11]/AD2IN[11] | 53 | ||||
AD1IN[16]/AD2IN[0] | 40 | ||||
AD1IN[17]/AD2IN[1] | 41 | ||||
AD1IN[20]/AD2IN[4] | 44 | ||||
AD1IN[21]/AD2IN[5] | 45 | ||||
ADREFHI/VCCAD | 46 | Input/ Power |
– | – | ADC High Reference Level/ADC Operating Supply |
ADREFLO/VSSAD | 47 | Input/ Ground |
– | – | ADC Low Reference Level/ADC Supply Ground |
MIBSPI3SOMI[0]/AWM1_EXT_ENA/ ECAP2 |
34 | AWM external analog mux enable | |||
MIBSPI3SIMO[0]/AWM1_EXT_SEL[0]/ ECAP3 |
35 | AWM external analog mux select line 0 | |||
MIBSPI3CLK/AWM1_EXT_SEL[1]/ EQEP1A |
36 | AWM external analog mux select line1 | |||
MibADC2 | |||||
MIBSPI3nCS[0]/AD2EVT/GIOB[2]/ EQEP1I/N2HET2_PIN_nDIS |
38 | I/O | ADC2 Event Trigger or GPIO |
TERMINAL | SIGNAL TYPE | RESET PULL STATE |
PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
nPORRST | 31 | Input | Pullup | 100 µA | Power-on reset, cold reset External power supply monitor circuitry must drive nPORRST low when any of the supplies to the microcontroller fall out of the specified range. This terminal has a glitch filter. See Section 6.8. |
nRST | 81 | I/O | Pullup | 100 µA | The external circuitry can assert a system reset by driving nRST low. To ensure that an external reset is not arbitrarily generated, TI recommends that an external pullup resistor is connected to this terminal. This terminal has a glitch filter. See Section 6.8. |
nERROR | 82 | I/O | Pulldown | 20 µA | ESM Error Signal. Indicates error of high severity. See Section 6.8. |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
OSCIN | 14 | Input | – | – | From external crystal/resonator, or external clock input |
KELVIN_GND | 15 | Input | – | – | Dedicated ground for oscillator |
OSCOUT | 16 | Output | – | – | To external crystal/resonator |
ECLK | 84 | I/O | Pulldown | Programmable, 20 µA | External prescaled clock output, or GIO. |
GIOA[5]/INT[5]/EXTCLKIN/EPWM1A/N2HET1_PIN_nDIS | 10 | Input | Pulldown | 20 µA | External Clock In |
TERMINAL | SIGNAL TYPE | RESET PULL STATE | PULL TYPE | DESCRIPTION | |
---|---|---|---|---|---|
SIGNAL NAME | 100 PZ | ||||
nTRST | 76 | Input | Pulldown | Fixed, 100 µA | JTAG test hardware reset |
RTCK | 80 | Output | – | – | JTAG return test clock |
TCK | 79 | Input | Pulldown | Fixed, 100 µA | JTAG test clock |
TDI | 77 | I/O | Pullup | Fixed, 100 µA | JTAG test data in |
TDO | 78 | I/O | Pulldown | Fixed, 100 µA | JTAG test data out |
TMS | 75 | I/O | Pullup | Fixed, 100 µA | JTAG test select |
TEST | 24 | I/O | Pulldown | Fixed, 100 µA | Test enable. This terminal must be connected to ground directly or via a pulldown resistor. |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
VCCP | 96 | 3.3-V Power | – | – | Flash external pump voltage (3.3 V). This terminal is required for both Flash read and Flash program and erase operations. |
FLTP1 | 3 | Input | – | – | Flash Test Pins. For proper operation this terminal 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. |
FLTP2 | 4 | Input | – | – |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
VCC | 13 | 1.2-V Power | – | – | Digital logic and RAM supply |
VCC | 21 | ||||
VCC | 30 | ||||
VCC | 32 | ||||
VCC | 61 | ||||
VCC | 88 | ||||
VCC | 99 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
VCCIO | 6 | 3.3-V Power | – | – | I/O Supply |
VCCIO | 28 | ||||
VCCIO | 60 | ||||
VCCIO | 85 |
Terminal | Signal Type | Reset Pull State | Pull Type | Description | |
---|---|---|---|---|---|
Signal Name | 100 PZ | ||||
VSS | 7 | Ground | – | – | Device Ground Reference. This is a single ground reference for all supplies except for the ADC Supply. |
VSS | 17 | ||||
VSS | 20 | ||||
VSS | 29 | ||||
VSS | 33 | ||||
VSS | 59 | ||||
VSS | 72 | ||||
VSS | 86 | ||||
VSS | 87 | ||||
VSS | 100 |
This microcontroller has several interfaces and uses extensive multiplexing to bring out the functions as required by the target application. The multiplexing is mostly on the output signals. A few inputs are also multiplexed to allow the same input signal to be driven in from a selected terminal.
Table 4-37 and Table 4-38 show the pin multiplexing control x register (PINMMRx) and the associated bit fields that control each pin mux function.
144-PIN PGE |
DEFAULT FUNCTION |
CTRL1 | OPTION 2 | CTRL2 | OPTION 3 | CTRL3 | OPTION 4 | CTRL4 | OPTION 5 | CTRL5 | OPTION 6 | CTRL6 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
86 | AD1EVT | 10[0] | ||||||||||
2 | GIOA[0] | 0[8] | ||||||||||
5 | GIOA[1] | 1[0] | ||||||||||
9 | GIOA[2] | 2[0] | N2HET2[0] | 2[3] | EQEP2I | 2[4] | ||||||
14 | GIOA[5] | 2[24] | EXTCLKIN1 | 2[25] | EPWM1A | 2[26] | ||||||
16 | GIOA[6] | 3[16] | N2HET2[4] | 3[17] | EPWM1B | 3[18] | ||||||
22 | GIOA[7] | 4[0] | N2HET2[6] | 4[1] | EPWM2A | 4[2] | ||||||
126 | GIOB[0] | 18[24] | ||||||||||
133 | GIOB[1] | 21[8] | ||||||||||
1 | GIOB[3] | 0[0] | ||||||||||
105 | MIBSPI1NCS[0] | 13[24] | MIBSPI1SOMI[1] | 13[25] | ECAP6 | 13[28] | ||||||
130 | MIBSPI1NCS[1] | 20[16] | N2HET1[17] | 20[17] | EQEP1S | 20[20] | ||||||
40 | MIBSPI1NCS[2] | 8[8] | N2HET1[19] | 8[9] | ||||||||
96 | MIBSPI1NENA | 12[16] | N2HET1[23] | 12[17] | ECAP4 | 12[20] | ||||||
53 | MIBSPI3CLK | 33[24] | AWM1_EXT_SEL[1] | 33[25] | EQEP1A | 33[26] | ||||||
55 | MIBSPI3NCS[0] | 9[16] | AD2EVT | 9[17] | GIOB[2] | 9[18] | EQEP1I | 9[19] | ||||
37 | MIBSPI3NCS[1] | 7[8] | N2HET1[25] | 7[9] | ||||||||
4 | MIBSPI3NCS[2] | 0[24] | I2C_SDA | 0[25] | N2HET1[27] | 0[26] | nTZ2 | 0[27] | ||||
3 | MIBSPI3NCS[3] | 0[16] | I2C_SCL | 0[17] | N2HET1[29] | 0[18] | nTZ1 | 0[19] | ||||
54 | MIBSPI3NENA | 9[8] | MIBSPI3NCS[5] | 9[9] | N2HET1[31] | 9[10] | EQEP1B | 9[11] | ||||
52 | MIBSPI3SIMO | 33[16] | AWM1_EXT_SEL[0] | 33[17] | ECAP3 | 33[18] | ||||||
51 | MIBSPI3SOMI | 33[8] | AWM1_EXT_ENA | 33[9] | ECAP2 | 33[10] | ||||||
100 | MIBSPI5CLK | 13[16] | ||||||||||
32 | MIBSPI5NCS[0] | 27[0] | EPWM4A | 27[2] | ||||||||
97 | MIBSPI5NENA | 12[24] | MIBSPI5SOMI[1] | 12[28] | ECAP5 | 12[29] | ||||||
99 | MIBSPI5SIMO[0] | 13[8] | MIBSPI5SOMI[2] | 13[12] | ||||||||
98 | MIBSPI5SOMI[0] | 13[0] | ||||||||||
25 | N2HET1[0] | 5[0] | SPI4CLK | 5[1] | EPWM2B | 5[2] | ||||||
23 | N2HET1[01] | 4[16] | SPI4NENA | 4[17] | 4[19] | N2HET2[8] | 4[20] | EQEP2A | 4[21] | |||
30 | N2HET1[02] | 5[8] | SPI4SIMO | 5[9] | EPWM3A | 5[10] | ||||||
24 | N2HET1[03] | 4[24] | SPI4NCS[0] | 4[25] | 4[27] | N2HET2[10] | 4[28] | EQEP2B | 4[29] | |||
36 | N2HET1[04] | 33[0] | EPWM4B | 33[1] | ||||||||
31 | N2HET1[05] | 5[16] | SPI4SOMI | 5[17] | N2HET2[12] | 5[18] | EPWM3B | 5[19] | ||||
38 | N2HET1[06] | 7[16] | SCIRX | 7[17] | EPWM5A | 7[18] | ||||||
33 | N2HET1[07] | 6[0] | N2HET2[14] | 6[3] | EPWM7B | 6[4] | ||||||
106 | N2HET1[08] | 14[0] | MIBSPI1SIMO[1] | 14[1] | ||||||||
35 | N2HET1[09] | 6[16] | N2HET2[16] | 6[17] | EPWM7A | 6[20] | ||||||
118 | N2HET1[10] | 17[0] | nTZ3 | 17[4] | ||||||||
6 | N2HET1[11] | 1[8] | MIBSPI3NCS[4] | 1[9] | N2HET2[18] | 1[10] | EPWM1SYNCO | 1[13] | ||||
124 | N2HET1[12] | 17[16] | ||||||||||
39 | N2HET1[13] | 8[0] | SCITX | 8[1] | EPWM5B | 8[2] | ||||||
125 | N2HET1[14] | 18[8] | ||||||||||
41 | N2HET1[15] | 8[16] | MIBSPI1NCS[4] | 8[17] | ECAP1 | 8[18] | ||||||
139 | N2HET1[16] | 34[0] | EPWM1SYNCI | 34[1] | EPWM1SYNCO | 34[2] | ||||||
140 | N2HET1[18] | 34[8] | EPWM6A | 34[9] | ||||||||
141 | N2HET1[20] | 34[16] | EPWM6B | 34[17] | ||||||||
15 | N2HET1[22] | 3[8] | ||||||||||
91 | N2HET1[24] | 11[24] | MIBSPI1NCS[5] | 11[25] | ||||||||
92 | N2HET1[26] | 12[0] | ||||||||||
107 | N2HET1[28] | 14[8] | ||||||||||
127 | N2HET1[30] | 19[8] | EQEP2S | 19[11] |
100-PIN PZ |
DEFAULT FUNCTION |
CTRL1 | OPTION 2 | CTRL2 | OPTION 3 | CTRL3 | OPTION 4 | CTRL4 | OPTION 5 | CTRL5 | OPTION 6 | CTRL6 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | GIOA[1]/INT[1] | 1[0] | ||||||||||
5 | GIOA[2]/INT[2] | 2[0] | N2HET2[0] | 2[3] | EQEP2I | 2[4] | ||||||
10 | GIOA[5]/INT[5] | 2[24] | EXTCLKIN1 | 2[25] | EPWM1A | 2[26] | ||||||
12 | GIOA[6]/INT[6] | 3[16] | N2HET2[4] | 3[17] | EPWM1B | 3[18] | ||||||
18 | GIOA[7]/INT[7] | 4[0] | N2HET2[6] | 4[1] | EPWM2A | 4[2] | ||||||
73 | MIBSPI1NCS[0] | 13[24] | MIBSPI1SOMI[1] | 13[25] | ECAP6 | 13[28] | ||||||
93 | MIBSPI1NCS[1] | 20[16] | N2HET1[17] | 20[17] | EQEP1S | 20[20] | ||||||
27 | MIBSPI1NCS[2] | 8[8] | N2HET1[19] | 8[9] | ||||||||
68 | MIBSPI1NENA | 12[16] | N2HET1[23] | 12[17] | ECAP4 | 12[20] | ||||||
36 | MIBSPI3CLK | 33[24] | AWM1_EXT_SEL[1] | 33[25] | EQEP1A | 33[26] | ||||||
38 | MIBSPI3NCS[0] | 9[16] | AD2EVT | 9[17] | GIOB[2] | 9[18] | EQEP1I | 9[19] | ||||
37 | MIBSPI3NENA | 9[8] | MIBSPI3NCS[5] | 9[9] | N2HET1[31] | 9[10] | EQEP1B | 9[11] | ||||
35 | MIBSPI3SIMO[0] | 33[16] | AWM1_EXT_SEL[0] | 33[17] | ECAP3 | 33[18] | ||||||
34 | MIBSPI3SOMI[0] | 33[8] | AWM1_EXT_ENA | 33[9] | ECAP2 | 33[10] | ||||||
19 | N2HET1[0] | 5[0] | SPI4CLK | 5[1] | EPWM2B | 5[2] | ||||||
22 | N2HET1[02] | 5[8] | SPI4SIMO | 5[9] | EPWM3A | 5[10] | ||||||
25 | N2HET1[04] | 33[0] | EPWM4B | 33[1] | ||||||||
26 | N2HET1[06] | 7[16] | SCIRX | 7[17] | EPWM5A | 7[18] | ||||||
74 | N2HET1[08] | 14[0] | MIBSPI1SIMO[1] | 14[1] | ||||||||
83 | N2HET1[10] | 17[0] | nTZ3 | 17[4] | ||||||||
97 | N2HET1[16] | 34[0] | EPWM1SYNCI | 34[1] | EPWM1SYNCO | 34[2] | ||||||
98 | N2HET1[18] | 34[8] | EPWM6A | 34[9] | ||||||||
64 | N2HET1[24] | 11[24] | MIBSPI1NCS[5] | 11[25] |
Some signals are connected to more than one terminal, the inputs for these signals can come from any of the terminals. A multiplexor is implemented to let the application choose the terminal that will be used, providing the input signal is from among the available options.
SIGNAL NAME |
DEDICATED INPUTS | MULTIPLEXED INPUTS | INPUT MULTIPLEXOR CONTROL |
INPUT PATH SELECTED | ||||
---|---|---|---|---|---|---|---|---|
144 PGE | 100 PZ | 144 PGE | 100 PZ | BIT1 | BIT2 | DEDICATED, IF | MUXED, IF | |
GIOB[2] | 142 | – | 55 | 38 | PINMUX29[16] | PINMUX29[16] | BIT1 = 0(3) | BIT1 = 1(3) |
N2HET1[17] | – | – | 130 | 93 | PINMUX20[17] | PINMUX24[16] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[19] | – | – | 40 | 27 | PINMUX8[9] | PINMUX24[24] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[21] | – | – | – | – | PINMUX9[25] | PINMUX25[0] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[23] | – | – | 96 | 68 | PINMUX12[17] | PINMUX25[8] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[25] | – | – | 37 | – | PINMUX7[9] | PINMUX25[16] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[27] | – | – | 4 | – | PINMUX0[26] | PINMUX25[24] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[29] | – | – | 3 | – | PINMUX0[18] | PINMUX26[0] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
N2HET1[31] | – | – | 54 | 37 | PINMUX9[10] | PINMUX26[8] | not(BIT1) or (BIT1 and BIT2) = 1 | BIT1 and not(BIT2) = 1 |
Low-level Output Current, IOL for VI = VOLmax
or High-level Output Current, IOH for VI = VOHmin |
Signals |
---|---|
8mA |
MIBSPI5CLK, MIBSPI5SOMI[0], MIBSPI5SOMI[1], MIBSPI5SOMI[2], MIBSPI5SOMI[3], MIBSPI5SIMO[0], MIBSPI5SIMO[1], MIBSPI5SIMO[2], MIBSPI5SIMO[3], TMS, TDI, TDO, RTCK, SPI4CLK, SPI4SIMO, SPI4SOMI, SPI4NCS[0], SPI4NENA, nERROR, N2HET2[1], N2HET2[3], N2HET2[5], N2HET2[7], N2HET2[9], N2HET2[11], N2HET2[13], N2HET2[15] ECAP1, ECAP4, ECAP5, ECAP6 EQEP1I, EQEP1S, EQEP2I, EQEP2S EPWM1A, EPWM1B, EPWM1SYNCO, EPW2A, EPWM2B, EPWM3A, EPWM3B, EPWM4A, EPWM4B, EPWM5A, EPWM5B, EPWM6A, EPWM6B, EPWM7A, EPWM7B |
4mA |
TEST, MIBSPI3SOMI, MIBSPI3SIMO, MIBSPI3CLK, MIBSPI1SIMO, MIBSPI1SOMI, MIBSPI1CLK, ECAP2, ECAP3 nRST |
2mA zero-dominant |
AD1EVT, CAN1RX, CAN1TX, CAN2RX, CAN2TX, CAN3RX, CAN3TX, GIOA[0-7], GIOB[0-7], LINRX, LINTX, MIBSPI1NCS[0], MIBSPI1NCS[1-3], MIBSPI1NENA, MIBSPI3NCS[0-3], MIBSPI3NENA, MIBSPI5NCS[0-3], MIBSPI5NENA, N2HET1[0-31], N2HET2[0], N2HET2[2], N2HET2[4], N2HET2[6], N2HET2[8], N2HET2[10], N2HET2[12], N2HET2[14], N2HET2[16], N2HET2[18], |
selectable 8mA / 2mA |
ECLK, SPI2CLK, SPI2SIMO, SPI2SOMI The default output buffer drive strength is 8mA for these signals. |
SIGNAL | CONTROL BIT | ADDRESS | 8mA (DEFAULT) | 2mA |
---|---|---|---|---|
ECLK | SYSPC10[0] | 0xFFFF FF78 | 0 | 1 |
SPI2CLK | SPI2PC9[9] | 0xFFF7 F668 | 0 | 1 |
SPI2SIMO | SPI2PC9[10] | 0xFFF7 F668 | 0 | 1 |
SPI2SOMI | SPI2PC9[11](1) | 0xFFF7 F668 | 0 | 1 |
MIN | MAX | UNIT | |||
---|---|---|---|---|---|
Supply voltage range: | VCC(2) | –0.3 | 1.43 | V | |
VCCIO, VCCP(2) | –0.3 | 4.6 | |||
VCCAD(2) | –0.3 | 6.25 | |||
Input voltage | All input pins, with exception of ADC pins | –0.3 | 4.6 | V | |
ADC input pins | –0.3 | 6.25 | |||
Output voltage | All output pins | –0.3 | 4.6 | V | |
Input clamp current | IIK (VI < 0 or VI > VCCIO) All pins, except AD1IN[23:0] or AD2IN[15:0] |
–20 | 20 | mA | |
IIK (VI < 0 or VI > VCCAD) AD1IN[23:0] or AD2IN[15:0] |
–10 | 10 | |||
Total | –40 | 40 | |||
Output clamp current | IOK (VO < 0 or VO > VCCIO) All pins, except AWM1_EXT_x |
–20 | 20 | mA | |
Total | –40 | 40 | |||
Operating free-air temperature (TA) | –40 | 105 | °C | ||
Operating junction temperature (TJ) | –40 | 130 | °C | ||
Storage temperature (Tstg) | –65 | 150 | °C |
VALUE | UNIT | ||||
---|---|---|---|---|---|
V(ESD) | Electrostatic discharge (ESD) performance: | Human Body Model (HBM), per ANSI/ESDA/JEDEC JS001(1) | ±2 | kV | |
Charged Device Model (CDM), per JESD22-C101(2) | All pins | ±250 | V |
NOMINAL CVDD VOLTAGE (V) | JUNCTION TEMPERATURE (Tj) |
LIFETIME POH |
---|---|---|
1.2 | 105ºC | 100K |
TEST CONDITIONS | MIN | NOM | MAX | UNIT | ||||
---|---|---|---|---|---|---|---|---|
VCC | Digital logic supply voltage (Core) | 1.14 | 1.2 | 1.32 | V | |||
VCCIO | Digital logic supply voltage (I/O) | 3 | 3.3 | 3.6 | V | |||
VCCAD | MibADC supply voltage | 3 | 5.25 | V | ||||
VCCP | Flash pump supply voltage | 3 | 3.3 | 3.6 | V | |||
VSS | Digital logic supply ground | 0 | V | |||||
VSSAD | MibADC supply ground | –0.1 | 0.1 | V | ||||
VADREFHI | Analog-to-digital high-voltage reference source | VSSAD | VCCAD | V | ||||
VADREFLO | Analog-to-digital low-voltage reference source | VSSAD | VCCAD | V | ||||
VSLEW | Maximum positive slew rate for VCCIO, VCCAD and VCPP supplies | 1 | V/μs | |||||
Vhys | Input hysteresis | All inputs | 180 | mV | ||||
VIL | Low-level input voltage | All inputs | –0.3 | 0.8 | V | |||
VIH | High-level input voltage | All inputs | 2 | VCCIO + 0.3 | V | |||
TA | Operating free-air temperature | –40 | 105 | °C | ||||
TJ | Operating junction temperature(2) | –40 | 130 | °C |
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT | |||
---|---|---|---|---|---|---|---|---|
VOL | Low-level output voltage | IOL = IOLmax | 0.2VCCIO | V | ||||
IOL = 50 µA, standard output mode | 0.2 | |||||||
IOL = 50 µA, low-EMI output mode (see Section 7.1.2.1) |
0.2VCCIO | |||||||
VOH | High-level output voltage | IOH = IOHmax | 0.8VCCIO | V | ||||
IOH = 50 µA, standard output mode | VCCIO - 0.3 | |||||||
IOH = 50 µA, low-EMI output mode (see Section 7.1.2.1) |
0.8VCCIO | |||||||
IIC | Input clamp current (I/O pins) | VI < VSSIO - 0.3 or VI > VCCIO + 0.3 |
–3.5 | 3.5 | mA | |||
II | Input current (I/O pins) | IIH Pulldown 20 µA | VI = VCCIO | 5 | 40 | µA | ||
IIH Pulldown 100 µA | VI = VCCIO | 40 | 195 | |||||
IIL Pullup 20 µA | VI = VSS | –40 | –5 | |||||
IIL Pullup 100 µA | VI = VSS | –195 | –40 | |||||
All other pins | No pullup or pulldown | –1 | 1 | |||||
CI | Input capacitance | 2 | pF | |||||
CO | Output capacitance | 3 | pF |
PARAMETER | TEST CONDITIONS | MIN | TYP | MAX | UNIT | ||
---|---|---|---|---|---|---|---|
ICC | VCC digital supply current (operating mode) fVCLK = fHCLK/2; Flash in pipelined mode; VCCmax |
fHCLK = 120 MHz | 120(3) | 260(1) | mA | ||
fHCLK = 180 MHz | 170(3) | 310(1) | |||||
VCC digital supply current (LBIST/PBIST mode) | LBIST/PBIST clock frequency = 100 MHz | 290 (3) | 460(2)(4) | mA | |||
ICCIO | VCCIO digital supply current (operating mode) | No DC load, VCCmax | 15 | mA | |||
ICCAD | VCCAD supply current (operating mode) | Single ADC operational, VCCADmax | 15 | mA | |||
Both ADCs operational, VCCADmax | 30 | ||||||
ICCREFHI | ADREFHI supply current (operating mode) | Single ADC operational, ADREFHImax | 3 | mA | |||
Both ADCs operational, ADREFHImax | 6 | ||||||
ICCP | VCCP supply current | Read from 1 bank and program another bank, VCCPmax | 55 | mA |
Table 5-1 shows the thermal resistance characteristics for the QFP - PGE mechanical package.
Table 5-2 shows the thermal resistance characteristics for the QFP - PZ mechanical package.
PARAMETER | DESCRIPTION | CONDITIONS | MIN | MAX | UNIT | |
---|---|---|---|---|---|---|
fGCLK | GCLK - CPU clock frequency | fHCLK | MHz | |||
fVCLK4 | VCLK4 - Secondary peripheral clock frequency | 150 | MHz | |||
fHCLK | HCLK - System clock frequency | PZ | Pipeline mode enabled | 120 | MHz | |
Pipeline mode disabled | 50 | MHz | ||||
PGE | Pipeline mode enabled | 180 | MHz | |||
Pipeline mode disabled | 50 | MHz | ||||
fVCLK | VCLK - Primary peripheral clock frequency | 100 | MHz | |||
fVCLK2 | VCLK2 - Secondary peripheral clock frequency | 100 | MHz | |||
fVCLKA1 | VCLKA1 - Primary asynchronous peripheral clock frequency | 100 | MHz | |||
fRTICLK | RTICLK - Clock frequency | fVCLK | MHz |
As shown in Figure 5-1 and Figure 5-2, the TCM RAM can support program and data fetches at full CPU speed without any address or data wait states required.
The TCM flash can support zero address and data wait states up to a CPU speed of 50 MHz in nonpipelined mode. The flash supports a maximum CPU clock speed of 180 MHz in pipelined mode for the PGE Package, and 120 MHz for the PZ package.
The flash wrapper defaults to nonpipelined mode with zero address wait state and one random-read data wait state.
The device core logic is split up into multiple power domains to optimize the power for a given application use case. There are five core power domains: PD1, PD2, PD3, PD5, and RAM_PD1. See Section 1.4 for more information.
PD1 is an "always-ON" power domain, which cannot be turned off. Each of the other core power domains can be turned ON/OFF one time during device initialization as per the application requirement. Refer to the Power Management Module (PMM) chapter of the device technical reference manual for more details.
NOTE
The clocks to a module must be turned off before powering down the core domain that contains the module.
A voltage monitor is implemented on this device. The purpose of this voltage monitor is to eliminate the requirement for a specific sequence when powering up the core and I/O voltage supplies.
The voltage monitor generates the Power Good MCU signal (PGMCU) as well as the I/Os Power Good IO signal (PGIO) on the device. During power-up or power-down, the PGMCU and PGIO are driven low when the core or I/O supplies are lower than the specified minimum monitoring thresholds. The PGIO and PGMCU signals being low isolates the core logic as well as the I/O controls during power up or power down of the supplies. This allows the core and I/O supplies to be powered up or down in any order.
When the voltage monitor detects a low voltage on the I/O supply, it will assert a power-on reset. When the voltage monitor detects an out-of-range voltage on the core supply, it asynchronously makes all output pins high impedance, and asserts a power-on reset. The voltage monitor is disabled when the device enters a low power mode.
The VMON also incorporates a glitch filter for the nPORRST input. Refer to Section 6.3.3.1 for the timing information on this glitch filter.
PARAMETER | MIN | TYP | MAX | UNIT | ||
---|---|---|---|---|---|---|
VMON | Voltage monitoring thresholds | VCC low - VCC level below this threshold is detected as too low. | 0.75 | 0.9 | 1.13 | V |
VCC high - VCC level above this threshold is detected as too high. | 1.40 | 1.7 | 2.1 | |||
VCCIO low - VCCIO level below this threshold is detected as too low. | 1.85 | 2.4 | 2.9 |
The VMON has the capability to filter glitches on the VCC and VCCIO supplies.
The following table shows the characteristics of the supply filtering. Glitches in the supply larger than the maximum specification cannot be filtered.
PARAMETER | MIN | MAX | UNIT |
---|---|---|---|
Width of glitch on VCC that can be filtered | 250 | 1000 | ns |
Width of glitch on VCCIO that can be filtered | 250 | 1000 | ns |
There is no timing dependency between the ramp of the VCCIO and the VCC supply voltage. The power-up sequence starts with the I/O voltage rising above the minimum I/O supply threshold, (see Table 6-4 for more details), core voltage rising above the minimum core supply threshold and the release of power-on reset. The high-frequency oscillator will start up first and its amplitude will grow to an acceptable level. The oscillator start-up time is dependent on the type of oscillator and is provided by the oscillator vendor. The different supplies to the device can be powered up in any order.
The device goes through the following sequential phases during power up.
Oscillator start-up and validity check | 1032 oscillator cycles |
eFuse autoload | 1160 oscillator cycles |
Flash pump power-up | 688 oscillator cycles |
Flash bank power-up | 617 oscillator cycles |
Total | 3497 oscillator cycles |
The CPU reset is released at the end of the above sequence and fetches the first instruction from address 0x00000000.
The different supplies to the device can be powered down in any order.
This is the power-on reset. This reset must be asserted by an external circuitry whenever any power supply is outside the specified recommended range. This signal has a glitch filter on it. It also has an internal pulldown.
NO. | MIN | MAX | UNIT | ||
---|---|---|---|---|---|
VCCPORL | VCC low supply level when nPORRST must be active during power up | 0.5 | V | ||
VCCPORH | VCC high supply level when nPORRST must remain active during power up and become active during power down | 1.14 | V | ||
VCCIOPORL | VCCIO / VCCP low supply level when nPORRST must be active during power up | 1.1 | V | ||
VCCIOPORH | VCCIO / VCCP high supply level when nPORRST must remain active during power up and become active during power down | 3.0 | V | ||
VIL(PORRST) | Low-level input voltage of nPORRST VCCIO > 2.5 V | 0.2 * VCCIO | V | ||
Low-level input voltage of nPORRST VCCIO < 2.5 V | 0.5 | V | |||
3 | tsu(PORRST) | Setup time, nPORRST active before VCCIO and VCCP > VCCIOPORL during power up | 0 | ms | |
6 | th(PORRST) | Hold time, nPORRST active after VCC > VCCPORH | 1 | ms | |
7 | tsu(PORRST) | Setup time, nPORRST active before VCC < VCCPORH during power down | 2 | µs | |
8 | th(PORRST) | Hold time, nPORRST active after VCCIO and VCCP > VCCIOPORH | 1 | ms | |
9 | th(PORRST) | Hold time, nPORRST active after VCC < VCCPORL | 0 | ms | |
tf(nPORRST) |
Filter time nPORRST pin; |
475 | 2000 | ns |
This is a bidirectional reset signal. The internal circuitry drives the signal low on detecting any device reset condition. An external circuit can assert a device reset by forcing the signal low. On this terminal, 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 is connected to this terminal.
This terminal has a glitch filter. It also has an internal pullup
DEVICE EVENT | SYSTEM STATUS FLAG |
---|---|
Power-Up Reset | Exception Status Register, bit 15 |
Oscillator fail | Global Status Register, bit 0 |
PLL slip | Global Status Register, bits 8 and 9 |
Watchdog exception / Debugger reset | Exception Status Register, bit 13 |
CPU Reset (driven by the CPU STC) | Exception Status Register, bit 5 |
Software Reset | Exception Status Register, bit 4 |
External Reset | Exception Status Register, bit 3 |
MIN | MAX | UNIT | ||
---|---|---|---|---|
tv(RST) | Valid time, nRST active after nPORRST inactive | 2256tc(OSC) | ns | |
Valid time, nRST active (all other System reset conditions) | 32tc(VCLK) | |||
tf(nRST) |
Filter time nRST pin; |
475 | 2000 | ns |
The features of the ARM Cortex-R4F CPU include:
For more information on the ARM Cortex-R4F CPU, see www.arm.com.
The following CPU features are disabled on reset and must be enabled by the application if required.
The device has two Cortex-R4F cores, where the output signals of both CPUs are compared in the CCM-R4 unit. To avoid common mode impacts the signals of the CPUs to be compared are delayed by two clock cycles as shown in Figure 6-2.
The CPUs have a diverse CPU placement given by following requirements:
The CPU clock domain is split into two clock trees, one for each CPU, with the clock of the second CPU running at the same frequency and in phase to the clock of CPU1. See Figure 6-2.
This device has two ARM Cortex-R4F CPU cores, where the output signals of both CPUs are compared in the CCM-R4 unit. To avoid common mode impacts the signals of the CPUs to be compared are delayed in a different way as shown in Figure 6-2.
To avoid an erroneous CCM-R4 compare error, the application software must initialize the registers of both CPUs before the registers are used, including function calls where the register values are pushed onto the stack.
The CPU STC (Self-Test Controller) is used to test the two Cortex-R4F CPU Cores using the Deterministic Logic BIST Controller as the test engine.
The main features of the self-test controller are:
For more information see the device Technical Reference Manual.
The maximum clock rate for the self-test is HCLKmax/2. The STCCLK is divided down from the CPU clock. This divider is configured by the STCCLKDIV register at address 0xFFFFE108.
For more information see the device-specific Technical Reference Manual.
Table 6-7 lists the CPU self-test coverage achieved for each self-test interval. It also lists the cumulative test cycles. The test time can be calculated by multiplying the number of test cycles with the STC clock period.
INTERVALS | TEST COVERAGE, % | STCCLK CYLCES |
---|---|---|
0 | 0 | 0 |
1 | 62.13 | 1365 |
2 | 70.09 | 2730 |
3 | 74.49 | 4095 |
4 | 77.28 | 5460 |
5 | 79.28 | 6825 |
6 | 80.90 | 8190 |
7 | 82.02 | 9555 |
8 | 83.10 | 10920 |
9 | 84.08 | 12285 |
10 | 84.87 | 13650 |
11 | 85.59 | 15015 |
12 | 86.11 | 16380 |
13 | 86.67 | 17745 |
14 | 87.16 | 19110 |
15 | 87.61 | 20475 |
16 | 87.98 | 21840 |
17 | 88.38 | 23205 |
18 | 88.69 | 24570 |
19 | 88.98 | 25935 |
20 | 89.28 | 27300 |
21 | 89.50 | 28665 |
22 | 89.76 | 30030 |
23 | 90.01 | 31395 |
24 | 90.21 | 32760 |
Table 6-8 lists the available clock sources on the device. Each clock source can be enabled or disabled using the CSDISx registers in the system module. The clock source number in the table corresponds to the control bit in the CSDISx register for that clock source.
Table 6-8 also shows the default state of each clock source.
CLOCK SOURCE NO. |
NAME | DESCRIPTION | DEFAULT STATE |
---|---|---|---|
0 | OSCIN | Main oscillator | Enabled |
1 | PLL1 | Output from PLL1 | Disabled |
2 | Reserved | Reserved | Disabled |
3 | EXTCLKIN1 | External clock input 1 | Disabled |
4 | LFLPO | Low-frequency output of internal reference oscillator | Enabled |
5 | HFLPO | High-frequency output of internal reference oscillator | Enabled |
6 | Reserved | Reserved | Disabled |
7 | EXTCLKIN2 | External clock input 2 | Disabled |
The oscillator is enabled by connecting the appropriate fundamental resonator/crystal and load capacitors across the external OSCIN and OSCOUT pins as shown in Figure 6-4. The oscillator is a single-stage inverter held in bias by an integrated bias resistor. This resistor is disabled during leakage test measurement and low power modes.
NOTE
TI strongly encourages each customer to submit samples of the device to the resonator/crystal vendors for validation. The 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 and voltage extremes.
An external oscillator source can be used by connecting a 3.3-V clock signal to the OSCIN pin and leaving the OSCOUT pin unconnected (open) as shown in Figure 6-4.
MIN | NOM | MAX | UNIT | ||
---|---|---|---|---|---|
tc(OSC) | Cycle time, OSCIN (when using a sine-wave input) | 50 | 200 | ns | |
tw(OSCIL) | Pulse duration, OSCIN low (when input to the OSCIN is a square wave) | 15 | ns | ||
tw(OSCIH) | Pulse duration, OSCIN high (when input to the OSCIN is a square wave) | 15 | ns |
The Low-Power Oscillator (LPO) is comprised of two oscillators — HF LPO and LF LPO, in a single macro.
The main features of the LPO are:
Figure 6-5 shows a block diagram of the internal reference oscillator. This is a low-power oscillator (LPO) and provides two clock sources: one nominally 80 kHz and one nominally 10 MHz.
PARAMETER | MIN | TYP | MAX | UNIT | |
---|---|---|---|---|---|
Clock detection | Oscillator fail frequency - lower threshold, using untrimmed LPO output | 1.375 | 2.4 | 4.875 | MHz |
Oscillator fail frequency - higher threshold, using untrimmed LPO output | 22 | 38.4 | 78 | MHz | |
LPO - HF oscillator | Untrimmed frequency | 5.5 | 9 | 19.5 | MHz |
Trimmed frequency | 8 | 9.6 | 11 | MHz | |
Start-up time from STANDBY (LPO BIAS_EN high for at least 900 µs) | 10 | µs | |||
Cold start-up time | 900 | µs | |||
LPO - LF oscillator | Untrimmed frequency | 36 | 85 | 180 | kHz |
Start-up time from STANDBY (LPO BIAS_EN high for at least 900 µs) | 100 | µs | |||
Cold start-up time | 2000 | µs |
The PLL is used to multiply the input frequency to some higher frequency.
The main features of the PLL are:
Figure 6-6 shows a high-level block diagram of the PLL macro on this microcontroller.
The device supports up to two external clock inputs. This clock input must be a square-wave input. Table 6-12 specifies the electrical and timing requirements for these clock inputs. The external clock sources are not checked for validity. They are assumed valid when enabled.
PARAMETER | MIN | MAX | UNIT | |
---|---|---|---|---|
fEXTCLKx | External clock input frequency | 80 | MHz | |
tw(EXTCLKIN)H | EXTCLK high-pulse duration | 6 | ns | |
tw(EXTCLKIN)L | EXTCLK low-pulse duration | 6 | ns | |
viL(EXTCLKIN) | Low-level input voltage | –0.3 | 0.8 | V |
viH(EXTCLKIN) | High-level input voltage | 2 | VCCIO + 0.3 | V |
Table 6-13 lists the device clock domains and their default clock sources. The table also shows the system module control register that is used to select an available clock source for each clock domain.
CLOCK DOMAIN | DEFAULT SOURCE |
SOURCE SELECTION REGISTER |
SPECIAL CONSIDERATIONS |
---|---|---|---|
HCLK | OSCIN | GHVSRC |
|
GCLK | OSCIN | GHVSRC |
|
GCLK2 | OSCIN | GHVSRC |
|
VCLK | OSCIN | GHVSRC |
|
VCLK2 | OSCIN | GHVSRC |
|
VCLK4 | OSCIN | GHVSRC |
|
VCLKA1 | VCLK | VCLKASRC |
|
RTICLK | VCLK | RCLKSRC |
|
Each clock domain has a dedicated functionality as shown in Figure 6-7 .
The RM4x platform architecture defines a special mode that allows various clock signals to be selected and output on the ECLK pin and N2HET1[12] device outputs. This special mode, Clock Test Mode, is very useful for debugging purposes and can be configured through the CLKTEST register in the system module. See Table 6-14 for the CLKTEST bits value and signal selection.
The LPO Clock Detect (LPOCLKDET) module consists of a clock monitor (CLKDET) and an internal LPO.
The LPO provides two different clock sources – a low frequency (LFLPO) and a high frequency (HFLPO).
The CLKDET is a supervisor circuit for an externally supplied clock signal (OSCIN). In case the OSCIN frequency falls out of a frequency window, the CLKDET flags this condition in the global status register (GLBSTAT bit 0: OSC FAIL) and switches all clock domains sourced by OSCIN to the HFLPO clock (limp mode clock).
The valid OSCIN frequency range is defined as: fHFLPO / 4 < fOSCIN < fHFLPO * 4.
For more information on LPO and Clock detection, see Table 6-10.
The ECLK pin can be configured to output a prescaled clock signal indicative of an internal device clock. This output can be externally monitored as a safety diagnostic.
The Dual Clock Comparator (DCC) module determines the accuracy of selectable clock sources by counting the pulses of two independent clock sources (counter 0 and counter 1). If one clock is out of spec, an error signal is generated. For example, the DCC1 can be configured to use HFLPO as the reference clock (for counter 0) and VCLK as the "clock under test" (for counter 1). This configuration allows the DCC1 to monitor the PLL output clock when VCLK is using the PLL output as its source.
An additional use of this module is to measure the frequency of a selectable clock source, using the input clock as a reference, by counting the pulses of two independent clock sources. Counter 0 generates a fixed-width counting window after a preprogrammed number of pulses. Counter 1 generates a fixed-width pulse (1 cycle) after a preprogrammed number of pulses. This pulse sets as an error signal if counter 1 does not reach 0 within the counting window generated by counter 0.
CLOCK SOURCE[3:0] | CLOCK NAME |
---|---|
Others | Oscillator (OSCIN) |
0x5 | High-frequency LPO |
0xA | Test clock (TCK) |
KEY[3:0] | CLOCK SOURCE[3:0] | CLOCK NAME |
---|---|---|
Others | – | N2HET1[31] |
0x0 | Main PLL free-running clock output | |
0x1 | Reserved | |
0x2 | Low-frequency LPO | |
0xA | 0x3 | High-frequency LPO |
0x4 | Reserved | |
0x5 | EXTCLKIN1 | |
0x6 | EXTCLKIN2 | |
0x7 | Reserved | |
0x8 - 0xF | VCLK |
CLOCK SOURCE [3:0] | CLOCK NAME |
---|---|
Others | Oscillator (OSCIN) |
0xA | Test clock (TCK) |
KEY [3:0] | CLOCK SOURCE [3:0] | CLOCK NAME |
---|---|---|
Others | – | N2HET2[0] |
0xA | 00x0 - 0x7 | Reserved |
0x8 - 0xF | VCLK |
A glitch filter is present on the following signals.
PIN | PARAMETER | MIN | MAX | UNIT | |
---|---|---|---|---|---|
nPORRST | tf(nPORRST) |
Filter time nPORRST pin; pulses less than MIN will be filtered out, pulses greater than MAX will generate a reset(1) |
475 | 2000 | ns |
nRST | tf(nRST) |
Filter time nRST pin; pulses less than MIN will be filtered out, pulses greater than MAX will generate a reset |
475 | 2000 | ns |
TEST | tf(TEST) |
Filter time TEST pin; pulses less than MIN will be filtered out, pulses greater than MAX will pass through |
475 | 2000 | ns |
Figure 6-9 shows the device memory map.
The Flash memory is mirrored to support ECC logic testing. The base address of the mirrored Flash image is 0x2000 0000.
See Figure 1-1 for block diagrams showing the devices interconnect.
MODULE NAME | FRAME CHIP SELECT | FRAME ADDRESS RANGE | FRAME SIZE | ACTUAL SIZE | RESPONSE FOR ACCESS TO UNIMPLEMENTED LOCATIONS IN FRAME | |
---|---|---|---|---|---|---|
START | END | |||||
Memories tightly coupled to the ARM Cortex-R4F CPU | ||||||
TCM Flash | CS0 | 0x0000_0000 | 0x00FF_FFFF | 16MB | 1MB | Abort |
TCM RAM + RAM ECC | CSRAM0 | 0x0800_0000 | 0x0BFF_FFFF | 64MB | 128KB | |
Mirrored Flash | Flash mirror frame | 0x2000_0000 | 0x20FF_FFFF | 16MB | 1MB | |
Flash Module Bus2 Interface | ||||||
Customer OTP, TCM Flash Banks | 0xF000_0000 | 0xF000_1FFF | 8KB | 4KB | Abort | |
Customer OTP, Bank 7 |
0xF000_E000 | 0xF000_FFFF | 8KB | 1KB | ||
Customer OTP–ECC, TCM Flash Banks | 0xF004_0000 | 0xF004_03FF | 1KB | 512B | ||
Customer OTP–ECC, Bank 7 |
0xF004_1C00 | 0xF004_1FFF | 1KB | 128B | ||
TI OTP, TCM Flash Banks | 0xF008_0000 | 0xF008_1FFF | 8KB | 4KB | ||
TI OTP, Bank 7 |
0xF008_E000 | 0xF008_FFFF | 8KB | 1KB | ||
TI OTP–ECC, TCM Flash Banks | 0xF00C_0000 | 0xF00C_03FF | 1KB | 512B | ||
TI OTP–ECC, Bank 7 |
0xF00C_1C00 | 0xF00C_1FFF | 1KB | 128B | ||
Bank 7 – ECC | 0xF010_0000 | 0xF013_FFFF | 256KB | 8KB | ||
Bank 7 | 0xF020_0000 | 0xF03F_FFFF | 2MB | 64KB | ||
Flash Data Space ECC | 0xF040_0000 | 0xF04F_FFFF | 1MB | 128KB | ||
SCR5: Enhanced Timer Peripherals | ||||||
ePWM1 | 0xFCF7_8C00 | 0xFCF7_8CFF | 256B | 256B | Abort | |
ePWM2 | 0xFCF7_8D00 | 0xFCF7_8DFF | 256B | 256B | Abort | |
ePWM3 | 0xFCF7_8E00 | 0xFCF7_8EFF | 256B | 256B | Abort | |
ePWM4 | 0xFCF7_8F00 | 0xFCF7_8FFF | 256B | 256B | Abort | |
ePWM5 | 0xFCF7_9000 | 0xFCF7_90FF | 256B | 256B | Abort | |
ePWM6 | 0xFCF7_9100 | 0xFCF7_91FF | 256B | 256B | Abort | |
ePWM7 | 0xFCF7_9200 | 0xFCF7_92FF | 256B | 256B | Abort | |
eCAP1 | 0xFCF7_9300 | 0xFCF7_93FF | 256B | 256B | Abort | |
eCAP2 | 0xFCF7_9400 | 0xFCF7_94FF | 256B | 256B | Abort | |
eCAP3 | 0xFCF7_9500 | 0xFCF7_95FF | 256B | 256B | Abort | |
eCAP4 | 0xFCF7_9600 | 0xFCF7_96FF | 256B | 256B | Abort | |
eCAP5 | 0xFCF7_9700 | 0xFCF7_97FF | 256B | 256B | Abort | |
eCAP6 | 0xFCF7_9800 | 0xFCF7_98FF | 256B | 256B | Abort | |
eQEP1 | 0xFCF7_9900 | 0xFCF7_99FF | 256B | 256B | Abort | |
eQEP2 | 0xFCF7_9A00 | 0xFCF7_9AFF | 256B | 256B | Abort | |
Cyclic Redundancy Checker (CRC) Module Registers | ||||||
CRC | CRC frame | 0xFE00_0000 | 0xFEFF_FFFF | 16MB | 512B | Accesses above 0x200 generate abort. |
Peripheral Memories | ||||||
MIBSPI5 RAM | PCS[5] | 0xFF0A_0000 | 0xFF0B_FFFF | 128KB | 2KB | Abort for accesses above 2KB |
MIBSPI3 RAM | PCS[6] | 0xFF0C_0000 | 0xFF0D_FFFF | 128KB | 2KB | Abort for accesses above 2KB |
MIBSPI1 RAM | PCS[7] | 0xFF0E_0000 | 0xFF0F_FFFF | 128KB | 2KB | Abort for accesses above 2KB |
DCAN3 RAM | PCS[13] | 0xFF1A_0000 | 0xFF1B_FFFF | 128KB | 2KB | Wrap around for accesses to unimplemented address offsets lower than 0x7FF. Abort generated for accesses beyond offset 0x800. |
DCAN2 RAM | PCS[14] | 0xFF1C_0000 | 0xFF1D_FFFF | 128KB | 2KB | Wrap around for accesses to unimplemented address offsets lower than 0x7FF. Abort generated for accesses beyond offset 0x800. |
DCAN1 RAM | PCS[15] | 0xFF1E_0000 | 0xFF1F_FFFF | 128KB | 2KB | Wrap around for accesses to unimplemented address offsets lower than 0x7FF. Abort generated for accesses beyond offset 0x800. |
MIBADC2 RAM | PCS[29] | 0xFF3A_0000 | 0xFF3B_FFFF | 128KB | 8KB | Wrap around for accesses to unimplemented address offsets lower than 0x1FFF. Abort generated for accesses beyond 0x1FFF. |
MIBADC2 Look-Up Table |
384B | Look-Up Table for ADC2 wrapper. Starts at address offset 0x2000 and ends at address offset 0x217F. Wrap around for accesses between offsets 0x0180 and 0x3FFF. Abort generated for accesses beyond offset 0x4000. | ||||
MIBADC1 RAM | PCS[31] | 0xFF3E_0000 | 0xFF3F_FFFF | 128KB | 8KB | Wrap around for accesses to unimplemented address offsets lower than 0x1FFF. Abort generated for accesses beyond 0x1FFF. |
MibADC1 Look-Up Table |
384B | Look-Up Table for ADC1 wrapper. Starts at address offset 0x2000 and ends at address offset 0x217F. Wrap around for accesses between offsets 0x0180 and 0x3FFF. Abort generated for accesses beyond offset 0x4000. | ||||
N2HET2 RAM | PCS[34] | 0xFF44_0000 | 0xFF45_FFFF | 128KB | 16KB | Wrap around for accesses to unimplemented address offsets lower than 0x3FFF. Abort generated for accesses beyond 0x3FFF. |
N2HET1 RAM | PCS[35] | 0xFF46_0000 | 0xFF47_FFFF | 128KB | 16KB | Wrap around for accesses to unimplemented address offsets lower than 0x3FFF. Abort generated for accesses beyond 0x3FFF. |
N2HET2 TU2 RAM | PCS[38] | 0xFF4C_0000 | 0xFF4D_FFFF | 128KB | 1KB | Abort |
N2HET1 TU1 RAM | PCS[39] | 0xFF4E_0000 | 0xFF4F_FFFF | 128KB | 1KB | Abort |
Debug Components | ||||||
CoreSight Debug ROM | CSCS0 | 0xFFA0_0000 | 0xFFA0_0FFF | 4KB | 4KB | Reads return zeros, writes have no effect |
Cortex-R4F Debug | CSCS1 | 0xFFA0_1000 | 0xFFA0_1FFF | 4KB | 4KB | Reads return zeros, writes have no effect |
Peripheral Control Registers | ||||||
HTU1 | PS[22] | 0xFFF7_A400 | 0xFFF7_A4FF | 256B | 256B | Reads return zeros, writes have no effect |
HTU2 | PS[22] | 0xFFF7_A500 | 0xFFF7_A5FF | 256B | 256B | Reads return zeros, writes have no effect |
N2HET1 | PS[17] | 0xFFF7_B800 | 0xFFF7_B8FF | 256B | 256B | Reads return zeros, writes have no effect |
N2HET2 | PS[17] | 0xFFF7_B900 | 0xFFF7_B9FF | 256B | 256B | Reads return zeros, writes have no effect |
GIO | PS[16] | 0xFFF7_BC00 | 0xFFF7_BDFF | 512B | 256B | Reads return zeros, writes have no effect |
MIBADC1 | PS[15] | 0xFFF7_C000 | 0xFFF7_C1FF | 512B | 512B | Reads return zeros, writes have no effect |
MIBADC2 | PS[15] | 0xFFF7_C200 | 0xFFF7_C3FF | 512B | 512B | Reads return zeros, writes have no effect |
I2C | PS[10] | 0xFFF7_D400 | 0xFFF7_D4FF | 256B | 256B | Reads return zeros, writes have no effect |
DCAN1 | PS[8] | 0xFFF7_DC00 | 0xFFF7_DDFF | 512B | 512B | Reads return zeros, writes have no effect |
DCAN2 | PS[8] | 0xFFF7_DE00 | 0xFFF7_DFFF | 512B | 512B | Reads return zeros, writes have no effect |
DCAN3 | PS[7] | 0xFFF7_E000 | 0xFFF7_E1FF | 512B | 512B | Reads return zeros, writes have no effect |
LIN | PS[6] | 0xFFF7_E400 | 0xFFF7_E4FF | 256B | 256B | Reads return zeros, writes have no effect |
SCI | PS[6] | 0xFFF7_E500 | 0xFFF7_E5FF | 256B | 256B | Reads return zeros, writes have no effect |
MibSPI1 | PS[2] | 0xFFF7_F400 | 0xFFF7_F5FF | 512B | 512B | Reads return zeros, writes have no effect |
SPI2 | PS[2] | 0xFFF7_F600 | 0xFFF7_F7FF | 512B | 512B | Reads return zeros, writes have no effect |
MibSPI3 | PS[1] | 0xFFF7_F800 | 0xFFF7_F9FF | 512B | 512B | Reads return zeros, writes have no effect |
SPI4 | PS[1] | 0xFFF7_FA00 | 0xFFF7_FBFF | 512B | 512B | Reads return zeros, writes have no effect |
MibSPI5 | PS[0] | 0xFFF7_FC00 | 0xFFF7_FDFF | 512B | 512B | Reads return zeros, writes have no effect |
System Modules Control Registers and Memories | ||||||
DMA RAM | PPCS0 | 0xFFF8_0000 | 0xFFF8_0FFF | 4KB | 4KB | Abort |
VIM RAM | PPCS2 | 0xFFF8_2000 | 0xFFF8_2FFF | 4KB | 1KB | Wrap around for accesses to unimplemented address offsets between 1KB and 4KB. |
Flash Module | PPCS7 | 0xFFF8_7000 | 0xFFF8_7FFF | 4KB | 4KB | Abort |
eFuse Controller | PPCS12 | 0xFFF8_C000 | 0xFFF8_CFFF | 4KB | 4KB | Abort |
Power Management Module (PMM) | PPSE0 | 0xFFFF_0000 | 0xFFFF_01FF | 512B | 512B | Abort |
PCR registers | PPS0 | 0xFFFF_E000 | 0xFFFF_E0FF | 256B | 256B | Reads return zeros, writes have no effect |
System Module - Frame 2 (see device TRM) |
PPS0 | 0xFFFF_E100 | 0xFFFF_E1FF | 256B | 256B | Reads return zeros, writes have no effect |
PBIST | PPS1 | 0xFFFF_E400 | 0xFFFF_E5FF | 512B | 512B | Reads return zeros, writes have no effect |
STC | PPS1 | 0xFFFF_E600 | 0xFFFF_E6FF | 256B | 256B | Generates address error interrupt, if enabled |
IOMM Multiplexing Control Module | PPS2 | 0xFFFF_EA00 | 0xFFFF_EBFF | 512B | 512B | Reads return zeros, writes have no effect |
DCC1 | PPS3 | 0xFFFF_EC00 | 0xFFFF_ECFF | 256B | 256B | Reads return zeros, writes have no effect |
DMA | PPS4 | 0xFFFF_F000 | 0xFFFF_F3FF | 1KB | 1KB | Reads return zeros, writes have no effect |
DCC2 | PPS5 | 0xFFFF_F400 | 0xFFFF_F4FF | 256B | 256B | Reads return zeros, writes have no effect |
ESM | PPS5 | 0xFFFF_F500 | 0xFFFF_F5FF | 256B | 256B | Reads return zeros, writes have no effect |
CCMR4 | PPS5 | 0xFFFF_F600 | 0xFFFF_F6FF | 256B | 256B | Reads return zeros, writes have no effect |
RAM ECC even | PPS6 | 0xFFFF_F800 | 0xFFFF_F8FF | 256B | 256B | Reads return zeros, writes have no effect |
RAM ECC odd | PPS6 | 0xFFFF_F900 | 0xFFFF_F9FF | 256B | 256B | Reads return zeros, writes have no effect |
RTI + DWWD | PPS7 | 0xFFFF_FC00 | 0xFFFF_FCFF | 256B | 256B | Reads return zeros, writes have no effect |
VIM Parity | PPS7 | 0xFFFF_FD00 | 0xFFFF_FDFF | 256B | 256B | Reads return zeros, writes have no effect |
VIM | PPS7 | 0xFFFF_FE00 | 0xFFFF_FEFF | 256B | 256B | Reads return zeros, writes have no effect |
System Module - Frame 1 (see device TRM) |
PPS7 | 0xFFFF_FF00 | 0xFFFF_FFFF | 256B | 256B | Reads return zeros, writes have no effect |
Any CPU write access to a Normal or Device type memory, which generates a fault, will generate an imprecise abort. The imprecise abort exception is disabled by default and must be enabled for the CPU to handle this exception. The imprecise abort handling is enabled by clearing the "A" bit in the CPU program status register (CPSR).
Table 6-21 lists the access permissions for each bus master on the device. A bus master is a module that can initiate a read or a write transaction on the device.
Each slave module on the main interconnect is listed in the table. Yes indicates that the module listed in the MASTERS column can access that slave module.
MASTERS | ACCESS MODE | SLAVES ON MAIN SCR | ||||
---|---|---|---|---|---|---|
Flash Module Bus2 Interface: OTP, ECC, Bank 7 |
Non-CPU Accesses to Program Flash and CPU Data RAM | CRC | Slave Interfaces | Peripheral Control Registers, All Peripheral Memories, And All System Module Control Registers And Memories | ||
CPU READ | User/Privilege | Yes | Yes | Yes | Yes | Yes |
CPU WRITE | User/Privilege | No | Yes | Yes | Yes | Yes |
DMA | User | Yes | Yes | Yes | Yes | Yes |
DAP | Privilege | Yes | Yes | Yes | Yes | Yes |
HTU1 | Privilege | No | Yes | Yes | Yes | Yes |
HTU2 | Privilege | No | Yes | Yes | Yes | Yes |
Write accesses to the Power Domain Management Module (PMM) control registers are limited to the CPU (master id = 1). The other masters can only read from these registers.
A debugger can also write to the PMM registers. The master-id check is disabled in debug mode.
The device contains dedicated logic to generate a bus error response on any access to a module that is in a power domain that has been turned off.
Flash Bank: A separate block of logic consisting of 1 to 16 sectors. Each flash bank normally has a customer-OTP and a TI-OTP area. These flash sectors share input/output buffers, data paths, sense amplifiers, and control logic.
Flash Sector: A contiguous region of flash memory which must be erased simultaneously due to physical construction constraints.
Flash Pump: A charge pump which generates all the voltages required for reading, programming, or erasing the flash banks.
Flash Module: Interface circuitry required between the host CPU and the flash banks and pump module.
MEMORY ARRAYS (OR BANKS) | SECTOR NO. | SEGMENT | LOW ADDRESS | HIGH ADDRESS |
---|---|---|---|---|
BANK0 (1MB)(1) | 0 | 16KB | 0x0000_0000 | 0x0000_3FFF |
1 | 16KB | 0x0000_4000 | 0x0000_7FFF | |
2 | 16KB | 0x0000_8000 | 0x0000_BFFF | |
3 | 16KB | 0x0000_C000 | 0x0000_FFFF | |
4 | 16KB | 0x0001_0000 | 0x0001_3FFF | |
5 | 16KB | 0x0001_4000 | 0x0001_7FFF | |
6 | 32KB | 0x0001_8000 | 0x0001_FFFF | |
7 | 128KB | 0x0002_0000 | 0x0003_FFFF | |
8 | 128KB | 0x0004_0000 | 0x0005_FFFF | |
9 | 128KB | 0x0006_0000 | 0x0007_FFFF | |
10 | 128KB | 0x0008_0000 | 0x0009_FFFF | |
11 | 128KB | 0x000A_0000 | 0x000B_FFFF | |
12(5) | 128KB | 0x000C_0000 | 0x000D_FFFF | |
13(5) | 128KB | 0x000E_0000 | 0x000F_FFFF | |
BANK7 (64KB) for EEPROM emulation(2)(3)(4) | 0 | 4KB | 0xF020_0000 | 0xF020_0FFF |
1 | 4KB | 0xF020_1000 | 0xF020_1FFF | |
2 | 4KB | 0xF020_2000 | 0xF020_2FFF | |
3 | 4KB | 0xF020_3000 | 0xF020_3FFF | |
4 | 4KB | 0xF020_4000 | 0xF020_4FFF | |
5 | 4KB | 0xF020_5000 | 0xF020_5FFF | |
6 | 4KB | 0xF020_6000 | 0xF020_6FFF | |
7 | 4KB | 0xF020_7000 | 0xF020_7FFF | |
8 | 4KB | 0xF020_8000 | 0xF020_8FFF | |
9 | 4KB | 0xF020_9000 | 0xF020_9FFF | |
10 | 4KB | 0xF020_A000 | 0xF020_AFFF | |
11 | 4KB | 0xF020_B000 | 0xF020_BFFF | |
12 | 4KB | 0xF020_C000 | 0xF020_CFFF | |
13 | 4KB | 0xF020_D000 | 0xF020_DFFF | |
14 | 4KB | 0xF020_E000 | 0xF020_EFFF | |
15 | 4KB | 0xF020_F000 | 0xF020_FFFF |
All accesses to the program flash memory are protected by SECDED logic embedded inside the CPU. The flash module provides 8 bits of ECC code for 64 bits of instructions or data fetched from the flash memory. The CPU calculates the expected ECC code based on the 64 bits received and compares it with the ECC code returned by the flash module. A single-bit error is corrected and flagged by the CPU, while a multibit error is only flagged. The CPU signals an ECC error through its Event bus. This signaling mechanism is not enabled by default and must be enabled by setting the "X" bit of the Performance Monitor Control Register, c9.
MRC p15,#0,r1,c9,c12,#0 ;Enabling Event monitor states
ORR r1, r1, #0x00000010
MCR p15,#0,r1,c9,c12,#0 ;Set 4th bit (‘X’) of PMNC register
MRC p15,#0,r1,c9,c12,#0
The application must also explicitly enable the ECC checking of the CPU for accesses on the CPU ATCM and BTCM interfaces. These are connected to the program flash and data RAM, respectively. ECC checking for these interfaces can be done by setting the B1TCMPCEN, B0TCMPCEN, and ATCMPCEN bits of the System Control Coprocessor Auxiliary Control Register, c1.
MRC p15, #0, r1, c1, c0, #1
ORR r1, r1, #0x0e000000 ;Enable ECC checking for ATCM and BTCMs
DMB
MCR p15, #0, r1, c1, c0, #1
For information on flash memory access speeds and the relevant wait states required, see Section 5.8.1.2.
MIN | NOM | MAX | UNIT | |||
---|---|---|---|---|---|---|
tprog(144bit) | Wide Word (144-bit) programming time | 40 | 300 | µs | ||
tprog(Total) | 1MByte programming time(1) | –40°C to 105°C | 11 | s | ||
0°C to 60°C, for first 25 cycles | 2.8 | 5.5 | s | |||
tprog(Total) | 768KB programming time(1) | –40°C to 105°C | 8 | s | ||
0°C to 60°C, for first 25 cycles | 2 | 4 | s | |||
terase(bank0) | Sector/Bank erase time(2) | –40°C to 105°C | 0.03 | 4 | s | |
0°C to 60°C, for first 25 cycles | 16 | 100 | ms | |||
twec | Write/erase cycles with 15-year Data Retention requirement | –40°C to 105°C | 1000 | cycles |
MIN | NOM | MAX | UNIT | |||
---|---|---|---|---|---|---|
tprog(144bit) | Wide Word (72-bit) programming time | 47 | 310 | µs | ||
tprog(Total) | EEPROM Emulation (bank 7) 64KByte programming time(1) | –40°C to 105°C | 2.6 | s | ||
0°C to 60°C, for first 25 cycles | 775 | 1435 | ms | |||
terase(bank7) | Sector/Bank erase time, EEPROM Emulation (bank 7) | –40°C to 105°C | 0.2 | 8 | s | |
0°C to 60°C, for first 25 cycles | 14 | 100 | ms | |||
twec | Write/erase cycles with 15-year Data Retention requirement | –40°C to 105°C | 100000 | cycles |
Figure 6-10 shows the connection of the Tightly Coupled RAM (TCRAM) to the Cortex-R4F™ CPU.
The features of the Tightly Coupled RAM (TCRAM) Module are:
The TCRAMW passes on the ECC code for each data read by the Cortex-R4F CPU from the RAM. The TCRAMW also stores the ECC port contents of the CPU in the ECC RAM when the CPU does a write to the RAM. The TCRAMW monitors the CPU event bus and provides registers for indicating single-bit or multibit errors and also for identifying the address that caused the single or multi-bit error. The event signaling and the ECC checking for the RAM accesses must be enabled inside the CPU.
For more information, see the device-specific Technical Reference Manual.
Accesses to some peripheral RAMs are protected by odd/even parity checking. During a read access the parity is calculated based on the data read from the peripheral RAM and compared with the good parity value stored in the parity RAM for that peripheral. If any word fails the parity check, the module generates a parity error signal that is mapped to the Error Signaling Module. The module also captures the peripheral RAM address that caused the parity error.
The parity protection for peripheral RAMs is not enabled by default and must be enabled by the application. Each individual peripheral contains control registers to enable the parity protection for accesses to its RAM.
NOTE
The CPU read access gets the actual data from the peripheral. The application can choose to generate an interrupt whenever a peripheral RAM parity error is detected.
MEMORY | RAM GROUP |
TEST CLOCK | MEM TYPE |
Test Pattern (Algorithm) | |||
---|---|---|---|---|---|---|---|
TRIPLE READ SLOW READ |
TRIPLE READ FAST READ |
MARCH 13N(1)
TWO PORT (cycles) |
MARCH 13N(1)
SINGLE PORT (cycles) |
||||
ALGO MASK 0x1 | ALGO MASK 0x2 | ALGO MASK 0x4 | ALGO MASK 0x8 | ||||
PBIST_ROM | 1 | ROM CLK | ROM | 24578 | 8194 | ||
STC_ROM | 2 | ROM CLK | ROM | 19586 | 6530 | ||
DCAN1 | 3 | VCLK | Dual port | 25200 | |||
DCAN2 | 4 | VCLK | Dual port | 25200 | |||
DCAN3 | 5 | VCLK | Dual port | 25200 | |||
ESRAM1(2) | 6 | HCLK | Single port | 266280 | |||
MIBSPI1 | 7 | VCLK | Dual port | 33440 | |||
MIBSPI3 | 8 | VCLK | Dual port | 33440 | |||
MIBSPI5 | 9 | VCLK | Dual port | 33440 | |||
VIM | 10 | VCLK | Dual port | 12560 | |||
MIBADC1 | 11 | VCLK | Dual port | 4200 | |||
DMA | 12 | HCLK | Dual port | 18960 | |||
N2HET1 | 13 | VCLK | Dual port | 31680 | |||
HET TU1 | 14 | VCLK | Dual port | 6480 | |||
MIBADC2 | 18 | VCLK | Dual port | 4200 | |||
N2HET2 | 19 | VCLK | Dual port | 31680 | |||
HET TU2 | 20 | VCLK | Dual port | 6480 | |||
ESRAM5(3) | 21 | HCLK | Single port | 266280 |
The PBIST ROM clock frequency is limited to 100 MHz, if 100 MHz < HCLK <= HCLKmax, or HCLK, if HCLK <= 100 MHz.
The PBIST ROM clock is divided down from HCLK. The divider is selected by programming the ROM_DIV field of the Memory Self-Test Global Control Register (MSTGCR) at address 0xFFFFFF58.
This microcontroller allows some of the on-chip memories to be initialized through the Memory Hardware Initialization mechanism in the system module. This hardware mechanism allows an application to program the memory arrays with error detection capability to a known state based on their error detection scheme (odd/even parity or ECC).
The MINITGCR register enables the memory initialization sequence, and the MSINENA register selects the memories that are to be initialized.
For more information on these registers, see the device-specific Technical Reference Manual.
The mapping of the different on-chip memories to the specific bits of the MSINENA registers is shown in Table 6-26.
CONNECTING MODULE | ADDRESS RANGE | MSINENA REGISTER BIT # | |
---|---|---|---|
BASE ADDRESS | ENDING ADDRESS | ||
RAM (PD#1) | 0x08000000 | 0x0800FFFF | 0(1) |
RAM (RAM_PD#1) | 0x08010000 | 0x0801FFFF | 0(1) |
MIBSPI5 RAM | 0xFF0A0000 | 0xFF0BFFFF | 12(2) |
MIBSPI3 RAM | 0xFF0C0000 | 0xFF0DFFFF | 11(2) |
MIBSPI1 RAM | 0xFF0E0000 | 0xFF0FFFFF | 7(2) |
DCAN3 RAM | 0xFF1A0000 | 0xFF1BFFFF | 10 |
DCAN2 RAM | 0xFF1C0000 | 0xFF1DFFFF | 6 |
DCAN1 RAM | 0xFF1E0000 | 0xFF1FFFFF | 5 |
MIBADC2 RAM | 0xFF3A0000 | 0xFF3BFFFF | 14 |
MIBADC1 RAM | 0xFF3E0000 | 0xFF3FFFFF | 8 |
N2HET2 RAM | 0xFF440000 | 0xFF45FFFF | 15 |
N2HET1 RAM | 0xFF460000 | 0xFF47FFFF | 3 |
HET TU2 RAM | 0xFF4C0000 | 0xFF4DFFFF | 16 |
HET TU1 RAM | 0xFF4E0000 | 0xFF4FFFFF | 4 |
DMA RAM | 0xFFF80000 | 0xFFF80FFF | 1 |
VIM RAM | 0xFFF82000 | 0xFFF82FFF | 2 |
The vectored interrupt manager (VIM) provides hardware assistance for prioritizing and controlling the many interrupt sources present on this device. Interrupts are caused by events outside of the normal flow of program execution. Normally, these events require a timely response from the CPU; therefore, when an interrupt occurs, the CPU switches execution from the normal program flow to an interrupt service routine (ISR).
The VIM module has the following features:
Modules | Interrupt Sources | Default VIM Interrupt Channel |
---|---|---|
ESM | ESM High level interrupt (NMI) | 0 |
Reserved | Reserved | 1 |
RTI | RTI compare interrupt 0 | 2 |
RTI | RTI compare interrupt 1 | 3 |
RTI | RTI compare interrupt 2 | 4 |
RTI | RTI compare interrupt 3 | 5 |
RTI | RTI overflow interrupt 0 | 6 |
RTI | RTI overflow interrupt 1 | 7 |
RTI | RTI time-base interrupt | 8 |
GIO | GIO interrupt A | 9 |
N2HET1 | N2HET1 level 0 interrupt | 10 |
HET TU1 | HET TU1 level 0 interrupt | 11 |
MIBSPI1 | MIBSPI1 level 0 interrupt | 12 |
LIN | LIN level 0 interrupt | 13 |
MIBADC1 | MIBADC1 event group interrupt | 14 |
MIBADC1 | MIBADC1 software group 1 interrupt | 15 |
DCAN1 | DCAN1 level 0 interrupt | 16 |
SPI2 | SPI2 level 0 interrupt | 17 |
Reserved | Reserved | 18 |
CRC | CRC Interrupt | 19 |
ESM | ESM low-level interrupt | 20 |
SYSTEM | Software interrupt (SSI) | 21 |
CPU | PMU Interrupt | 22 |
GIO | GIO interrupt B | 23 |
N2HET1 | N2HET1 level 1 interrupt | 24 |
HET TU1 | HET TU1 level 1 interrupt | 25 |
MIBSPI1 | MIBSPI1 level 1 interrupt | 26 |
LIN | LIN level 1 interrupt | 27 |
MIBADC1 | MIBADC1 software group 2 interrupt | 28 |
DCAN1 | DCAN1 level 1 interrupt | 29 |
SPI2 | SPI2 level 1 interrupt | 30 |
MIBADC1 | MIBADC1 magnitude compare interrupt | 31 |
Reserved | Reserved | 32 |
DMA | FTCA interrupt | 33 |
DMA | LFSA interrupt | 34 |
DCAN2 | DCAN2 level 0 interrupt | 35 |
MIBSPI3 | MIBSPI3 level 0 interrupt | 37 |
MIBSPI3 | MIBSPI3 level 1 interrupt | 38 |
DMA | HBCA interrupt | 39 |
DMA | BTCA interrupt | 40 |
Reserved | Reserved | 41 |
DCAN2 | DCAN2 level 1 interrupt | 42 |
DCAN1 | DCAN1 IF3 interrupt | 44 |
DCAN3 | DCAN3 level 0 interrupt | 45 |
DCAN2 | DCAN2 IF3 interrupt | 46 |
FPU | FPU interrupt | 47 |
Reserved | Reserved | 48 |
SPI4 | SPI4 level 0 interrupt | 49 |
MIBADC2 | MibADC2 event group interrupt | 50 |
MIBADC2 | MibADC2 software group1 interrupt | 51 |
Reserved | Reserved | 52 |
MIBSPI5 | MIBSPI5 level 0 interrupt | 53 |
SPI4 | SPI4 level 1 interrupt | 54 |
DCAN3 | DCAN3 level 1 interrupt | 55 |
MIBSPI5 | MIBSPI5 level 1 interrupt | 56 |
MIBADC2 | MibADC2 software group2 interrupt | 57 |
Reserved | Reserved | 58 |
MIBADC2 | MibADC2 magnitude compare interrupt | 59 |
DCAN3 | DCAN3 IF3 interrupt | 60 |
FMC | FSM_DONE interrupt | 61 |
Reserved | Reserved | 62 |
N2HET2 | N2HET2 level 0 interrupt | 63 |
SCI | SCI level 0 interrupt | 64 |
HET TU2 | HET TU2 level 0 interrupt | 65 |
I2C | I2C level 0 interrupt | 66 |
Reserved | Reserved | 67–72 |
N2HET2 | N2HET2 level 1 interrupt | 73 |
SCI | SCI level 1 interrupt | 74 |
HET TU2 | HET TU2 level 1 interrupt | 75 |
Reserved | Reserved | 76–79 |
HWAG1 | HWA_INT_REQ_H | 80 |
HWAG2 | HWA_INT_REQ_H | 81 |
DCC1 | DCC done interrupt | 82 |
DCC2 | DCC2 done interrupt | 83 |
Reserved | Reserved | 84 |
PBIST Controller | PBIST Done Interrupt | 85 |
Reserved | Reserved | 86-87 |
HWAG1 | HWA_INT_REQ_L | 88 |
HWAG2 | HWA_INT_REQ_L | 89 |
ePWM1INTn | ePWM1 Interrupt | 90 |
ePWM1TZINTn | ePWM1 Trip Zone Interrupt | 91 |
ePWM2INTn | ePWM2 Interrupt | 92 |
ePWM2TZINTn | ePWM2 Trip Zone Interrupt | 93 |
ePWM3INTn | ePWM3 Interrupt | 94 |
ePWM3TZINTn | ePWM3 Trip Zone Interrupt | 95 |
ePWM4INTn | ePWM4 Interrupt | 96 |
ePWM4TZINTn | ePWM4 Trip Zone Interrupt | 97 |
ePWM5INTn | ePWM5 Interrupt | 98 |
ePWM5TZINTn | ePWM5 Trip Zone Interrupt | 99 |
ePWM6INTn | ePWM6 Interrupt | 100 |
ePWM6TZINTn | ePWM6 Trip Zone Interrupt | 101 |
ePWM7INTn | ePWM7 Interrupt | 102 |
ePWM7TZINTn | ePWM7 Trip Zone Interrupt | 103 |
eCAP1INTn | eCAP1 Interrupt | 104 |
eCAP2INTn | eCAP2 Interrupt | 105 |
eCAP3INTn | eCAP3 Interrupt | 106 |
eCAP4INTn | eCAP4 Interrupt | 107 |
eCAP5INTn | eCAP5 Interrupt | 108 |
eCAP6INTn | eCAP6 Interrupt | 109 |
eQEP1INTn | eQEP1 Interrupt | 110 |
eQEP2INTn | eQEP2 Interrupt | 111 |
Reserved | Reserved | 112–127 |
NOTE
Address location 0x00000000 in the VIM RAM is reserved for the phantom interrupt ISR entry; therefore only request channels 0..126 can be used and are offset by one address in the VIM RAM.
NOTE
The lower-order interrupt channels are higher priority channels than the higher-order interrupt channels.
NOTE
The application can change the mapping of interrupt sources to the interrupt channels through the interrupt channel control registers (CHANCTRLx) inside the VIM module.
The DMA controller is used to transfer data between two locations in the memory map in the background of CPU operations. Typically, the DMA is used to:
The DMA module on this microcontroller has 16 channels and up to 32 hardware DMA requests. The module contains DREQASIx registers which are used to map the DMA requests to the DMA channels. By default, channel 0 is mapped to request 0, channel 1 to request 1, and so on.
Some DMA requests have multiple sources, as shown in Table 6-28. The application must ensure that only one of these DMA request sources is enabled at any time.
Modules | DMA Request Sources | DMA Request |
---|---|---|
MIBSPI1 | MIBSPI1[1](1) | DMAREQ[0] |
MIBSPI1 | MIBSPI1[0](2) | DMAREQ[1] |
SPI2 | SPI2 receive | DMAREQ[2] |
SPI2 | SPI2 transmit | DMAREQ[3] |
MIBSPI1 / MIBSPI3 / DCAN2 | MIBSPI1[2] / MIBSPI3[2] / DCAN2 IF3 | DMAREQ[4] |
MIBSPI1 / MIBSPI3 / DCAN2 | MIBSPI1[3] / MIBSPI3[3] / DCAN2 IF2 | DMAREQ[5] |
DCAN1 / MIBSPI5 | DCAN1 IF2 / MIBSPI5[2] | DMAREQ[6] |
MIBADC1 / MIBSPI5 | MIBADC1 event / MIBSPI5[3] | DMAREQ[7] |
MIBSPI1 / MIBSPI3 / DCAN1 | MIBSPI1[4] / MIBSPI3[4] / DCAN1 IF1 | DMAREQ[8] |
MIBSPI1 / MIBSPI3 / DCAN2 | MIBSPI1[5] / MIBSPI3[5] / DCAN2 IF1 | DMAREQ[9] |
MIBADC1 / I2C / MIBSPI5 | MIBADC1 G1 / I2C receive / MIBSPI5[4] | DMAREQ[10] |
MIBADC1 / I2C / MIBSPI5 | MIBADC1 G2 / I2C transmit / MIBSPI5[5] | DMAREQ[11] |
RTI / MIBSPI1 / MIBSPI3 | RTI DMAREQ0 / MIBSPI1[6] / MIBSPI3[6] | DMAREQ[12] |
RTI / MIBSPI1 / MIBSPI3 | RTI DMAREQ1 / MIBSPI1[7] / MIBSPI3[7] | DMAREQ[13] |
MIBSPI3 / MibADC2 / MIBSPI5 | MIBSPI3[1](1) / MibADC2 event / MIBSPI5[6] | DMAREQ[14] |
MIBSPI3 / MIBSPI5 | MIBSPI3[0](2) / MIBSPI5[7] | DMAREQ[15] |
MIBSPI1 / MIBSPI3 / DCAN1 / MibADC2 | MIBSPI1[8] / MIBSPI3[8] / DCAN1 IF3 / MibADC2 G1 | DMAREQ[16] |
MIBSPI1 / MIBSPI3 / DCAN3 / MibADC2 | MIBSPI1[9] / MIBSPI3[9] / DCAN3 IF1 / MibADC2 G2 | DMAREQ[17] |
RTI / MIBSPI5 | RTI DMAREQ2 / MIBSPI5[8] | DMAREQ[18] |
RTI / MIBSPI5 | RTI DMAREQ3 / MIBSPI5[9] | DMAREQ[19] |
N2HET1 / N2HET2 / DCAN3 | N2HET1 DMAREQ[4] / N2HET2 DMAREQ[4] / DCAN3 IF2 | DMAREQ[20] |
N2HET1 / N2HET2 / DCAN3 | N2HET1 DMAREQ[5] / N2HET2 DMAREQ[5] / DCAN3 IF3 | DMAREQ[21] |
MIBSPI1 / MIBSPI3 / MIBSPI5 | MIBSPI1[10] / MIBSPI3[10] / MIBSPI5[10] | DMAREQ[22] |
MIBSPI1 / MIBSPI3 / MIBSPI5 | MIBSPI1[11] / MIBSPI3[11] / MIBSPI5[11] | DMAREQ[23] |
N2HET1 / N2HET2 / SPI4 / MIBSPI5 | N2HET1 DMAREQ[6] / N2HET2 DMAREQ[6] / SPI4 receive / MIBSPI5[12] | DMAREQ[24] |
N2HET1 / N2HET2 / SPI4 / MIBSPI5 | N2HET1 DMAREQ[7] / N2HET2 DMAREQ[7] / SPI4 transmit / MIBSPI5[13] | DMAREQ[25] |
CRC / MIBSPI1 / MIBSPI3 | CRC DMAREQ[0] / MIBSPI1[12] / MIBSPI3[12] | DMAREQ[26] |
CRC / MIBSPI1 / MIBSPI3 | CRC DMAREQ[1] / MIBSPI1[13] / MIBSPI3[13] | DMAREQ[27] |
LIN / MIBSPI5 | LIN receive / MIBSPI5[14] | DMAREQ[28] |
LIN / MIBSPI5 | LIN transmit / MIBSPI5[15] | DMAREQ[29] |
MIBSPI1 / MIBSPI3 / SCI / MIBSPI5 | MIBSPI1[14] / MIBSPI3[14] / SCI receive / MIBSPI5[1](1) | DMAREQ[30] |
MIBSPI1 / MIBSPI3 / SCI / MIBSPI5 | MIBSPI1[15] / MIBSPI3[15] / SCI transmit / MIBSPI5[0](2) | DMAREQ[31] |
The real-time interrupt (RTI) module provides timer functionality for operating systems and for benchmarking code. The RTI module can incorporate several counters that define the time bases needed for scheduling an operating system.
The timers also let you benchmark certain areas of code by reading the values of the counters at the beginning and the end of the desired code range and calculating the difference between the values.
The RTI module has the following features:
Figure 6-11 shows a high-level block diagram for one of the two 64-bit counter blocks inside the RTI module. Both the counter blocks are identical except the Network Time Unit (NTUx) inputs are only available as time-base inputs for the counter block 0. Figure 6-12 shows the compare unit block diagram of the RTI module.
The RTI module uses the RTI1CLK clock domain for generating the RTI time bases.
The application can select the clock source for the RTI1CLK by configuring the RCLKSRC register in the system module at address 0xFFFFFF50. The default source for RTI1CLK is VCLK.
For more information on clock sources, see Table 6-8 and Table 6-13.
The RTI module supports four Network Time Unit (NTU) inputs that signal internal system events, and which can be used to synchronize the time base used by the RTI module. On this device, these NTU inputs are connected as shown in Table 6-29.
NTU INPUT | SOURCE |
---|---|
0 | Reserved |
1 | Reserved |
2 | Reserved |
3 | EXTCLKIN1 clock input |
The Error Signaling Module (ESM) manages the various error conditions on the RM44Lx20 microcontroller. The error condition is handled based on a fixed severity level assigned to it. Any severe error condition can be configured to drive a low level on a dedicated device terminal called nERROR. The nERROR can be used as an indicator to an external monitor circuit to put the system into a safe state.
The features of the ESM are:
The ESM integrates all the device error conditions and groups them in the order of severity. Group1 is used for errors of the lowest severity while Group3 is used for errors of the highest severity. The device response to each error is determined by the severity group it is connected to. Table 6-31 lists the channel assignment for each group.
ERROR GROUP | INTERRUPT CHARACTERISTICS | INFLUENCE ON ERROR TERMINAL |
---|---|---|
Group1 | Maskable, low or high priority | Configurable |
Group2 | Nonmaskable, high priority | Fixed |
Group3 | No interrupt generated | Fixed |
ERROR CONDITION | GROUP | CHANNELS |
---|---|---|
Group1 | ||
Reserved | Group1 | 0 |
MibADC2 - RAM parity error | Group1 | 1 |
DMA - MPU configuration violation | Group1 | 2 |
DMA - control packet RAM parity error | Group1 | 3 |
Reserved | Group1 | 4 |
DMA - error on DMA read access, imprecise error | Group1 | 5 |
FMC - correctable ECC error: bus1 and bus2 interfaces (does not include accesses to Bank 7) |
Group1 | 6 |
N2HET1 - RAM parity error | Group1 | 7 |
HET TU1/HET TU2 - dual-control packet RAM parity error | Group1 | 8 |
HET TU1/HET TU2 - MPU configuration violation | Group1 | 9 |
PLL1 - Slip | Group1 | 10 |
Clock Monitor - oscillator fail | Group1 | 11 |
Reserved | Group1 | 12 |
DMA - error on DMA write access, imprecise error | Group1 | 13 |
Reserved | Group1 | 14 |
VIM RAM - parity error | Group1 | 15 |
Reserved | Group1 | 16 |
MibSPI1 - RAM parity error | Group1 | 17 |
MibSPI3 - RAM parity error | Group1 | 18 |
MibADC1 - RAM parity error | Group1 | 19 |
Reserved | Group1 | 20 |
DCAN1 - RAM parity error | Group1 | 21 |
DCAN3 - RAM parity error | Group1 | 22 |
DCAN2 - RAM parity error | Group1 | 23 |
MibSPI5 - RAM parity error | Group1 | 24 |
Reserved | Group1 | 25 |
RAM even bank (B0TCM) - correctable ECC error | Group1 | 26 |
CPU - self-test failed | Group1 | 27 |
RAM odd bank (B1TCM) - correctable ECC error | Group1 | 28 |
Reserved | Group1 | 29 |
DCC1 - error | Group1 | 30 |
CCM-R4 - self-test failed | Group1 | 31 |
Reserved | Group1 | 32 |
Reserved | Group1 | 33 |
N2HET2 - RAM parity error | Group1 | 34 |
FMC - correctable ECC error (Bank 7 access) | Group1 | 35 |
FMC - uncorrectable ECC error (Bank 7 access) | Group1 | 36 |
IOMM - Access to unimplemented location in IOMM frame, or write access detected in unprivileged mode | Group1 | 37 |
Power domain controller compare error | Group1 | 38 |
Power domain controller self-test error | Group1 | 39 |
eFuse Controller Error – this error signal is generated when any bit in the eFuse controller error status register is set. The application can choose to generate an interrupt whenever this bit is set to service any eFuse controller error conditions. | Group1 | 40 |
eFuse Controller - Self-Test Error. This error signal is generated only when a self-test on the eFuse controller generates an error condition. When an ECC self-test error is detected, group 1 channel 40 error signal will also be set. | Group1 | 41 |
Reserved | Group1 | 42 |
Reserved | Group1 | 43 |
Reserved | Group1 | 44 |
Reserved | Group1 | 45 |
Reserved | Group1 | 46 |
Reserved | Group1 | 47 |
Reserved | Group1 | 48 |
Reserved | Group1 | 49 |
Reserved | Group1 | 50 |
Reserved | Group1 | 51 |
Reserved | Group1 | 52 |
Reserved | Group1 | 53 |
Reserved | Group1 | 54 |
Reserved | Group1 | 55 |
Reserved | Group1 | 56 |
Reserved | Group1 | 57 |
Reserved | Group1 | 58 |
Reserved | Group1 | 59 |
Reserved | Group1 | 60 |
Reserved | Group1 | 61 |
DCC2 - error | Group1 | 62 |
Reserved | Group1 | 63 |
Group2 | ||
Reserved | Group2 | 0 |
Reserved | Group2 | 1 |
CCMR4 - dual-CPU lock-step error | Group2 | 2 |
Reserved | Group2 | 3 |
FMC - uncorrectable address parity error on accesses to main flash | Group2 | 4 |
Reserved | Group2 | 5 |
RAM even bank (B0TCM) - uncorrectable redundant address decode error | Group2 | 6 |
Reserved | Group2 | 7 |
RAM odd bank (B1TCM) - uncorrectable redundant address decode error | Group2 | 8 |
Reserved | Group2 | 9 |
RAM even bank (B0TCM) - address bus parity error | Group2 | 10 |
Reserved | Group2 | 11 |
RAM odd bank (B1TCM) - address bus parity error | Group2 | 12 |
Reserved | Group2 | 13 |
Reserved | Group2 | 14 |
Reserved | Group2 | 15 |
TCM - ECC live lock detect | Group2 | 16 |
Reserved | Group2 | 17 |
Reserved | Group2 | 18 |
Reserved | Group2 | 19 |
Reserved | Group2 | 20 |
Reserved | Group2 | 21 |
Reserved | Group2 | 22 |
Reserved | Group2 | 23 |
Windowed Watchdog (WWD) violation | Group2 | 24 |
Reserved | Group2 | 25 |
Reserved | Group2 | 26 |
Reserved | Group2 | 27 |
Reserved | Group2 | 28 |
Reserved | Group2 | 29 |
Reserved | Group2 | 30 |
Reserved | Group2 | 31 |
Group3 | ||
Reserved | Group3 | 0 |
eFuse Farm - autoload error | Group3 | 1 |
Reserved | Group3 | 2 |
RAM even bank (B0TCM) - ECC uncorrectable error | Group3 | 3 |
Reserved | Group3 | 4 |
RAM odd bank (B1TCM) - ECC uncorrectable error | Group3 | 5 |
Reserved | Group3 | 6 |
FMC - uncorrectable ECC error: bus1 and bus2 interfaces (does not include address parity error and errors on accesses to Bank 7) |
Group3 | 7 |
Reserved | Group3 | 8 |
Reserved | Group3 | 9 |
Reserved | Group3 | 10 |
Reserved | Group3 | 11 |
Reserved | Group3 | 12 |
Reserved | Group3 | 13 |
Reserved | Group3 | 14 |
Reserved | Group3 | 15 |
Reserved | Group3 | 16 |
Reserved | Group3 | 17 |
Reserved | Group3 | 18 |
Reserved | Group3 | 19 |
Reserved | Group3 | 20 |
Reserved | Group3 | 21 |
Reserved | Group3 | 22 |
Reserved | Group3 | 23 |
Reserved | Group3 | 24 |
Reserved | Group3 | 25 |
Reserved | Group3 | 26 |
Reserved | Group3 | 27 |
Reserved | Group3 | 28 |
Reserved | Group3 | 29 |
Reserved | Group3 | 30 |
Reserved | Group3 | 31 |
ERROR SOURCE | CPUMODE | ERROR RESPONSE | ESM HOOKUP GROUP.CHANNEL |
---|---|---|---|
CPU TRANSACTIONS | |||
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 |
Illegal instruction | User/Privilege | Undefined Instruction Trap (CPU)(1) | N/A |
MPU access violation | User/Privilege | Abort (CPU) | N/A |
SRAM | |||
B0 TCM (even) ECC single error (correctable) | User/Privilege | ESM | 1.26 |
B0 TCM (even) ECC double error (uncorrectable) | User/Privilege | Abort (CPU), ESM => → nERROR | 3.3 |
B0 TCM (even) uncorrectable error (that is, redundant address decode) | User/Privilege | ESM => NMI => nERROR | 2.6 |
B0 TCM (even) address bus parity error | User/Privilege | ESM => NMI => nERROR | 2.10 |
B1 TCM (odd) ECC single error (correctable) | User/Privilege | ESM | 1.28 |
B1 TCM (odd) ECC double error (uncorrectable) | User/Privilege | Abort (CPU), ESM => nERROR | 3.5 |
B1 TCM (odd) uncorrectable error (that is, redundant address decode) | User/Privilege | ESM => NMI => nERROR | 2.8 |
B1 TCM (odd) address bus parity error | User/Privilege | ESM => NMI => nERROR | 2.12 |
FLASH WITH CPU BASED ECC | |||
FMC correctable error - Bus1 and Bus2 interfaces (does not include accesses to Bank 7) | User/Privilege | ESM | 1.6 |
FMC uncorrectable error - Bus1 and Bus2 accesses (does not include address parity error) |
User/Privilege | Abort (CPU), ESM => nERROR | 3.7 |
FMC uncorrectable error - address parity error on Bus1 accesses | User/Privilege | ESM => NMI => nERROR | 2.4 |
FMC correctable error - Accesses to Bank 7 | User/Privilege | ESM | 1.35 |
FMC uncorrectable error - Accesses to Bank 7 | User/Privilege | ESM | 1.36 |
DMA TRANSACTIONS | |||
External imprecise error on read (Illegal transaction with ok response) | User/Privilege | ESM | 1.5 |
External imprecise error on write (Illegal transaction with ok response) | User/Privilege | ESM | 1.13 |
Memory access permission violation | User/Privilege | ESM | 1.2 |
Memory parity error | User/Privilege | ESM | 1.3 |
HET TU1 (HTU1) | |||
NCNB (Strongly Ordered) transaction with slave error response | User/Privilege | Interrupt => VIM | N/A |
External imprecise error (Illegal transaction with ok response) | User/Privilege | Interrupt => VIM | N/A |
Memory access permission violation | User/Privilege | ESM | 1.9 |
Memory parity error | User/Privilege | ESM | 1.8 |
HET TU2 (HTU2) | |||
NCNB (Strongly Ordered) transaction with slave error response | User/Privilege | Interrupt => VIM | N/A |
External imprecise error (Illegal transaction with ok response) | User/Privilege | Interrupt => VIM | N/A |
Memory access permission violation | User/Privilege | ESM | 1.9 |
Memory parity error | User/Privilege | ESM | 1.8 |
N2HET1 | |||
Memory parity error | User/Privilege | ESM | 1.7 |
N2HET2 | |||
Memory parity error | User/Privilege | ESM | 1.34 |
MIBSPI | |||
MibSPI1 memory parity error | User/Privilege | ESM | 1.17 |
MibSPI3 memory parity error | User/Privilege | ESM | 1.18 |
MibSPI5 memory parity error | User/Privilege | ESM | 1.24 |
MIBADC | |||
MibADC1 memory parity error | User/Privilege | ESM | 1.19 |
MibADC2 memory parity error | User/Privilege | ESM | 1.1 |
DCAN | |||
DCAN1 memory parity error | User/Privilege | ESM | 1.21 |
DCAN2 memory parity error | User/Privilege | ESM | 1.23 |
DCAN3 memory parity error | User/Privilege | ESM | 1.22 |
PLL | |||
PLL slip error | User/Privilege | ESM | 1.10 |
CLOCK MONITOR | |||
Clock monitor interrupt | User/Privilege | ESM | 1.11 |
DCC | |||
DCC1 error | User/Privilege | ESM | 1.30 |
DCC2 error | User/Privilege | ESM | 1.62 |
CCM-R4 | |||
Self-test failure | User/Privilege | ESM | 1.31 |
Compare failure | User/Privilege | ESM => NMI => nERROR | 2.2 |
VIM | |||
Memory parity error | User/Privilege | ESM | 1.15 |
VOLTAGE MONITOR | |||
VMON out of voltage range | N/A | Reset | N/A |
CPU SELF-TEST (LBIST) | |||
Cortex-R4F CPU self-test (LBIST) error | User/Privilege | ESM | 1.27 |
PIN MULTIPLEXING CONTROL | |||
Mux configuration error | User/Privilege | ESM | 1.37 |
POWER DOMAIN CONTROL | |||
PSCON compare error | User/Privilege | ESM | 1.38 |
PSCON self-test error | User/Privilege | ESM | 1.39 |
eFuse CONTROLLER | |||
eFuse Controller Autoload error | User/Privilege | ESM => nERROR | 3.1 |
eFuse Controller - Any bit set in the error status register | User/Privilege | ESM | 1.40 |
eFuse Controller self-test error | User/Privilege | ESM | 1.41 |
WINDOWED WATCHDOG | |||
WWD Nonmaskable Interrupt exception | N/A | ESM => NMI => nERROR | 2.24 |
ERRORS REFLECTED IN THE SYSESR REGISTER | |||
Power-Up Reset | N/A | Reset | N/A |
Oscillator fail / PLL slip(2) | N/A | Reset | N/A |
Watchdog exception | N/A | Reset | N/A |
CPU Reset (driven by the CPU STC) | N/A | Reset | N/A |
Software Reset | N/A | Reset | N/A |
External Reset | N/A | Reset | N/A |
This device includes a Digital Windowed Watchdog (DWWD) module that protects against runaway code execution (see Figure 6-13).
The DWWD module allows the application to configure the time window within which the DWWD module expects the application to service the watchdog. A watchdog violation occurs if the application services the watchdog outside of this window, or fails to service the watchdog at all. The application can choose to generate a system reset or an ESM group2 error signal in case of a watchdog violation.
The watchdog is disabled by default and must be enabled by the application. Once enabled, the watchdog can only be disabled upon a system reset.
The device contains an ICEPICK module (version C) to allow JTAG access to the scan chains (see Figure 6-14).
MODULE NAME |
FRAME CHIP SELECT |
FRAME ADDRESS RANGE | FRAME SIZE |
ACTUAL SIZE |
RESPONSE FOR ACCESS TO UNIMPLEMENTED LOCATIONS IN FRAME |
|
---|---|---|---|---|---|---|
START | END | |||||
CoreSight Debug ROM | CSCS0 | 0xFFA0_0000 | 0xFFA0_0FFF | 4KB | 4KB | Reads return zeros, writes have no effect |
Cortex-R4F Debug | CSCS1 | 0xFFA0_1000 | 0xFFA0_1FFF | 4KB | 4KB | Reads return zeros, writes have no effect |
The JTAG ID code for this device is the same as the device ICEPick Identification Code. For the JTAG ID Code per silicon revision, see Table 6-34.
SILICON REVISION | ID |
---|---|
Rev 0 | 0x0BB0302F |
Rev A | 0x1BB0302F |
The Debug ROM stores the location of the components on the Debug APB bus (see Table 6-35).
ADDRESS | DESCRIPTION | VALUE |
---|---|---|
0x000 | Pointer to Cortex-R4F | 0x0000 1003 |
0x001 | Reserved | 0x0000 2002 |
0x002 | Reserved | 0x0000 3002 |
0x003 | Reserved | 0x0000 4003 |
0x004 | end of table | 0x0000 0000 |
NO. | PARAMETER | MIN | MAX | UNIT | |
---|---|---|---|---|---|
fTCK | TCK frequency (at HCLKmax) | 12 | MHz | ||
fRTCK | RTCK frequency (at TCKmax and HCLKmax) | 10 | MHz | ||
1 | td(TCK -RTCK) | Delay time, TCK to RTCK | 24 | ns | |
2 | tsu(TDI/TMS - RTCKr) | Setup time, TDI, TMS before RTCK rise (RTCKr) | 26 | ns | |
3 | th(RTCKr -TDI/TMS) | Hold time, TDI, TMS after RTCKr | 0 | ns | |
4 | th(RTCKr -TDO) | Hold time, TDO after RTCKf | 0 | ns | |
5 | td(TCKf -TDO) | Delay time, TDO valid after RTCK fall (RTCKf) | 12 | ns |
This device includes a an Advanced JTAG Security Module (AJSM) module. The AJSM provides maximum security to the memory content of the device by letting users secure the device after programming.
The device is unsecure by default by virtue of a 128-bit visible unlock code programmed in the OTP address 0xF0000000. The OTP contents are XOR-ed with the contents of the "Unlock By Scan" register. The outputs of these XOR gates are again combined with a set of secret internal tie-offs. The output of this combinational logic is compared against a secret hard-wired 128-bit value. A match results in the UNLOCK signal being asserted, so that the device is now unsecure.
A user can secure the device by changing at least 1 bit in the visible unlock code from 1 to 0. Changing a 0 to 1 is not possible because the visible unlock code is stored in the One Time Programmable (OTP) flash region. Also, changing all 128 bits to zeros is not a valid condition and will permanently secure the device.
Once secured, a user can unsecure the device by scanning an appropriate value into the "Unlock By Scan" register of the AJSM module. This register is accessible by configuring an IR value of 0b1011 on the AJSM TAP. The value to be scanned is such that the XOR of the OTP contents and the Unlock-By-Scan register contents results in the original visible unlock code.
The Unlock-By-Scan register is reset only upon asserting power-on reset (nPORRST).
A secure device only permits JTAG accesses to the AJSM scan chain through the Secondary Tap 2 of the ICEPick module. All other secondary taps, test taps, and the boundary scan interface are not accessible in this state.
The device supports BSDL-compliant boundary scan for testing pin-to-pin compatibility. The boundary scan chain is connected to the Boundary Scan Interface of the ICEPICK module (see Figure 6-17).
Data is serially shifted into all boundary-scan buffers through TDI, and out through TDO.