AM1705_16 TI1 | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 165

Technical content

Sample & Buy T echnical Documents Tools & Software Support & Community AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 AM1705ARM®Microprocessor

1 AM1705 ARM Microprocessor

1.1 Features

– Dedicated Interrupt Controller• 375- and 456-MHz ARM926EJ-S™ RISC Core – Dedicated Switched Central Resource– 32-Bit and 16-Bit (Thumb®) Instructions

  • Multimedia Card (MMC)/Secure Digital (SD) Card– Single-Cycle MAC Interface with Secure Data I/O (SDIO)– ARM Jazelle® Technology
  • 16-Bit SDRAM with 128-MB Address Space Timers)
  • Three Configurable 16550-Type UART Modules: • Three Enhanced Pulse Width Modulators – UART0 with Modem Control Signals (eHRPWMs): – 16-Byte FIFO – Dedicated 16-Bit Time-Base Counter with Period and Frequency Control– 16x or 13x Oversampling Option – 6 Single Edge, 6 Dual Edge Symmetric, or 3– Autoflow Control Signals (CTS, RTS) on UART0 Dual Edge Asymmetric OutputsOnly – Dead-Band Generation• Two Serial Peripheral Interfaces (SPIs) Each with One Chip Select – PWM Chopping by High-Frequency Carrier
  • Programmable Real-Time Unit Subsystem – Trip Zone Input (PRUSS) • Three 32-Bit Enhanced Capture (eCAP) Modules: – Two Independent Programmable Real-Time Unit – Configurable as 3 Capture Inputs or 3 Auxiliary (PRU) Cores Pulse Width Modulator (APWM) Outputs
  • 32-Bit Load-Store RISC Architecture – Single-Shot Capture of up to Four Event Time-
  • 4KB of Instruction RAM per Core Stamps
  • 512 Bytes of Data RAM per Core • Two 32-Bit Enhanced Quadrature Encoder Pulse (eQEP) Modules• PRUSS can be Disabled via Software to Save Power • 176-pin PowerPAD™ Plastic Quad Flat Pack [PTP suffix], 0.5-mm Pin Pitch– Standard Power-Management Mechanism
  • Commercial, Industrial, or Extended Temperature• Clock Gating
  • Entire Subsystem Under a Single PSC Clock Gating Domain An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA.

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

1.2 Applications

  • Industrial Automation • Test and Measurement
  • Home Automation • Portable Data Terminals

1.3 Description

The device is a low-power ARM microprocessor based on an ARM926EJ-S. The device enables original-equipment manufacturers (OEMs) and original-design manufacturers (ODMs) to quickly bring to market devices featuring robust operating systems support, rich user interfaces, and high processing performance life through the maximum flexibility of a fully integrated mixed processor solution. The ARM926EJ-S is a 32-bit RISC processor core that performs 32-bit or 16-bit instructions and processes 32-bit, 16-bit, or 8-bit data. The core uses pipelining so that all parts of the processor and memory system can operate continuously. The ARM core has a coprocessor 15 (CP15), protection module, and data and program memory management units (MMUs) with table look-aside buffers. The ARM core has separate 16KB of instruction and 16-KB data caches. Both memory blocks are four-way associative with virtual index virtual tag (VIVT). The ARM core also has 8KB of RAM (Vector Table) and 64KB of ROM. The peripheral set includes: a 10/100 Mbps Ethernet MAC (EMAC) with a management data input/output (MDIO) module; two I2C Bus interfaces; 3 multichannel audio serial port (McASP) with serializers and FIFO buffers; two 64-bit general-purpose timers each configurable (one configurable as watchdog); up to 8 banks of 16 pins of general-purpose input/output (GPIO) with programmable interrupt/event generation modes, multiplexed with other peripherals; three UART interfaces (one with both RTS and CTS); three enhanced high-resolution pulse width modulator (eHRPWM) peripherals; three 32-bit enhanced capture (eCAP) module peripherals which can be configured as 3 capture inputs or 3 auxiliary pulse width modulator (APWM) outputs; two 32-bit enhanced quadrature encoded pulse (eQEP) peripherals; and 2 external memory interfaces: an asynchronous and SDRAM external memory interface (EMIFA) for slower memories or peripherals, and a higher speed memory interface (EMIFB) for SDRAM. The Ethernet Media Access Controller (EMAC) provides an efficient interface between the device and the network. The EMAC supports both 10Base-T and 100Base-TX, or 10 Mbps and 100 Mbps in either half- or full-duplex mode. Additionally, an MDIO interface is available for PHY configuration. The I2C, SPI, and USB2.0 ports allow the device to easily control peripheral devices and/or communicate with host processors. The rich peripheral set provides the ability to control external peripheral devices and communicate with external processors. For details on each of the peripherals, see the related sections later in this document and the associated peripheral reference guides. The device has a complete set of development tools for the ARM processor. These include C compilers and a Windows® debugger interface for visibility into source code execution. Device Information(1) PART NUMBER PACKAGE BODY SIZE AM1705 HLQFP (176) 24.00 mm x 24.00 mm (1) For more information on these devices, see Section 8, Mechanical Packaging and Orderable Information.

2 AM1705 ARM Microprocessor Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

Switched Central Resource (SCR) 16KB I-Cache 16KB D-Cache 4KB ETB ARM926EJ-S CPU With MMU ARM SubsystemJTAG Interface System Control Input Clock(s) 64KB ROM 8KB RAM (Vector Table) Power/Sleep Controller Pin Multiplexing PLL/Clock Generator w/OSC General- Purpose Timer General- Purpose Timer (Watchdog) Serial Interfaces I C (2)

2 SPI

(2) UART (3) Audio Ports McASP w/FIFO (2) DMA Peripherals External Memory InterfacesConnectivity EDMA3 Control Timers eHRPWM (3) eCAP (3) eQEP (2) (10/100) EMAC (RMII) MDIO USB2.0 OTG Ctlr PHY MMC/SD (8b) EMIFB SDRAM Only (16b/32b) GPIO 128 KB RAM Shared Memory EMIFA NAND/ Flash (8b) PRU Subsystem Customizable Interface Memory Protection AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

1.4 Functional Block Diagram

Figure 1-1. AM1705 Functional Block Diagram Copyright © 2010–2014, Texas Instruments Incorporated AM1705 ARM Microprocessor 3 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table of Contents

4 Table of Contents Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

2 Revision History

NOTE: Page numbers for previous revisions may differ from page numbers in the current version. This data manual revision history highlights the changes made to the SPRS657D device-specific data manual to make it an SPRS657E revision. Scope: Applicable updates to the AM170x ARM microprocessor device family, specifically relating to the AM1705 device, which are all now in the production data (PD) stage of development, have been incorporated.

Revision History

SEE ADDITIONS/MODIFICATIONS/DELETIONS

  • Added Navigation Icons on top of first page.
  • Updated Features, Applications, and Description for consistency and translation. Global • Moved Trademarks information from first page to within Section 7, Device and Documentation Support.
  • Moved ESDS Warning to within Section 7, Device and Documentation Support.
  • Added numbering to section and table titles that were missing. Section 1.1 Deleted Highlights section. Information was duplicated elsewhere in Features.Features Section 1.2 Added NEW section.Applications Section 1.3 Added NEW Device Information Table.Description Table 3-19, Reserved and No Connect Terminal Functions:Section 3.6.17 Connect device operation, this pin must be tied low or to CVDD." Moved Section to within Section 3.6, Terminal FunctionsSection 3.6.19 Unused USB0 Table 3-21, Unused USB0 Pin Configurations: (USB2.0) Pin • Updated/Changed USB0_VDDA12 Configuration from "No Connect" to "Internal USB0 PHY outputConfigurations connected to an external..." Section 5.2, Handling Ratings: Section 5 • Split handling, ratings, and certifications from the Abs Max table and placed in NEW Handling Ratings Device Operating table. Conditions Section 5.3, Recommended Operating Conditions:
  • Added "Unless specifically indicated" to "These I/O specifications apply to ..." footnote Section 5.4 Notes on Table 5-1, Recommended Power-On Hours:Recommended • Added Silicon Revision column.Power-On Hours (POH) Figure 6-9, PLL Topology:Section 6.6 Clock PLLs • Updated/Changed to correct graphic. Table 6-19, EMIFA Asynchronous Memory Switching Characteristics:Section 6.10.4 Copyright © 2010–2014, Texas Instruments Incorporated Revision History 5 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Revision History (continued) SEE ADDITIONS/MODIFICATIONS/DELETIONS Table 6-23, EMIFB SDRAM Interface Timing Requirements:

  • Updated/Changed Parameter No. 19 from "tsu(DV-CLKH)" to "t(DV-CLKH)"
  • Added new column: "CVDD = 1.3V"
  • Added new footnote containing "...range rated devices for 400/375/300/266/200 MHz max CPU operating ..." Table 6-24, EMIFB SDRAM Interface Switching Characteristics for Commercial (Default) Temperature Range: Commercial (Default) Temperature Range"
  • Added new footnote containing "...range rated devices for 400/375/300/266/200 MHz max CPUData/Timing operating..."
  • Updated/Changed CVDD = 1.3V MIN column values for Parameter No. 4, 6, 8, 10, 12, 14, 16, and 18 from "0.9" to "1.1"
  • Updated/Changed CVDD = 1.3V MAX column values for Parameter No. 3, 5, 7, 9, 11, 13, 15, and 17 from "5.1" to "4.25"
  • Populated CVDD = 1.2V column with values (was empty)
  • Updated/Changed Parameter No. 18 from "tena(CLKH-DLZ)" to "t(CLKH-DLZ)" Table 6-25, EMIFB SDRAM Interface Switching Characteristics for Industrial, Extended, and Automotive Temperature Ranges:
  • Added NEW table Table 6-42, McASP Registers Accessed Through DMA Port: Section 6.16 • Updated/Changed Read Accesses Register Description from "XBUSEL = 0 in XFMT" to "RBUSEL = 0 inMultichannel Audio RFMT"Serial Ports
  • Updated/Changed Write Accesses Register Description from "RBUSEL = 0 in RFMT" to "XBUSEL = 0 in(McASP0, McASP1) XFMT" Section 7.6 Added NEW section.Glossary

6 Revision History Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3 Device Overview

3.1 Device Characteristics

Table 3-1 provides an overview of the device. The table shows significant features of the device, including the capacity of on-chip RAM, peripherals, and the package type with pin count. Table 3-1. Characteristics of the Device HARDWARE FEATURES AM1705 EMIFB 16-bit, up to 128 MB SDRAM EMIFA Asynchronous (8-bit bus width) RAM, Flash, NOR, NAND Flash Card Interface MMC and SD cards supported EDMA3 32 independent channels, 8 QDMA channels, 2 Transfer controllers 2 64-Bit General Purpose (configurable as 2 separate 32-bit timers, 1 configurable asTimers Watch Dog) UART 3 (one with RTS and CTS flow control) SPI 2 (Each with one hardware chip select) I2C 2 (both Master/Slave) Multichannel Audio 2(each with transmit/receive, FIFO buffer, 16/12/4 serializers)Serial Port [McASP] 10/100 Ethernet MAC with Management Data 1 (RMII Interface) Peripherals I/O eHRPWM 6 Single Edge, 6 Dual Edge Symmetric, or 3 Dual Edge Asymmetric OutputsNot all peripherals pins are available at the eCAP 3 32-bit capture inputs or 3 32-bit auxiliary PWM outputs same time (for more eQEP 2 32-bit QEP channels with 4 inputs/channeldetail, see the Device Configurations section). USB 2.0 (USB0) Full-Speed/Low-Speed OTG Controller with on-chip OTG PHY General-Purpose 8 banks of 16-bitInput/Output Port PRU Subsystem 2 Programmable PRU Cores(PRUSS) Size (Bytes) 168KB RAM, 64KB ROM ARM 16KB I-Cache 16KB D-CacheOn-Chip Memory 8KB RAM (Vector Table)Organization 64KB ROM ADDITIONAL MEMORY 128KB RAM 0x8B7D F02F (Silicon Revision 1.1)JTAG BSDL_ID DEVIDR0 register 0x9B7D F02F (Silicon Revisions 3.0, 2.1, and 2.0) CPU Frequency MHz ARM926 375 MHz (1.2V) or 456 MHz (1.3V) 1.2 V nominal for 375 MHz versionCore (V) 1.3 V nominal for 456 MHz versionVoltage I/O (V) 3.3 V Package 24 mm x 24 mm, 176-Pin, 0.5 mm pitch, TQFP (PTP) Product Preview (PP), Advance Information 375 MHz Versions - PDProduct Status(1) (AI), 456 MHz Version - PDor Production Data (PD) (1) PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.. Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 7 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.2 Device Compatibility

The ARM926EJ-S RISC CPU is compatible with other ARM9 CPUs from ARM Holdings plc.

3.3 ARM Subsystem

The ARM Subsystem includes the following features:

  • ARM926EJ-S RISC processor
  • ARMv5TEJ (32/16-bit) instruction set
  • Little endian
  • System Control Co-Processor 15 (CP15)
  • MMU
  • 16KB Instruction cache
  • 16KB Data cache
  • Write Buffer
  • Embedded Trace Module and Embedded Trace Buffer (ETM/ETB)
  • ARM Interrupt controller

3.3.1 ARM926EJ-S RISC CPU

The ARM Subsystem integrates the ARM926EJ-S processor. The ARM926EJ-S processor is a member of ARM9 family of general-purpose microprocessors. This processor is targeted at multi-tasking applications where full memory management, high performance, low die size, and low power are all important. The ARM926EJ-S processor supports the 32-bit ARM and 16 bit THUMB instruction sets, enabling the user to trade off between high performance and high code density. Specifically, the ARM926EJ-S processor supports the ARMv5TEJ instruction set, which includes features for efficient execution of Java byte codes, providing Java performance similar to Just in Time (JIT) Java interpreter, but without associated code overhead. The ARM926EJ-S processor supports the ARM debug architecture and includes logic to assist in both hardware and software debug. The ARM926EJ-S processor has a Harvard architecture and provides a complete high performance subsystem, including:

  • ARM926EJ -S integer core
  • CP15 system control coprocessor
  • Memory Management Unit (MMU)
  • Separate instruction and data caches
  • Write buffer
  • Separate instruction and data (internal RAM) interfaces
  • Separate instruction and data AHB bus interfaces
  • Embedded Trace Module and Embedded Trace Buffer (ETM/ETB) For more complete details on the ARM9, refer to the ARM926EJ-S Technical Reference Manual, available at http://www.arm.com

3.3.2 CP15

The ARM926EJ-S system control coprocessor (CP15) is used to configure and control instruction and data caches, Memory Management Unit (MMU), and other ARM subsystem functions. The CP15 registers are programmed using the MRC and MCR ARM instructions, when the ARM in a privileged mode such as supervisor or system mode.

8 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.3.3 MMU

A single set of two level page tables stored in main memory is used to control the address translation, permission checks and memory region attributes for both data and instruction accesses. The MMU uses a single unified Translation Lookaside Buffer (TLB) to cache the information held in the page tables. The MMU features are:

  • Standard ARM architecture v4 and v5 MMU mapping sizes, domains and access protection scheme.
  • Mapping sizes are: – 1MB (sections) – 64KB (large pages) – 4KB (small pages) – 1KB (tiny pages)
  • Access permissions for large pages and small pages can be specified separately for each quarter of the page (subpage permissions)
  • Hardware page table walks
  • Invalidate entire TLB, using CP15 register 8
  • Invalidate TLB entry, selected by MVA, using CP15 register 8
  • Lockdown of TLB entries, using CP15 register 10

3.3.4 Caches and Write Buffer

The size of the Instruction cache is 16KB, Data cache is 16KB. Additionally, the caches have the following features:

  • Virtual index, virtual tag, and addressed using the Modified Virtual Address (MVA)
  • Four-way set associative, with a cache line length of eight words per line (32-bytes per line) and with two dirty bits in the Dcache
  • Dcache supports write-through and write-back (or copy back) cache operation, selected by memory region using the C and B bits in the MMU translation tables
  • Critical-word first cache refilling
  • Cache lockdown registers enable control over which cache ways are used for allocation on a line fill, providing a mechanism for both lockdown, and controlling cache corruption
  • Dcache stores the Physical Address TAG (PA TAG) corresponding to each Dcache entry in the TAG RAM for use during the cache line write-backs, in addition to the Virtual Address TAG stored in the TAG RAM. This means that the MMU is not involved in Dcache write-back operations, removing the possibility of TLB misses related to the write-back address.
  • Cache maintenance operations provide efficient invalidation of, the entire Dcache or Icache, regions of the Dcache or Icache, and regions of virtual memory. The write buffer is used for all writes to a noncachable bufferable region, write-through region and write misses to a write-back region. A separate buffer is incorporated in the Dcache for holding write-back for cache line evictions or cleaning of dirty cache lines. The main write buffer has 16-word data buffer and a four-address buffer. The Dcache write-back has eight data word entries and a single address entry.

3.3.5 Advanced High-Performance Bus (AHB)

The ARM Subsystem uses the AHB port of the ARM926EJ-S to connect the ARM to the Config bus and the external memories. Arbiters are employed to arbitrate access to the separate D-AHB and I-AHB by the Config Bus and the external memories bus.

3.3.6 Embedded Trace Macrocell (ETM) and Embedded Trace Buffer (ETB)

To support real-time trace, the ARM926EJ-S processor provides an interface to enable connection of an Embedded Trace Macrocell (ETM). The ARM926EJ-S Subsystem in the device also includes the Embedded Trace Buffer (ETB). The ETM consists of two parts: Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 9 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

  • Trace Port provides real-time trace capability for the ARM9.
  • Triggering facilities provide trigger resources, which include address and data comparators, counter, and sequencers. The device trace port is not pinned out and is instead only connected to the Embedded Trace Buffer. The ETB has a 4KB buffer memory. ETB enabled debug tools are required to read/interpret the captured trace data. This device uses ETM9™ version r2p2 and ETB version r0p1. Documentation on the ETM and ETB is available from ARM Ltd. Reference the ' CoreSight™ ETM9™ Technical Reference Manual, revision r0p1' and the 'ETM9 Technical Reference Manual, revision r2p2'.

3.3.7 ARM Memory Mapping

By default the ARM has access to most on and off chip memory areas, EMIFA, EMIFB, and the additional 128K byte on chip SRAM. Likewise almost all of the on chip peripherals are accessible to the ARM by default. To improve security and/or robustness, the device has extensive memory and peripheral protection units which can be configured to limit access rights to the various on/off chip resources to specific hosts; including the ARM as well as other master peripherals. This allows the system tasks to be partitioned between the ARM and DSP as best suites the particular application; while enhancing the overall robustness of the solution. See Table 3-2 for a detailed top level device memory map that includes the ARM memory space.

10 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.4 Memory Map Summary

Table 3-2. AM1705 Top Level Memory Map Start Address End Address Size ARM Mem Map EDMA Mem PRUSS Mem Master Peripheral Map Map Mem Map 0x0000 0000 0x0000 0FFF 4K - PRUSS Local Address Space 0x0000 1000 0x01BB FFFF - 0x01BC 0000 0x01BC 0FFF 4K ARM ETB memory - 0x01BC 1000 0x01BC 17FF 2K ARM ETB reg - 0x01BC 1800 0x01BC 18FF 256 ARM Ice Crusher - 0x01BC 1900 0x01BF FFFF - 0x01C0 0000 0x01C0 7FFF 32K EDMA3 Channel Controller 0x01C0 8000 0x01C0 83FF 1024 EDMA3 Transfer Controller 0 0x01C0 8400 0x01C0 87FF 1024 EDMA3 Transfer Controller 1 0x01C0 8800 0x01C0 FFFF - 0x01C1 0000 0x01C1 0FFF 4K PSC 0 0x01C1 1000 0x01C1 1FFF 4K PLL Controller 0x01C1 2000 0x01C1 3FFF - 0x01C1 4000 0x01C1 4FFF 4K SYSCFG 0x01C1 5000 0x01C1 FFFF - 0x01C2 0000 0x01C2 0FFF 4K Timer64P 0 0x01C2 1000 0x01C2 1FFF 4K Timer64P 1 0x01C2 2000 0x01C2 2FFF 4K I2C 0 0x01C2 3000 0x01C2 3FFF 0x01C2 4000 0x01C3 FFFF 0x01C4 0000 0x01C4 0FFF 4K MMC/SD 0 0x01C4 1000 0x01C4 1FFF 4K SPI 0 0x01C4 2000 0x01C4 2FFF 4K UART 0 0x01C4 3000 0x01CF FFFF - 0x01D0 0000 0x01D0 0FFF 4K McASP 0 Control 0x01D0 1000 0x01D0 1FFF 4K McASP 0 AFIFO Control 0x01D0 2000 0x01D0 2FFF 4K McASP 0 Data 0x01D0 3000 0x01D0 3FFF - 0x01D0 4000 0x01D0 4FFF 4K McASP 1 Control 0x01D0 5000 0x01D0 5FFF 4K McASP 1 AFIFO Control 0x01D0 6000 0x01D0 6FFF 4K McASP 1 Data 0x01D0 7000 0x01D0 BFFF - 0x01D0 C000 0x01D0 CFFF 4K UART 1 0x01D0 D000 0x01D0 DFFF 4K UART 2 0x01D0 E000 0x01DF FFFF 0x01E0 0000 0x01E0 FFFF 64K USB0 0x01E1 0000 0x01E1 1FFF - 0x01E1 2000 0x01E1 2FFF 4K SPI 1 0x01E1 3000 0x01E1 3FFF - 0x01E1 4000 0x01E1 4FFF 4K Memory Protection Unit 1 (MPU 1) 0x01E1 5000 0x01E1 5FFF 4K Memory Protection Unit 2 (MPU 2) 0x01E1 6000 0x01E1 FFFF - 0x01E2 0000 0x01E2 1FFF 8K EMAC Control Module RAM 0x01E2 2000 0x01E2 2FFF 4K EMAC Control Module Registers Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 11 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 3-2. AM1705 Top Level Memory Map (continued) Start Address End Address Size ARM Mem Map EDMA Mem PRUSS Mem Master Peripheral Map Map Mem Map 0x01E2 3000 0x01E2 3FFF 4K EMAC Control Registers 0x01E2 4000 0x01E2 4FFF 4K EMAC MDIO port 0x01E2 5000 0x01E2 5FFF - 0x01E2 6000 0x01E2 6FFF 4K GPIO 0x01E2 7000 0x01E2 7FFF 4K PSC 1 0x01E2 8000 0x01E2 8FFF 4K I2C 1 0x01E2 9000 0x01EF FFFF - 0x01F0 0000 0x01F0 0FFF 4K eHRPWM 0 0x01F0 1000 0x01F0 1FFF 4K HRPWM 0 0x01F0 2000 0x01F0 2FFF 4K eHRPWM 1 0x01F0 3000 0x01F0 3FFF 4K HRPWM 1 0x01F0 4000 0x01F0 4FFF 4K eHRPWM 2 0x01F0 5000 0x01F0 5FFF 4K HRPWM 2 0x01F0 6000 0x01F0 6FFF 4K ECAP 0 0x01F0 7000 0x01F0 7FFF 4K ECAP 1 0x01F0 8000 0x01F0 8FFF 4K ECAP 2 0x01F0 9000 0x01F0 9FFF 4K EQEP 0 0x01F0 A000 0x01F0 AFFF 4K EQEP 1 0x01F0 B000 0x5FFF FFFF - 0x6000 0000 0x61FF FFFF 32M EMIFA async data (CS2) 0x6200 0000 0x63FF FFFF 32M EMIFA async data (CS3) 0x6400 0000 0x65FF FFFF 32M EMIFA async data (CS4) 0x6600 0000 0x67FF FFFF 32M EMIFA async data (CS5) 0x6800 0000 0x6800 7FFF 32K EMIFA Control Registers 0x6800 8000 0x7FFF FFFF - 0x8000 0000 0x8001 FFFF 128K On-chip RAM 0x8002 0000 0xAFFF FFFF - 0xB000 0000 0xB000 7FFF 32K EMIFB Control Registers 0xB000 8000 0xBFFF FFFF - 0xC000 0000 0xC7FF FFFF 128M EMIFB SDRAM Data 0xC800 0000 0xFFFC FFFF 0xFFFD 0000 0xFFFD FFFF 64K ARM local ROM - 0xFFFE 0000 0xFFFE DFFF - 0xFFFE E000 0xFFFE FFFF 8K ARM Interrupt Controller - 0xFFFF 0000 0xFFFF 1FFF 8K ARM local RAM - ARM local - RAM (PRU 0 Only) 0xFFFF 2000 0xFFFF FFFF -

12 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

134USB0_VDDA12 135USB0_VDDA18 136NC 137USB0_DP 138USB0_DM 139NC 140USB0_VDDA33 141PLL0_VDDA 142 143OSCIN 144 145OSCOUT 146RESET 147 148RSV4 149RSV3 150 RTCK/GP7[14] 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 PLL0_VSSA OSCVSS CVDD TRST TMS TDI TCK TDO RVDD AFSX1/EPWMSYNCI/EPWMSYNC0/GP4[10] DVDD AFSR1/GP4[13] AXR1[8]/EPWM1A/GP4[8] AXR1[7]/EPWM1B/GP4[7] AXR1[6]/EPWM2A/GP4[6] AXR1[5]/EPWM2B/GP4[5] AXR1[0]/GP4[0] UART0_RXD/I2C0_SDA/TM64P0_IN12/GP5[8]/BOOT[8] UART0_TXD/I2C0_SCL/TM64P0_OUT12/GP5[9]/BOOT[9] AXR1[10]/GP5[10] DV DD AXR1[11]/GP5[11] SPI1_ENA/UART2_RXD/GP5[12] SPI1_SCS[0]/UART2_TXD/GP5[13] SPI0_SCS[0] UART0_RTS / /EQEP0B/GP5[4]/BOOT[4] 10 11 SPI0_CLK/EQEP1I/GP5[2]/BOOT[2] 12 13 SPI1_SOMI[0]/I2C1_SCL/GP5[5]/BOOT[5] SPI1_SIMO[0]/I2C1_SDA/GP5[6]/BOOT[6] 15 16 SPI1_CLK/EQEP1S/GP5[7]/BOOT[7] SPI0_SOMI[0]/EQEP0I/GP5[0]/BOOT[0] 18 19 EMA_WAIT[0]/GP2[10] 20 21 22 23 24 25 EMA_BA[0]/GP1[14] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 CV DD SPI0_ENA UART0_CTS / /EQEP0A/GP5[3]/BOOT[3] DV DD SPI0_SIMO[0]/EQEP0S/GP5[1]/BOOT[1] CV DD EMA_CS[3]/GP2[6] EMA_OE/AXR0[13]/GP2[7] EMA_CS[2]/GP2[5]/BOOT[15] DV DD EMA_BA[1]/GP1[13]EMA_A[10]/GP1[10] CV DD EMA_A[0]/GP1[0] EMA_A[1]/MMCSD_CLK/GP1[1]EMA_A[2]/MMCSD_CMD/GP1[2] EMA_A[3]/GP1[3] DV DD EMA_A[4]/GP1[4]EMA_A[5]/GP1[5]EMA_A[6]/GP1[6]EMA_A[7]/GP1[7] CV DD EMA_A[8]/GP1[8]EMA_A[9]/GP1[9] EMA_A[11]/GP1[11]EMA_A[12]/GP1[12] DV DD EMA_D[0]/MMCSD_DAT[0]/GP0[0]/BOOT[12] 151DVDD CVDD DVDD AHCLKX1/EPWM0B/GP3[14] CVDD ACLKX1/EPWM0A/GP3[15] ACLKR1/ECAP2/APWM2/GP4[12] CVDD DVDD AXR1[4]/EQEP1B/GP4[4] AXR1[3]/EQEP1A/GP4[3] AXR1[2]/GP4[2] AXR1[1]/GP4[1] 42 43 44

88 EMB_SDCKE

87 DVDD

86 EMB_CLK

85 EMB_WE_DQM[1]/GP5[14]

84 EMB_D[8]/GP6[8]

83 EMB_D[9]/GP6[9]

82 EMB_D[10]/GP6[10]

81 DVDD

80 EMB_D[11]/GP6[11]

79 EMB_D[12]/GP6[12]

78 EMB_D[13]/GP6[13]

77 CVDD

76 EMB_D[14]/GP6[14]

74 EMB_D[15]/GP6[15]

73 EMB_D[0]/GP6[0]

72 EMB_D[1]/GP6[1]

71 DVDD

70 EMB_D[2]/GP6[2]

69 CVDD

68 EMB_D[3]/GP6[3]

67 RVDD

66 EMB_D[4]/GP6[4]

65 DVDD

64 EMB_D[5]/GP6[5]

63 EMB_D[6]/GP6[6]

62 EMB_D[7]/GP6[7]

61 CVDD

60 EMB_WE_DQM[0]/GP5[15]

59 EMB_WE

58 DVDD

57 EMB_CAS

56 CVDD

55 EMA_WE/AXR0[12]/GP2[3]/BOOT[14]

54 EMA_D[7]/MMCSD_DAT[7]/GP0[7]/BOOT[13]

53 DVDD

52 EMA_D[6]/MMCSD_DAT[6]/GP0[6]

51 EMA_D[5]/MMCSD_DAT[5]/GP0[5]

50 CVDD

49 EMA_D[4]/MMCSD_DAT[4]/GP0[4]

48 EMA_D[3]/MMCSD_DAT[3]/GP0[3]

47 DVDD

46 EMA_D[2]/MMCSD_DAT[2]/GP0[2]

45 EMA_D[1]/MMCSD_DAT[1]/GP0[1]

AMUTE1/EPWMTZ/GP4[14] 131 AFSR0/GP3[12] 130 ACLKR0/ECAP1/APWM1/GP2[15] 129 AHCLKR0/RMII_MHZ_50_CLK/GP2[14]/BOOT[11] 128 DV DD 127 AFSX0/GP2[13]/BOOT[10] 126 ACLKX0/ECAP0/APWM0/GP2[12] 125 AHCLKX0/USB_REFCLKIN/GP2[11] 124 AXR0[11]/GP3[11] 123 UART1_TXD/AXR0[10]/GP3[10] 122 UART1_RXD/AXR0[9]/GP3[9] 121 AXR0[8]/MDIO_D/GP3[8] 120 AXR0[7]/MDIO_CLK/GP3[7] 119118 AXR0[6]/RMII_RXER/GP3[6] 117 AXR0[5]/RMII_RXD[1]/GP3[5] 116 AXR0[4]/RMII_RXD[0]/GP3[4] 115 AXR0[3]/RMII_CRS_DV/GP3[3] 114113 AXR0[2]/RMII_TXEN/GP3[2] 112 AXR0[1]/RMII_TXD[1]/GP3[1] 111 AXR0[0]/RMII_TXD[0]/GP3[0] 110 EMB_RAS 109 DV DD 108 EMB_CS[0] 107 EMB_BA[0]/GP7[1] 106 EMB_BA[1]/GP7[0] 105 EMB_A[10]/GP7[12] 104103 EMB_A[0]/GP7[2] 102 EMB_A[1]/GP7[3] 101 EMB_A[2]/GP7[4] 100 EMB_A[3]/GP7[5] 99 98 EMB_A[4]/GP7[6] EMB_A[5]/GP7[7] EMB_A[6]/GP7[8] EMB_A[7]/GP7[9] EMB_A[8]/GP7[10] 93 92 EMB_A[9]/GP7[11] EMB_A[11]/GP7[13] 90 89 EMB_A[12]/GP3[13]DV DD DV DD CV DD DV DD CV DD CV DD V (177) SS Thermal Pad AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.5 Pin Assignments

Extensive use of pin multiplexing is used to accommodate the largest number of peripheral functions in the smallest possible package. Pin multiplexing is controlled using a combination of hardware configuration at device reset and software programmable register settings.

3.5.1 Pin Map (Bottom View)

Figure 3-1. Pin Map (PTP) Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 13 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6 Terminal Functions

Table 3-3 to Table 3-20 identify the external signal names, the associated pin/ball numbers along with the mechanical package designator, the pin type (I, O, IO, OZ, or PWR), whether the pin/ball has any internal pullup/pulldown resistors, whether the pin/ball is configurable as an IO in GPIO mode, and a functional pin description.

3.6.1 Device Reset and JTAG

Table 3-3. Reset and JTAG Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) DESCRIPTION PTP RESET RESET 146 I Device reset input JTAG TMS 152 I IPU JTAG test mode select TDI 153 I IPU JTAG test data input TDO 156 O IPD JTAG test data output TCK 155 I IPU JTAG test clock TRST 150 I IPD JTAG test reset RTCK / GP7[14] 157 I/O IPD JTAG Test Clock Return Clock Output (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

3.6.2 High-Frequency Oscillator and PLL

Table 3-4. High-Frequency Oscillator and PLL Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) DESCRIPTION PTP 1.2-V OSCILLATOR OSCIN 143 I Oscillator input OSCOUT 145 O Oscillator output OSCVSS 144 GND Oscillator ground 1.2-V PLL PLL0_VDDA 141 PWR PLL analog VDD (1.2-V filtered supply) PLL0_VSSA 142 GND PLL analog VSS (for filter) (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

14 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.3 External Memory Interface A (ASYNC)

Table 3-5. External Memory Interface A (EMIFA) Terminal Functions PIN NOSIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP MMC/SD, GPIO,EMA_D[7]/MMCSD_DAT[7]/GP0[7]/BOOT[13] 54 I/O IPU BOOT EMA_D[6]/MMCSD_DAT[6]/GP0[6] 52 I/O IPU EMA_D[5]/MMCSD_DAT[5]/GP0[5] 51 I/O IPU EMA_D[4]/MMCSD_DAT[4]/GP0[4] 49 I/O IPU MMC/SD, GPIO EMIFA data bus EMA_D[3]/MMCSD_DAT[3]/GP0[3] 48 I/O IPU EMA_D[2]/MMCSD_DAT[2]/GP0[2] 46 I/O IPU EMA_D[1]/MMCSD_DAT[1]/GP0[1] 45 I/O IPU MMC/SD, GPIO,EMA_D[0]/MMCSD_DAT[0]/GP0[0]/BOOT[12] 44 I/O IPU BOOT EMA_A[12]/GP1[12] 42 O IPU EMA_A[11]/ GP1[11] 41 O IPU EMA_A[10]/GP1[10] 27 O IPU EMA_A[9]/GP1[9] 40 O IPU EMA_A[8]/GP1[8] 39 O IPU GPIO EMIFA address bus EMA_A[7]/GP1[7] 37 O IPD EMA_A[6]/GP1[6] 36 O IPD EMA_A[5]/GP1[5] 35 O IPD EMA_A[4]/GP1[4] 34 O IPD EMA_A[3]/GP1[3] 32 O IPD EMA_A[2]/MMCSD_CMD/GP1[2] 31 O IPU MMCSD, GPIO EMA_A[1]/MMCSD_CLK/GP1[1] 30 O IPU EMIFA address bus EMA_A[0]/GP1[0] 29 O IPD GPIO EMA_BA[1]/GP1[13] 26 O IPU EMIFA bank address EMA_BA[0]/GP1[14] 25 O IPU GPIO EMA_CS[3] /GP2[6] 21 O IPU GPIO EMIFA Async Chip SelectEMA_CS[2]/GP2[5]/BOOT[15] 23 O IPU GPIO, BOOT EMA_OE /AXR0[13]/GP2[7] 22 O IPU McASP0, GPIO EMIFA output enable EMIFA waitEMA_WAIT[0]/ GP2[10] 19 I IPU GPIO input/interrupt (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 15 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.4 External Memory Interface B (SDRAM only)

Table 3-6. External Memory Interface B (EMIFB) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP EMB_D[15]/GP6[15] 74 I/O IPD EMB_D[14]/GP6[14] 76 I/O IPD EMB_D[13]/GP6[13] 78 I/O IPD EMB_D[12]/GP6[12] 79 I/O IPD EMB_D[11]/GP6[11] 80 I/O IPD EMB_D[10]/GP6[10] 82 I/O IPD EMB_D[9]/GP6[9] 83 I/O IPD EMB_D[8]/GP6[8] 84 I/O IPD GPIO EMIFB SDRAM data bus EMB_D[7]/GP6[7] 62 I/O IPD EMB_D[6]/GP6[6] 63 I/O IPD EMB_D[5]/GP6[5] 64 I/O IPD EMB_D[4]/GP6[4] 66 I/O IPD EMB_D[3]/GP6[3] 68 I/O IPD EMB_D[2]/GP6[2] 70 I/O IPD EMB_D[1]/GP6[1] 72 I/O IPD EMB_D[0]/GP6[0] 73 I/O IPD EMB_A[12]/GP3[13] 89 O IPD EMB_A[11]/GP7[13] 91 O IPD EMB_A[10]/GP7[12] 105 O IPD EMB_A[9]/GP7[11] 92 O IPD EMIFB SDRAM row/columnGPIO address busEMB_A[8]/GP7[10] 94 O IPD EMB_A[7]/GP7[9] 95 O IPD EMB_A[6]/GP7[8] 96 O IPD EMB_A[5]/GP7[7] 97 O IPD EMB_A[4]/GP7[6] 98 O IPD EMB_A[3]/GP7[5] 100 O IPD EMIFB SDRAM row/columnEMB_A[2]/GP7[4] 101 O IPD address EMB_A[1]/GP7[3] 102 O IPD GPIO EMB_A[0]/GP7[2] 103 O IPD EMB_BA[1]/GP7[0] 106 O IPU EMIFB SDRAM bank address EMB_BA[0]/GP7[1] 107 O IPU EMB_CLK 86 O IPU EMIF SDRAM clock EMB_SDCKE 88 O IPU EMIFB SDRAM clock enable EMB_WE 59 O IPU EMIFB write enable EMIFB SDRAM row addressEMB_RAS 110 O IPU strobe EMB_CAS 57 O IPU EMIFB column address strobe EMB_CS[0] 108 O IPU EMIFB SDRAM chip select 0 EMB_WE_DQM[1] /GP5[14] 85 O IPU EMIFB write enable/data maskGPIO for EMB_DEMB_WE_DQM[0] /GP5[15] 60 O IPU (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

16 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.5 Serial Peripheral Interface Modules (SPI0, SPI1)

Table 3-7. Serial Peripheral Interface (SPI) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP SPI0 UART0, EQEP0B,SPI0_SCS[0] /UART0_RTS/EQEP0B/GP5[4]/BOOT[4] 9 I/O IPU SPI0 chip selectGPIO, BOOT UART0, EQEP0A,SPI0_ENA /UART0_CTS/EQEP0A/GP5[3]/BOOT[3] 12 I/O IPU SPI0 enableGPIO, BOOT SPI0_CLK/EQEP1I/GP5[2]/BOOT[2] 11 I/O IPD eQEP1, GPIO, BOOT SPI0 clock SPI0 data slave-in-SPI0_SIMO[0]/EQEP0S/GP5[1]/BOOT[1] 18 I/O IPD master-out eQEP0, GPIO, BOOT SPI0 data slave-SPI0_SOMI[0]/EQEP0I/GP5[0]/BOOT[0] 17 I/O IPD out-master-in SPI1 SPI1_SCS[0] /UART2_TXD/GP5[13] 8 I/O IPU SPI1 chip select UART2, GPIO SPI1_ENA /UART2_RXD/GP5[12] 7 I/O IPU SPI1 enable SPI1_CLK/EQEP1S/GP5[7]/BOOT[7] 16 I/O IPD eQEP1, GPIO, BOOT SPI1 clock SPI1 data slave-in-SPI1_SIMO[0]/I2C1_SDA/GP5[6]/BOOT[6] 14 I/O IPU master-out I2C1, GPIO, BOOT SPI1 data slave-SPI1_SOMI[0]/I2C1_SCL/GP5[5]/BOOT[5] 13 I/O IPU out-master-in (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 17 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.6 Enhanced Capture/Auxiliary PWM Modules (eCAP0, eCAP1, eCAP2)

The eCAP Module pins function as either input captures or auxiliary PWM 32-bit outputs, depending upon how the eCAP module is programmed. Table 3-8. Enhanced Capture Module (eCAP) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP eCAP0 enhanced capture 0 ACLKX0/ECAP0/APWM0/GP2[12] 126 I/O IPD McASP0, GPIO input or auxiliary PWM 0 output eCAP1 enhanced capture 1 ACLKR0/ECAP1/APWM1/GP2[15] 130 I/O IPD McASP0, GPIO input or auxiliary PWM 1 output eCAP2 enhanced capture 2 ACLKR1/ECAP2/APWM2/GP4[12] 165 I/O IPD McASP1, GPIO input or auxiliary PWM 2 output (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

18 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.7 Enhanced Pulse Width Modulators (eHRPWM0, eHRPWM1, eHRPWM2)

Table 3-9. Enhanced Pulse Width Modulator (eHRPWM) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP eHRPWM0 eHRPWM0 A output ACLKX1/EPWM0A/GP3[15] 162 I/O IPD (with high- McASP1, GPIO resolution) AHCLKX1/EPWM0B/GP3[14] 160 I/O IPD eHRPWM0 B output McASP1, eHRPWM0 trip zoneAMUTE1/EPWMTZ/GP4[14] 132 I/O IPD eHRPWM1, GPIO, inputeHRPWM2 Sync input to McASP1, eHRPWM0 moduleAFSX1/EPWMSYNCI/EPWMSYNCO/GP4[10] 163 I/O IPD eHRPWM0, GPIO or sync output to external PWM eHRPWM1 eHRPWM1 A (withAXR1[8]/EPWM1A/GP4[8] 168 I/O IPD high-resolution)McASP1, GPIO AXR1[7]/EPWM1B/GP4[7] 169 I/O IPD eHRPWM1 B output McASP1, eHRPWM1 trip zoneAMUTE1/EPWMTZ/GP4[14] 132 I/O IPD eHRPWM0, GPIO, inputeHRPWM2 eHRPWM2 eHRPWM2 A (withAXR1[6]/EPWM2A/GP4[6] 170 I/O IPD high-resolution)McASP1, GPIO AXR1[5]/EPWM2B/GP4[5] 171 I/O IPD eHRPWM2 B output McASP1, eHRPWM2 trip zoneAMUTE1/EPWMTZ/GP4[14] 132 I/O IPD eHRPWM0, GPIO, inputeHRPWM2 (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 19 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.8 Enhanced Quadrature Encoder Pulse Module (eQEP)

Table 3-10. Enhanced Quadrature Encoder Pulse Module (eQEP) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP eQEP0 eQEP0A quadratureSPI0_ENA/UART0_CTS/EQEP0A/GP5[3]/BOOT[3] 12 I IPU inputSPIO, UART0, GPIO, BOOT eQEP0B quadratureSPI0_SCS[0]/UART0_RTS/EQEP0B/GP5[4]/BOOT[4] 9 I IPU input SPI0_SOMI[0]/EQEP0I/GP5[0]/BOOT[0] 17 I IPD eQEP0 index SPI0, GPIO, BOOT SPI0_SIMO[0]/EQEP0S/GP5[1]/BOOT[1] 18 I IPD eQEP0 strobe eQEP1 eQEP1A quadratureAXR1[3]/EQEP1A/GP4[3] 174 I IPD input McASP1, GPIO eQEP1B quadratureAXR1[4]/EQEP1B/GP4[4] 173 I IPD input SPI0_CLK/EQEP1I/GP5[2]/BOOT[2] 11 I IPD SPI0, GPIO, BOOT eQEP1 index SPI1_CLK/EQEP1S/GP5[7]/BOOT[7] 16 I IPD SPI1, GPIO, BOOT eQEP1 strobe (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

20 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.9 Boot

Table 3-11. Boot Terminal Functions(1) PIN NO SIGNAL NAME TYPE(2) PULL(3) MUXED DESCRIPTION PTP EMA_CS[2]/GP2[5]/BOOT[15] 23 I IPU EMIFA, GPIO EMIFA, McASP0,EMA_WE/AXR0[12]/GP2[3]/BOOT[14] 55 I IPU GPIO EMA_D[7]/MMCSD_DAT[7]/GP0[7]/BOOT[13] 54 I IPU EMIFA, MMC/SD, GPIOEMA_D[0]/MMCSD_DAT[0]/GP0[0]/BOOT[12] 44 I IPU McASP0, EMAC,AHCLKR0/RMII_MHZ_50_CLK/GP2[14]/BOOT[11] 129 I IPD GPIO AFSX0/GP2[13]/BOOT[10] 127 I IPD McASP0, GPIO UART0, I2C0, Timer0,UART0_TXD/I2C0_SCL/TM64P0_OUT12/GP5[9]/BOOT[9] 3 I IPU GPIO UART0, I2C0, Timer0, Boot SelectionUART0_RXD/I2C0_SDA/TM64P0_IN12/GP5[8]/BOOT[8] 2 I IPU GPIO Signals SPI1_CLK/EQEP1S/GP5[7]/BOOT[7] 16 I IPD SPI1, eQEP1, GPIO SPI1_SIMO[0]/I2C1_SDA/GP5[6]/BOOT[6] 14 I IPU SPI1, I2C1, GPIO SPI1_SOMI[0]/I2C1_SCL/GP5[5]/BOOT[5] 13 I IPU SPI0, UART0,SPI0_SCS[0]/UART0_RTS/EQEP0B/GP5[4]/BOOT[4] 9 I IPU eQEP0, GPIO SPI0, UART0,SPI0_ENA/UART0_CTS/EQEP0A/GP5[3]/BOOT[3] 12 I IPU eQEP0, GPIO SPI0_CLK/EQEP1I/GP5[2]/BOOT[2] 11 I IPD SPIO, eQEP1, GPIO SPI0_SIMO[0]/EQEP0S/GP5[1]/BOOT[1] 18 I IPD SPI0, eQEP0, GPIO SPI0_SOMI[0]/EQEP0I/GP5[0]/BOOT[0] 17 I IPD (1) Boot decoding will be defined in the ROM datasheet. (2) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (3) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 21 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.10 Universal Asynchronous Receiver/Transmitters (UART0, UART1, UART2)

Table 3-12. Universal Asynchronous Receiver/Transmitter (UART) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP UART0 I2C0, BOOT, UART0 receiveUART0_RXD/I2C0_SDA/TM64P0_IN12/GP5[8]/BOOT[8] 2 I IPU Timer0, GPIO, data I2C0, Timer0, UART0 transmitUART0_TXD/I2C0_SCL/TM64P0_OUT12/GP5[9]/BOOT[9] 3 O IPU GPIO, BOOT data UART0 ready-to-SPI0_SCS[0]/ UART0_RTS /EQEP0B/GP5[4]/BOOT[4] 9 O IPU send outputSPIO, eQEP0, GPIO, BOOT UART0 clear-to-SPI0_ENA/ UART0_CTS /EQEP0A/GP5[3]/BOOT[3] 12 I IPU send input UART1 UART1 receiveUART1_RXD/AXR0[9]/GP39 122 I IPD data McASP0, GPIO UART1 transmitUART1_TXD/AXR0[10]/GP310 123 O IPD data UART2 UART2 receiveSPI1_ENA/UART2_RXD/GP5[12] 7 I IPU data SPI1, GPIO UART2 transmitSPI1_SCS[0]/UART2_TXD/GP5[13] 8 O IPU data (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor (3) As these signals are internally pulled down while the device is in reset, it is necessary to externally pull them high with resistors if UART1 boot mode is used.

3.6.11 Inter-Integrated Circuit Modules(I2C0, I2C1)

Table 3-13. Inter-Integrated Circuit (I2C) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP I2C0 UART0, Timer0,UART0_RXD/I2C0_SDA/TM64P0_IN12/GP5[8]/BOOT[8] 2 I/O IPU I2C0 serial dataGPIO, BOOT UART0, Timer0,UART0_TXD/I2C0_SCL/TM64P0_OUT12/GP5[9]/BOOT[9] 3 I/O IPU I2C0 serial clockGPIO, BOOT I2C1 SPI1_SIMO[0]/I2C1_SDA/GP5[6]/BOOT[6] 14 I/O IPU I2C1 serial dataSPI1, GPIO, BOOTSPI1_SOMI[0]/I2C1_SCL/GP5[5]/BOOT[5] 13 I/O IPU I2C1 serial clock (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

22 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.12 Timers

Table 3-14. Timers Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP TIMER0 UART0_RXD/I2C0_SDA/TM64P0_IN12/GP5[8]/BOOT[8] 2 I IPU Timer0 lower input UART0, I2C0, Timer0 lowerGPIO, BOOTUART0_TXD/I2C0_SCL/TM64P0_OUT12/GP5[9]/BOOT[9] 3 O IPU output TIMER1 (Watchdog ) No external pins. The Timer1 peripheral pins are not pinned out as external pins. (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 23 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.13 Multichannel Audio Serial Ports (McASP0, McASP1)

Table 3-15. Multichannel Audio Serial Ports (McASPs) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP McASP0 EMA_OE/AXR0[13]/GP2[7] 22 I/O IPU EMIFA, GPIO EMIFA, GPIO,EMA_WE/AXR0[12]/GP2[3]/BOOT[14] 55 I/O IPU BOOT McASP2,AXR0[11] / GP3[11] 124 I/O IPD GPIO UART1_TXD/AXR0[10]/GP3[10] 123 I/O IPD GPIO UART1_RXD/AXR0[9]/GP3[9] 122 I/O IPD GPIO AXR0[8]/MDIO_D/GP3[8] 121 I/O IPU McASP0 serialMDIO, GPIO AXR0[7]/MDIO_CLK/GP3[7] 120 I/O IPD data AXR0[6]/RMII_RXER/GP3[6] 118 I/O IPD AXR0[5]/RMII_RXD[1]/GP3[5] 117 I/O IPD AXR0[4]/RMII_RXD[0]/GP3[4] 116 I/O IPD AXR0[3]/RMII_CRS_DV/GP3[3] 115 I/O IPD EMAC, GPIO AXR0[2]/RMII_TXEN/GP3[2] 113 I/O IPD AXR0[1]/RMII_TXD[1]/GP3[1] 112 I/O IPD AXR0[0]/RMII_TXD[0]/GP3[0] 111 I/O IPD McASP0 AHCLKX0/USB_REFCLKIN/GP2[11] 125 I/O IPD USB, GPIO transmit master clock McASP0 ACLKX0/ECAP0/APWM0/GP2[12] 126 I/O IPD eCAP0, GPIO transmit bit clock McASP0 AFSX0/GP2[13]/BOOT[10] 127 I/O IPD GPIO, BOOT transmit frame sync EMAC, GPIO, McASP0 receiveAHCLKR0/RMII_MHZ_50_CLK/GP2[14]/BOOT[11] 129 I/O IPD BOOT master clock McASP0 receiveACLKR0/ECAP1/APWM1/GP2[15] 130 I/O IPD eCAP1, GPIO bit clock McASP0 receiveAFSR0/GP3[12] 131 I/O IPD GPIO frame sync (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

24 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 3-15. Multichannel Audio Serial Ports (McASPs) Terminal Functions (continued) PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP McASP1 AXR1[11]/GP5[11] 6 I/O IPU GPIO AXR1[10]/GP5[10] 4 I/O IPU eHRPWM1 A,AXR1[8]/EPWM1A/GP4[8] 168 I/O IPD GPIO eHRPWM1 B,AXR1[7]/EPWM1B/GP4[7] 169 I/O IPD GPIO eHRPWM2 A,AXR1[6]/EPWM2A/GP4[6] 170 I/O IPD McASP1 serialGPIO dataeHRPWM2 B,AXR1[5]/EPWM2B/GP4[5] 171 I/O IPD GPIO AXR1[4]/EQEP1B/GP4[4] 173 I/O IPD eQEP, GPIO AXR1[3]/EQEP1A/GP4[3] 174 I/O IPD AXR1[2]/GP4[2] 175 I/O IPD AXR1[1]/GP4[1] 176 I/O IPD GPIO AXR1[0]/GP4[0] 1 I/O IPD McASP1eHRPWM0,AHCLKX1/EPWM0B/GP3[14] 160 I/O IPD transmit masterGPIO clock McASP1eHRPWM0,ACLKX1/EPWM0A/GP3[15] 162 I/O IPD transmit bitGPIO clock McASP1eHRPWM0,AFSX1/EPWMSYNCI/EPWMSYNCO/GP4[10] 163 I/O IPD transmit frameGPIO sync McASP1 receiveACLKR1/ECAP2/APWM2/GP4[12] 165 I/O IPD eCAP2, GPIO bit clock McASP1 receiveAFSR1/GP4[13] 166 I/O IPD GPIO frame sync eHRPWM0, eHRPWM1, McASP1 muteAMUTE1/EPWMTZ/GP4[14] 132 O IPD eHRPWM2, output GPIO Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 25 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.14 Universal Serial Bus Modules (USB0)

Table 3-16. Universal Serial Bus (USB) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) DESCRIPTION PTP USB0 2.0 OTG (USB0) USB0_DM 138 A USB0 PHY data minus USB0_DP 137 A USB0 PHY data plus USB0_VDDA33 140 PWR USB0 PHY 3.3-V supply USB0_VDDA18 135 PWR USB0 PHY 1.8-V supply input USB0 PHY 1.2-V LDO output for bypass cap. For proper device operation, this pin is USB0_VDDA12(3) 134 PWR recommended to be connected via a 0.22 μF capacitor to VSS (GND), even if USB0 is not being used. AHCLKX0/USB_REFCLKIN/GP2[11] 125 I IPD USB_REFCLKIN. Optional clock input. (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor (3) Core power supply LDO output for USB PHY. This pin must be connected via a 0.22 uF capacitor to VSS.

3.6.15 Ethernet Media Access Controller (EMAC)

Table 3-17. Ethernet Media Access Controller (EMAC) Terminal Functions PIN NO SIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP RMII EMAC 50-MHz AHCLKR0/RMII_MHZ_50_CLK/GP2[14]/BOOT[11] 129 I/O IPD McASP0, GPIO, BOOT clock input or output EMAC RMIIAXR0[6]/RMII_RXER/GP3[6] 118 I IPD receiver error AXR0[5]/RMII_RXD[1]/GP3[5] 117 I IPD EMAC RMII receive dataAXR0[4]/RMII_RXD[0]/GP3[4] 116 I IPD EMAC RMII carrierAXR0[3]/RMII_CRS_DV/GP3[3] 115 I IPD McASP0, GPIO sense data valid EMAC RMIIAXR0[2]/RMII_TXEN/GP3[2] 113 O IPD transmit enable AXR0[1]/RMII_TXD[1]/GP3[1] 112 O IPD EMAC RMII trasmit dataAXR0[0]/RMII_TXD[0]/GP3[0] 111 O IPD MDIO AXR0[8]/MDIO_D/GP3[8] 121 I/O IPU McASP0, GPIO MDIO data clock AXR0[7]/MDIO_CLK/GP3[7] 120 O IPD (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

26 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

3.6.16 Multimedia Card/Secure Digital (MMC/SD)

Table 3-18. Multimedia Card/Secure Digital (MMC/SD) Terminal Functions PIN NOSIGNAL NAME TYPE(1) PULL(2) MUXED DESCRIPTION PTP EMA_A[1]/MMCSD_CLK/GP1[1] 30 O IPU MMCSD Clock EMIFA, GPIO EMA_A[2]/MMCSD_CMD/GP1[2] 31 I/O IPU MMCSD Command EMA_D[7]/MMCSD_DAT[7]/GP0[7]/BOOT[13] 54 I/O IPU EMIFA, GPIO, BOOT EMA_D[6]/MMCSD_DAT[6]/GP0[6] 52 I/O IPU EMA_D[5]/MMCSD_DAT[5]/GP0[5] 51 I/O IPU EMA_D[4]/MMCSD_DAT[4]/GP0[4] 49 I/O IPU EMIFA, GPIO MMC/SD data EMA_D[3]/MMCSD_DAT[3]/GP0[3] 48 I/O IPU EMA_D[2]/MMCSD_DAT[2]/GP0[2] 46 I/O IPU EMA_D[1]/MMCSD_DAT[1]/GP0[1] 45 I/O IPU EMA_D[0]/MMCSD_DAT[0]/GP0[0]/BOOT[12] 44 I/O IPU EMIFA, GPIO, BOOT (1) I = Input, O = Output, I/O = Bidirectional, Z = High impedance, PWR = Supply voltage, GND = Ground, A = Analog signal. Note: The pin type shown refers to the input, output or high-impedance state of the pin function when configured as the the signal name highlighted in bold. All multiplexed signals may enter a high-impedance state when the configured function is input-only or the configured function supports high-Z operation. All GPIO signals can be used as input or output. For multiplexed pins where functions have different types (i.e., input versus output), the table reflects the pin function direction for that particular peripheral. (2) IPD = Internal Pulldown resistor, IPU = Internal Pullup resistor

3.6.17 Reserved and No Connect

Table 3-19. Reserved and No Connect Terminal Functions PIN NO SIGNAL NAME TYPE(1) DESCRIPTION PTP Reserved. For proper device operation, this pin must be tied directly toRSV2 133 - CVDD. Reserved. For proper device operation, this pin must be tied directly toRSV3 149 PWR CVDD or left unconnected [do not connect to ground (VSS)]. Reserved. For proper device operation, this pin must be tied low or toRSV4 148 I CVDD. NC 136 - No Connect (leave unconnected) NC 139 - No Connect (leave unconnected) (1) PWR = Supply voltage. Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 27 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

3.6.18 Supply and Ground

Table 3-20. Supply and Ground Terminal Functions PIN NO SIGNAL NAME TYPE(1) DESCRIPTION PTP 10, 20, 28, 38, 50, 56, 61, 69, CVDD (Core supply) 77, 93, 104, PWR Core supply voltage pins 114, 147, 154, 161, 167 RVDD (Internal RAM supply) 67, 159 PWR Internal ram supply voltage pins 5, 15, 24, 33, 43, 47, 53, 58, 65, 71, 75, 81, DVDD (I/O supply) 87, 90, 99, PWR I/O supply voltage pins 109, 119, 128, 151, 158, 164, 172 VSS (Ground) 177 GND Ground pins (1) PWR = Supply voltage, GND - Ground.

28 Device Overview Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 3.6.19 Unused USB0 (USB2.0) Pin Configurations Table 3-21. Unused USB0 Pin Configurations SIGNAL NAME Configuration (When USB0 is not used) USB0_DM No connect USB0_DP No connect USB0_VDDA33 No connect USB0_VDDA18 No connect USB0_VDDA12 Internal USB0 PHY output connected to an external 0.22μF filter capacitor, even if USB0 is not used. AHCLKX0/USB_REFCLKIN/ No connect or use as alternate function GP2[11] Copyright © 2010–2014, Texas Instruments Incorporated Device Overview 29 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

4 Device Configuration

4.1 Boot Modes

This device supports a variety of boot modes through an internal ROM bootloader. This device does not support dedicated hardware boot modes; therefore, all boot modes utilize the internal ROM. The input states of the BOOT pins are sampled and latched into the BOOTCFG register, which is part of the system configuration (SYSCFG) module, when device reset is deasserted. Boot mode selection is determined by the values of the BOOT pins The following boot modes are supported:

  • NAND Flash boot – 8-bit NAND
  • NOR Flash boot – NOR Direct boot (8-bit) – NOR Legacy boot (8-bit) – NOR AIS boot (8-bit)
  • I2C0 / I2C1 Boot – EEPROM (Master Mode) – External Host (Slave Mode)
  • SPI0 / SPI1 Boot – Serial Flash (Master Mode) – SERIAL EEPROM (Master Mode) – External Host (Slave Mode)
  • UART0 / UART1 / UART2 Boot – External Host

30 Device Configuration Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

4.2 SYSCFG Module

The following system level features of the chip are controlled by the SYSCFG peripheral:

  • Readable Device, Die, and Chip Revision ID
  • Control of Pin Multiplexing
  • Priority of bus accesses different bus masters in the system
  • Capture at power on reset the chip BOOT[15:0] pin values and make them available to software
  • Special case settings for peripherals: – Locking of PLL controller settings – Default burst sizes for EDMA3 TC0 and TC1 – Selection of the source for the eCAP module input capture (including on chip sources) – McASP AMUTEIN selection and clearing of AMUTE status for the three McASP peripherals – Control of the reference clock source and other side-band signals for both of the integrated USB PHYs – Clock source selection for EMIFA and EMIFB
  • Selects the source of emulation suspend signal of peripherals supporting this function. Many registers are accessible only by a host (ARM) when it is operating in its privileged mode. (ex. from the kernel, but not from user space code). Table 4-1. System Configuration (SYSCFG) Module Register Access BYTE ADDRESS ACRONYM REGISTER DESCRIPTION ACCESS 0x01C1 4000 REVID Revision Identification Register — 0x01C14008 DIEIDR0 Device Identification Register 0 — 0x01C1 400C DIEIDR1 Device Identification Register 1 — 0x01C1 4010 DIEIDR2 Device Identification Register 2 — 0x01C1 4014 DIEIDR3 Device Identification Register 3 — 0x01C1 4018 DEVIDR0 JTAG Identification Register — 0x01C1 4020 BOOTCFG Boot Configuration Register Privileged mode 0x01C1 4024 CHIPREVID Silicon Revision Identification Register Privileged mode 0x01C1 4038 KICK0R Kick 0 Register Privileged mode 0x01C1 403C KICK1R Kick 1 Register Privileged mode 0x01C1 4040 HOST0CFG Host 0 Configuration Register — 0x01C1 4044 HOST1CFG Host 1 Configuration Register — 0x01C1 40E0 IRAWSTAT Interrupt Raw Status/Set Register Privileged mode 0x01C1 40E4 IENSTAT Interrupt Enable Status/Clear Register Privileged mode 0x01C1 40E8 IENSET Interrupt Enable Register Privileged mode 0x01C1 40EC IENCLR Interrupt Enable Clear Register Privileged mode 0x01C1 40F0 EOI End of Interrupt Register Privileged mode 0x01C1 40F4 FLTADDRR Fault Address Register Privileged mode 0x01C1 40F8 FLTSTAT Fault Status Register — 0x01C1 4110 MSTPRI0 Master Priority 0 Register Privileged mode 0x01C1 4114 MSTPRI1 Master Priority 1 Register Privileged mode 0x01C1 4118 MSTPRI2 Master Priority 2 Register Privileged mode 0x01C1 4120 PINMUX0 Pin Multiplexing Control 0 Register Privileged mode 0x01C1 4124 PINMUX1 Pin Multiplexing Control 1 Register Privileged mode 0x01C1 4128 PINMUX2 Pin Multiplexing Control 2 Register Privileged mode 0x01C1 412C PINMUX3 Pin Multiplexing Control 3 Register Privileged mode 0x01C1 4130 PINMUX4 Pin Multiplexing Control 4 Register Privileged mode 0x01C1 4134 PINMUX5 Pin Multiplexing Control 5 Register Privileged mode Copyright © 2010–2014, Texas Instruments Incorporated Device Configuration 31 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 4-1. System Configuration (SYSCFG) Module Register Access (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION ACCESS 0x01C1 4138 PINMUX6 Pin Multiplexing Control 6 Register Privileged mode 0x01C1 413C PINMUX7 Pin Multiplexing Control 7 Register Privileged mode 0x01C1 4140 PINMUX8 Pin Multiplexing Control 8 Register Privileged mode 0x01C1 4144 PINMUX9 Pin Multiplexing Control 9 Register Privileged mode 0x01C1 4148 PINMUX10 Pin Multiplexing Control 10 Register Privileged mode 0x01C1 414C PINMUX11 Pin Multiplexing Control 11 Register Privileged mode 0x01C1 4150 PINMUX12 Pin Multiplexing Control 12 Register Privileged mode 0x01C1 4154 PINMUX13 Pin Multiplexing Control 13 Register Privileged mode 0x01C1 4158 PINMUX14 Pin Multiplexing Control 14 Register Privileged mode 0x01C1 415C PINMUX15 Pin Multiplexing Control 15 Register Privileged mode 0x01C1 4160 PINMUX16 Pin Multiplexing Control 16 Register Privileged mode 0x01C1 4164 PINMUX17 Pin Multiplexing Control 17 Register Privileged mode 0x01C1 4168 PINMUX18 Pin Multiplexing Control 18 Register Privileged mode 0x01C1 416C PINMUX19 Pin Multiplexing Control 19 Register Privileged mode 0x01C1 4170 SUSPSRC Suspend Source Register Privileged mode 0x01C1 4174 - Reserved — 0x01C1 4178 - Reserved — 0x01C1 417C CFGCHIP0 Chip Configuration 0 Register Privileged mode 0x01C1 4180 CFGCHIP1 Chip Configuration 1 Register Privileged mode 0x01C1 4184 CFGCHIP2 Chip Configuration 2 Register Privileged mode 0x01C1 4188 CFGCHIP3 Chip Configuration 3 Register Privileged mode 0x01C1 418C CFGCHIP4 Chip Configuration 4 Register Privileged mode

32 Device Configuration Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

4.3 Pullup/Pulldown Resistors

Proper board design should ensure that input pins to the device always be at a valid logic level and not floating. This may be achieved via pullup/pulldown resistors. The device features internal pullup (IPU) and internal pulldown (IPD) resistors on most pins to eliminate the need, unless otherwise noted, for external pullup/pulldown resistors. An external pullup/pulldown resistor needs to be used in the following situations:

  • Boot and Configuration Pins: If the pin is both routed out and 3-stated (not driven), an external pullup/pulldown resistor is strongly recommended, even if the IPU/IPD matches the desired value/state.
  • Other Input Pins: If the IPU/IPD does not match the desired value/state, use an external pullup/pulldown resistor to pull the signal to the opposite rail. For the boot and configuration pins, if they are both routed out and 3-stated (not driven), it is strongly recommended that an external pullup/pulldown resistor be implemented. Although, internal pullup/pulldown resistors exist on these pins and they may match the desired configuration value, providing external connectivity can help ensure that valid logic levels are latched on these device boot and configuration pins. In addition, applying external pullup/pulldown resistors on the boot and configuration pins adds convenience to the user in debugging and flexibility in switching operating modes. Tips for choosing an external pullup/pulldown resistor:
  • Consider the total amount of current that may pass through the pullup or pulldown resistor. Make sure to include the leakage currents of all the devices connected to the net, as well as any internal pullup or pulldown resistors.
  • Decide a target value for the net. For a pulldown resistor, this should be below the lowest VIL level of all inputs connected to the net. For a pullup resistor, this should be above the highest VIH level of all inputs on the net. A reasonable choice would be to target the VOL or VOH levels for the logic family of the limiting device; which, by definition, have margin to the VIL and VIH levels.
  • Select a pullup/pulldown resistor with the largest possible value; but, which can still ensure that the net will reach the target pulled value when maximum current from all devices on the net is flowing through the resistor. The current to be considered includes leakage current plus, any other internal and external pullup/pulldown resistors on the net.
  • For bidirectional nets, there is an additional consideration which sets a lower limit on the resistance value of the external resistor. Verify that the resistance is small enough that the weakest output buffer can drive the net to the opposite logic level (including margin).
  • Remember to include tolerances when selecting the resistor value.
  • For pullup resistors, also remember to include tolerances on the IO supply rail.
  • For most systems, a 1-kΩ resistor can be used to oppose the IPU/IPD while meeting the above criteria. Users should confirm this resistor value is correct for their specific application.
  • For most systems, a 20-kΩ resistor can be used to compliment the IPU/IPD on the boot and configuration pins while meeting the above criteria. Users should confirm this resistor value is correct for their specific application.
  • For more detailed information on input current (II), and the low-/high-level input voltages (VIL and VIH) for the device, see Section 5.3, Recommended Operating Conditions.
  • For the internal pullup/pulldown resistors for all device pins, see the peripheral/system-specific terminal functions table. Copyright © 2010–2014, Texas Instruments Incorporated Device Configuration 33 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

5 Device Operating Conditions

5.1 Absolute Maximum Ratings Over Operating Junction Temperature Range

(Unless Otherwise Noted) (1) Core -0.5 V to 1.4 V (CVDD, RVDD, PLL0_VDDA ) (2) I/O, 1.8V -0.5 V to 2 VSupply voltage ranges (USB0_VDDA18) (2) I/O, 3.3V -0.5 V to 3.8V (DVDD, USB0_VDDA33) (2) VI I/O, 1.2V -0.3 V to CVDD + 0.3V (OSCIN) VI I/O, 3.3V -0.3V to DVDD + 0.35V Input voltage ranges (Steady State) VI I/O, 3.3V DVDD + 20% (Transient) up to 20% of Signal Period VI I/O, USB 5V Tolerant Pins: 5.25V(3) (USB0_DM, USB0_DP) VO I/O, 3.3V -0.5 V to DVDD + 0.3V (Steady State) Output voltage ranges VO I/O, 3.3V 20% of DVDD for up to (Transient Overshoot/Undershoot) 20% of the signal period Input or Output Voltages 0.3V above or below their respective power ±20mA Clamp Current rails. Limit clamp current that flows through the I/O's internal diode protection cells. Commercial (default) 0°C to 90°C Operating Junction Temperature ranges, Industrial (D version) -40°C to 90°CTJ Extended (A version) -40°C to 105°C (1) Stresses beyond those listed under "absolute maximum ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under "recommended operating conditions" is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. (2) All voltage values are with respect to VSS, PLL0_VSSA, OSCVSS (3) Up to a max of 24 hours.

5.2 Handling Ratings

Storage temperature (default) -55 to 150 °Crange, Tstg Human Body Model (HBM)(2) >2000 VESD Stress Voltage, VESD (1) Charged Device Model (CDM)(3) >500 V (1) Electrostatic discharge (ESD) to measure device sensitivity/immunity to damage caused by electrostatic discharges into the device. (2) Level listed above is the passing level per ANSI/ESDA/JEDEC JS-001-2010. JEDEC document JEP155 states that 500V HBM allows safe manufacturing with a standard ESD control process, and manufacturing with less than 500V HBM is possible if necessary precautions are taken. Pins listed as 1000V may actually have higher performance. (3) Level listed above is the passing level per EIA-JEDEC JESD22-C101E. JEDEC document JEP157 states that 250V CDM allows safe manufacturing with a standard ESD control process. Pins listed as 250V may actually have higher performance.

34 Device Operating Conditions Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

5.3 Recommended Operating Conditions

375 MHz version 1.14 1.2 1.32 V RVDD Supply Voltage, Internal RAM 456 MHz version 1.25 1.3 1.35 V Supply voltage, I/O, 1.8V 1.71 1.8 1.89 V(USB0_VDDA18) DVDD Supply voltage, I/O, 3.3V 3.0 3.3 3.45 V(DVDD, USB0_VDDA33) Supply groundVSS 0 0 0 V(VSS, PLL0_VSSA, OSCVSS(1)) VIH (2) High-level input voltage, I/O, 3.3V 2 V High-level input voltage, OSCIN 0.7*CVDD V VIL (2) Low-level input voltage, I/O, 3.3V 0.8 V Low-level input voltage, OSCIN 0.3*CVDD V VHYS Input Hysteresis 160 mV Transition time, 10%-90%, All Inputs (unless otherwise specified intt 0.25P or 10 (3) nsthe electrical data sections) 375 (1.2V)Commercial (default) 0 MHz456 (1.3V) FSYSCLK6 ARM Operating Frequency (SYSCLK6) Industrial (D suffix) 0 456 (1.3V) MHz Extended (A suffix) 0 375(1.2V) MHz (1) When an external crystal is used, oscillator (OSC_VSS) ground must be kept separate from other grounds and connected directly to the crystal load capacitor ground. These pins are shorted to VSS on the device itself and should not be connected to VSS on the circuit board. If a crystal is not used and the clock input is driven directly, then the oscillator VSS may be connected to board ground. (2) Unless specifically indicated, these I/O specifications do not apply to USB I/Os. USB0 I/Os adhere to USB2.0 specification. (3) Whichever is smaller. P = the period of the applied signal. Maintaining transition times as fast as possible is recommended to improve noise immunity on input signals. Copyright © 2010–2014, Texas Instruments Incorporated Device Operating Conditions 35 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

5.4 Notes on Recommended Power-On Hours (POH)

The information in the section below is provided solely for your convenience and does not extend or modify the warranty provided under TI’s standard terms and conditions for TI semiconductor products. To avoid significant degradation, the device power-on hours (POH) must be limited to the following: Table 5-1. Recommended Power-On Hours Operating Junction Power-On Hours [POH]Silicon Revision Speed Grade Nominal CVDD Voltage (V)Temperature (Tj) (hours) D 375 MHz 0 to 90 °C 1.2V 100,000 D 375 MHz -40 to 105 °C 1.2V 75,000(1) D 456 MHz 0 to 90 °C 1.3V 100,000 D 456 MHz -40 to 90 °C 1.3V 100,000 (1) 100,000 POH can be achieved at this temperature condition if the device operation is limited to 345 MHz. Note: Logic functions and parameter values are not assured out of the range specified in the recommended operating conditions. The above notations cannot be deemed a warranty or deemed to extend or modify the warranty under TI’s standard terms and conditions for TI semiconductor products.

36 Device Operating Conditions Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

5.5 Electrical Characteristics Over Recommended Ranges of Supply Voltage and

Operating Junction Temperature (Unless Otherwise Noted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT DVDD= 3.15V, IOH = -4 mA 2.4 V VOH (1) High-level output voltage (3.3V I/O) DVDD= 3.15V, IOH = 100 μA 2.95 V DVDD= 3.15V, IOL = 4mA 0.4 V VOL (1) Low-level output voltage (3.3V I/O) DVDD= 3.15V, IOL = -100 μA 0.2 V VI = VSS to DVDD without opposing ±35 μAinternal resistor II (2) (1) Input current VI = VSS to DVDD with opposing -30 -200 μAinternal pullup resistor (3) VI = VSS to DVDD with opposing 50 300 μAinternal pulldown resistor (3) IOH (1) High-level output current -4 mA IOL (1) Low-level output current 4 mA IOZ (4) I/O Off-state output current VO = VDD or VSS; Internal pull disabled ±35 μA LVCMOS signals 3 pF CI Input capacitance OSCIN 2 pF CO Output capacitance LVCMOS signals 3 pF (1) These I/O specifications apply to regular 3.3V IOs and do not apply to USB0 unless specifically indicated. USB0 I/Os adhere to the USB 2.0 specification. (2) II applies to input-only pins and bi-directional pins. For input-only pins, II indicates the input leakage current. For bi-directional pins, II indicates the input leakage current and off-state (Hi-Z) output leakage current. (3) Applies only to pins with an internal pullup (IPU) or pulldown (IPD) resistor. (4) IOZ applies to output-only pins, indicating off-state (Hi-Z) output leakage current. Copyright © 2010–2014, Texas Instruments Incorporated Device Operating Conditions 37 Submit Documentation Feedback Product Folder Links: AM1705

Vref =□VIL MAX□(or□VOL MAX) Vref =□VIH MIN□(or□VOH MIN) Vref Transmission□Line 4.0□pF 1.85□pF Z0□=□50 Ω (see□note) Tester Pin□Electronics Data Sheet□Timing□Reference□Point Output Under Test 42 Ω 3.5□nH Device□Pin (see□note) AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6 Peripheral Information and Electrical Specifications

6.1 Parameter Information

6.1.1 Parameter Information Device-Specific Information

A. The data sheet provides timing at the device pin. For output timing analysis, the tester pin electronics and its transmission line effects must be taken into account. A transmission line with a delay of 2 ns or longer can be used to produce the desired transmission line effect. The transmission line is intended as a load only. It is not necessary to add or subtract the transmission line delay (2 ns or longer) from the data sheet timings. Input requirements in this data sheet are tested with an input slew rate of < 4 Volts per nanosecond (4 V/ns) at the device pin and the input signals are driven between 0V and the appropriate IO supply rail for the signal. Figure 6-1. Test Load Circuit for AC Timing Measurements The load capacitance value stated is only for characterization and measurement of AC timing signals. This load capacitance value does not indicate the maximum load the device is capable of driving.

6.1.1.1 Signal Transition Levels

All input and output timing parameters are referenced to Vref for both "0" and "1" logic levels. For 3.3 V I/O, Figure 6-2. Input and Output Voltage Reference Levels for AC Timing Measurements All rise and fall transition timing parameters are referenced to VIL MAX and VIH MIN for input clocks, VOLMAX and VOH MIN for output clocks. Figure 6-3. Rise and Fall Transition Time Voltage Reference Levels 38 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.2 Recommended Clock and Control Signal Transition Behavior

All clocks and control signals must transition between VIH and VIL (or between VIL and VIH) in a monotonic manner.

6.3 Power Supplies

6.3.1 Power-on Sequence

The device should be powered-on in the following order: 1. Core logic supplies: (a) CVDD core logic supply (b) Other 1.2V logic supplies (PLL0_VDDA). Groups 1a) and 1b) may be powered up together or 1a) first followed by 1b). 2. All 1.8V IO supplies (USB0_VDDA18). 3. All digital IO and analog 3.3V PHY supplies (DVDD, USB0_VDDA33 ). Group 2) and group 3) may be powered on in either order [2 then 3, or 3 then 2] but group 3) must be powered-on after the core logic supplies. There is no specific required voltage ramp rate for any of the supplies. RESET must be maintained active until all power supplies have reached their nominal values.

6.3.2 Power-off Sequence

The power supplies can be powered-off in any order as long as the 3.3V supplies do not remain powered with the other supplies unpowered. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 39 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.4 Reset

6.4.1 Power-On Reset (POR)

A power-on reset (POR) is required to place the device in a known good state after power-up. Power-On Reset is initiated by bringing RESET and TRST low at the same time. POR sets all of the device internal logic to its default state. All pins are tri-stated with the exception of RTCK/GP7[14]. If an emulator is driving TCK into the device during reset, then RTCK/GP7[14] will drive out RTCK. If TCK is not being driven into the device during reset, then RTCK/GP7[14] will drive low. While both TRST and RESET need to be asserted upon power up, only RESET needs to be released for the device to boot properly. TRST may be asserted indefinitely for normal operation, keeping the JTAG port interface and device's emulation logic in the reset state. . TRST only needs to be released when it is necessary to use a JTAG controller to debug the device or exercise the device's boundary scan functionality. Note: TRST is synchronous and must be clocked by TCK; otherwise, the boundary scan logic may not respond as expected after TRST is asserted. .RESET must be released only in order for boundary-scan JTAG to read the variant field of IDCODE correctly. Other boundary-scan instructions work correctly independent of current state of RESET. For maximum reliability, the device includes an internal pulldown on the TRST pin to ensure that TRST will always be asserted upon power up and the device's internal emulation logic will always be properly initialized. JTAG controllers from Texas Instruments actively drive TRST high. However, some third-party JTAG controllers may not drive TRST high but expect the use of a pullup resistor on TRST. When using this type of JTAG controller, assert TRST to intialize the device after powerup and externally drive TRST high before attempting any emulation or boundary scan operations. RTCK/GP7[14] is maintained active through a POR. A summary of the effects of Power-On Reset is given below:

  • All internal logic (including emulation logic and the PLL logic) is reset to its default state
  • Internal memory is not maintained through a POR
  • All device pins go to a high-impedance state CAUTION: A watchdog reset triggers a POR. 40 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.4.2 Warm Reset

A warm reset provides a limited reset to the device. Warm Reset is initiated by bringing only RESET low (TRST is maintained high through a warm reset). Warm reset sets certain portions of the device to their default state while leaving others unaltered. All pins are 3-stated with the exception of RTCK/GP7[14]. If an emulator is driving TCK into the device during reset, then RTCK/GP7[14] will drive out RTCK. If TCK is not being driven into the device during reset, then RTCK/GP7[14] will drive low. During emulation, the emulator will maintain TRST high and hence only warm reset (not POR) is available during emulation debug and development. RTCK/GP7[14] is maintained active through a warm reset. A summary of the effects of Warm Reset is given below:

  • All internal logic (except for the emulation logic and the PLL logic) is reset to its default state
  • Internal memory is maintained through a warm reset
  • All device pins go to a high-impedance state Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 41 Submit Documentation Feedback Product Folder Links: AM1705

Ramping Power Supplies Stable Clock Source Stable 2 3 TRST AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.4.3 Reset Electrical Data Timings

Table 6-1 assumes testing over the recommended operating conditions. Table 6-1. Reset Timing Requirements(1) N MIN MAX UNIT 1 tw(RSTL) Pulse width, RESET/TRST low 100 ns 2 tsu(BPV-RSTH) Setup time, boot pins valid before RESET/TRST high 20 ns 3 th(RSTH-BPV) Hold time, boot pins valid after RESET/TRST high 20 ns (1) For power-on reset (POR), the reset timings in this table refer to RESET and TRST together. For warm reset, the reset timings in this table refer to RESET only (TRST is held high). Figure 6-4. Power-On Reset (RESET and TRST active) Timing Figure 6-5. Warm Reset (RESET active, TRST high) Timing 42 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

Clock□Input to□PLL AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.5 Crystal Oscillator or External Clock Input

The device includes two choices to provide an external clock input, which is fed to the on-chip PLL to generate high-frequency system clocks. These options are illustrated in Figure 6-6 and Figure 6-7. For input clock frequencies between 12 and 20 MHz, a crystal with 80 ohm max ESR is recommended. For input clock frequencies between 20 and 30 MHz, a crystal with 60 ohm max ESR is recommended. Typical load capacitance values are 10-20 pF, where the load capacitance is the series combination of C1 and C2. The CLKMODE bit in the PLLCTL register must be 0 to use the on-chip oscillator. If CLKMODE is set to 1, the internal oscillator is disabled.

  • Figure 6-6 illustrates the option that uses on-chip 1.2V oscillator with external crystal circuit.
  • Figure 6-7 illustrates the option that uses an external 1.2V clock input. Figure 6-6. On-Chip 1.2V Oscillator Table 6-2. Oscillator Timing Requirements PARAMETER MIN MAX UNIT fosc Oscillator frequency range (OSCIN/OSCOUT) 12 30 MHz Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 43 Submit Documentation Feedback Product Folder Links: AM1705

to□PLL NC AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Figure 6-7. External 1.2V Clock Source Table 6-3. OSCIN Timing Requirements PARAMETER MIN MAX UNIT fOSCIN OSCIN frequency range (OSCIN) 12 50 MHz tc(OSCIN) Cycle time, external clock driven on OSCIN 20 ns tw(OSCINH) Pulse width high, external clock on OSCIN 0.4 tc(OSCIN) ns tw(OSCINL) Pulse width low, external clock on OSCIN 0.4 tc(OSCIN) ns tt(OSCIN) Transition time, OSCIN 0.25P or 10 (1) ns tj(OSCIN) Period jitter, OSCIN 0.02P ns (1) Whichever is smaller. P = the period of the applied signal. Maintaining transition times as fast as possible is recommended to improve noise immunity on input signals. 44 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

0.1 µF 0.01 µF 50R1.14V□-□1.32V 50RVSS PLL0_VDDA PLL0_VSSA Ferrite□Bead:□Murata□BLM31PG500SN1L or□Equivalent AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.6 Clock PLLs

The device has one PLL controller that provides clock to different parts of the system. PLL0 provides clocks (though various dividers) to most of the components of the device. The PLL controller provides the following:

  • Glitch-Free Transitions (on changing clock settings)
  • Domain Clocks Alignment
  • Clock Gating
  • PLL power down The various clock outputs given by the controller are as follows:
  • Domain Clocks: SYSCLK [1:n]
  • Auxiliary Clock from reference clock source: AUXCLK Various dividers that can be used are as follows:
  • Post-PLL Divider: POSTDIV
  • SYSCLK Divider: D1, ¼, Dn Various other controls supported are as follows:
  • PLL Multiplier Control: PLLM
  • Software programmable PLL Bypass: PLLEN

6.6.1 PLL Device-Specific Information

The PLL requires some external filtering components to reduce power supply noise as shown in Figure 6- Figure 6-8. PLL External Filtering Components The input to the PLL is either from the on-chip oscillator (OSCIN pin) or from an external clock on the OSCIN pin. The PLL outputs seven clocks that have programmable divider options. Figure 6-9 illustrates the PLL Topology. The PLL is disabled by default after a device reset. It must be configured by software according to the allowable operating conditions listed in Table 6-4 before enabling the processor to run from the PLL by setting PLLEN = 1. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 45 Submit Documentation Feedback Product Folder Links: AM1705

PLLDIV1 (/1) SYSCLK1 PLLDIV2 (/2) SYSCLK2 PLLDIV3 (/3) SYSCLK3 PLLDIV4 (/4) SYSCLK4 PLLDIV5 (/3) SYSCLK5 PLLDIV6 (/1) SYSCLK6 PLLDIV7 (/6) SYSCLK7 DIV4.5 1

0 EMIFA

CFGCHIP3[EMA_CLKSRC] DIV4.5 EMIFB Internal Clock Source CFGCHIP3[EMB_CLKSRC] Pre-Div PLLM CLKMODE PLLEN AUXCLK PLL Post-Div Square Wave Crystal OSCIN AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Figure 6-9. PLL Topology 46 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

2000 NMax PLL Lock Time =

m where N = Pre-Divider Ratio M = PLL Multiplier AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-4. Allowed PLL Operating Conditions DefaultNo. PARAMETER MIN MAX UNITValue PLLRST: Assertion time during1 N/A 1000 N/A nsinitialization Lock time: The time that the application has to wait for the PLL to acquire locks OSCIN2 N/A N/Abefore setting PLLEN, after changing cycles PREDIV, PLLM, or OSCIN

3 PREDIV /1 /1 /32

PLL input frequency 30 (if internal oscillator is used)4 12 MHz( PLLREF) 50 (if external clock source is used)

5 PLL multiplier values (PLLM) (1) x20 x4 x32

6 PLL output frequency. ( PLLOUT ) N/A 300 600 MHz

7 POSTDIV /1 /1 /32

(1) The multiplier values must be chosen such that the PLL output frequency (at PLLOUT) is between 300 and 600 MHz, but the frequency going into the SYSCLK dividers (after the post divider) cannot exceed the maximum clock frequency defined for the device at a given voltage operating point. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 47 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.6.2 Device Clock Generation

PLL0 is controlled by PLL Controller 0. The PLLC0 manages the clock ratios, alignment, and gating for the system clocks to the chip. The PLLC is responsible for controlling all modes of the PLL through software, in terms of pre-division of the clock inputs, multiply factor within the PLL, and post-division for each of the chip-level clocks from the PLL output. The PLLC also controls reset propagation through the chip, clock alignment, and test points.

6.6.3 PLL Controller 0 Registers

Table 6-5. PLL Controller 0 Registers BYTE ACRONYM REGISTER DESCRIPTIONADDRESS 0x01C1 1000 REVID Revision Identification Register 0x01C1 10E4 RSTYPE Reset Type Status Register 0x01C1 1100 PLLCTL PLL Control Register 0x01C1 1104 - Reserved 0x01C1 1110 PLLM PLL Multiplier Control Register 0x01C1 1114 PREDIV PLL Pre-Divider Control Register 0x01C1 1118 PLLDIV1 PLL Controller Divider 1 Register 0x01C1 111C PLLDIV2 PLL Controller Divider 2 Register 0x01C1 1120 PLLDIV3 PLL Controller Divider 3 Register 0x01C1 1124 - Reserved 0x01C1 1128 POSTDIV PLL Post-Divider Control Register 0x01C1 1138 PLLCMD PLL Controller Command Register 0x01C1 113C PLLSTAT PLL Controller Status Register 0x01C1 1140 ALNCTL PLL Controller Clock Align Control Register 0x01C1 1144 DCHANGE PLLDIV Ratio Change Status Register 0x01C1 1148 CKEN Clock Enable Control Register 0x01C1 114C CKSTAT Clock Status Register 0x01C1 1150 SYSTAT SYSCLK Status Register 0x01C1 1160 PLLDIV4 PLL Controller Divider 4 Register 0x01C1 1164 PLLDIV5 PLL Controller Divider 5 Register 0x01C1 1168 PLLDIV6 PLL Controller Divider 6 Register 0x01C1 116C PLLDIV7 PLL Controller Divider 7 Register 48 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.7 Interrupts

6.7.1 ARM CPU Interrupts

The ARM9 CPU core supports 2 direct interrupts: FIQ and IRQ. The ARM Interrupt Controller extends the number of interrupts to 100, and provides features like programmable masking, priority, hardware nesting support, and interrupt vector generation.

6.7.1.1 ARM Interrupt Controller (AINTC) Interrupt Signal Hierarchy

The ARM Interrupt controller organizes interrupts into the following hierarchy:

  • Peripheral Interrupt Requests – Individual Interrupt Sources from Peripherals
  • 100 System Interrupts – One or more Peripheral Interrupt Requests are combined (fixed configuration) to generate a System Interrupt. – After prioritization, the AINTC will provide an interrupt vector based unique to each System Interrupt
  • 32 Interrupt Channels – Each System Interrupt is mapped to one of the 32 Interrupt Channels – Channel Number determines the first level of prioritization, Channel 0 is highest priority and 31 lowest. – If more than one system interrupt is mapped to a channel, priority within the channel is determined by system interrupt number (0 highest priority)
  • Host Interrupts (FIQ and IRQ) – Interrupt Channels 0 and 1 generate the ARM FIQ interrupt – Interrupt Channels 2 through 31 Generate the ARM IRQ interrupt
  • Debug Interrupts – Two Debug Interrupts are supported and can be used to trigger events in the debug subsystem – Sources can be selected from any of the System Interrupts or Host Interrupts

6.7.1.2 AINTC Hardware Vector Generation

The AINTC also generates an interrupt vector in hardware for both IRQ and FIQ host interrupts. This may be used to accelerate interrupt dispatch. A unique vector is generated for each of the 100 system interrupts. The vector is computed in hardware as: VECTOR = BASE + (SYSTEM INTERRUPT NUMBER × SIZE) Where BASE and SIZE are programmable. The computed vector is a 32-bit address which may dispatched to using a single instruction of type LDR PC, [PC, #-<offset_12>] at the FIQ and IRQ vector locations (0xFFFF0018 and 0xFFFF001C respectively).

6.7.1.3 AINTC Hardware Interrupt Nesting Support

Interrupt nesting occurs when an interrupt service routine re-enables interrupts, to allow the CPU to interrupt the ISR if a higher priority event occurs. The AINTC provides hardware support to facilitate interrupt nesting. It supports both global and per host interrupt (FIQ and IRQ in this case) automatic nesting. If enabled, the AINTC will automatically update an internal nesting register that temporarily masks interrupts at and below the priority of the current interrupt channel. Then if the ISR re-enables interrupts; only higher priority channels will be able to interrupt it. The nesting level is restored by the ISR by writing to the nesting level register on completion. Support for nesting can be enabled/disabled by software, with the option of automatic nesting on a global or per host interrupt basis; or manual nesting.

6.7.1.4 AINTC System Interrupt Assignments on the device

System Interrupt assignments for the device are listed in Table 6-6 Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 49 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-6. AINTC System Interrupt Assignments System Interrupt Interrupt Name Source

0 COMMTX ARM

1 COMMRX ARM

2 NINT ARM

3 PRU_EVTOUT0 PRUSS Interrupt

4 PRU_EVTOUT1 PRUSS Interrupt

5 PRU_EVTOUT2 PRUSS Interrupt

6 PRU_EVTOUT3 PRUSS Interrupt

7 PRU_EVTOUT4 PRUSS Interrupt

8 PRU_EVTOUT5 PRUSS Interrupt

9 PRU_EVTOUT6 PRUSS Interrupt

10 PRU_EVTOUT7 PRUSS Interrupt

11 EDMA3_CC0_CCINT EDMA CC Region 0

12 EDMA3_CC0_CCERRINT EDMA Channel Controller

13 EDMA3_TC0_TCERRINT EDMA Transfer Controller 0

14 EMIFA_INT EMIFA

15 IIC0_INT I2C0

16 MMCSD_INT0 MMCSD

17 MMCSD_INT1 MMCSD

18 PSC0_ALLINT PSC0

20 SPI0_INT SPI0

21 T64P0_TINT12 Timer64P0 Interrupt 12

22 T64P0_TINT34 Timer64P0 Interrupt 34

23 T64P1_TINT12 Timer64P1 Interrupt 12

24 T64P1_TINT34 Timer64P1 Interrupt 34

25 UART0_INT UART0

27 MPU_BOOTCFG_ERR Shared MPU and SYSCFG Address/Protection Error

32 EDMA3_TC1_TCERRINT EDMA Transfer Controller 1

33 EMAC_C0RXTHRESH EMAC - Core 0 Receive Threshold Interrupt

34 EMAC_C0RX EMAC - Core 0 Receive Interrupt

35 EMAC_C0TX EMAC - Core 0 Transmit Interrupt

36 EMAC_C0MISC EMAC - Core 0 Miscellaneous Interrupt

37 EMAC_C1RXTHRESH EMAC - Core 1 Receive Threshold Interrupt

38 EMAC_C1RX EMAC - Core 1 Receive Interrupt

39 EMAC_C1TX EMAC - Core 1 Transmit Interrupt

40 EMAC_C1MISC EMAC - Core 1 Miscellaneous Interrupt

41 EMIF_MEMERR EMIFB

42 GPIO_B0INT GPIO Bank 0 Interrupt

43 GPIO_B1INT GPIO Bank 1 Interrupt

44 GPIO_B2INT GPIO Bank 2 Interrupt

45 GPIO_B3INT GPIO Bank 3 Interrupt

46 GPIO_B4INT GPIO Bank 4 Interrupt

47 GPIO_B5INT GPIO Bank 5 Interrupt

48 GPIO_B6INT GPIO Bank 6 Interrupt

50 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-6. AINTC System Interrupt Assignments (continued) System Interrupt Interrupt Name Source

49 GPIO_B7INT GPIO Bank 7 Interrupt

51 IIC1_INT I2C1

53 UART_INT1 UART1

54 MCASP_INT McASP0, 1, 2 Combined RX / TX Interrupts

55 PSC1_ALLINT PSC1

56 SPI1_INT SPI1

58 USB0_INT USB0 Interrupt

61 UART2_INT UART2

63 EHRPWM0 HiResTimer / PWM0 Interrupt

64 EHRPWM0TZ HiResTimer / PWM0 Trip Zone Interrupt

65 EHRPWM1 HiResTimer / PWM1 Interrupt

66 EHRPWM1TZ HiResTimer / PWM1 Trip Zone Interrupt

67 EHRPWM2 HiResTimer / PWM2 Interrupt

68 EHRPWM2TZ HiResTimer / PWM2 Trip Zone Interrupt

69 ECAP0 ECAP0

70 ECAP1 ECAP1

71 ECAP2 ECAP2

72 EQEP0 EQEP0

73 EQEP1 EQEP1

74 T64P0_CMPINT0 Timer64P0 - Compare 0

75 T64P0_CMPINT1 Timer64P0 - Compare 1

76 T64P0_CMPINT2 Timer64P0 - Compare 2

77 T64P0_CMPINT3 Timer64P0 - Compare 3

78 T64P0_CMPINT4 Timer64P0 - Compare 4

79 T64P0_CMPINT5 Timer64P0 - Compare 5

80 T64P0_CMPINT6 Timer64P0 - Compare 6

81 T64P0_CMPINT7 Timer64P0 - Compare 7

82 T64P1_CMPINT0 Timer64P1 - Compare 0

83 T64P1_CMPINT1 Timer64P1 - Compare 1

84 T64P1_CMPINT2 Timer64P1 - Compare 2

85 T64P1_CMPINT3 Timer64P1 - Compare 3

86 T64P1_CMPINT4 Timer64P1 - Compare 4

87 T64P1_CMPINT5 Timer64P1 - Compare 5

88 T64P1_CMPINT6 Timer64P1 - Compare 6

89 T64P1_CMPINT7 Timer64P1 - Compare 7

90 ARMCLKSTOPREQ PSC0

Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 51 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.7.1.5 AINTC Memory Map

Table 6-7. AINTC Memory Map BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0xFFFE E000 REV Revision Register 0xFFFE E004 CR Control Register 0xFFFE E008 - 0xFFFE E00F - Reserved 0xFFFE E010 GER Global Enable Register 0xFFFE E014 - 0xFFFE E01B - Reserved 0xFFFE E01C GNLR Global Nesting Level Register 0xFFFE E020 SISR System Interrupt Status Indexed Set Register 0xFFFE E024 SICR System Interrupt Status Indexed Clear Register 0xFFFE E028 EISR System Interrupt Enable Indexed Set Register 0xFFFE E02C EICR System Interrupt Enable Indexed Clear Register 0xFFFE E030 - Reserved 0xFFFE E034 HIEISR Host Interrupt Enable Indexed Set Register 0xFFFE E038 HIEICR Host Interrupt Enable Indexed Clear Register 0xFFFE E03C - 0xFFFE E04F - Reserved 0xFFFE E050 VBR Vector Base Register 0xFFFE E054 VSR Vector Size Register 0xFFFE E058 VNR Vector Null Register 0xFFFE E05C - 0xFFFE E07F - Reserved 0xFFFE E080 GPIR Global Prioritized Index Register 0xFFFE E084 GPVR Global Prioritized Vector Register 0xFFFE E088 - 0xFFFE E1FF - Reserved 0xFFFE E200 - 0xFFFE E20B SRSR[1] - SRSR[3] System Interrupt Status Raw / Set Registers 0xFFFE E20C- 0xFFFE E27F - Reserved 0xFFFE E280 - 0xFFFE E28B SECR[1] - SECR[3] System Interrupt Status Enabled / Clear Registers 0xFFFE E28C - 0xFFFE E2FF - Reserved 0xFFFE E300 - 0xFFFE E30B ESR[1] - ESR[3] System Interrupt Enable Set Registers 0xFFFE E30C - 0xFFFE E37F - Reserved 0xFFFE E380 - 0xFFFE E38B ECR[1] - ECR[3] System Interrupt Enable Clear Registers 0xFFFE E38C - 0xFFFE E3FF - Reserved 0xFFFE E400 - 0xFFFE E458 CMR[0] - CMR[22] Channel Map Registers (Byte Wide Registers) 0xFFFE E459 - 0xFFFE E7FF - Reserved 0xFFFE E800 - 0xFFFE E81F - Reserved 0xFFFE E820 - 0xFFFE E8FF - Reserved 0xFFFE E900 - 0xFFFE E904 HIPIR[1] - HIPIR[2] Host Interrupt Prioritized Index Registers 0xFFFE E908 - 0xFFFE EEFF - Reserved 0xFFFE EF00 - 0xFFFE EF04 - Reserved 0xFFFE EF08 - 0xFFFE F0FF - Reserved 0xFFFE F100 - 0xFFFE F104 HINLR[1] - HINLR[2] Host Interrupt Nesting Level Registers 0xFFFE F108 - 0xFFFE F4FF - Reserved 0xFFFE F500 HIER Host Interrupt Enable Register 0xFFFE F504 - 0xFFFE F5FF - Reserved 0xFFFE F600 HIPVR[1] - HIPVR[2] Host Interrupt Prioritized Vector Registers 0xFFFE F608 - 0xFFFE FFFF - Reserved 52 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.8 General-Purpose Input/Output (GPIO)

The GPIO peripheral provides general-purpose pins that can be configured as either inputs or outputs. When configured as an output, a write to an internal register can control the state driven on the output pin. When configured as an input, the state of the input is detectable by reading the state of an internal register. In addition, the GPIO peripheral can produce CPU interrupts and EDMA events in different interrupt/event generation modes. The GPIO peripheral provides generic connections to external devices. The GPIO pins are grouped into banks of 16 pins per bank (i.e., bank 0 consists of GPIO [0:15]). The device GPIO peripheral supports the following:

  • External Interrupt and DMA request Capability – Every GPIO pin may be configured to generate an interrupt request on detection of rising and/or falling edges on the pin. – The interrupt requests within each bank are combined (logical or) to create eight unique bank level interrupt requests. – The bank level interrupt service routine may poll the INTSTATx register for its bank to determine which pin(s) have triggered the interrupt. – GPIO Banks 0, 1, 2, 3, 4, 5, 6, and 7 Interrupts assigned to ARM INTC Interrupt Requests 42, 43, 44, 45, 46, 47, 48, and 49 respectively – Additionally, GPIO Banks 0, 1, 2, 3, 4, and 5 Interrupts assigned to EDMA events 6, 7, 22, 23, 28, and 29 respectively.
  • Set/clear functionality: Firmware writes 1 to corresponding bit position(s) to set or to clear GPIO signal(s). This allows multiple firmware processes to toggle GPIO output signals without critical section protection (disable interrupts, program GPIO, re-enable interrupts, to prevent context switching to anther process during GPIO programming).
  • Separate Input/Output registers
  • Output register in addition to set/clear so that, if preferred by firmware, some GPIO output signals can be toggled by direct write to the output register(s).
  • Output register, when read, reflects output drive status. This, in addition to the input register reflecting pin status and open-drain I/O cell, allows wired logic be implemented. The memory map for the GPIO registers is shown in Table 6-8. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 53 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.8.1 GPIO Register Description(s)

Table 6-8. GPIO Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 6000 REV Peripheral Revision Register 0x01E2 6004 - Reserved 0x01E2 6008 BINTEN GPIO Interrupt Per-Bank Enable Register GPIO BANKS 0 AND 1 0x01E2 6010 DIR01 GPIO Banks 0 and 1 Direction Register 0x01E2 6014 OUT_DATA01 GPIO Banks 0 and 1 Output Data Register 0x01E2 6018 SET_DATA01 GPIO Banks 0 and 1 Set Data Register 0x01E2 601C CLR_DATA01 GPIO Banks 0 and 1 Clear Data Register 0x01E2 6020 IN_DATA01 GPIO Banks 0 and 1 Input Data Register 0x01E2 6024 SET_RIS_TRIG01 GPIO Banks 0 and 1 Set Rising Edge Interrupt Register 0x01E2 6028 CLR_RIS_TRIG01 GPIO Banks 0 and 1 Clear Rising Edge Interrupt Register 0x01E2 602C SET_FAL_TRIG01 GPIO Banks 0 and 1 Set Falling Edge Interrupt Register 0x01E2 6030 CLR_FAL_TRIG01 GPIO Banks 0 and 1 Clear Falling Edge Interrupt Register 0x01E2 6034 INTSTAT01 GPIO Banks 0 and 1 Interrupt Status Register GPIO BANKS 2 AND 3 0x01E2 6038 DIR23 GPIO Banks 2 and 3 Direction Register 0x01E2 603C OUT_DATA23 GPIO Banks 2 and 3 Output Data Register 0x01E2 6040 SET_DATA23 GPIO Banks 2 and 3 Set Data Register 0x01E2 6044 CLR_DATA23 GPIO Banks 2 and 3 Clear Data Register 0x01E2 6048 IN_DATA23 GPIO Banks 2 and 3 Input Data Register 0x01E2 604C SET_RIS_TRIG23 GPIO Banks 2 and 3 Set Rising Edge Interrupt Register 0x01E2 6050 CLR_RIS_TRIG23 GPIO Banks 2 and 3 Clear Rising Edge Interrupt Register 0x01E2 6054 SET_FAL_TRIG23 GPIO Banks 2 and 3 Set Falling Edge Interrupt Register 0x01E2 6058 CLR_FAL_TRIG23 GPIO Banks 2 and 3 Clear Falling Edge Interrupt Register 0x01E2 605C INTSTAT23 GPIO Banks 2 and 3 Interrupt Status Register GPIO BANKS 4 AND 5 0x01E2 6060 DIR45 GPIO Banks 4 and 5 Direction Register 0x01E2 6064 OUT_DATA45 GPIO Banks 4 and 5 Output Data Register 0x01E2 6068 SET_DATA45 GPIO Banks 4 and 5 Set Data Register 0x01E2 606C CLR_DATA45 GPIO Banks 4 and 5 Clear Data Register 0x01E2 6070 IN_DATA45 GPIO Banks 4 and 5 Input Data Register 0x01E2 6074 SET_RIS_TRIG45 GPIO Banks 4 and 5 Set Rising Edge Interrupt Register 0x01E2 6078 CLR_RIS_TRIG45 GPIO Banks 4 and 5 Clear Rising Edge Interrupt Register 0x01E2 607C SET_FAL_TRIG45 GPIO Banks 4 and 5 Set Falling Edge Interrupt Register 0x01E2 6080 CLR_FAL_TRIG45 GPIO Banks 4 and 5 Clear Falling Edge Interrupt Register 0x01E2 6084 INTSTAT45 GPIO Banks 4 and 5 Interrupt Status Register GPIO BANKS 6 AND 7 0x01E2 6088 DIR67 GPIO Banks 6 and 7 Direction Register 0x01E2 608C OUT_DATA67 GPIO Banks 6 and 7 Output Data Register 0x01E2 6090 SET_DATA67 GPIO Banks 6 and 7 Set Data Register 0x01E2 6094 CLR_DATA67 GPIO Banks 6 and 7 Clear Data Register 0x01E2 6098 IN_DATA67 GPIO Banks 6 and 7 Input Data Register 0x01E2 609C SET_RIS_TRIG67 GPIO Banks 6 and 7 Set Rising Edge Interrupt Register 0x01E2 60A0 CLR_RIS_TRIG67 GPIO Banks 6 and 7 Clear Rising Edge Interrupt Register 0x01E2 60A4 SET_FAL_TRIG67 GPIO Banks 6 and 7 Set Falling Edge Interrupt Register 54 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

GP [ ]□as□inputn m GP [ ]□as□inputn m GP [ ]□as□outputn m AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-8. GPIO Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 60A8 CLR_FAL_TRIG67 GPIO Banks 6 and 7 Clear Falling Edge Interrupt Register 0x01E2 60AC INTSTAT67 GPIO Banks 6 and 7 Interrupt Status Register

6.8.2 GPIO Peripheral Input/Output Electrical Data/Timing

Table 6-9. Timing Requirements for GPIO Inputs(1) (see Figure 6-10) No. PARAMETER MIN MAX UNIT 1 tw(GPIH) Pulse duration, GPn[m] as input high 2C(1) (2) ns 2 tw(GPIL) Pulse duration, GPn[m] as input low 2C(1) (2) ns (1) The pulse width given is sufficient to generate a CPU interrupt or an EDMA event. However, if a user wants to have the device recognize the GPIx changes through software polling of the GPIO register, the GPIx duration must be extended to allow the device enough time to access the GPIO register through the internal bus. (2) C=SYSCLK4 period in ns. Table 6-10. Switching Characteristics Over Recommended Operating Conditions for GPIO Outputs (see Figure 6-10) No. PARAMETER MIN MAX UNIT 3 tw(GPOH) Pulse duration, GPn[m] as output high 2C(1) (2) ns 4 tw(GPOL) Pulse duration, GPn[m] as output low 2C(1) (2) ns (1) This parameter value should not be used as a maximum performance specification. Actual performance of back-to-back accesses of the GPIO is dependent upon internal bus activity. (2) C=SYSCLK4 period in ns. Figure 6-10. GPIO Port Timing

6.8.3 GPIO Peripheral External Interrupts Electrical Data/Timing

Table 6-11. Timing Requirements for External Interrupts(1) (see Figure 6-11) No. PARAMETER MIN MAX UNIT 1 tw(ILOW) Width of the external interrupt pulse low 2C(1) (2) ns 2 tw(IHIGH) Width of the external interrupt pulse high 2C (1) (2) ns (1) The pulse width given is sufficient to generate an interrupt or an EDMA event. However, if a user wants to have device recognize the GPIO changes through software polling of the GPIO register, the GPIO duration must be extended to allow the device enough time to access the GPIO register through the internal bus. (2) C=SYSCLK4 period in ns. Figure 6-11. GPIO External Interrupt Timing Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 55 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.9 EDMA

Table 6-12 is the list of EDMA3 Channel Contoller Registers and Table 6-13 is the list of EDMA3 Transfer Controller registers. Table 6-12. EDMA3 Channel Controller (EDMA3CC) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C0 0000 PID Peripheral Identification Register 0x01C0 0004 CCCFG EDMA3CC Configuration Register GLOBAL REGISTERS 0x01C0 0200 QCHMAP0 QDMA Channel 0 Mapping Register 0x01C0 0204 QCHMAP1 QDMA Channel 1 Mapping Register 0x01C0 0208 QCHMAP2 QDMA Channel 2 Mapping Register 0x01C0 020C QCHMAP3 QDMA Channel 3 Mapping Register 0x01C0 0210 QCHMAP4 QDMA Channel 4 Mapping Register 0x01C0 0214 QCHMAP5 QDMA Channel 5 Mapping Register 0x01C0 0218 QCHMAP6 QDMA Channel 6 Mapping Register 0x01C0 021C QCHMAP7 QDMA Channel 7 Mapping Register 0x01C0 0240 DMAQNUM0 DMA Channel Queue Number Register 0 0x01C0 0244 DMAQNUM1 DMA Channel Queue Number Register 1 0x01C0 0248 DMAQNUM2 DMA Channel Queue Number Register 2 0x01C0 024C DMAQNUM3 DMA Channel Queue Number Register 3 0x01C0 0260 QDMAQNUM QDMA Channel Queue Number Register 0x01C0 0284 QUEPRI Queue Priority Register(1) 0x01C0 0300 EMR Event Missed Register 0x01C0 0308 EMCR Event Missed Clear Register 0x01C0 0310 QEMR QDMA Event Missed Register 0x01C0 0314 QEMCR QDMA Event Missed Clear Register 0x01C0 0318 CCERR EDMA3CC Error Register 0x01C0 031C CCERRCLR EDMA3CC Error Clear Register 0x01C0 0320 EEVAL Error Evaluate Register 0x01C0 0340 DRAE0 DMA Region Access Enable Register for Region 0 0x01C0 0348 DRAE1 DMA Region Access Enable Register for Region 1 0x01C0 0350 DRAE2 DMA Region Access Enable Register for Region 2 0x01C0 0358 DRAE3 DMA Region Access Enable Register for Region 3 0x01C0 0380 QRAE0 QDMA Region Access Enable Register for Region 0 0x01C0 0384 QRAE1 QDMA Region Access Enable Register for Region 1 0x01C0 0388 QRAE2 QDMA Region Access Enable Register for Region 2 0x01C0 038C QRAE3 QDMA Region Access Enable Register for Region 3 0x01C0 0400 - 0x01C0 043C Q0E0-Q0E15 Event Queue Entry Registers Q0E0-Q0E15 0x01C0 0440 - 0x01C0 047C Q1E0-Q1E15 Event Queue Entry Registers Q1E0-Q1E15 0x01C0 0600 QSTAT0 Queue 0 Status Register 0x01C0 0604 QSTAT1 Queue 1 Status Register 0x01C0 0620 QWMTHRA Queue Watermark Threshold A Register 0x01C0 0640 CCSTAT EDMA3CC Status Register GLOBAL CHANNEL REGISTERS 0x01C0 1000 ER Event Register 0x01C0 1008 ECR Event Clear Register (1) On previous architectures, the EDMA3TC priority was controlled by the queue priority register (QUEPRI) in the EDMA3CC memory- map. However for this device, the priority control for the transfer controllers is controlled by the chip-level registers in the System Configuration Module. You should use the chip-level registers and not QUEPRI to configure the TC priority. 56 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-12. EDMA3 Channel Controller (EDMA3CC) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C0 1010 ESR Event Set Register 0x01C0 1018 CER Chained Event Register 0x01C0 1020 EER Event Enable Register 0x01C0 1028 EECR Event Enable Clear Register 0x01C0 1030 EESR Event Enable Set Register 0x01C0 1038 SER Secondary Event Register 0x01C0 1040 SECR Secondary Event Clear Register 0x01C0 1050 IER Interrupt Enable Register 0x01C0 1058 IECR Interrupt Enable Clear Register 0x01C0 1060 IESR Interrupt Enable Set Register 0x01C0 1068 IPR Interrupt Pending Register 0x01C0 1070 ICR Interrupt Clear Register 0x01C0 1078 IEVAL Interrupt Evaluate Register 0x01C0 1080 QER QDMA Event Register 0x01C0 1084 QEER QDMA Event Enable Register 0x01C0 1088 QEECR QDMA Event Enable Clear Register 0x01C0 108C QEESR QDMA Event Enable Set Register 0x01C0 1090 QSER QDMA Secondary Event Register 0x01C0 1094 QSECR QDMA Secondary Event Clear Register SHADOW REGION 0 CHANNEL REGISTERS 0x01C0 2000 ER Event Register 0x01C0 2008 ECR Event Clear Register 0x01C0 2010 ESR Event Set Register 0x01C0 2018 CER Chained Event Register 0x01C0 2020 EER Event Enable Register 0x01C0 2028 EECR Event Enable Clear Register 0x01C0 2030 EESR Event Enable Set Register 0x01C0 2038 SER Secondary Event Register 0x01C0 2040 SECR Secondary Event Clear Register 0x01C0 2050 IER Interrupt Enable Register 0x01C0 2058 IECR Interrupt Enable Clear Register 0x01C0 2060 IESR Interrupt Enable Set Register 0x01C0 2068 IPR Interrupt Pending Register 0x01C0 2070 ICR Interrupt Clear Register 0x01C0 2078 IEVAL Interrupt Evaluate Register 0x01C0 2080 QER QDMA Event Register 0x01C0 2084 QEER QDMA Event Enable Register 0x01C0 2088 QEECR QDMA Event Enable Clear Register 0x01C0 208C QEESR QDMA Event Enable Set Register 0x01C0 2090 QSER QDMA Secondary Event Register 0x01C0 2094 QSECR QDMA Secondary Event Clear Register SHADOW REGION 1 CHANNEL REGISTERS 0x01C0 2200 ER Event Register 0x01C0 2208 ECR Event Clear Register 0x01C0 2210 ESR Event Set Register 0x01C0 2218 CER Chained Event Register 0x01C0 2220 EER Event Enable Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 57 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-12. EDMA3 Channel Controller (EDMA3CC) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C0 2228 EECR Event Enable Clear Register 0x01C0 2230 EESR Event Enable Set Register 0x01C0 2238 SER Secondary Event Register 0x01C0 2240 SECR Secondary Event Clear Register 0x01C0 2250 IER Interrupt Enable Register 0x01C0 2258 IECR Interrupt Enable Clear Register 0x01C0 2260 IESR Interrupt Enable Set Register 0x01C0 2268 IPR Interrupt Pending Register 0x01C0 2270 ICR Interrupt Clear Register 0x01C0 2278 IEVAL Interrupt Evaluate Register 0x01C0 2280 QER QDMA Event Register 0x01C0 2284 QEER QDMA Event Enable Register 0x01C0 2288 QEECR QDMA Event Enable Clear Register 0x01C0 228C QEESR QDMA Event Enable Set Register 0x01C0 2290 QSER QDMA Secondary Event Register 0x01C0 2294 QSECR QDMA Secondary Event Clear Register 0x01C0 4000 - 0x01C0 4FFF — Parameter RAM (PaRAM) Table 6-13. EDMA3 Transfer Controller (EDMA3TC) Registers TRANSFER TRANSFER CONTROLLER 0 CONTROLLER 1 ACRONYM REGISTER DESCRIPTION BYTE ADDRESS BYTE ADDRESS 0x01C0 8000 0x01C0 8400 PID Peripheral Identification Register 0x01C0 8004 0x01C0 8404 TCCFG EDMA3TC Configuration Register 0x01C0 8100 0x01C0 8500 TCSTAT EDMA3TC Channel Status Register 0x01C0 8120 0x01C0 8520 ERRSTAT Error Status Register 0x01C0 8124 0x01C0 8524 ERREN Error Enable Register 0x01C0 8128 0x01C0 8528 ERRCLR Error Clear Register 0x01C0 812C 0x01C0 852C ERRDET Error Details Register 0x01C0 8130 0x01C0 8530 ERRCMD Error Interrupt Command Register 0x01C0 8140 0x01C0 8540 RDRATE Read Command Rate Register 0x01C0 8240 0x01C0 8640 SAOPT Source Active Options Register 0x01C0 8244 0x01C0 8644 SASRC Source Active Source Address Register 0x01C0 8248 0x01C0 8648 SACNT Source Active Count Register 0x01C0 824C 0x01C0 864C SADST Source Active Destination Address Register 0x01C0 8250 0x01C0 8650 SABIDX Source Active B-Index Register 0x01C0 8254 0x01C0 8654 SAMPPRXY Source Active Memory Protection Proxy Register 0x01C0 8258 0x01C0 8658 SACNTRLD Source Active Count Reload Register 0x01C0 825C 0x01C0 865C SASRCBREF Source Active Source Address B-Reference Register 0x01C0 8260 0x01C0 8660 SADSTBREF Source Active Destination Address B-Reference Register 0x01C0 8280 0x01C0 8680 DFCNTRLD Destination FIFO Set Count Reload Register 0x01C0 8284 0x01C0 8684 DFSRCBREF Destination FIFO Set Source Address B-Reference Register 0x01C0 8288 0x01C0 8688 DFDSTBREF Destination FIFO Set Destination Address B-Reference Register 0x01C0 8300 0x01C0 8700 DFOPT0 Destination FIFO Options Register 0 0x01C0 8304 0x01C0 8704 DFSRC0 Destination FIFO Source Address Register 0 0x01C0 8308 0x01C0 8708 DFCNT0 Destination FIFO Count Register 0 0x01C0 830C 0x01C0 870C DFDST0 Destination FIFO Destination Address Register 0 0x01C0 8310 0x01C0 8710 DFBIDX0 Destination FIFO B-Index Register 0 58 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-13. EDMA3 Transfer Controller (EDMA3TC) Registers (continued) TRANSFER TRANSFER CONTROLLER 0 CONTROLLER 1 ACRONYM REGISTER DESCRIPTION BYTE ADDRESS BYTE ADDRESS 0x01C0 8314 0x01C0 8714 DFMPPRXY0 Destination FIFO Memory Protection Proxy Register 0 0x01C0 8340 0x01C0 8740 DFOPT1 Destination FIFO Options Register 1 0x01C0 8344 0x01C0 8744 DFSRC1 Destination FIFO Source Address Register 1 0x01C0 8348 0x01C0 8748 DFCNT1 Destination FIFO Count Register 1 0x01C0 834C 0x01C0 874C DFDST1 Destination FIFO Destination Address Register 1 0x01C0 8350 0x01C0 8750 DFBIDX1 Destination FIFO B-Index Register 1 0x01C0 8354 0x01C0 8754 DFMPPRXY1 Destination FIFO Memory Protection Proxy Register 1 0x01C0 8380 0x01C0 8780 DFOPT2 Destination FIFO Options Register 2 0x01C0 8384 0x01C0 8784 DFSRC2 Destination FIFO Source Address Register 2 0x01C0 8388 0x01C0 8788 DFCNT2 Destination FIFO Count Register 2 0x01C0 838C 0x01C0 878C DFDST2 Destination FIFO Destination Address Register 2 0x01C0 8390 0x01C0 8790 DFBIDX2 Destination FIFO B-Index Register 2 0x01C0 8394 0x01C0 8794 DFMPPRXY2 Destination FIFO Memory Protection Proxy Register 2 0x01C0 83C0 0x01C0 87C0 DFOPT3 Destination FIFO Options Register 3 0x01C0 83C4 0x01C0 87C4 DFSRC3 Destination FIFO Source Address Register 3 0x01C0 83C8 0x01C0 87C8 DFCNT3 Destination FIFO Count Register 3 0x01C0 83CC 0x01C0 87CC DFDST3 Destination FIFO Destination Address Register 3 0x01C0 83D0 0x01C0 87D0 DFBIDX3 Destination FIFO B-Index Register 3 0x01C0 83D4 0x01C0 87D4 DFMPPRXY3 Destination FIFO Memory Protection Proxy Register 3 Table 6-14 shows an abbreviation of the set of registers which make up the parameter set for each of 128 EDMA events. Each of the parameter register sets consist of 8 32-bit word entries. Table 6-15 shows the parameter set entry registers with relative memory address locations within each of the parameter sets. Table 6-14. EDMA Parameter Set RAM BYTE ADDRESS DESCRIPTION 0x01C0 4000 - 0x01C0 401F Parameters Set 0 (8 32-bit words) 0x01C0 4020 - 0x01C0 403F Parameters Set 1 (8 32-bit words) 0x01C0 4040 - 0x01C0 405F Parameters Set 2 (8 32-bit words) 0x01C0 4060 - 0x01C0 407F Parameters Set 3 (8 32-bit words) 0x01C0 4080 - 0x01C0 409F Parameters Set 4 (8 32-bit words) 0x01C0 40A0 - 0x01C0 40BF Parameters Set 5 (8 32-bit words) 0x01C0 4FC0 - 0x01C0 4FDF Parameters Set 126 (8 32-bit words) 0x01C0 4FE0 - 0x01C0 4FFF Parameters Set 127 (8 32-bit words) Table 6-15. Parameter Set Entries BYTE OFFSET ADDRESS ACRONYM PARAMETER ENTRYWITHIN THE PARAMETER SET 0x0000 OPT Option 0x0004 SRC Source Address 0x0008 A_B_CNT A Count, B Count 0x000C DST Destination Address 0x0010 SRC_DST_BIDX Source B Index, Destination B Index 0x0014 LINK_BCNTRLD Link Address, B Count Reload 0x0018 SRC_DST_CIDX Source C Index, Destination C Index Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 59 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-15. Parameter Set Entries (continued) BYTE OFFSET ADDRESS ACRONYM PARAMETER ENTRYWITHIN THE PARAMETER SET 0x001C CCNT C Count Table 6-16. EDMA Events Event Event Name / Source Event Event Name / Source

0 McASP0 Receive 16 MMCSD Receive

1 McASP0 Transmit 17 MMCSD Transmit

2 McASP1 Receive 18 SPI1 Receive

3 McASP1 Transmit 19 SPI1 Transmit

4 Reserved 20 PRU_EVTOUT6

5 Reserved 21 PRU_EVTOUT7

6 GPIO Bank 0 Interrupt 22 GPIO Bank 2 Interrupt

7 GPIO Bank 1 Interrupt 23 GPIO Bank 3 Interrupt

8 UART0 Receive 24 I2C0 Receive

9 UART0 Transmit 25 I2C0 Transmit

10 Timer64P0 Event Out 12 26 I2C1 Receive

11 Timer64P0 Event Out 34 27 I2C1 Transmit

12 UART1 Receive 28 GPIO Bank 4 Interrupt

13 UART1 Transmit 29 GPIO Bank 5 Interrupt

14 SPI0 Receive 30 UART2 Receive

15 SPI0 Transmit 31 UART2 Transmit

60 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

EMA_A[1] EMA_A[2] EMA_D[7:0] EMA_CS[2] EMA_CS[3] EMA_WE EMA_OE ALE CLE DQ[7:0] CE1 CE2 WE RE R/ 1 B R/ 2 B EMIFA NAND FLASH x8, MultiPlane ALE CLE DQ[7:0] CE1 CE2 WE RE R/ 1 B R/ 2 B NAND FLASH x8, MultiPlane DVDD EMA_WAIT EMA_CS[4] EMA_CS[5] AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.10 External Memory Interface A (EMIFA)

EMIFA is one of two external memory interfaces supported on the device. It supports asynchronous memory types, such as NAND and NOR flash and Asynchronous SRAM.

6.10.1 EMIFA Asynchronous Memory Support

EMIFA supports asynchronous:

  • SRAM memories
  • NAND Flash memories
  • NOR Flash memories The device supports up to 13 address lines and an external wait/interrupt input. Up to 2 asynchronous chip selects are supported by EMIFA (EMA_CS[3:2]) . Each chip select has the following individually programmable attributes:
  • Data Bus Width
  • Read cycle timings: setup, hold, strobe
  • Write cycle timings: setup, hold, strobe
  • Bus turn around time
  • Extended Wait Option With Programmable Timeout
  • Select Strobe Option
  • NAND flash controller supports 1-bit and 4-bit ECC calculation on blocks of 512 bytes.

6.10.2 EMIFA Connection Examples

A likely use case with more than one EMIFA chip select used for NAND flash is illustrated in Figure 6-12. This figure shows how two multiplane NAND flash devices with two chip selects each would connect to the EMIFA. In this case if NAND is the boot memory, then the boot image needs to be stored in the NAND area selected by EMA_CS[3]. Part of the application image could spill over into the NAND regions selected by other EMIFA chip selects; but would rely on the code stored in the EMA_CS[3] area to bootload it. Figure 6-12. AM1705 EMIFA Connection Diagram: Multiple NAND Flash Planes Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 61 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.10.3 External Memory Interface A (EMIFA) Registers

Table 6-17 is a list of the EMIF registers. Table 6-17. External Memory Interface (EMIFA) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x6800 0000 MIDR Module ID Register 0x6800 0004 AWCC Asynchronous Wait Cycle Configuration Register 0x6800 0008 - Reserved 0x6800 000C - Reserved 0x6800 0010 CE2CFG Asynchronous 1 Configuration Register 0x6800 0014 CE3CFG Asynchronous 2 Configuration Register 0x6800 0018 CE4CFG Asynchronous 3 Configuration Register 0x6800 001C CE5CFG Asynchronous 4 Configuration Register 0x6800 0020 - Reserved 0x6800 003C - Reserved 0x6800 0040 INTRAW EMIFA Interrupt Raw Register 0x6800 0044 INTMSK EMIFA Interrupt Mask Register 0x6800 0048 INTMSKSET EMIFA Interrupt Mask Set Register 0x6800 004C INTMSKCLR EMIFA Interrupt Mask Clear Register 0x6800 0060 NANDFCR NAND Flash Control Register 0x6800 0064 NANDFSR NAND Flash Status Register 0x6800 0070 NANDF1ECC NAND Flash 1 ECC Register (CS2 Space) 0x6800 0074 NANDF2ECC NAND Flash 2 ECC Register (CS3 Space) 0x6800 0078 NANDF3ECC NAND Flash 3 ECC Register (CS4 Space) 0x6800 007C NANDF4ECC NAND Flash 4 ECC Register (CS5 Space) 0x6800 00BC NAND4BITECCLOAD NAND Flash 4-Bit ECC Load Register 0x6800 00C0 NAND4BITECC1 NAND Flash 4-Bit ECC Register 1 0x6800 00C4 NAND4BITECC2 NAND Flash 4-Bit ECC Register 2 0x6800 00C8 NAND4BITECC3 NAND Flash 4-Bit ECC Register 3 0x6800 00CC NAND4BITECC4 NAND Flash 4-Bit ECC Register 4 0x6800 00D0 NANDERRADD1 NAND Flash 4-Bit ECC Error Address Register 1 0x6800 00D4 NANDERRADD2 NAND Flash 4-Bit ECC Error Address Register 2 0x6800 00D8 NANDERRVAL1 NAND Flash 4-Bit ECC Error Value Register 1 0x6800 00DC NANDERRVAL2 NAND Flash 4-Bit ECC Error Value Register 2 62 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.10.4 EMIFA Electrical Data/Timing

The following assume testing over recommended operating conditions. Table 6-18. EMIFA Asynchronous Memory Timing Requirements(1) No. PARAMETER MIN NOM MAX UNIT READS and WRITES E tc(CLK) Cycle time, EMIFA module clock 10 ns 2 tw(EM_WAIT) Pulse duration, EM_WAIT assertion and deassertion 2E ns READS 12 tsu(EMDV-EMOEH) Setup time, EM_D[15:0] valid before EM_OE high 3 ns 13 th(EMOEH-EMDIV) Hold time, EM_D[15:0] valid after EM_OE high 0 ns 14 tsu (EMOEL-EMWAIT) Setup Time, EM_WAIT asserted before end of Strobe Phase(2) 4E+3 ns WRITES 28 tsu (EMWEL-EMWAIT) Setup Time, EM_WAIT asserted before end of Strobe Phase(2) 4E+3 ns (1) E = EMA_CLK period or in ns. EMA_CLK is selected either as SYSCLK3 or the PLL output clock divided by 4.5. As an example, when SYSCLK3 is selected and set to 100MHz, E=10ns. (2) Setup before end of STROBE phase (if no extended wait states are inserted) by which EM_WAIT must be asserted to add extended wait states. Figure 6-15 and Figure 6-16 describe EMIF transactions that include extended wait states inserted during the STROBE phase. However, cycles inserted as part of this extended wait period should not be counted; the 4E requirement is to the start of where the HOLD phase would begin if there were no extended wait cycles. Table 6-19. EMIFA Asynchronous Memory Switching Characteristics(1) (2) (3) No. PARAMETER MIN NOM MAX UNIT READS and WRITES 1 td(TURNAROUND) Turn around time (TA)*E - 3 (TA)*E (TA)*E + 3 ns READS (RS+RST+RH)*E (RS+RST+RH)*EEMIF read cycle time (EW = 0) (RS+RST+RH)*E ns- 3 + 3 3 tc(EMRCYCLE) (RS+RST+RH+E (RS+RST+RH+EWC (RS+RST+RH+EEMIF read cycle time (EW = 1) nsWC)*E - 3 )*E WC)*E + 3 Output setup time, EMA_CE[5:2] low to (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low (SS = 0) 4 tsu(EMCEL-EMOEL) Output setup time, EMA_CE[5:2] low to -3 0 +3 nsEMA_OE low (SS = 1) Output hold time, EMA_OE high to (RH)*E - 3 (RH)*E (RH)*E + 3 nsEMA_CE[5:2] high (SS = 0) 5 th(EMOEH-EMCEH) Output hold time, EMA_OE high to -3 0 +3 nsEMA_CE[5:2] high (SS = 1) Output setup time, EMA_BA[1:0] valid to6 tsu(EMBAV-EMOEL) (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low Output hold time, EMA_OE high to7 th(EMOEH-EMBAIV) (RH)*E-3 (RH)*E (RH)*E+3 nsEMA_BA[1:0] invalid Output setup time, EMA_A[13:0] valid to8 tsu(EMBAV-EMOEL) (RS)*E-3 (RS)*E (RS)*E+3 nsEMA_OE low Output hold time, EMA_OE high to9 th(EMOEH-EMAIV) (RH)*E-3 (RH)*E (RH)*E+3 nsEMA_A[13:0] invalid EMA_OE active low width (EW = 0) (RST)*E-3 (RST)*E (RST)*E+3 ns 10 tw(EMOEL) (RST+EWC)*E+EMA_OE active low width (EW = 1) (RST+EWC)*E-3 (RST+EWC)*E ns3 (1) TA = Turn around, RS = Read setup, RST = Read strobe, RH = Read hold, WS = Write setup, WST = Write strobe, WH = Write hold, MEWC = Maximum external wait cycles. These parameters are programmed via the Asynchronous Bank and Asynchronous Wait Cycle Configuration Registers. These support the following range of values: TA[4-1], RS[16-1], RST[64-1], RH[8-1], WS[16-1], WST[64-1], WH[8-1], and MEW[1-256]. (2) E = EMA_CLK period or in ns. EMA_CLK is selected either as SYSCLK3 or the PLL output clock divided by 4.5. As an example, when SYSCLK3 is selected and set to 100MHz, E=10ns. (3) EWC = external wait cycles determined by EMA_WAIT input signal. EWC supports the following range of values EWC[256-1]. Note that the maximum wait time before timeout is specified by bit field MEWC in the Asynchronous Wait Cycle Configuration Register. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 63 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-19. EMIFA Asynchronous Memory Switching Characteristics(1) (2) (3) (continued) No. PARAMETER MIN NOM MAX UNIT td(EMWAITH- Delay time from EMA_WAIT deasserted to11 3E-3 4E 4E+3 ns EMOEH) EMA_OE high WRITES (WS+WST+WH)* (WS+WST+WH)*EMIF write cycle time (EW = 0) (WS+WST+WH)*E nsE-3 E+3 15 tc(EMWCYCLE) (WS+WST+WH+E (WS+WST+WH+EW (WS+WST+WH+EMIF write cycle time (EW = 1) nsWC)*E - 3 C)*E EWC)*E + 3 Output setup time, EMA_CE[5:2] low to (WS)*E - 3 (WS)*E (WS)*E + 3 nsEMA_WE low (SS = 0) 16 tsu(EMCEL-EMWEL) Output setup time, EMA_CE[5:2] low to -3 0 +3 nsEMA_WE low (SS = 1) Output hold time, EMA_WE high to (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_CE[5:2] high (SS = 0) 17 th(EMWEH-EMCEH) Output hold time, EMA_WE high to -3 0 +3 nsEMA_CE[5:2] high (SS = 1) tsu(EMDQMV- Output setup time, EMA_BA[1:0] valid to18 (WS)*E-3 (WS)*E (WS)*E+3 ns EMWEL) EMA_WE low th(EMWEH- Output hold time, EMA_WE high to19 (WH)*E-3 (WH)*E (WH)*E+3 ns EMDQMIV) EMA_BA[1:0] invalid tsu(EMBAV- Output setup time, EMA_BA[1:0] valid to20 (WS)*E-3 (WS)*E (WS)*E+3 ns EMWEL) EMA_WE low Output hold time, EMA_WE high to21 th(EMWEH-EMBAIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_BA[1:0] invalid Output setup time, EMA_A[13:0] valid to22 tsu(EMAV-EMWEL) (WS)*E-3 (WS)*E (WS)*E+3 nsEMA_WE low Output hold time, EMA_WE high to23 th(EMWEH-EMAIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_A[13:0] invalid EMA_WE active low width (EW = 0) (WST)*E-3 (WST)*E (WST)*E+3 ns 24 tw(EMWEL) (WST+EWC)*E+EMA_WE active low width (EW = 1) (WST+EWC)*E-3 (WST+EWC)*E ns3 td(EMWAITH- Delay time from EMA_WAIT deasserted to25 3E-3 4E 4E+3 ns EMWEH) EMA_WE high Output setup time, EMA_D[15:0] valid to26 tsu(EMDV-EMWEL) (WS)*E-3 (WS)*E (WS)*E+3 nsEMA_WE low Output hold time, EMA_WE high to27 th(EMWEH-EMDIV) (WH)*E-3 (WH)*E (WH)*E+3 nsEMA_D[15:0] invalid 64 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

EMB_CS EMB_CAS EMB_RAS EMB_WE EMB_CLK EMB_SDCKE EMB_BA[1:0] EMB_A[x:0] EMB_D[x:0] EMB_WE_DQM[x:0] SDRAM Interface Cmd/Write FIFO Registers Read FIFO Crossbar EMIFB Master Peripherals EDMA CPU MPU2 AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.11 External Memory Interface B (EMIFB)

The following EMIFB Functional Block Diagram illustrates a high-level view of the EMIFB and its connections within the device. Multiple requesters have access to EMIFB through a switched central resource (indicated as an overbar in the figure). The EMIFB implements a split transaction internal bus, allowing concurrence between reads and writes from the various requesters. Figure 6-17. EMIFB Functional Block Diagram EMIFB supports a 3.3V LVCMOS Interface.

6.11.1 EMIFB SDRAM Loading Limitations

EMIFB supports SDRAM up to 152 MHz with up to two SDRAM or asynchronous memory loads. Additional loads will limit the SDRAM operation to lower speeds and the maximum speed should be confirmed by board simulation using IBIS models. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 67 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.11.2 Interfacing to SDRAM

The EMIFB supports a glueless interface to SDRAM devices with the following characteristics:

  • Pre-charge bit is A[10]
  • Supports 8, 9, 10 or 11 column address bits
  • Supports up to 13 row address bits
  • Supports 1, 2 or 4 internal banks Table 6-20 shows the supported SDRAM configurations for EMIFB. Table 6-20. EMIFB Supported SDRAM Configurations(1) SDRAM Memory MemoryNumber of EMIFB Data Total Memory Total MemoryData Bus Rows Columns Banks DensityMemories Bus Size (Mbits) (Mbytes)Width (Mbits) (bits) 1 16 13 8 1 32 4 32 1 16 13 8 2 64 8 64 1 16 13 8 4 128 16 128 1 16 13 9 1 64 8 64 1 16 13 9 2 128 16 128 1 16 13 9 4 256 32 256 1 16 13 10 1 128 16 128 1 16 13 10 2 256 32 256 1 16 13 10 4 512 64 512 1 16 13 11 1 256 32 256 1 16 13 11 2 512 64 512 1 16 13 11 4 1024 128 1024 2 16 13 8 1 32 4 16 2 16 13 8 2 64 8 32 2 16 13 8 4 128 16 64 2 16 13 9 1 64 8 32 2 16 13 9 2 128 16 64 2 16 13 9 4 256 32 128 2 16 13 10 1 128 16 64 2 16 13 10 2 256 32 128 2 16 13 10 4 512 64 256 2 16 13 11 1 256 32 128 2 16 13 11 2 512 64 256 2 16 13 11 4 1024 128 512 (1) The shaded cells indicate configurations that are possible on the EMIFA interface but as of this writing SDRAM memories capable of supporting these densities are not available in the market. 68 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

EMB_CS EMB_CAS EMB_RAS EMB_WE EMB_CLK EMB_SDCKE EMB_BA[1:0] EMB_A[11:0] EMB_WE_DQM[0] EMB_WE_DQM[1] EMB_D[15:0] EMIFB CE CAS RAS WE CLK CKE BA[1:0] A[11:0] LDQM UDQM DQ[15:0] SDRAM 2M□x□16□x□4 Bank AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-18 shows an interface between the EMIFB and a 2M × 16 × 4 bank SDRAM device. Refer to Table 6-21, as an example that shows additional list of commonly-supported SDRAM devices and the required connections for the address pins. Note that in Table 6-21, page size/column size (not indicated in the table) is varied to get the required addressability range. Figure 6-18. EMIFB to 2M × 16 × 4 bank SDRAM Interface Table 6-21. Example of 16-bit EMIFB Address Pin Connections SDRAM Size Width Banks Address Pins 64M bits ×16 4 SDRAM A[11:0] EMIFB EMB_A[11:0] 128M bits ×16 4 SDRAM A[11:0] EMIFB EMB_A[11:0] 256M bits ×16 4 SDRAM A[12:0] EMIFB EMB_A[12:0] 512M bits ×16 4 SDRAM A[12:0] EMIFB EMB_A[12:0]

6.11.3 EMIFB Registers

Table 6-22 is a list of the EMIFB registers. Table 6-22. EMIFB Controller Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0xB000 0000 MIDR Module ID Register 0xB000 0008 SDCFG SDRAM Configuration Register 0xB000 000C SDRFC SDRAM Refresh Control Register 0xB000 0010 SDTIM1 SDRAM Timing Register 1 0xB000 0014 SDTIM2 SDRAM Timing Register 2 0xB000 001C SDCFG2 SDRAM Configuration 2 Register 0xB000 0020 BPRIO Peripheral Bus Burst Priority Register 0xB000 0040 PC1 Performance Counter 1 Register 0xB000 0044 PC2 Performance Counter 2 Register 0xB000 0048 PCC Performance Counter Configuration Register 0xB000 004C PCMRS Performance Counter Master Region Select Register 0xB000 0050 PCT Performance Counter Time Register 0xB000 00C0 IRR Interrupt Raw Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 69 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-22. EMIFB Controller Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0xB000 00C4 IMR Interrupt Mask Register 0xB000 00C8 IMSR Interrupt Mask Set Register 0xB000 00CC IMCR Interrupt Mask Clear Register 70 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.11.4 EMIFB Electrical Data/Timing

Table 6-23. EMIFB SDRAM Interface Timing Requirements CVDD = 1.3 V(1) CVDD = 1.2V(2) UNINO. TMIN MAX MIN MAX Input setup time, read data valid on EMB_D[31:0] before19 t(DV-CLKH) 0.59 0.8 nsEMB_CLK rising Input hold time, read data valid on EMB_D[31:0] after20 th(CLKH-DIV) 1.25 1.5 nsEMB_CLK rising (1) Commercial (default), Industrial and Extended temperature range rated devices for 456 MHz max CPU operating frequency as applicable to the device (2) Commercial (default), Industrial, Extended and Automotive temperature range rated devices for 400/375/300/266/200 MHz max CPU operating frequencies as applicable to the device Table 6-24. EMIFB SDRAM Interface Switching Characteristics for Commercial (Default) Temperature Range CVDD = 1.3 V(1) CVDD = 1.2V(2) UNINO. PARAMETER TMIN MAX MIN MAX 1 tc(CLK) Cycle time, EMIF clock EMB_CLK 6.579 7.5 ns 2 tw(CLK) Pulse width, EMIF clock EMB_CLK high or low 2.63 3 ns 3 td(CLKH-CSV) Delay time, EMB_CLK rising to EMB_CS[0] valid 4.25 5.1 ns 4 toh(CLKH-CSIV) Output hold time, EMB_CLK rising to EMB_CS[0] invalid 1.1 1.1 ns 5 td(CLKH-DQMV) Delay time, EMB_CLK rising to EMB_WE_DQM[3:0] valid 4.25 5.1 ns Output hold time, EMB_CLK rising to EMB_WE_DQM[3:0]6 toh(CLKH-DQMIV) 1.1 1.1 nsinvalid Delay time, EMB_CLK rising to EMB_A[12:0] and7 td(CLKH-AV) 4.25 5.1 nsEMB_BA[1:0] valid Output hold time, EMB_CLK rising to EMB_A[12:0] and8 toh(CLKH-AIV) 1.1 1.1 nsEMB_BA[1:0] invalid 9 td(CLKH-DV) Delay time, EMB_CLK rising to EMB_D[31:0] valid 4.25 5.1 ns 10 toh(CLKH-DIV) Output hold time, EMB_CLK rising to EMB_D[31:0] invalid 1.1 1.1 ns 11 td(CLKH-RASV) Delay time, EMB_CLK rising to EMB_RAS valid 4.25 5.1 ns 12 toh(CLKH-RASIV) Output hold time, EMB_CLK rising to EMB_RAS invalid 1.1 1.1 ns 13 td(CLKH-CASV) Delay time, EMB_CLK rising to EMB_CAS valid 4.25 5.1 ns 14 toh(CLKH-CASIV) Output hold time, EMB_CLK rising to EMB_CAS invalid 1.1 1.1 ns 15 td(CLKH-WEV) Delay time, EMB_CLK rising to EMB_WE valid 4.25 5.1 ns 16 toh(CLKH-WEIV) Output hold time, EMB_CLK rising to EMB_WE invalid 1.1 1.1 ns 17 tdis(CLKH-DHZ) Delay time, EMB_CLK rising to EMB_D[31:0] tri-stated 4.25 5.1 ns 18 t(CLKH-DLZ) Output hold time, EMB_CLK rising to EMB_D[31:0] driving 1.1 1.1 ns (1) Commercial (default) temperature range rated devices for 456 MHz max CPU operating frequency as applicable to the device (2) Commercial (default) temperature range rated devices for 400/375/300/266/200 MHz max CPU operating frequencies as applicable to the device Table 6-25. EMIFB SDRAM Interface Switching Characteristics for Industrial, Extended, and Automotive Temperature Ranges CVDD = 1.3 V(1) CVDD = 1.2V(2) UNINO. PARAMETER TMIN MAX MIN MAX 1 tc(CLK) Cycle time, EMIF clock EMB_CLK 6.579 7.5 ns 2 tw(CLK) Pulse width, EMIF clock EMB_CLK high or low 2.63 3 ns 3 td(CLKH-CSV) Delay time, EMB_CLK rising to EMB_CS[0] valid 4.25 5.1 ns 4 toh(CLKH-CSIV) Output hold time, EMB_CLK rising to EMB_CS[0] invalid 1.1 0.9 ns (1) Industrial temperature range rated devices for 456 MHz max CPU operating frequency as applicable to the device (2) Industrial, Extended and Automotive temperature range rated devices for 400/375/300/266/200 MHz max CPU operating frequencies as applicable to the device Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 71 Submit Documentation Feedback Product Folder Links: AM1705

EMB_CLK EMB_BA[1:0] EMB_A[12:0] EMB_D[31:0] 2 2 BASIC SDRAM WRITE OPERATION EMB_CS[0] EMB_WE_DQM[3:0] EMB_RAS EMB_CAS EMB_WE AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-25. EMIFB SDRAM Interface Switching Characteristics for Industrial, Extended, and Automotive Temperature Ranges (continued) CVDD = 1.3 V(1) CVDD = 1.2V(2) UNINO. PARAMETER TMIN MAX MIN MAX 5 td(CLKH-DQMV) Delay time, EMB_CLK rising to EMB_WE_DQM[3:0] valid 4.25 5.1 ns Output hold time, EMB_CLK rising to EMB_WE_DQM[3:0]6 toh(CLKH-DQMIV) 1.1 0.9 nsinvalid Delay time, EMB_CLK rising to EMB_A[12:0] and7 td(CLKH-AV) 4.25 5.1 nsEMB_BA[1:0] valid Output hold time, EMB_CLK rising to EMB_A[12:0] and8 toh(CLKH-AIV) 1.1 0.9 nsEMB_BA[1:0] invalid 9 td(CLKH-DV) Delay time, EMB_CLK rising to EMB_D[31:0] valid 4.25 5.1 ns 10 toh(CLKH-DIV) Output hold time, EMB_CLK rising to EMB_D[31:0] invalid 1.1 0.9 ns 11 td(CLKH-RASV) Delay time, EMB_CLK rising to EMB_RAS valid 4.25 5.1 ns 12 toh(CLKH-RASIV) Output hold time, EMB_CLK rising to EMB_RAS invalid 1.1 0.9 ns 13 td(CLKH-CASV) Delay time, EMB_CLK rising to EMB_CAS valid 4.25 5.1 ns 14 toh(CLKH-CASIV) Output hold time, EMB_CLK rising to EMB_CAS invalid 1.1 0.9 ns 15 td(CLKH-WEV) Delay time, EMB_CLK rising to EMB_WE valid 4.25 5.1 ns 16 toh(CLKH-WEIV) Output hold time, EMB_CLK rising to EMB_WE invalid 1.1 0.9 ns 17 tdis(CLKH-DHZ) Delay time, EMB_CLK rising to EMB_D[31:0] tri-stated 4.25 5.1 ns 18 t(CLKH-DLZ) Output hold time, EMB_CLK rising to EMB_D[31:0] driving 1.1 0.9 ns Figure 6-19. EMIFB Basic SDRAM Write Operation 72 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

EMB_CLK EMB_BA[1:0] EMB_A[12:0] EMB_D[31:0] 2 2 17 182 EM_CLK Delay BASIC SDRAM READ OPERATION EMB_CS[0] EMB_WE_DQM[3:0] EMB_RAS EMB_CAS EMB_WE AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-20. EMIFB Basic SDRAM Read Operation Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 73 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.12 Memory Protection Units

The MPU performs memory protection checking. It receives requests from a bus master in the system and checks the address against the fixed and programmable regions to see if the access is allowed. If allowed, the transfer is passed unmodified to its output bus (to the targeted address). If the transfer is illegal (fails the protection check) then the MPU does not pass the transfer to the output bus but rather services the transfer internally back to the input bus (to prevent a hang) returning the fault status to the requestor as well as generating an interrupt about the fault. The following features are supported by the MPU:

  • Provides memory protection for fixed and programmable address ranges
  • Supports multiple programmable address region
  • Supports secure and debug access privileges
  • Supports read, write, and execute access privileges
  • Supports privid(8) associations with ranges
  • Generates an interrupt when there is a protection violation, and saves violating transfer parameters
  • MMR access is also protected Table 6-26. MPU1 Configuration Registers MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 4000 REVID Revision ID 0x01E1 4004 CONFIG Configuration 0x01E1 4010 IRAWSTAT Interrupt raw status/set 0x01E1 4014 IENSTAT Interrupt enable status/clear 0x01E1 4018 IENSET Interrupt enable 0x01E1 401C IENCLR Interrupt enable clear 0x01E1 4020 - 0x01E1 41FF - Reserved 0x01E1 4200 PROG1_MPSAR Programmable range 1, start address 0x01E1 4204 PROG1_MPEAR Programmable range 1, end address 0x01E1 4208 PROG1_MPPA Programmable range 1, memory page protection attributes 0x01E1 420C - 0x01E1 420F - Reserved 0x01E1 4210 PROG2_MPSAR Programmable range 2, start address 0x01E1 4214 PROG2_MPEAR Programmable range 2, end address 0x01E1 4218 PROG2_MPPA Programmable range 2, memory page protection attributes 0x01E1 421C - 0x01E1 421F - Reserved 0x01E1 4220 PROG3_MPSAR Programmable range 3, start address 0x01E1 4224 PROG3_MPEAR Programmable range 3, end address 0x01E1 4228 PROG3_MPPA Programmable range 3, memory page protection attributes 0x01E1 422C - 0x01E1 422F - Reserved 0x01E1 4230 PROG4_MPSAR Programmable range 4, start address 0x01E1 4234 PROG4_MPEAR Programmable range 4, end address 0x01E1 4238 PROG4_MPPA Programmable range 4, memory page protection attributes 0x01E1 423C - 0x01E1 423F - Reserved 0x01E1 4240 PROG5_MPSAR Programmable range 5, start address 0x01E1 4244 PROG5_MPEAR Programmable range 5, end address 0x01E1 4248 PROG5_MPPA Programmable range 5, memory page protection attributes 0x01E1 424C - 0x01E1 424F - Reserved 0x01E1 4250 PROG6_MPSAR Programmable range 6, start address 0x01E1 4254 PROG6_MPEAR Programmable range 6, end address 0x01E1 4258 PROG6_MPPA Programmable range 6, memory page protection attributes 0x01E1 425C - 0x01E1 42FF - Reserved 74 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-26. MPU1 Configuration Registers (continued) MPU1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E14300 FLTADDRR Fault address 0x01E1 4304 FLTSTAT Fault status 0x01E1 4308 FLTCLR Fault clear 0x01E1 430C - 0x01E1 4FFF - Reserved Table 6-27. MPU2 Configuration Registers MPU2 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 5000 REVID Revision ID 0x01E1 5004 CONFIG Configuration 0x01E1 5010 IRAWSTAT Interrupt raw status/set 0x01E1 5014 IENSTAT Interrupt enable status/clear 0x01E1 5018 IENSET Interrupt enable 0x01E1 501C IENCLR Interrupt enable clear 0x01E1 5020 - 0x01E1 50FF - Reserved 0x01E1 5100 FXD_MPSAR Fixed range start address 0x01E1 5104 FXD_MPEAR Fixed range end start address 0x01E1 5108 FXD_MPPA Fixed range memory page protection attributes 0x01E1 510C - 0x01E1 51FF - Reserved 0x01E1 5200 PROG1_MPSAR Programmable range 1, start address 0x01E1 5204 PROG1_MPEAR Programmable range 1, end address 0x01E1 5208 PROG1_MPPA Programmable range 1, memory page protection attributes 0x01E1 520C - 0x01E1 520F - Reserved 0x01E1 5210 PROG2_MPSAR Programmable range 2, start address 0x01E1 5214 PROG2_MPEAR Programmable range 2, end address 0x01E1 5218 PROG2_MPPA Programmable range 2, memory page protection attributes 0x01E1 521C - 0x01E1 521F - Reserved 0x01E1 5220 PROG3_MPSAR Programmable range 3, start address 0x01E1 5224 PROG3_MPEAR Programmable range 3, end address 0x01E1 5228 PROG3_MPPA Programmable range 3, memory page protection attributes 0x01E1 522C - 0x01E1 522F - Reserved 0x01E1 5230 PROG4_MPSAR Programmable range 4, start address 0x01E1 5234 PROG4_MPEAR Programmable range 4, end address 0x01E1 5238 PROG4_MPPA Programmable range 4, memory page protection attributes 0x01E1 523C - 0x01E1 523F - Reserved 0x01E1 5240 PROG5_MPSAR Programmable range 5, start address 0x01E1 5244 PROG5_MPEAR Programmable range 5, end address 0x01E1 5248 PROG5_MPPA Programmable range 5, memory page protection attributes 0x01E1 524C - 0x01E1 524F - Reserved 0x01E1 5250 PROG6_MPSAR Programmable range 6, start address 0x01E1 5254 PROG6_MPEAR Programmable range 6, end address 0x01E1 5258 PROG6_MPPA Programmable range 6, memory page protection attributes 0x01E1 525C - 0x01E1 525F - Reserved 0x01E1 5260 PROG7_MPSAR Programmable range 7, start address 0x01E1 5264 PROG7_MPEAR Programmable range 7, end address 0x01E1 5268 PROG7_MPPA Programmable range 7, memory page protection attributes 0x01E1 526C - 0x01E1 526F - Reserved Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 75 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-27. MPU2 Configuration Registers (continued) MPU2 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS 0x01E1 5270 PROG8_MPSAR Programmable range 8, start address 0x01E1 5274 PROG8_MPEAR Programmable range 8, end address 0x01E1 5278 PROG8_MPPA Programmable range 8, memory page protection attributes 0x01E1 527C - 0x01E1 527F - Reserved 0x01E1 5280 PROG9_MPSAR Programmable range 9, start address 0x01E1 5284 PROG9_MPEAR Programmable range 9, end address 0x01E1 5288 PROG9_MPPA Programmable range 9, memory page protection attributes 0x01E1 528C - 0x01E1 528F - Reserved 0x01E1 5290 PROG10_MPSAR Programmable range 10, start address 0x01E1 5294 PROG10_MPEAR Programmable range 10, end address 0x01E1 5298 PROG10_MPPA Programmable range 10, memory page protection attributes 0x01E1 529C - 0x01E1 529F - Reserved 0x01E1 52A0 PROG11_MPSAR Programmable range 11, start address 0x01E1 52A4 PROG11_MPEAR Programmable range 11, end address 0x01E1 52A8 PROG11_MPPA Programmable range 11, memory page protection attributes 0x01E1 52AC - 0x01E1 52AF - Reserved 0x01E1 52B0 PROG12_MPSAR Programmable range 12, start address 0x01E1 52B4 PROG12_MPEAR Programmable range 12, end address 0x01E1 52B8 PROG12_MPPA Programmable range 12, memory page protection attributes 0x01E1 52BC - 0x01E1 52FF - Reserved 0x01E1 5300 FLTADDRR Fault address 0x01E1 5304 FLTSTAT Fault status 0x01E1 5308 FLTCLR Fault clear 0x01E1 530C - 0x01E1 5FFF - Reserved 76 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.13 MMC / SD / SDIO (MMCSD)

6.13.1 MMCSD Peripheral Description

The device includes an MMCSD controller which is compliant with MMC V4.0, Secure Digital Part 1 Physical Layer Specification V1.1 and Secure Digital Input Output (SDIO) V2.0 specifications. The MMC/SD Controller has following features:

  • MultiMediaCard (MMC) support
  • Secure Digital (SD) Memory Card support
  • MMC/SD protocol support
  • SD high capacity support
  • SDIO protocol support
  • Programmable clock frequency
  • 512 bit Read/Write FIFO to lower system overhead
  • Slave EDMA transfer capability The device MMC/SD Controller does not support SPI mode.

6.13.2 MMCSD Peripheral Register Description(s)

Table 6-28. Multimedia Card/Secure Digital (MMC/SD) Card Controller Registers BYTE ACRONYM REGISTER DESCRIPTION ADDRESS 0x01C4 0000 MMCCTL MMC Control Register 0x01C4 0004 MMCCLK MMC Memory Clock Control Register 0x01C4 0008 MMCST0 MMC Status Register 0 0x01C4 000C MMCST1 MMC Status Register 1 0x01C4 0010 MMCIM MMC Interrupt Mask Register 0x01C4 0014 MMCTOR MMC Response Time-Out Register 0x01C4 0018 MMCTOD MMC Data Read Time-Out Register 0x01C4 001C MMCBLEN MMC Block Length Register 0x01C4 0020 MMCNBLK MMC Number of Blocks Register 0x01C4 0024 MMCNBLC MMC Number of Blocks Counter Register 0x01C4 0028 MMCDRR MMC Data Receive Register 0x01C4 002C MMCDXR MMC Data Transmit Register 0x01C4 0030 MMCCMD MMC Command Register 0x01C4 0034 MMCARGHL MMC Argument Register 0x01C4 0038 MMCRSP01 MMC Response Register 0 and 1 0x01C4 003C MMCRSP23 MMC Response Register 2 and 3 0x01C4 0040 MMCRSP45 MMC Response Register 4 and 5 0x01C4 0044 MMCRSP67 MMC Response Register 6 and 7 0x01C4 0048 MMCDRSP MMC Data Response Register 0x01C4 0050 MMCCIDX MMC Command Index Register 0x01C4 0064 SDIOCTL SDIO Control Register 0x01C4 0068 SDIOST0 SDIO Status Register 0 0x01C4 006C SDIOIEN SDIO Interrupt Enable Register 0x01C4 0070 SDIOIST SDIO Interrupt Status Register 0x01C4 0074 MMCFIFOCTLπ MMC FIFO Control Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 77 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.13.3 MMC/SD Electrical Data/Timing

Table 6-29. Timing Requirements for MMC/SD Module (see Figure 6-22 and Figure 6-24) No. PARAMETER MIN MAX UNIT 1 tsu(CMDV-CLKH) Setup time, MMCSD_CMD valid before MMCSD_CLK high 3.2 ns 2 th(CLKH-CMDV) Hold time, MMCSD_CMD valid after MMCSD_CLK high 1.5 ns 3 tsu(DATV-CLKH) Setup time, MMCSD_DATx valid before MMCSD_CLK high 3.2 ns 4 th(CLKH-DATV) Hold time, MMCSD_DATx valid after MMCSD_CLK high 1.5 ns Table 6-30. Switching Characteristics Over Recommended Operating Conditions for MMC/SD Module (see Figure 6-21 through Figure 6-24) No. PARAMETER MIN MAX UNIT 7 f(CLK) Operating frequency, MMCSD_CLK 0 52 MHz 8 f(CLK_ID) Identification mode frequency, MMCSD_CLK 0 400 KHz 9 tW(CLKL) Pulse width, MMCSD_CLK low 6.5 ns 10 tW(CLKH) Pulse width, MMCSD_CLK high 6.5 ns 11 tr(CLK) Rise time, MMCSD_CLK 3 ns 12 tf(CLK) Fall time, MMCSD_CLK 3 ns 13 td(CLKL-CMD) Delay time, MMCSD_CLK low to MMCSD_CMD transition -4.5 2.5 ns 14 td(CLKL-DAT) Delay time, MMCSD_CLK low to MMCSD_DATx transition -4.5 2.5 ns 78 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.14 Ethernet Media Access Controller (EMAC)

The Ethernet Media Access Controller (EMAC) provides an efficient interface between the device and the network. The EMAC supports both 10Base-T and 100Base-TX, or 10 Mbits/second (Mbps) and 100 Mbps in either half- or full-duplex mode, with hardware flow control and quality of service (QOS) support. The EMAC controls the flow of packet data from the device to the PHY. The MDIO module controls PHY configuration and status monitoring. Both the EMAC and the MDIO modules interface to the device through a custom interface that allows efficient data transmission and reception. This custom interface is referred to as the EMAC control module, and is considered integral to the EMAC/MDIO peripheral. The control module is also used to multiplex and control interrupts.

6.14.1 EMAC Peripheral Register Description(s)

Table 6-31. Ethernet Media Access Controller (EMAC) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 3000 TXREV Transmit Revision Register 0x01E2 3004 TXCONTROL Transmit Control Register 0x01E2 3008 TXTEARDOWN Transmit Teardown Register 0x01E2 3010 RXREV Receive Revision Register 0x01E2 3014 RXCONTROL Receive Control Register 0x01E2 3018 RXTEARDOWN Receive Teardown Register 0x01E2 3080 TXINTSTATRAW Transmit Interrupt Status (Unmasked) Register 0x01E2 3084 TXINTSTATMASKED Transmit Interrupt Status (Masked) Register 0x01E2 3088 TXINTMASKSET Transmit Interrupt Mask Set Register 0x01E2 308C TXINTMASKCLEAR Transmit Interrupt Clear Register 0x01E2 3090 MACINVECTOR MAC Input Vector Register 0x01E2 3094 MACEOIVECTOR MAC End Of Interrupt Vector Register 0x01E2 30A0 RXINTSTATRAW Receive Interrupt Status (Unmasked) Register 0x01E2 30A4 RXINTSTATMASKED Receive Interrupt Status (Masked) Register 0x01E2 30A8 RXINTMASKSET Receive Interrupt Mask Set Register 0x01E2 30AC RXINTMASKCLEAR Receive Interrupt Mask Clear Register 0x01E2 30B0 MACINTSTATRAW MAC Interrupt Status (Unmasked) Register 0x01E2 30B4 MACINTSTATMASKED MAC Interrupt Status (Masked) Register 0x01E2 30B8 MACINTMASKSET MAC Interrupt Mask Set Register 0x01E2 30BC MACINTMASKCLEAR MAC Interrupt Mask Clear Register 0x01E2 3100 RXMBPENABLE Receive Multicast/Broadcast/Promiscuous Channel Enable Register 0x01E2 3104 RXUNICASTSET Receive Unicast Enable Set Register 0x01E2 3108 RXUNICASTCLEAR Receive Unicast Clear Register 0x01E2 310C RXMAXLEN Receive Maximum Length Register 0x01E2 3110 RXBUFFEROFFSET Receive Buffer Offset Register 0x01E2 3114 RXFILTERLOWTHRESH Receive Filter Low Priority Frame Threshold Register 0x01E2 3120 RX0FLOWTHRESH Receive Channel 0 Flow Control Threshold Register 0x01E2 3124 RX1FLOWTHRESH Receive Channel 1 Flow Control Threshold Register 0x01E2 3128 RX2FLOWTHRESH Receive Channel 2 Flow Control Threshold Register 0x01E2 312C RX3FLOWTHRESH Receive Channel 3 Flow Control Threshold Register 0x01E2 3130 RX4FLOWTHRESH Receive Channel 4 Flow Control Threshold Register 0x01E2 3134 RX5FLOWTHRESH Receive Channel 5 Flow Control Threshold Register 0x01E2 3138 RX6FLOWTHRESH Receive Channel 6 Flow Control Threshold Register 0x01E2 313C RX7FLOWTHRESH Receive Channel 7 Flow Control Threshold Register 80 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-31. Ethernet Media Access Controller (EMAC) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 3140 RX0FREEBUFFER Receive Channel 0 Free Buffer Count Register 0x01E2 3144 RX1FREEBUFFER Receive Channel 1 Free Buffer Count Register 0x01E2 3148 RX2FREEBUFFER Receive Channel 2 Free Buffer Count Register 0x01E2 314C RX3FREEBUFFER Receive Channel 3 Free Buffer Count Register 0x01E2 3150 RX4FREEBUFFER Receive Channel 4 Free Buffer Count Register 0x01E2 3154 RX5FREEBUFFER Receive Channel 5 Free Buffer Count Register 0x01E2 3158 RX6FREEBUFFER Receive Channel 6 Free Buffer Count Register 0x01E2 315C RX7FREEBUFFER Receive Channel 7 Free Buffer Count Register 0x01E2 3160 MACCONTROL MAC Control Register 0x01E2 3164 MACSTATUS MAC Status Register 0x01E2 3168 EMCONTROL Emulation Control Register 0x01E2 316C FIFOCONTROL FIFO Control Register 0x01E2 3170 MACCONFIG MAC Configuration Register 0x01E2 3174 SOFTRESET Soft Reset Register 0x01E2 31D0 MACSRCADDRLO MAC Source Address Low Bytes Register 0x01E2 31D4 MACSRCADDRHI MAC Source Address High Bytes Register 0x01E2 31D8 MACHASH1 MAC Hash Address Register 1 0x01E2 31DC MACHASH2 MAC Hash Address Register 2 0x01E2 31E0 BOFFTEST Back Off Test Register 0x01E2 31E4 TPACETEST Transmit Pacing Algorithm Test Register 0x01E2 31E8 RXPAUSE Receive Pause Timer Register 0x01E2 31EC TXPAUSE Transmit Pause Timer Register 0x01E2 3200 - 0x01E2 32FC (see Table 6-32) EMAC Statistics Registers 0x01E2 3500 MACADDRLO MAC Address Low Bytes Register, Used in Receive Address Matching 0x01E2 3504 MACADDRHI MAC Address High Bytes Register, Used in Receive Address Matching 0x01E2 3508 MACINDEX MAC Index Register 0x01E2 3600 TX0HDP Transmit Channel 0 DMA Head Descriptor Pointer Register 0x01E2 3604 TX1HDP Transmit Channel 1 DMA Head Descriptor Pointer Register 0x01E2 3608 TX2HDP Transmit Channel 2 DMA Head Descriptor Pointer Register 0x01E2 360C TX3HDP Transmit Channel 3 DMA Head Descriptor Pointer Register 0x01E2 3610 TX4HDP Transmit Channel 4 DMA Head Descriptor Pointer Register 0x01E2 3614 TX5HDP Transmit Channel 5 DMA Head Descriptor Pointer Register 0x01E2 3618 TX6HDP Transmit Channel 6 DMA Head Descriptor Pointer Register 0x01E2 361C TX7HDP Transmit Channel 7 DMA Head Descriptor Pointer Register 0x01E2 3620 RX0HDP Receive Channel 0 DMA Head Descriptor Pointer Register 0x01E2 3624 RX1HDP Receive Channel 1 DMA Head Descriptor Pointer Register 0x01E2 3628 RX2HDP Receive Channel 2 DMA Head Descriptor Pointer Register 0x01E2 362C RX3HDP Receive Channel 3 DMA Head Descriptor Pointer Register 0x01E2 3630 RX4HDP Receive Channel 4 DMA Head Descriptor Pointer Register 0x01E2 3634 RX5HDP Receive Channel 5 DMA Head Descriptor Pointer Register 0x01E2 3638 RX6HDP Receive Channel 6 DMA Head Descriptor Pointer Register 0x01E2 363C RX7HDP Receive Channel 7 DMA Head Descriptor Pointer Register 0x01E2 3640 TX0CP Transmit Channel 0 Completion Pointer Register 0x01E2 3644 TX1CP Transmit Channel 1 Completion Pointer Register 0x01E2 3648 TX2CP Transmit Channel 2 Completion Pointer Register 0x01E2 364C TX3CP Transmit Channel 3 Completion Pointer Register 0x01E2 3650 TX4CP Transmit Channel 4 Completion Pointer Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 81 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-31. Ethernet Media Access Controller (EMAC) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 3654 TX5CP Transmit Channel 5 Completion Pointer Register 0x01E2 3658 TX6CP Transmit Channel 6 Completion Pointer Register 0x01E2 365C TX7CP Transmit Channel 7 Completion Pointer Register 0x01E2 3660 RX0CP Receive Channel 0 Completion Pointer Register 0x01E2 3664 RX1CP Receive Channel 1 Completion Pointer Register 0x01E2 3668 RX2CP Receive Channel 2 Completion Pointer Register 0x01E2 366C RX3CP Receive Channel 3 Completion Pointer Register 0x01E2 3670 RX4CP Receive Channel 4 Completion Pointer Register 0x01E2 3674 RX5CP Receive Channel 5 Completion Pointer Register 0x01E2 3678 RX6CP Receive Channel 6 Completion Pointer Register 0x01E2 367C RX7CP Receive Channel 7 Completion Pointer Register Table 6-32. EMAC Statistics Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 3200 RXGOODFRAMES Good Receive Frames Register Broadcast Receive Frames Register0x01E2 3204 RXBCASTFRAMES (Total number of good broadcast frames received) Multicast Receive Frames Register0x01E2 3208 RXMCASTFRAMES (Total number of good multicast frames received) 0x01E2 320C RXPAUSEFRAMES Pause Receive Frames Register Receive CRC Errors Register0x01E2 3210 RXCRCERRORS (Total number of frames received with CRC errors) Receive Alignment/Code Errors Register0x01E2 3214 RXALIGNCODEERRORS (Total number of frames received with alignment/code errors) Receive Oversized Frames Register0x01E2 3218 RXOVERSIZED (Total number of oversized frames received) Receive Jabber Frames Register0x01E2 321C RXJABBER (Total number of jabber frames received) Receive Undersized Frames Register0x01E2 3220 RXUNDERSIZED (Total number of undersized frames received) 0x01E2 3224 RXFRAGMENTS Receive Frame Fragments Register 0x01E2 3228 RXFILTERED Filtered Receive Frames Register 0x01E2 322C RXQOSFILTERED Received QOS Filtered Frames Register Receive Octet Frames Register0x01E2 3230 RXOCTETS (Total number of received bytes in good frames) Good Transmit Frames Register0x01E2 3234 TXGOODFRAMES (Total number of good frames transmitted) 0x01E2 3238 TXBCASTFRAMES Broadcast Transmit Frames Register 0x01E2 323C TXMCASTFRAMES Multicast Transmit Frames Register 0x01E2 3240 TXPAUSEFRAMES Pause Transmit Frames Register 0x01E2 3244 TXDEFERRED Deferred Transmit Frames Register 0x01E2 3248 TXCOLLISION Transmit Collision Frames Register 0x01E2 324C TXSINGLECOLL Transmit Single Collision Frames Register 0x01E2 3250 TXMULTICOLL Transmit Multiple Collision Frames Register 0x01E2 3254 TXEXCESSIVECOLL Transmit Excessive Collision Frames Register 0x01E2 3258 TXLATECOLL Transmit Late Collision Frames Register 0x01E2 325C TXUNDERRUN Transmit Underrun Error Register 0x01E2 3260 TXCARRIERSENSE Transmit Carrier Sense Errors Register 0x01E2 3264 TXOCTETS Transmit Octet Frames Register 0x01E2 3268 FRAME64 Transmit and Receive 64 Octet Frames Register 82 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-32. EMAC Statistics Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 326C FRAME65T127 Transmit and Receive 65 to 127 Octet Frames Register 0x01E2 3270 FRAME128T255 Transmit and Receive 128 to 255 Octet Frames Register 0x01E2 3274 FRAME256T511 Transmit and Receive 256 to 511 Octet Frames Register 0x01E2 3278 FRAME512T1023 Transmit and Receive 512 to 1023 Octet Frames Register 0x01E2 327C FRAME1024TUP Transmit and Receive 1024 to 1518 Octet Frames Register 0x01E2 3280 NETOCTETS Network Octet Frames Register 0x01E2 3284 RXSOFOVERRUNS Receive FIFO or DMA Start of Frame Overruns Register 0x01E2 3288 RXMOFOVERRUNS Receive FIFO or DMA Middle of Frame Overruns Register 0x01E2 328C RXDMAOVERRUNS Receive DMA Start of Frame and Middle of Frame Overruns Register Table 6-33. EMAC Control Module Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 2000 REV EMAC Control Module Revision Register 0x01E2 2004 SOFTRESET EMAC Control Module Software Reset Register 0x01E2 200C INTCONTROL EMAC Control Module Interrupt Control Register 0x01E2 2010 C0RXTHRESHEN EMAC Control Module Interrupt Core 0 Receive Threshold Interrupt Enable Register 0x01E2 2014 C0RXEN EMAC Control Module Interrupt Core 0 Receive Interrupt Enable Register 0x01E2 2018 C0TXEN EMAC Control Module Interrupt Core 0 Transmit Interrupt Enable Register 0x01E2 201C C0MISCEN EMAC Control Module Interrupt Core 0 Miscellaneous Interrupt Enable Register 0x01E2 2020 C1RXTHRESHEN EMAC Control Module Interrupt Core 1 Receive Threshold Interrupt Enable Register 0x01E2 2024 C1RXEN EMAC Control Module Interrupt Core 1 Receive Interrupt Enable Register 0x01E2 2028 C1TXEN EMAC Control Module Interrupt Core 1 Transmit Interrupt Enable Register 0x01E2 202C C1MISCEN EMAC Control Module Interrupt Core 1 Miscellaneous Interrupt Enable Register 0x01E2 2030 C2RXTHRESHEN EMAC Control Module Interrupt Core 2 Receive Threshold Interrupt Enable Register 0x01E2 2034 C2RXEN EMAC Control Module Interrupt Core 2 Receive Interrupt Enable Register 0x01E2 2038 C2TXEN EMAC Control Module Interrupt Core 2 Transmit Interrupt Enable Register 0x01E2 203C C2MISCEN EMAC Control Module Interrupt Core 2 Miscellaneous Interrupt Enable Register 0x01E2 2040 C0RXTHRESHSTAT EMAC Control Module Interrupt Core 0 Receive Threshold Interrupt Status Register 0x01E2 2044 C0RXSTAT EMAC Control Module Interrupt Core 0 Receive Interrupt Status Register 0x01E2 2048 C0TXSTAT EMAC Control Module Interrupt Core 0 Transmit Interrupt Status Register 0x01E2 204C C0MISCSTAT EMAC Control Module Interrupt Core 0 Miscellaneous Interrupt Status Register 0x01E2 2050 C1RXTHRESHSTAT EMAC Control Module Interrupt Core 1 Receive Threshold Interrupt Status Register 0x01E2 2054 C1RXSTAT EMAC Control Module Interrupt Core 1 Receive Interrupt Status Register 0x01E2 2058 C1TXSTAT EMAC Control Module Interrupt Core 1 Transmit Interrupt Status Register 0x01E2 205C C1MISCSTAT EMAC Control Module Interrupt Core 1 Miscellaneous Interrupt Status Register 0x01E2 2060 C2RXTHRESHSTAT EMAC Control Module Interrupt Core 2 Receive Threshold Interrupt Status Register 0x01E2 2064 C2RXSTAT EMAC Control Module Interrupt Core 2 Receive Interrupt Status Register 0x01E2 2068 C2TXSTAT EMAC Control Module Interrupt Core 2 Transmit Interrupt Status Register 0x01E2 206C C2MISCSTAT EMAC Control Module Interrupt Core 2 Miscellaneous Interrupt Status Register 0x01E2 2070 C0RXIMAX EMAC Control Module Interrupt Core 0 Receive Interrupts Per Millisecond Register 0x01E2 2074 C0TXIMAX EMAC Control Module Interrupt Core 0 Transmit Interrupts Per Millisecond Register 0x01E2 2078 C1RXIMAX EMAC Control Module Interrupt Core 1 Receive Interrupts Per Millisecond Register 0x01E2 207C C1TXIMAX EMAC Control Module Interrupt Core 1 Transmit Interrupts Per Millisecond Register 0x01E2 2080 C2RXIMAX EMAC Control Module Interrupt Core 2 Receive Interrupts Per Millisecond Register 0x01E2 2084 C2TXIMAX EMAC Control Module Interrupt Core 2 Transmit Interrupts Per Millisecond Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 83 Submit Documentation Feedback Product Folder Links: AM1705

RMII_MHz_50_CLK RMII_TXEN RMII_TXD[1:0] RMII_RXD[1:0] RMII_CRS_DV RMII_RXER 2 3 5 5 8 9 AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-34. EMAC Control Module RAM HEX ADDRESS RANGE 0x01E2 0000 - 0x01E2 1FFF EMAC Local Buffer Descriptor Memory Table 6-35. RMII Timing Requirements No. PARAMETER MIN TYP MAX UNIT 1 tc(REFCLK) Cycle Time, RMII_MHZ_50_CLK(1) 20 ns 2 tw(REFCLKH) Pulse Width, RMII_MHZ_50_CLK High 7 13 ns 3 tw(REFCLKL) Pulse Width, RMII_MHZ_50_CLK Low 7 13 ns 6 tsu(RXD-REFCLK) Input Setup Time, RXD Valid before RMII_MHZ_50_CLK High 4 ns 7 th(REFCLK-RXD) Input Hold Time, RXD Valid after RMII_MHZ_50_CLK High 2 ns 8 tsu(CRSDV-REFCLK) Input Setup Time, CRSDV Valid before RMII_MHZ_50_CLK High 4 ns 9 th(REFCLK-CRSDV) Input Hold Time, CRSDV Valid after RMII_MHZ_50_CLK High 2 ns 10 tsu(RXER-REFCLK) Input Setup Time, RXER Valid before RMII_MHZ_50_CLK High 4 ns 11 th(REFCLKR-RXER) Input Hold Time, RXER Valid after RMII_MHZ_50_CLK High 2 ns (1) Per the RMII industry specification, the RMII reference clock (RMII_MHZ_50_CLK) must have jitter tolerance of 50 ppm or less. Table 6-36. RMII Switching Characteristics No. PARAMETER MIN TYP MAX UNIT 4 td(REFCLK-TXD) Output Delay Time, RMII_MHZ_50_CLK High to TXD Valid 2.5 13 ns 5 td(REFCLK-TXEN) Output Delay Time, RMII_MHZ_50_CLK High to TXEN Valid 2.5 13 ns Figure 6-25. RMII Timing Diagram 84 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.15 Management Data Input/Output (MDIO)

The Management Data Input/Output (MDIO) module continuously polls all 32 MDIO addresses in order to enumerate all PHY devices in the system. The Management Data Input/Output (MDIO) module implements the 802.3 serial management interface to interrogate and control Ethernet PHY(s) using a shared two-wire bus. Host software uses the MDIO module to configure the auto-negotiation parameters of each PHY attached to the EMAC, retrieve the negotiation results, and configure required parameters in the EMAC module for correct operation. The module is designed to allow almost transparent operation of the MDIO interface, with very little maintenance from the core processor. Only one PHY may be connected at any given time.

6.15.1 MDIO Registers

For a list of supported MDIO registers see Table 6-37 [MDIO Registers]. Table 6-37. MDIO Register Memory Map BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E2 4000 REV Revision Identification Register 0x01E2 4004 CONTROL MDIO Control Register 0x01E2 4008 ALIVE MDIO PHY Alive Status Register 0x01E2 400C LINK MDIO PHY Link Status Register 0x01E2 4010 LINKINTRAW MDIO Link Status Change Interrupt (Unmasked) Register 0x01E2 4014 LINKINTMASKED MDIO Link Status Change Interrupt (Masked) Register 0x01E2 4018 – Reserved 0x01E2 4020 USERINTRAW MDIO User Command Complete Interrupt (Unmasked) Register 0x01E2 4024 USERINTMASKED MDIO User Command Complete Interrupt (Masked) Register 0x01E2 4028 USERINTMASKSET MDIO User Command Complete Interrupt Mask Set Register 0x01E2 402C USERINTMASKCLEAR MDIO User Command Complete Interrupt Mask Clear Register 0x01E2 4030 - 0x01E2 407C – Reserved 0x01E2 4080 USERACCESS0 MDIO User Access Register 0 0x01E2 4084 USERPHYSEL0 MDIO User PHY Select Register 0 0x01E2 4088 USERACCESS1 MDIO User Access Register 1 0x01E2 408C USERPHYSEL1 MDIO User PHY Select Register 1 0x01E2 4090 - 0x01E2 47FF – Reserved Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 85 Submit Documentation Feedback Product Folder Links: AM1705

MDIO_CLK MDIO_D (output) MDIO_CLK MDIO_D (input) 3 3 AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.15.2 Management Data Input/Output (MDIO) Electrical Data/Timing

Table 6-38. Timing Requirements for MDIO Input (see Figure 6-26 and Figure 6-27) No. PARAMETER MIN MAX UNIT 1 tc(MDIO_CLK) Cycle time, MDIO_CLK 400 ns 2 tw(MDIO_CLK) Pulse duration, MDIO_CLK high/low 180 ns 3 tt(MDIO_CLK) Transition time, MDIO_CLK 5 ns 4 tsu(MDIO-MDIO_CLKH) Setup time, MDIO_D data input valid before MDIO_CLK high 10 ns 5 th(MDIO_CLKH-MDIO) Hold time, MDIO_D data input valid after MDIO_CLK high 0 ns Figure 6-26. MDIO Input Timing Table 6-39. Switching Characteristics Over Recommended Operating Conditions for MDIO Output (see Figure 6-27) No. PARAMETER MIN MAX UNIT 7 td(MDIO_CLKL-MDIO) Delay time, MDIO_CLK low to MDIO_D data output valid 0 100 ns Figure 6-27. MDIO Output Timing 86 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

McASPx (x = 0, 1, 2) Peripheral Configuration Bus McASP DMA Bus (Dedicated) AHCLKRx ACLKRx AFSRx AMUTEINx AMUTEx AFSXx ACLKXx AHCLKXx AXRx[0] AXRx[1] AXRx[y] Pins Function Receive Master Clock Receive Bit Clock Receive Left/Right Clock or Frame Sync Transmit Master Clock Transmit Bit Clock Transmit Left/Right Clock or Frame Sync Transmit/Receive Serial Data Pin Transmit/Receive Serial Data Pin Transmit/Receive Serial Data Pin Error Detection The McASPs DO NOT have dedicated AMUTEINx pins. AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.16 Multichannel Audio Serial Ports (McASP0, McASP1)

The McASP serial port is specifically designed for multichannel audio applications. Its key features are:

  • Flexible clock and frame sync generation logic and on-chip dividers
  • Up to sixteen transmit or receive data pins and serializers
  • Large number of serial data format options, including: – TDM Frames with 2 to 32 time slots per frame (periodic) or 1 slot per frame (burst) – Time slots of 8,12,16, 20, 24, 28, and 32 bits – First bit delay 0, 1, or 2 clocks – MSB or LSB first bit order – Left- or right-aligned data words within time slots
  • DIT Mode (optional) with 384-bit Channel Status and 384-bit User Data registers
  • Extensive error checking and mute generation logic
  • All unused pins GPIO-capable
  • Transmit & Receive FIFO Buffers for each McASP. Allows the McASP to operate at a higher sample rate by making it more tolerant to DMA latency.
  • Dynamic Adjustment of Clock Dividers – Clock Divider Value may be changed without resetting the McASP The McASPs on the device are configured with the following options: Table 6-40. McASP Configurations(1) Module Serializers AFIFO DIT Pins

64 Word RXMcASP0 16 N AXR0[13:0], AHCLKR0, ACLKR0, AFSR0, AHCLKX0, ACLKX0, AFSX064 Word TX

64 Word RXMcASP1 12 N AXR1[11:10], AXR1[8:0], ACLKR1, AFSR1, AHCLKX1, ACLKX1, AFSX1, AMUTE164 Word TX

(1) Pins available are the maximum number of pins that may be configured for a particular McASP; not including pin multiplexing. Figure 6-28. McASP Block Diagram Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 87 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.16.1 McASP Peripheral Registers Description(s)

Registers for the McASP are summarized in Table 6-41. The registers are accessed through the peripheral configuration port. The receive buffer registers (RBUF) and transmit buffer registers (XBUF) can also be accessed through the DMA port, as listed in Table 6-42 Registers for the McASP Audio FIFO (AFIFO) are summarized in Table 6-43. Note that the AFIFO Write FIFO (WFIFO) and Read FIFO (RFIFO) have independent control and status registers. The AFIFO control registers are accessed through the peripheral configuration port. Table 6-41. McASP Registers Accessed Through Peripheral Configuration Port McASP0 McASP1 ACRONYM REGISTER DESCRIPTION BYTE BYTE ADDRESS ADDRESS 0x01D0 0000 0x01D0 4000 REV Revision identification register 0x01D0 0010 0x01D0 4010 PFUNC Pin function register 0x01D0 0014 0x01D0 4014 PDIR Pin direction register 0x01D0 0018 0x01D0 4018 PDOUT Pin data output register 0x01D0 001C 0x01D0 401C PDIN Read returns: Pin data input register 0x01D0 001C 0x01D0 401C PDSET Writes affect: Pin data set register (alternate write address: PDOUT) 0x01D0 0020 0x01D0 4020 PDCLR Pin data clear register (alternate write address: PDOUT) 0x01D0 0044 0x01D0 4044 GBLCTL Global control register 0x01D0 0048 0x01D0 4048 AMUTE Audio mute control register 0x01D0 004C 0x01D0 404C DLBCTL Digital loopback control register 0x01D0 0050 0x01D0 4050 DITCTL DIT mode control register 0x01D0 0060 0x01D0 4060 RGBLCTL Receiver global control register: Alias of GBLCTL, only receive bits are affected - allows receiver to be reset independently from transmitter 0x01D0 0064 0x01D0 4064 RMASK Receive format unit bit mask register 0x01D0 0068 0x01D0 4068 RFMT Receive bit stream format register 0x01D0 006C 0x01D0 406C AFSRCTL Receive frame sync control register 0x01D0 0070 0x01D0 4070 ACLKRCTL Receive clock control register 0x01D0 0074 0x01D0 4074 AHCLKRCTL Receive high-frequency clock control register 0x01D0 0078 0x01D0 4078 RTDM Receive TDM time slot 0-31 register 0x01D0 007C 0x01D0 407C RINTCTL Receiver interrupt control register 0x01D0 0080 0x01D0 4080 RSTAT Receiver status register 0x01D0 0084 0x01D0 4084 RSLOT Current receive TDM time slot register 0x01D0 0088 0x01D0 4088 RCLKCHK Receive clock check control register 0x01D0 008C 0x01D0 408C REVTCTL Receiver DMA event control register 0x01D0 00A0 0x01D0 40A0 XGBLCTL Transmitter global control register. Alias of GBLCTL, only transmit bits are affected - allows transmitter to be reset independently from receiver 0x01D0 00A4 0x01D0 40A4 XMASK Transmit format unit bit mask register 0x01D0 00A8 0x01D0 40A8 XFMT Transmit bit stream format register 0x01D0 00AC 0x01D0 40AC AFSXCTL Transmit frame sync control register 0x01D0 00B0 0x01D0 40B0 ACLKXCTL Transmit clock control register 0x01D0 00B4 0x01D0 40B4 AHCLKXCTL Transmit high-frequency clock control register 0x01D0 00B8 0x01D0 40B8 XTDM Transmit TDM time slot 0-31 register 0x01D0 00BC 0x01D0 40BC XINTCTL Transmitter interrupt control register 0x01D0 00C0 0x01D0 40C0 XSTAT Transmitter status register 0x01D0 00C4 0x01D0 40C4 XSLOT Current transmit TDM time slot register 0x01D0 00C8 0x01D0 40C8 XCLKCHK Transmit clock check control register 0x01D0 00CC 0x01D0 40CC XEVTCTL Transmitter DMA event control register 0x01D0 0100 0x01D0 4100 DITCSRA0 Left (even TDM time slot) channel status register (DIT mode) 0 88 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-41. McASP Registers Accessed Through Peripheral Configuration Port (continued) McASP0 McASP1 ACRONYM REGISTER DESCRIPTION BYTE BYTE ADDRESS ADDRESS 0x01D0 0104 0x01D0 4104 DITCSRA1 Left (even TDM time slot) channel status register (DIT mode) 1 0x01D0 0108 0x01D0 4108 DITCSRA2 Left (even TDM time slot) channel status register (DIT mode) 2 0x01D0 010C 0x01D0 410C DITCSRA3 Left (even TDM time slot) channel status register (DIT mode) 3 0x01D0 0110 0x01D0 4110 DITCSRA4 Left (even TDM time slot) channel status register (DIT mode) 4 0x01D0 0114 0x01D0 4114 DITCSRA5 Left (even TDM time slot) channel status register (DIT mode) 5 0x01D0 0118 0x01D0 4118 DITCSRB0 Right (odd TDM time slot) channel status register (DIT mode) 0 0x01D0 011C 0x01D0 411C DITCSRB1 Right (odd TDM time slot) channel status register (DIT mode) 1 0x01D0 0120 0x01D0 4120 DITCSRB2 Right (odd TDM time slot) channel status register (DIT mode) 2 0x01D0 0124 0x01D0 4124 DITCSRB3 Right (odd TDM time slot) channel status register (DIT mode) 3 0x01D0 0128 0x01D0 4128 DITCSRB4 Right (odd TDM time slot) channel status register (DIT mode) 4 0x01D0 012C 0x01D0 412C DITCSRB5 Right (odd TDM time slot) channel status register (DIT mode) 5 0x01D0 0130 0x01D0 4130 DITUDRA0 Left (even TDM time slot) channel user data register (DIT mode) 0 0x01D0 0134 0x01D0 4134 DITUDRA1 Left (even TDM time slot) channel user data register (DIT mode) 1 0x01D0 0138 0x01D0 4138 DITUDRA2 Left (even TDM time slot) channel user data register (DIT mode) 2 0x01D0 013C 0x01D0 413C DITUDRA3 Left (even TDM time slot) channel user data register (DIT mode) 3 0x01D0 0140 0x01D0 4140 DITUDRA4 Left (even TDM time slot) channel user data register (DIT mode) 4 0x01D0 0144 0x01D0 4144 DITUDRA5 Left (even TDM time slot) channel user data register (DIT mode) 5 0x01D0 0148 0x01D0 4148 DITUDRB0 Right (odd TDM time slot) channel user data register (DIT mode) 0 0x01D0 014C 0x01D0 414C DITUDRB1 Right (odd TDM time slot) channel user data register (DIT mode) 1 0x01D0 0150 0x01D0 4150 DITUDRB2 Right (odd TDM time slot) channel user data register (DIT mode) 2 0x01D0 0154 0x01D0 4154 DITUDRB3 Right (odd TDM time slot) channel user data register (DIT mode) 3 0x01D0 0158 0x01D0 4158 DITUDRB4 Right (odd TDM time slot) channel user data register (DIT mode) 4 0x01D0 015C 0x01D0 415C DITUDRB5 Right (odd TDM time slot) channel user data register (DIT mode) 5 0x01D0 0180 0x01D0 4180 SRCTL0 Serializer control register 0 0x01D0 0184 0x01D0 4184 SRCTL1 Serializer control register 1 0x01D0 0188 0x01D0 4188 SRCTL2 Serializer control register 2 0x01D0 018C 0x01D0 418C SRCTL3 Serializer control register 3 0x01D0 0190 0x01D0 4190 SRCTL4 Serializer control register 4 0x01D0 0194 0x01D0 4194 SRCTL5 Serializer control register 5 0x01D0 0198 0x01D0 4198 SRCTL6 Serializer control register 6 0x01D0 019C 0x01D0 419C SRCTL7 Serializer control register 7 0x01D0 01A0 0x01D0 41A0 SRCTL8 Serializer control register 8 0x01D0 01A4 0x01D0 41A4 SRCTL9 Serializer control register 9 0x01D0 01A8 0x01D0 41A8 SRCTL10 Serializer control register 10 0x01D0 01AC 0x01D0 41AC SRCTL11 Serializer control register 11 0x01D0 01B0 0x01D0 41B0 SRCTL12 Serializer control register 12 0x01D0 01B4 0x01D0 41B4 SRCTL13 Serializer control register 13 0x01D0 01B8 0x01D0 41B8 SRCTL14 Serializer control register 14 0x01D0 01BC 0x01D0 41BC SRCTL15 Serializer control register 15 0x01D0 0200 0x01D0 4200 XBUF0(1) Transmit buffer register for serializer 0 0x01D0 0204 0x01D0 4204 XBUF1(1) Transmit buffer register for serializer 1 0x01D0 0208 0x01D0 4208 XBUF2(1) Transmit buffer register for serializer 2 0x01D0 020C 0x01D0 420C XBUF3(1) Transmit buffer register for serializer 3 0x01D0 0210 0x01D0 4210 XBUF4(1) Transmit buffer register for serializer 4 0x01D0 0214 0x01D0 4214 XBUF5(1) Transmit buffer register for serializer 5 (1) Writes to XRBUF originate from peripheral configuration port only when XBUSEL = 1 in XFMT. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 89 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-41. McASP Registers Accessed Through Peripheral Configuration Port (continued) McASP0 McASP1 ACRONYM REGISTER DESCRIPTION BYTE BYTE ADDRESS ADDRESS 0x01D0 0218 0x01D0 4218 XBUF6(1) Transmit buffer register for serializer 6 0x01D0 021C 0x01D0 421C XBUF7 Transmit buffer register for serializer 7 0x01D0 0220 0x01D0 4220 XBUF8(1) Transmit buffer register for serializer 8 0x01D0 0224 0x01D0 4224 XBUF9 Transmit buffer register for serializer 9 0x01D0 0228 0x01D0 4228 XBUF10(1) Transmit buffer register for serializer 10 0x01D0 022C 0x01D0 422C XBUF11(1) Transmit buffer register for serializer 11 0x01D0 0230 0x01D0 4230 XBUF12 Transmit buffer register for serializer 12 0x01D0 0234 0x01D0 4234 XBUF13(1) Transmit buffer register for serializer 13 0x01D0 0238 0x01D0 4238 XBUF14(1) Transmit buffer register for serializer 14 0x01D0 023C 0x01D0 423C XBUF15 Transmit buffer register for serializer 15 0x01D0 0280 0x01D0 4280 RBUF0(2) Receive buffer register for serializer 0 0x01D0 0284 0x01D0 4284 RBUF1(2) Receive buffer register for serializer 1 0x01D0 0288 0x01D0 4288 RBUF2(2) Receive buffer register for serializer 2 0x01D0 028C 0x01D0 428C RBUF3(2) Receive buffer register for serializer 3 0x01D0 0290 0x01D0 4290 RBUF4(3) Receive buffer register for serializer 4 0x01D0 0294 0x01D0 4294 RBUF5(3) Receive buffer register for serializer 5 0x01D0 0298 0x01D0 4298 RBUF6(3) Receive buffer register for serializer 6 0x01D0 029C 0x01D0 429C RBUF7(3) Receive buffer register for serializer 7 0x01D0 02A0 0x01D0 42A0 RBUF8(3) Receive buffer register for serializer 8 0x01D0 02A4 0x01D0 42A4 RBUF9(3) Receive buffer register for serializer 9 0x01D0 02A8 0x01D0 42A8 RBUF10(3) Receive buffer register for serializer 10 0x01D0 02AC 0x01D0 42AC RBUF11(3) Receive buffer register for serializer 11 0x01D0 02B0 0x01D0 42B0 RBUF12(3) Receive buffer register for serializer 12 0x01D0 02B4 0x01D0 42B4 RBUF13(3) Receive buffer register for serializer 13 0x01D0 02B8 0x01D0 42B8 RBUF14(3) Receive buffer register for serializer 14 0x01D0 02BC 0x01D0 42BC RBUF15(3) Receive buffer register for serializer 15 (2) Reads from XRBUF originate on peripheral configuration port only when RBUSEL = 1 in RFMT. (3) Reads from XRBUF originate on peripheral configuration port only when RBUSEL = 1 in RFMT. 90 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-42. McASP Registers Accessed Through DMA Port McASP0 McASP1 BYTE BYTE ACRONYM REGISTER DESCRIPTION ADDRESS ADDRESS Receive buffer DMA port address. Cycles through receive serializers, Read skipping over transmit serializers and inactive serializers. Starts at the01D0 2000 01D0 6000 RBUFAccesses lowest serializer at the beginning of each time slot. Reads from DMA port only if RBUSEL = 0 in RFMT. Transmit buffer DMA port address. Cycles through transmit serializers, Write skipping over receive and inactive serializers. Starts at the lowest serializer01D0 2000 01D0 6000 XBUFAccesses at the beginning of each time slot. Writes to DMA port only if XBUSEL = 0 in XFMT. Table 6-43. McASP AFIFO Registers Accessed Through Peripheral Configuration Port McASP0 McASP1 ACRONYM REGISTER DESCRIPTION BYTE ADDRESS BYTE ADDRESS 0x01D0 1000 0x01D0 5000 AFIFOREV AFIFO revision identification register 0x01D0 1010 0x01D0 5010 WFIFOCTL Write FIFO control register 0x01D0 1014 0x01D0 5014 WFIFOSTS Write FIFO status register 0x01D0 1018 0x01D0 5018 RFIFOCTL Read FIFO control register 0x01D0 101C 0x01D0 501C RFIFOSTS Read FIFO status register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 91 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.16.2 McASP Electrical Data/Timing

6.16.2.1 Multichannel Audio Serial Port 0 (McASP0) Timing

Table 6-44 and Table 6-45 assume testing over recommended operating conditions (see Figure 6-29 and Figure 6-30). Table 6-44. McASP0 Timing Requirements(1) (2) No. PARAMETER MIN MAX UNIT Cycle time, AHCLKR0 external, AHCLKR0 input 25 1 tc(AHCLKRX) ns Cycle time, AHCLKX0 external, AHCLKX0 input 25 Pulse duration, AHCLKR0 external, AHCLKR0 input 12.5 2 tw(AHCLKRX) ns Pulse duration, AHCLKX0 external, AHCLKX0 input 12.5 Cycle time, ACLKR0 external, ACLKR0 input greater of 2P or 25 3 tc(ACLKRX) ns Cycle time, ACLKX0 external, ACLKX0 input greater of 2P or 25 Pulse duration, ACLKR0 external, ACLKR0 input 12.5 4 tw(ACLKRX) ns Pulse duration, ACLKX0 external, ACLKX0 input 12.5 Setup time, AFSR0 input to ACLKR0 internal(3) 9.4 Setup time, AFSX0 input to ACLKX0 internal 9.4 Setup time, AFSR0 input to ACLKR0 external input(3) 2.9 5 tsu(AFSRX-ACLKRX) ns Setup time, AFSX0 input to ACLKX0 external input 2.9 Setup time, AFSR0 input to ACLKR0 external output(3) 2.9 Setup time, AFSX0 input to ACLKX0 external output 2.9 Hold time, AFSR0 input after ACLKR0 internal(3) -1.2 Hold time, AFSX0 input after ACLKX0 internal -1.2 Hold time, AFSR0 input after ACLKR0 external input(3) 0.9 6 th(ACLKRX-AFSRX) ns Hold time, AFSX0 input after ACLKX0 external input 0.9 Hold time, AFSR0 input after ACLKR0 external output(3) 0.9 Hold time, AFSX0 input after ACLKX0 external output 0.9 Setup time, AXR0[n] input to ACLKR0 internal(3) 9.4 Setup time, AXR0[n] input to ACLKX0 internal(4) 9.4 Setup time, AXR0[n] input to ACLKR0 external input(3) 2.9 7 tsu(AXR-ACLKRX) ns Setup time, AXR0[n] input to ACLKX0 external input(4) 2.9 Setup time, AXR0[n] input to ACLKR0 external output(3) 2.9 Setup time, AXR0[n] input to ACLKX0 external output(4) 2.9 Hold time, AXR0[n] input after ACLKR0 internal(3) -1.3 Hold time, AXR0[n] input after ACLKX0 internal(4) -1.3 Hold time, AXR0[n] input after ACLKR0 external input(3) 0.5 8 th(ACLKRX-AXR) ns Hold time, AXR0[n] input after ACLKX0 external input(4) 0.5 Hold time, AXR0[n] input after ACLKR0 external output(3) 0.5 Hold time, AXR0[n] input after ACLKX0 external output(4) 0.5 (1) ACLKX0 internal – McASP0 ACLKXCTL.CLKXM = 1, PDIR.ACLKX = 1 ACLKX0 external input – McASP0 ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 0 ACLKX0 external output – McASP0 ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 1 ACLKR0 internal – McASP0 ACLKRCTL.CLKRM = 1, PDIR.ACLKR =1 ACLKR0 external input – McASP0 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 0 ACLKR0 external output – McASP0 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 1 (2) P = SYSCLK2 period (3) McASP0 ACLKXCTL.ASYNC=1: Receiver is clocked by its own ACLKR0 (4) McASP0 ACLKXCTL.ASYNC=0: Receiver is clocked by transmitter's ACLKX0 92 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-45. McASP0 Switching Characteristics(1) No. PARAMETER MIN MAX UNIT Cycle time, AHCLKR0 internal, AHCLKR0 output 25 Cycle time, AHCLKR0 external, AHCLKR0 output 25 9 tc(AHCLKRX) ns Cycle time, AHCLKX0 internal, AHCLKX0 output 25 Cycle time, AHCLKX0 external, AHCLKX0 output 25 Pulse duration, AHCLKR0 internal, AHCLKR0 output (AHR/2) – 2.5(2) Pulse duration, AHCLKR0 external, AHCLKR0 output (AHR/2) – 2.5(2) 10 tw(AHCLKRX) ns Pulse duration, AHCLKX0 internal, AHCLKX0 output (AHX/2) – 2.5(3) Pulse duration, AHCLKX0 external, AHCLKX0 output (AHX/2) – 2.5(3) Cycle time, ACLKR0 internal, ACLKR0 output greater of 2P or 25 ns(4) Cycle time, ACLKR0 external, ACLKR0 output greater of 2P or 25 ns(4) 11 tc(ACLKRX) ns Cycle time, ACLKX0 internal, ACLKX0 output greater of 2P or 25 ns(4) Cycle time, ACLKX0 external, ACLKX0 output greater of 2P or 25 ns(4) Pulse duration, ACLKR0 internal, ACLKR0 output (AR/2) – 2.5(5) Pulse duration, ACLKR0 external, ACLKR0 output (AR/2) – 2.5(5) 12 tw(ACLKRX) ns Pulse duration, ACLKX0 internal, ACLKX0 output (AX/2) – 2.5(6) Pulse duration, ACLKX0 external, ACLKX0 output (AX/2) – 2.5(6) Delay time, ACLKR0 internal, AFSR output(7) 0 5.8 Delay time, ACLKX0 internal, AFSX output 0 5.8 Delay time, ACLKR0 external input, AFSR output(7) 2.5 11.6 13 td(ACLKRX-AFSRX) ns Delay time, ACLKX0 external input, AFSX output 2.5 11.6 Delay time, ACLKR0 external output, AFSR output(7) 2.5 11.6 Delay time, ACLKX0 external output, AFSX output 2.5 11.6 Delay time, ACLKX0 internal, AXR0[n] output 0 5.8 14 td(ACLKX-AXRV) Delay time, ACLKX0 external input, AXR0[n] output 2.5 11.6 ns Delay time, ACLKX0 external output, AXR0[n] output 2.5 11.6 Disable time, ACLKX0 internal, AXR0[n] output 0 5.8 15 tdis(ACLKX-AXRHZ) Disable time, ACLKX0 external input, AXR0[n] output 3 11.6 ns Disable time, ACLKX0 external output, AXR0[n] output 3 11.6 (1) McASP0 ACLKX0 internal – ACLKXCTL.CLKXM = 1, PDIR.ACLKX = 1 ACLKX0 external input – McASP0 ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 0 ACLKX0 external output – McASP0ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 1 ACLKR0 internal – McASP0 ACLKR0CTL.CLKRM = 1, PDIR.ACLKR =1 ACLKR0 external input – McASP0 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 0 ACLKR0 external output – McASP0 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 1 (2) AHR - Cycle time, AHCLKR0. (3) AHX - Cycle time, AHCLKX0. (4) P = SYSCLK2 period (5) AR - ACLKR0 period. (6) AX - ACLKX0 period. (7) McASP0 ACLKXCTL.ASYNC=1: Receiver is clocked by its own ACLKR0 Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 93 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.16.2.2 Multichannel Audio Serial Port 1 (McASP1) Timing

Table 6-46 and Table 6-47 assume testing over recommended operating conditions (see Figure 6-29 and Figure 6-30). Table 6-46. McASP1 Timing Requirements(1) (2) No. PARAMETER MIN MAX UNIT Cycle time, AHCLKR1 external, AHCLKR1 input 25 1 tc(AHCLKRX) ns Cycle time, AHCLKX1 external, AHCLKX1 input 25 Pulse duration, AHCLKR1 external, AHCLKR1 input 12.5 2 tw(AHCLKRX) ns Pulse duration, AHCLKX1 external, AHCLKX1 input 12.5 Cycle time, ACLKR1 external, ACLKR1 input greater of 2P or 25 3 tc(ACLKRX) ns Cycle time, ACLKX1 external, ACLKX1 input greater of 2P or 25 Pulse duration, ACLKR1 external, ACLKR1 input 12.5 4 tw(ACLKRX) ns Pulse duration, ACLKX1 external, ACLKX1 input 12.5 Setup time, AFSR1 input to ACLKR1 internal(3) 10.4 Setup time, AFSX1 input to ACLKX1 internal 10.4 Setup time, AFSR1 input to ACLKR1 external input(3) 2.6 5 tsu(AFSRX-ACLKRX) ns Setup time, AFSX1 input to ACLKX1 external input 2.6 Setup time, AFSR1 input to ACLKR1 external output(3) 2.6 Setup time, AFSX1 input to ACLKX1 external output 2.6 Hold time, AFSR1 input after ACLKR1 internal(3) -1.9 Hold time, AFSX1 input after ACLKX1 internal -1.9 Hold time, AFSR1 input after ACLKR1 external input(3) 0.7 6 th(ACLKRX-AFSRX) ns Hold time, AFSX1 input after ACLKX1 external input 0.7 Hold time, AFSR1 input after ACLKR1 external output(3) 0.7 Hold time, AFSX1 input after ACLKX1 external output 0.7 Setup time, AXR1[n] input to ACLKR1 internal(3) 10.4 Setup time, AXR1[n] input to ACLKX1 internal(4) 10.4 Setup time, AXR1[n] input to ACLKR1 external input(3) 2.6 7 tsu(AXR-ACLKRX) ns Setup time, AXR1[n] input to ACLKX1 external input(4) 2.6 Setup time, AXR1[n] input to ACLKR1 external output(3) 2.6 Setup time, AXR1[n] input to ACLKX1 external output(4) 2.6 Hold time, AXR1[n] input after ACLKR1 internal(3) -1.8 Hold time, AXR1[n] input after ACLKX1 internal(4) -1.8 Hold time, AXR1[n] input after ACLKR1 external input(3) 0.5 8 th(ACLKRX-AXR) ns Hold time, AXR1[n] input after ACLKX1 external input(4) 0.5 Hold time, AXR1[n] input after ACLKR1 external output(3) 0.5 Hold time, AXR1[n] input after ACLKX1 external output(4) 0.5 (1) ACLKX1 internal – McASP1 ACLKXCTL.CLKXM = 1, PDIR.ACLKX = 1 ACLKX1 external input – McASP1 ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 0 ACLKX1 external output – McASP1 ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 1 ACLKR1 internal – McASP1 ACLKRCTL.CLKRM = 1, PDIR.ACLKR =1 ACLKR1 external input – McASP1 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 0 ACLKR1 external output – McASP1 ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 1 (2) P = SYSCLK2 period (3) McASP1 ACLKXCTL.ASYNC=1: Receiver is clocked by its own ACLKR1 (4) McASP1 ACLKXCTL.ASYNC=0: Receiver is clocked by transmitter's ACLKX1 94 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-47. McASP1 Switching Characteristics(1) No. PARAMETER MIN MAX UNIT Cycle time, AHCLKR1 internal, AHCLKR1 output 25 Cycle time, AHCLKR1 external, AHCLKR1 output 25 9 tc(AHCLKRX) ns Cycle time, AHCLKX1 internal, AHCLKX1 output 25 Cycle time, AHCLKX1 external, AHCLKX1 output 25 Pulse duration, AHCLKR1 internal, AHCLKR1 output (AHR/2) – 2.5(2) Pulse duration, AHCLKR1 external, AHCLKR1 output (AHR/2) – 2.5(2) 10 tw(AHCLKRX) ns Pulse duration, AHCLKX1 internal, AHCLKX1 output (AHX/2) – 2.5(3) Pulse duration, AHCLKX1 external, AHCLKX1 output (AHX/2) – 2.5(3) Cycle time, ACLKR1 internal, ACLKR1 output greater of 2P or 25 ns(4) Cycle time, ACLKR1 external, ACLKR1 output greater of 2P or 25 ns(4) 11 tc(ACLKRX) ns Cycle time, ACLKX1 internal, ACLKX1 output greater of 2P or 25 ns(4) Cycle time, ACLKX1 external, ACLKX1 output greater of 2P or 25 ns(4) Pulse duration, ACLKR1 internal, ACLKR1 output (AR/2) – 2.5(5) Pulse duration, ACLKR1 external, ACLKR1 output (AR/2) – 2.5(5) 12 tw(ACLKRX) ns Pulse duration, ACLKX1 internal, ACLKX1 output (AX/2) – 2.5(6) Pulse duration, ACLKX1 external, ACLKX1 output (AX/2) – 2.5(6) Delay time, ACLKR1 internal, AFSR output(7) 0.5 6.7 Delay time, ACLKX1 internal, AFSX output 0.5 6.7 Delay time, ACLKR1 external input, AFSR output(7) 3.4 13.8 13 td(ACLKRX-AFSRX) ns Delay time, ACLKX1 external input, AFSX output 3.4 13.8 Delay time, ACLKR1 external output, AFSR output(7) 3.4 13.8 Delay time, ACLKX1 external output, AFSX output 3.4 13.8 Delay time, ACLKX1 internal, AXR1[n] output 0.5 6.7 14 td(ACLKX-AXRV) Delay time, ACLKX1 external input, AXR1[n] output 3.4 13.8 ns Delay time, ACLKX1 external output, AXR1[n] output 3.4 13.8 Disable time, ACLKX1 internal, AXR1[n] output 0.5 6.7 15 tdis(ACLKX-AXRHZ) Disable time, ACLKX1 external input, AXR1[n] output 3.9 13.8 ns Disable time, ACLKX1 external output, AXR1[n] output 3.9 13.8 (1) McASP1 ACLKX1 internal – ACLKXCTL.CLKXM = 1, PDIR.ACLKX = 1 McASP1 ACLKX1 external input – ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 0 McASP1 ACLKX1 external output – ACLKXCTL.CLKXM = 0, PDIR.ACLKX = 1 McASP1 ACLKR1 internal – ACLKR1CTL.CLKRM = 1, PDIR.ACLKR =1 McASP1 ACLKR1 external input – ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 0 McASP1 ACLKR1 external output – ACLKRCTL.CLKRM = 0, PDIR.ACLKR = 1 (2) AHR - Cycle time, AHCLKR1. (3) AHX - Cycle time, AHCLKX1. (4) P = SYSCLK2 period (5) AR - ACLKR1 period. (6) AX - ACLKX1 period. (7) McASP1 ACLKXCTL.ASYNC=1: Receiver is clocked by its own ACLKR1 Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 95 Submit Documentation Feedback Product Folder Links: AM1705

A0 A1 B0 B1 A30 A31 B30 B31 C0 C1 C2 C3 C31 AHCLKR/X (Falling Edge Polarity) AHCLKR/X (Rising Edge Polarity) AFSR/X (Bit Width, 0 Bit Delay) AFSR/X (Bit Width, 1 Bit Delay) AFSR/X (Bit Width, 2 Bit Delay) AFSR/X (Slot Width, 0 Bit Delay) AFSR/X (Slot Width, 1 Bit Delay) AFSR/X (Slot Width, 2 Bit Delay) AXR[n] (Data In/Receive) ACLKR/X (CLKRP = CLKXP = 0)(A) ACLKR/X (CLKRP = CLKXP = 1)(B) AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com A. For CLKRP = CLKXP = 0, the McASP transmitter is configured for rising edge (to shift data out) and the McASP receiver is configured for falling edge (to shift data in). B. For CLKRP = CLKXP = 1, the McASP transmitter is configured for falling edge (to shift data out) and the McASP receiver is configured for rising edge (to shift data in). Figure 6-29. McASP Input Timings 96 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

A0 A1 B0 B1 A30 A31 B30 B31 C0 C1 C2 C3 C31 AHCLKR/X (Falling Edge Polarity) AHCLKR/X (Rising Edge Polarity) AFSR/X (Bit Width, 0 Bit Delay) AFSR/X (Bit Width, 1 Bit Delay) AFSR/X (Bit Width, 2 Bit Delay) AFSR/X (Slot Width, 0 Bit Delay) AFSR/X (Slot Width, 1 Bit Delay) AFSR/X (Slot Width, 2 Bit Delay) AXR[n] (Data Out/Transmit) ACLKR/X (CLKRP = CLKXP = 0)(B) ACLKR/X (CLKRP = CLKXP = 1)(A) AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 A. For CLKRP = CLKXP = 1, the McASP transmitter is configured for falling edge (to shift data out) and the McASP receiver is configured for rising edge (to shift data in). B. For CLKRP = CLKXP = 0, the McASP transmitter is configured for rising edge (to shift data out) and the McASP receiver is configured for falling edge (to shift data in). Figure 6-30. McASP Output Timings Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 97 Submit Documentation Feedback Product Folder Links: AM1705

(all pins) State Machine Clock Control SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_SCS SPIx_CLK AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.17 Serial Peripheral Interface Ports (SPI0, SPI1)

Figure 6-31 is a block diagram of the SPI module, which is a simple shift register and buffer plus control logic. Data is written to the shift register before transmission occurs and is read from the buffer at the end of transmission. The SPI can operate either as a master, in which case, it initiates a transfer and drives the SPIx_CLK pin, or as a slave. Four clock phase and polarity options are supported as well as many data formatting options. Figure 6-31. Block Diagram of SPI Module The SPI supports 3-, 4-, and 5-pin operation with three basic pins (SPIx_CLK, SPIx_SIMO, and SPIx_SOMI) and two optional pins (SPIx_SCS, SPIx_ENA). The optional SPIx_SCS (Slave Chip Select) pin is most useful to enable in slave mode when there are other slave devices on the same SPI port. The device will only shift data and drive the SPIx_SOMI pin when SPIx_SCS is held low. In slave mode, SPIx_ENA is an optional output. The SPIx_ENA output provides the status of the internal transmit buffer (SPIDAT0/1 registers). In four-pin mode with the enable option, SPIx_ENA is asserted only when the transmit buffer is full, indicating that the slave is ready to begin another transfer. In five-pin mode, the SPIx_ENA is additionally qualified by SPIx_SCS being asserted. This allows a single handshake line to be shared by multiple slaves on the same SPI bus. In master mode, the SPIx_ENA pin is an optional input and the master can be configured to delay the start of the next transfer until the slave asserts SPIx_ENA. The addition of this handshake signal simplifies SPI communications and, on average, increases SPI bus throughput since the master does not need to delay each transfer long enough to allow for the worst-case latency of the slave device. Instead, each transfer can begin as soon as both the master and slave have actually serviced the previous SPI transfer. Although the SPI module supports two interrupt outputs, SPIx_INT1 is the only interrupt connected on this device. 98 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

Optional − Slave Chip Select Optional Enable (Ready) SLAVE SPIMASTER SPI SPIx_SIMOSPIx_SIMO SPIx_SOMI SPIx_SOMI SPIx_CLK SPIx_CLK SPIx_ENA SPIx_ENA SPIx_SCS SPIx_SCS AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-32. Illustration of SPI Master-to-SPI Slave Connection Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 99 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.17.1 SPI Peripheral Registers Description(s)

Table 6-48 is a list of the SPI registers. Table 6-48. SPIx Configuration Registers SPI0 SPI1 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS BYTE ADDRESS 0x01C4 1000 0x01E1 2000 SPIGCR0 Global Control Register 0 0x01C4 1004 0x01E1 2004 SPIGCR1 Global Control Register 1 0x01C4 1008 0x01E1 2008 SPIINT0 Interrupt Register 0x01C4 100C 0x01E1 200C SPILVL Interrupt Level Register 0x01C4 1010 0x01E1 2010 SPIFLG Flag Register 0x01C4 1014 0x01E1 2014 SPIPC0 Pin Control Register 0 (Pin Function) 0x01C4 1018 0x01E1 2018 SPIPC1 Pin Control Register 1 (Pin Direction) 0x01C4 101C 0x01E1 201C SPIPC2 Pin Control Register 2 (Pin Data In) 0x01C4 1020 0x01E1 2020 SPIPC3 Pin Control Register 3 (Pin Data Out) 0x01C4 1024 0x01E1 2024 SPIPC4 Pin Control Register 4 (Pin Data Set) 0x01C4 1028 0x01E1 2028 SPIPC5 Pin Control Register 5 (Pin Data Clear) 0x01C4 102C 0x01E1 202C Reserved Reserved - Do not write to this register 0x01C4 1030 0x01E1 2030 Reserved Reserved - Do not write to this register 0x01C4 1034 0x01E1 2034 Reserved Reserved - Do not write to this register 0x01C4 1038 0x01E1 2038 SPIDAT0 Shift Register 0 (without format select) 0x01C4 103C 0x01E1 203C SPIDAT1 Shift Register 1 (with format select) 0x01C4 1040 0x01E1 2040 SPIBUF Buffer Register 0x01C4 1044 0x01E1 2044 SPIEMU Emulation Register 0x01C4 1048 0x01E1 2048 SPIDELAY Delay Register 0x01C4 104C 0x01E1 204C SPIDEF Default Chip Select Register 0x01C4 1050 0x01E1 2050 SPIFMT0 Format Register 0 0x01C4 1054 0x01E1 2054 SPIFMT1 Format Register 1 0x01C4 1058 0x01E1 2058 SPIFMT2 Format Register 2 0x01C4 105C 0x01E1 205C SPIFMT3 Format Register 3 0x01C4 1060 0x01E1 2060 Reserved Reserved - Do not write to this register 0x01C4 1064 0x01E1 2064 INTVEC1 Interrupt Vector for SPI INT1 100 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.17.2 SPI Electrical Data/Timing

6.17.2.1 Serial Peripheral Interface (SPI) Timing

Table 6-49 through Table 6-64 assume testing over recommended operating conditions (see Figure 6-33 through Figure 6-36). Table 6-49. General Timing Requirements for SPI0 Master Modes(1) No. PARAMETER MIN MAX UNIT 1 tc(SPC)M Cycle Time, SPI0_CLK, All Master Modes greater of 3P or 20 256P ns 2 tw(SPCH)M Pulse Width High, SPI0_CLK, All Master Modes 0.5tc(SPC)M - 1 ns 3 tw(SPCL)M Pulse Width Low, SPI0_CLK, All Master Modes 0.5tc(SPC)M - 1 ns Polarity = 0, Phase = 0, 5to SPI0_CLK rising Polarity = 0, Phase = 1, - 0.5tc(SPC)M + 5Delay, initial data bit valid on to SPI0_CLK rising 4 td(SIMO_SPC)M SPI0_SIMO after initial edge ns Polarity = 1, Phase = 0,on SPI0_CLK(2) 5to SPI0_CLK falling Polarity = 1, Phase = 1, - 0.5tc(SPC)M + 5to SPI0_CLK falling Polarity = 0, Phase = 0, 5from SPI0_CLK rising Polarity = 0, Phase = 1, 5Delay, subsequent bits valid from SPI0_CLK falling 5 td(SPC_SIMO)M on SPI0_SIMO after transmit ns Polarity = 1, Phase = 0,edge of SPI0_CLK 5from SPI0_CLK falling Polarity = 1, Phase = 1, 5from SPI0_CLK rising Polarity = 0, Phase = 0, 0.5tc(SPC)M - 3from SPI0_CLK falling Polarity = 0, Phase = 1, 0.5tc(SPC)M - 3Output hold time, SPI0_SIMO from SPI0_CLK rising 6 toh(SPC_SIMO)M valid afterreceive edge of ns Polarity = 1, Phase = 0,SPI0_CLK 0.5tc(SPC)M - 3from SPI0_CLK rising Polarity = 1, Phase = 1, 0.5tc(SPC)M - 3from SPI0_CLK falling Polarity = 0, Phase = 0, 0to SPI0_CLK falling Polarity = 0, Phase = 1, 0Input Setup Time, SPI0_SOMI to SPI0_CLK rising 7 tsu(SOMI_SPC)M valid beforereceive edge of ns Polarity = 1, Phase = 0,SPI0_CLK 0to SPI0_CLK rising Polarity = 1, Phase = 1, 0to SPI0_CLK falling Polarity = 0, Phase = 0, 5from SPI0_CLK falling Polarity = 0, Phase = 1, 5Input Hold Time, SPI0_SOMI from SPI0_CLK rising 8 tih(SPC_SOMI)M valid after ns Polarity = 1, Phase = 0,receive edge of SPI0_CLK 5from SPI0_CLK rising Polarity = 1, Phase = 1, 5from SPI0_CLK falling (1) P = SYSCLK2 period (2) First bit may be MSB or LSB depending upon SPI configuration. MO(0) refers to first bit and MO(n) refers to last bit output on SPI0_SIMO. MI(0) refers to the first bit input and MI(n) refers to the last bit input on SPI0_SOMI. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 101 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-50. General Timing Requirements for SPI0 Slave Modes(1) No. PARAMETER MIN MAX UNIT 9 tc(SPC)S Cycle Time, SPI0_CLK, All Slave Modes greater of 3P or 40 ns 10 tw(SPCH)S Pulse Width High, SPI0_CLK, All Slave Modes 18 ns 11 tw(SPCL)S Pulse Width Low, SPI0_CLK, All Slave Modes 18 ns Polarity = 0, Phase = 0, 2Pto SPI0_CLK rising Polarity = 0, Phase = 1, 2PSetup time, transmit data written to to SPI0_CLK rising 12 tsu(SOMI_SPC)S SPI before initial clock edge from ns Polarity = 1, Phase = 0,master.(2) (3) 2Pto SPI0_CLK falling Polarity = 1, Phase = 1, 2Pto SPI0_CLK falling Polarity = 0, Phase = 0, 18.5from SPI0_CLK rising Polarity = 0, Phase = 1, 18.5Delay, subsequent bits valid on from SPI0_CLK falling 13 td(SPC_SOMI)S SPI0_SOMI after transmit edge of ns Polarity = 1, Phase = 0,SPI0_CLK 18.5from SPI0_CLK falling Polarity = 1, Phase = 1, 18.5from SPI0_CLK rising Polarity = 0, Phase = 0, 0.5tc(SPC)S - 3from SPI0_CLK falling Polarity = 0, Phase = 1, 0.5tc(SPC)S - 3from SPI0_CLK risingOutput hold time, SPI0_SOMI valid14 toh(SPC_SOMI)S nsafte receive edge of SPI0_CLK Polarity = 1, Phase = 0, 0.5tc(SPC)S - 3from SPI0_CLK rising Polarity = 1, Phase = 1, 0.5tc(SPC)S - 3from SPI0_CLK falling Polarity = 0, Phase = 0, 0to SPI0_CLK falling Polarity = 0, Phase = 1, 0to SPI0_CLK risingInput Setup Time, SPI0_SIMO valid15 tsu(SIMO_SPC)S nsbefore receive edge of SPI0_CLK Polarity = 1, Phase = 0, 0to SPI0_CLK rising Polarity = 1, Phase = 1, 0to SPI0_CLK falling Polarity = 0, Phase = 0, 5from SPI0_CLK falling Polarity = 0, Phase = 1, 5from SPI0_CLK risingInput Hold Time, SPI0_SIMO valid16 tih(SPC_SIMO)S nsafter receive edge of SPI0_CLK Polarity = 1, Phase = 0, 5from SPI0_CLK rising Polarity = 1, Phase = 1, 5from SPI0_CLK falling (1) P = SYSCLK2 period (2) First bit may be MSB or LSB depending upon SPI configuration. SO(0) refers to first bit and SO(n) refers to last bit output on SPI0_SOMI. SI(0) refers to the first bit input and SI(n) refers to the last bit input on SPI0_SIMO. (3) Measured from the termination of the write of new data to the SPI module, In analyzing throughput requirements, additional internal bus cycles must be accounted for to allow data to be written to the SPI module by the CPU. 102 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-51. Additional(1) SPI0 Master Timings, 4-Pin Enable Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 3P + 3.6to SPI0_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 3P + 3.6Delay from slave assertion of to SPI0_CLK rising 17 td(ENA_SPC)M SPI0_ENA active to first SPI0_CLK ns Polarity = 1, Phase = 0,from master.(4) 3P + 3.6to SPI0_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 3P + 3.6to SPI0_CLK falling Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI0_CLK falling Polarity = 0, Phase = 1,Max delay for slave to deassert P + 5from SPI0_CLK fallingSPI0_ENA after final SPI0_CLK edge18 td(SPC_ENA)M nsto ensure master does not begin the Polarity = 1, Phase = 0, 0.5tc(SPC)M + P + 5next transfer.(5) from SPI0_CLK rising Polarity = 1, Phase = 1, P + 5from SPI0_CLK rising (1) These parameters are in addition to the general timings for SPI master modes (Table 6-49). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI0_ENA assertion. (5) In the case where the master SPI is ready with new data before SPI0_EN A deassertion. Table 6-52. Additional(1) SPI0 Master Timings, 4-Pin Chip Select Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 2P - 5to SPI0_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI0_CLK risingDelay from SPI0_SCS active to first19 td(SCS_SPC)M nsSPI0_CLK(4) (5) Polarity = 1, Phase = 0, 2P - 5to SPI0_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI0_CLK falling Polarity = 0, Phase = 0, 0.5tc(SPC)M + P - 3from SPI0_CLK falling Polarity = 0, Phase = 1, P - 3from SPI0_CLK fallingDelay from final SPI0_CLK edge to20 td(SPC_SCS)M nsmaster deasserting SPI0_SCS (6) (7) Polarity = 1, Phase = 0, 0.5tc(SPC)M + P - 3from SPI0_CLK rising Polarity = 1, Phase = 1, P - 3from SPI0_CLK rising (1) These parameters are in addition to the general timings for SPI master modes (Table 6-49). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI0_SCS assertion. (5) This delay can be increased under software control by the register bit field SPIDELAY.C2TDELAY[4:0]. (6) Except for modes when SPIDAT1.CSHOLD is enabled and there is additional data to transmit. In this case, SPI0_SCS will remain asserted. (7) This delay can be increased under software control by the register bit field SPIDELAY.T2CDELAY[4:0]. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 103 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-53. Additional(1) SPI0 Master Timings, 5-Pin Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI0_CLK falling Max delay for slave to Polarity = 0, Phase = 1, P + 5deassert SPI0_ENA after from SPI0_CLK falling 18 td(SPC_ENA)M final SPI0_CLK edge to ns Polarity = 1, Phase = 0,ensure master does not 0.5tc(SPC)M + P + 5from SPI0_CLK risingbegin the next transfer.(4) Polarity = 1, Phase = 1, P + 5from SPI0_CLK rising Polarity = 0, Phase = 0, 0.5tc(SPC)M + P - 3from SPI0_CLK falling Polarity = 0, Phase = 1,Delay from final SPI0_CLK P - 3from SPI0_CLK fallingedge to20 td(SPC_SCS)M nsmaster deasserting Polarity = 1, Phase = 0, 0.5tc(SPC)M + P - 3SPI0_SCS (5) (6) from SPI0_CLK rising Polarity = 1, Phase = 1, P - 3from SPI0_CLK rising Max delay for slave SPI to drive SPI0_ENA valid after 21 td(SCSL_ENAL)M master asserts SPI0_SCS to delay the C2TDELAY + P ns master from beginning the next transfer, Polarity = 0, Phase = 0, 2P - 5to SPI0_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI0_CLK risingDelay from SPI0_SCS active22 td(SCS_SPC)M nsto first SPI0_CLK(7) (8) (9) Polarity = 1, Phase = 0, 2P - 5to SPI0_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI0_CLK falling Polarity = 0, Phase = 0, 3P + 3.6to SPI0_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 3P + 3.6Delay from assertion of to SPI0_CLK rising 23 td(ENA_SPC)M SPI0_ENA low to first ns Polarity = 1, Phase = 0,SPI0_CLK edge.(10) 3P + 3.6to SPI0_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 3P + 3.6to SPI0_CLK falling (1) These parameters are in addition to the general timings for SPI master modes (Table 6-50). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI0_ENA deassertion. (5) Except for modes when SPIDAT1.CSHOLD is enabled and there is additional data to transmit. In this case, SPI0_SCS will remain asserted. (6) This delay can be increased under software control by the register bit field SPIDELAY.T2CDELAY[4:0]. (7) If SPI0_ENA is asserted immediately such that the transmission is not delayed by SPI0_ENA. (8) In the case where the master SPI is ready with new data before SPI0_SCS assertion. (9) This delay can be increased under software control by the register bit field SPIDELAY.C2TDELAY[4:0]. (10) If SPI0_ENA was initially deasserted high and SPI0_CLK is delayed. 104 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-54. Additional(1) SPI0 Slave Timings, 4-Pin Enable Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 1.5 P - 3 2.5 P + 18.5from SPI0_CLK falling (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-50). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. Table 6-55. Additional(1) SPI0 Slave Timings, 4-Pin Chip Select Option(2) (3) No. PARAMETER MIN MAX UNIT Required delay from SPI0_SCS asserted at slave to first25 td(SCSL_SPC)S 2P nsSPI0_CLK edge at slave. Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI0_CLK falling Polarity = 0, Phase = 1, P + 5Required delay from final from SPI0_CLK falling 26 td(SPC_SCSH)S SPI0_CLK edge before ns Polarity = 1, Phase = 0,SPI0_SCS is deasserted. 0.5tc(SPC)M + P + 5from SPI0_CLK rising Polarity = 1, Phase = 1, P + 5from SPI0_CLK rising Delay from master asserting SPI0_SCS to slave driving27 tena(SCSL_SOMI)S P + 18.5 nsSPI0_SOMI valid Delay from master deasserting SPI0_SCS to slave 3-stating28 tdis(SCSH_SOMI)S P + 18.5 nsSPI0_SOMI (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-50). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 105 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-56. Additional(1) SPI0 Slave Timings, 5-Pin Option(2) (3) No. PARAMETER MIN MAX UNIT Required delay from SPI0_SCS asserted at slave to first25 td(SCSL_SPC)S 2P nsSPI0_CLK edge at slave. Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + from SPI0_CLK falling 5 Polarity = 0, Phase = 1, P + 5Required delay from final SPI0_CLK from SPI0_CLK falling 26 td(SPC_SCSH)S edge before SPI0_SCS is ns Polarity = 1, Phase = 0, 0.5tc(SPC)M + P +deasserted. from SPI0_CLK rising 5 Polarity = 1, Phase = 1, P + 5from SPI0_CLK rising Delay from master asserting SPI0_SCS to slave driving27 tena(SCSL_SOMI)S P + 18.5 nsSPI0_SOMI valid Delay from master deasserting SPI0_SCS to slave 3-stating28 tdis(SCSH_SOMI)S P + 18.5 nsSPI0_SOMI Delay from master deasserting SPI0_SCS to slave driving29 tena(SCSL_ENA)S 18.5 nsSPI0_ENA valid Polarity = 0, Phase = 0, 2.5 P + 18.5from SPI0_CLK falling Polarity = 0, Phase = 1, 2.5 P + 18.5Delay from final clock receive edge from SPI0_CLK rising 30 tdis(SPC_ENA)S on SPI0_CLK to slave 3-stating or ns Polarity = 1, Phase = 0,driving high SPI0_ENA.(4) 2.5 P + 18.5from SPI0_CLK rising Polarity = 1, Phase = 1, 2.5 P + 18.5from SPI0_CLK falling (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-50). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. (4) SPI0_ENA is driven low after the transmission completes if the SPIINT0.ENABLE_HIGHZ bit is programmed to 0. Otherwise it is 3- stated. If 3-stated, an external pullup resistor should be used to provide a valid level to the master. This option is useful when tying several SPI slave devices to a single master. Table 6-57. General Timing Requirements for SPI1 Master Modes(1) No. PARAMETER MIN MAX UNIT 1 tc(SPC)M Cycle Time, SPI1_CLK, All Master Modes greater of 3P or 20 256P ns 2 tw(SPCH)M Pulse Width High, SPI1_CLK, All Master Modes 0.5tc(SPC)M - 1 ns 3 tw(SPCL)M Pulse Width Low, SPI1_CLK, All Master Modes 0.5tc(SPC)M - 1 ns Polarity = 0, Phase = 0, 5to SPI1_CLK rising Polarity = 0, Phase = 1, - 0.5tc(SPC)M + 5Delay, initial data bit valid on to SPI1_CLK rising 4 td(SIMO_SPC)M SPI1_SIMO to initial edge on ns Polarity = 1, Phase = 0,SPI1_CLK(2) 5to SPI1_CLK falling Polarity = 1, Phase = 1, - 0.5tc(SPC)M + 5to SPI1_CLK falling Polarity = 0, Phase = 0, 5from SPI1_CLK rising Polarity = 0, Phase = 1, 5Delay, subsequent bits valid from SPI1_CLK falling 5 td(SPC_SIMO)M on SPI1_SIMO after transmit ns Polarity = 1, Phase = 0,edge of SPI1_CLK 5from SPI1_CLK falling Polarity = 1, Phase = 1, 5from SPI1_CLK rising (1) P = SYSCLK2 period (2) First bit may be MSB or LSB depending upon SPI configuration. MO(0) refers to first bit and MO(n) refers to last bit output on SPI1_SIMO. MI(0) refers to the first bit input and MI(n) refers to the last bit input on SPI1_SOMI. 106 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-57. General Timing Requirements for SPI1 Master Modes(1) (continued) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 0.5tc(SPC)M - 3from SPI1_CLK falling Polarity = 0, Phase = 1, 0.5tc(SPC)M - 3Output hold time, SPI1_SIMO from SPI1_CLK rising 6 toh(SPC_SIMO)M valid after ns Polarity = 1, Phase = 0,receive edge of SPI1_CLK 0.5tc(SPC)M - 3from SPI1_CLK rising Polarity = 1, Phase = 1, 0.5tc(SPC)M - 3from SPI1_CLK falling Polarity = 0, Phase = 0, 0to SPI1_CLK falling Polarity = 0, Phase = 1, 0Input Setup Time, SPI1_SOMI to SPI1_CLK rising 7 tsu(SOMI_SPC)M valid before receive edge of ns Polarity = 1, Phase = 0,SPI1_CLK 0to SPI1_CLK rising Polarity = 1, Phase = 1, 0to SPI1_CLK falling Polarity = 0, Phase = 0, 5from SPI1_CLK falling Polarity = 0, Phase = 1, 5Input Hold Time, SPI1_SOMI from SPI1_CLK rising 8 tih(SPC_SOMI)M valid after receive edge of ns Polarity = 1, Phase = 0,SPI1_CLK 5from SPI1_CLK rising Polarity = 1, Phase = 1, 5from SPI1_CLK falling Table 6-58. General Timing Requirements for SPI1 Slave Modes(1) No. PARAMETER MIN MAX UNIT 9 tc(SPC)S Cycle Time, SPI1_CLK, All Slave Modes greater of 3P or 40 ns 10 tw(SPCH)S Pulse Width High, SPI1_CLK, All Slave Modes 18 ns 11 tw(SPCL)S Pulse Width Low, SPI1_CLK, All Slave Modes 18 ns Polarity = 0, Phase = 0, 2Pto SPI1_CLK rising Polarity = 0, Phase = 1, 2PSetup time, transmit data written to to SPI1_CLK rising 12 tsu(SOMI_SPC)S SPI before initial clock edge from ns Polarity = 1, Phase = 0,master.(2) (3) 2Pto SPI1_CLK falling Polarity = 1, Phase = 1, 2Pto SPI1_CLK falling Polarity = 0, Phase = 0, 19from SPI1_CLK rising Polarity = 0, Phase = 1, 19Delay, subsequent bits valid on from SPI1_CLK falling 13 td(SPC_SOMI)S SPI1_SOMI after transmit edge of ns Polarity = 1, Phase = 0,SPI1_CLK 19from SPI1_CLK falling Polarity = 1, Phase = 1, 19from SPI1_CLK rising (1) P = SYSCLK2 period (2) First bit may be MSB or LSB depending upon SPI configuration. SO(0) refers to first bit and SO(n) refers to last bit output on SPI1_SOMI. SI(0) refers to the first bit input and SI(n) refers to the last bit input on SPI1_SIMO. (3) Measured from the termination of the write of new data to the SPI module, In analyzing throughput requirements, additional internal bus cycles must be accounted for to allow data to be written to the SPI module by the CPU. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 107 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-58. General Timing Requirements for SPI1 Slave Modes(1) (continued) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 0.5tc(SPC)S - 3from SPI1_CLK falling Polarity = 0, Phase = 1, 0.5tc(SPC)S - 3from SPI1_CLK risingOutput hold time, SPI1_SOMI valid14 toh(SPC_SOMI)S nsafter receive edge of SPI1_CLK Polarity = 1, Phase = 0, 0.5tc(SPC)S - 3from SPI1_CLK rising Polarity = 1, Phase = 1, 0.5tc(SPC)S - 3from SPI1_CLK falling Polarity = 0, Phase = 0, 0to SPI1_CLK falling Polarity = 0, Phase = 1, 0to SPI1_CLK risingInput Setup Time, SPI1_SIMO valid15 tsu(SIMO_SPC)S nsbefore receive edge of SPI1_CLK Polarity = 1, Phase = 0, 0to SPI1_CLK rising Polarity = 1, Phase = 1, 0to SPI1_CLK falling Polarity = 0, Phase = 0, 5from SPI1_CLK falling Polarity = 0, Phase = 1, 5from SPI1_CLK risingInput Hold Time, SPI1_SIMO valid16 tih(SPC_SIMO)S nsafter receive edge of SPI1_CLK Polarity = 1, Phase = 0, 5from SPI1_CLK rising Polarity = 1, Phase = 1, 5from SPI1_CLK falling Table 6-59. Additional(1) SPI1 Master Timings, 4-Pin Enable Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 3P + 3to SPI1_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 3P + 3Delay from slave assertion of to SPI1_CLK rising 17 td(EN A_SPC)M SPI1_ENA active to first SPI1_CLK ns Polarity = 1, Phase = 0,from master.(4) 3P + 3to SPI1_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 3P + 3to SPI1_CLK falling Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI1_CLK falling Polarity = 0, Phase = 1,Max delay for slave to deassert P + 5from SPI1_CLK fallingSPI1_ENA after final SPI1_CLK edge18 td(SPC_ENA)M nsto ensure master does not begin the Polarity = 1, Phase = 0, 0.5tc(SPC)M + P + 5next transfer.(5) from SPI1_CLK rising Polarity = 1, Phase = 1, P + 5from SPI1_CLK rising (1) These parameters are in addition to the general timings for SPI master modes (Table 6-57). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI1_ENA assertion. (5) In the case where the master SPI is ready with new data before SPI1_ENA deassertion. 108 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-60. Additional(1) SPI1 Master Timings, 4-Pin Chip Select Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 2P - 5to SPI1_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI1_CLK risingDelay from SPI1_SCS active to first19 td(SCS_SPC)M nsSPI1_CLK(4) (5) Polarity = 1, Phase = 0, 2P - 5to SPI1_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI1_CLK falling Polarity = 0, Phase = 0, 0.5tc(SPC)M + P - 3from SPI1_CLK falling Polarity = 0, Phase = 1, P - 3from SPI1_CLK fallingDelay from final SPI1_CLK edge to20 td(SPC_SCS)M nsmaster deasserting SPI1_SCS (6) (7) Polarity = 1, Phase = 0, 0.5tc(SPC)M + P -3from SPI1_CLK rising Polarity = 1, Phase = 1, P - 3from SPI1_CLK rising (1) These parameters are in addition to the general timings for SPI master modes (Table 6-57). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI1_SCS assertion. (5) This delay can be increased under software control by the register bit field SPIDELAY.C2TDELAY[4:0]. (6) Except for modes when SPIDAT1.CSHOLD is enabled and there is additional data to transmit. In this case, SPI1_SCS will remain asserted. (7) This delay can be increased under software control by the register bit field SPIDELAY.T2CDELAY[4:0]. Table 6-61. Additional(1) SPI1 Master Timings, 5-Pin Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI1_CLK falling Max delay for slave to Polarity = 0, Phase = 1, P + 5deassert SPI1_ENA after final from SPI1_CLK falling 18 td(SPC_ENA)M SPI1_CLK edge to ensure ns Polarity = 1, Phase = 0,master does not begin the 0.5tc(SPC)M + P + 5from SPI1_CLK risingnext transfer.(4) Polarity = 1, Phase = 1, P + 5from SPI1_CLK rising Polarity = 0, Phase = 0, 0.5tc(SPC)M + P - 3from SPI1_CLK falling Polarity = 0, Phase = 1, P - 3Delay from final SPI1_CLK from SPI1_CLK falling 20 td(SPC_SCS)M edge to master deasserting ns Polarity = 1, Phase = 0,SPI1_SCS (5) (6) 0.5tc(SPC)M + P - 3from SPI1_CLK rising Polarity = 1, Phase = 1, P - 3from SPI1_CLK rising Max delay for slave SPI to drive SPI1_ENA valid after 21 td(SCSL_ENAL)M master asserts SPI1_SCS to delay the master from C2TDELAY + P ns beginning the next transfer. (1) These parameters are in addition to the general timings for SPI master modes (Table 6-58). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four master clocking modes. (4) In the case where the master SPI is ready with new data before SPI1_ENA deassertion. (5) Except for modes when SPIDAT1.CSHOLD is enabled and there is additional data to transmit. In this case, SPI1_SCS will remain asserted. (6) This delay can be increased under software control by the register bit field SPIDELAY.T2CDELAY[4:0]. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 109 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-61. Additional(1) SPI1 Master Timings, 5-Pin Option(2) (3) (continued) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 2P - 5to SPI1_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI1_CLK risingDelay from SPI1_SCS active22 td(SCS_SPC)M nsto first SPI1_CLK(7) (8) (9) Polarity = 1, Phase = 0, 2P - 5to SPI1_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 2P - 5to SPI1_CLK falling Polarity = 0, Phase = 0, 3P + 3to SPI1_CLK rising Polarity = 0, Phase = 1, 0.5tc(SPC)M + 3P + 3Delay from assertion of to SPI1_CLK rising 23 td(ENA_SPC)M SPI1_ENA low to first ns Polarity = 1, Phase = 0,SPI1_CLK edge.(10) 3P + 3to SPI1_CLK falling Polarity = 1, Phase = 1, 0.5tc(SPC)M + 3P + 3to SPI1_CLK falling (7) If SPI1_ENA is asserted immediately such that the transmission is not delayed by SPI1_ENA. (8) In the case where the master SPI is ready with new data before SPI1_SCS assertion. (9) This delay can be increased under software control by the register bit field SPIDELAY.C2TDELAY[4:0]. (10) If SPI1_ENA was initially deasserted high and SPI1_CLK is delayed. Table 6-62. Additional(1) SPI1 Slave Timings, 4-Pin Enable Option(2) (3) No. PARAMETER MIN MAX UNIT Polarity = 0, Phase = 0, 1.5 P - 3 2.5 P + 19from SPI1_CLK falling Polarity = 1, Phase = 1, – 0.5tc(SPC)M + 1.5 P - 3 – 0.5tc(SPC)M + 2.5 P + 19from SPI1_CLK rising (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-58). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. Table 6-63. Additional(1) SPI1 Slave Timings, 4-Pin Chip Select Option(2) (3) No. PARAMETER MIN MAX UNIT Required delay from SPI1_SCS asserted at slave to first25 td(SCSL_SPC)S 2P nsSPI1_CLK edge at slave. Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + 5from SPI1_CLK falling Polarity = 0, Phase = 1, P + 5Required delay from final from SPI1_CLK falling 26 td(SPC_SCSH)S SPI1_CLK edge before ns Polarity = 1, Phase = 0,SPI1_SCS is deasserted. 0.5tc(SPC)M + P + 5from SPI1_CLK rising Polarity = 1, Phase = 1, P + 5from SPI1_CLK rising Delay from master asserting SPI1_SCS to slave driving27 tena(SCSL_SOMI)S P + 19 nsSPI1_SOMI valid Delay from master deasserting SPI1_SCS to slave 3-stating28 tdis(SCSH_SOMI)S P + 19 nsSPI1_SOMI (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-58). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. 110 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-64. Additional(1) SPI1 Slave Timings, 5-Pin Option(2) (3) No. PARAMETER MIN MAX UNIT Required delay from SPI1_SCS asserted at slave to first25 td(SCSL_SPC)S 2P nsSPI1_CLK edge at slave. Polarity = 0, Phase = 0, 0.5tc(SPC)M + P + from SPI1_CLK falling 5 Polarity = 0, Phase = 1, P + 5Required delay from final SPI1_CLK from SPI1_CLK falling 26 td(SPC_SCSH)S edge before SPI1_SCS is ns Polarity = 1, Phase = 0, 0.5tc(SPC)M + P +deasserted. from SPI1_CLK rising 5 Polarity = 1, Phase = 1, P + 5from SPI1_CLK rising Delay from master asserting SPI1_SCS to slave driving27 tena(SCSL_SOMI)S P + 19 nsSPI1_SOMI valid Delay from master deasserting SPI1_SCS to slave 3-stating28 tdis(SCSH_SOMI)S P + 19 nsSPI1_SOMI Delay from master deasserting SPI1_SCS to slave driving29 tena(SCSL_ENA)S 19 nsSPI1_ENA valid Polarity = 0, Phase = 0, 2.5 P + 19from SPI1_CLK falling Polarity = 0, Phase = 1, 2.5 P + 19Delay from final clock receive edge from SPI1_CLK rising 30 tdis(SPC_ENA)S on SPI1_CLK to slave 3-stating or ns Polarity = 1, Phase = 0,driving high SPI1_ENA.(4)

2.5 P + 19from SPI1_CLK rising

Polarity = 1, Phase = 1, 2.5 P + 19from SPI1_CLK falling (1) These parameters are in addition to the general timings for SPI slave modes (Table 6-58). (2) P = SYSCLK2 period (3) Figure shows only Polarity = 0, Phase = 0 as an example. Table gives parameters for all four slave clocking modes. (4) SPI1_ENA is driven low after the transmission completes if the SPIINT0.ENABLE_HIGHZ bit is programmed to 0. Otherwise it is 3- stated. If 3-stated, an external pullup resistor should be used to provide a valid level to the master. This option is useful when tying several SPI slave devices to a single master. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 111 Submit Documentation Feedback Product Folder Links: AM1705

SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) 4 5 5 6 MASTER MODE POLARITY = 0 PHASE = 0 MASTER MODE POLARITY = 0 PHASE = 1 MASTER MODE POLARITY = 1 PHASE = 0 MASTER MODE POLARITY = 1 PHASE = 1 AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Figure 6-33. SPI Timings— Master Mode 112 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_CLK SPIx_SIMO SPIx_SOMI SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) 1110 SLA VE MODE POLARITY = 0 PHASE = 0 SLA VE MODE POLARITY = 0 PHASE = 1 SLA VE MODE POLARITY = 1 PHASE = 0 SLA VE MODE POLARITY = 1 PHASE = 1 AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-34. SPI Timings— Slave Mode Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 113 Submit Documentation Feedback Product Folder Links: AM1705

MASTER MODE 4 PIN WITH CHIP SELECT SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_SCS SPIx_CLK SPIx_SIMO SPIx_SOMI SPIx_ENA SPIx_SCS MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MO(0) MO(1) MO(n−1) MO(n) MI(0) MI(1) MI(n−1) MI(n) MASTER MODE 4 PIN WITH ENABLE MASTER MODE 5 PIN A. DESELECTED IS PROGRAMMABLE EITHER HIGH OR 3−STATE (REQUIRES EXTERNAL PULLUP) DESEL(A) DESEL(A) AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Figure 6-35. SPI Timings— Master Mode (4-Pin and 5-Pin) 114 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_ENA SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_SCS SPIx_CLK SPIx_SOMI SPIx_SIMO SPIx_ENA SPIx_SCS SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SO(0) SO(1) SO(n−1) SO(n) SI(0) SI(1) SI(n−1) SI(n) SLAVE MODE 4 PIN WITH ENABLE SLAVE MODE 4 PIN WITH CHIP SELECT SLAVE MODE 5 PIN DESEL(A) DESEL(A) A. DESELECTED IS PROGRAMMABLE EITHER HIGH OR 3−STATE (REQUIRES EXTERNAL PULLUP) AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-36. SPI Timings— Slave Mode (4-Pin and 5-Pin) Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 115 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.18 Enhanced Capture (eCAP) Peripheral

The device contains up to three enhanced capture (eCAP) modules. Figure 6-37 shows a functional block diagram of a module. Uses for ECAP include:

  • Speed measurements of rotating machinery (e.g. toothed sprockets sensed via Hall sensors)
  • Elapsed time measurements between position sensor triggers
  • Period and duty cycle measurements of Pulse train signals
  • Decoding current or voltage amplitude derived from cuty cycle encoded current/voltage sensors The ECAP module described in this specification includes the following features:
  • 32 bit time base
  • 4 event time-stamp registers (each 32 bits)
  • Edge polarity selection for up to 4 sequenced time-stamp capture events
  • Interrupt on either of the 4 events
  • Single shot capture of up to 4 event time-stamps
  • Continuous mode capture of time-stamps in a 4 deep circular buffer
  • Absolute time-stamp capture
  • Difference mode time-stamp capture
  • All the above resources are dedicated to a single input pin The eCAP modules are clocked at the SYSCLK2 rate. 116 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

(counter−32 bit) RST CAP1 (APRD active) LD CAP2 (ACMP active) LD CAP3 (APRD shadow) LD CAP4 (ACMP shadow) LD Continuous / Oneshot Capture Control LD1 LD2 LD3 LD4 PRD [0−31] CMP [0−31] CTR [0−31] eCAPx Interrupt Trigger and Flag control to Interrupt Controller CTR=CMP ACMP shadow Event Pre-scale CTRPHS (phase register−32 bit) SYNCOut SYNCIn Event qualifier Polarity select Polarity select Polarity select Polarity select CTR=PRD CTR_OVF PWM compare logic CTR [0−31] PRD [0−31] CMP [0−31] CTR=CMP CTR=PRD CTR_OVFOVF APWM mode Delta−mode SYNC 4Capture events CEVT[1:4] APRD shadow MODE SELECT AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-37. eCAP Functional Block Diagram Table 6-65 is the list of the ECAP registers. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 117 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-65. ECAPx Configuration Registers ECAP0 ECAP1 ECAP2 ACRONYM REGISTER DESCRIPTIONBYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01F0 6000 0x01F0 7000 0x01F0 8000 TSCTR Time-Stamp Counter 0x01F0 6004 0x01F0 7004 0x01F0 8004 CTRPHS Counter Phase Offset Value Register 0x01F0 6008 0x01F0 7008 0x01F0 8008 CAP1 Capture 1 Register 0x01F0 600C 0x01F0 700C 0x01F0 800C CAP2 Capture 2 Register 0x01F0 6010 0x01F0 7010 0x01F0 8010 CAP3 Capture 3 Register 0x01F0 6014 0x01F0 7014 0x01F0 8014 CAP4 Capture 4 Register 0x01F0 6028 0x01F0 7028 0x01F0 8028 ECCTL1 Capture Control Register 1 0x01F0 602A 0x01F0 702A 0x01F0 802A ECCTL2 Capture Control Register 2 0x01F0 602C 0x01F0 702C 0x01F0 802C ECEINT Capture Interrupt Enable Register 0x01F0 602E 0x01F0 702E 0x01F0 802E ECFLG Capture Interrupt Flag Register 0x01F0 6030 0x01F0 7030 0x01F0 8030 ECCLR Capture Interrupt Clear Register 0x01F0 6032 0x01F0 7032 0x01F0 8032 ECFRC Capture Interrupt Force Register 0x01F0 605C 0x01F0 705C 0x01F0 805C REVID Revision ID Table 6-66 shows the eCAP timing requirement and Table 6-67 shows the eCAP switching characteristics. Table 6-66. Enhanced Capture (eCAP) Timing Requirement PARAMETER TEST CONDITIONS MIN MAX UNIT tw(CAP) Capture input pulse width Asynchronous 2tc(SCO) cycles Synchronous 2tc(SCO) cycles Table 6-67. eCAP Switching Characteristics PARAMETER MIN MAX UNIT tw(APWM) Pulse duration, APWMx output high/low 20 ns 118 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

(QCAP) QCPRDLAT QCTMRLAT QFLG QEPSTS QEPCTL Registers used by multiple units QCLK QDIR QI QS PHE PCSOUT Quadrature decoder (QDU) QDECCTL Position counter/ control unit (PCCU)QPOSLAT QPOSSLAT QPOSILAT EQEPxAIN EQEPxBIN EQEPxIIN EQEPxIOUT EQEPxIOE EQEPxSIN EQEPxSOUT EQEPxSOE GPIO MUX EQEPxA/XCLK EQEPxB/XDIR EQEPxS EQEPxI QPOSCMP QEINT QFRC QCLR QPOSCTL 1632 QPOSCNT QPOSMAX QPOSINIT EQEPxINT Enhanced QEP (eQEP) Peripheral System control registers QCTMR QCPRD 1616 QCAPCTL EQEPxENCLK SYSCLK2 Data bus To CPU Interrupt Controller AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.19 Enhanced Quadrature Encoder (eQEP) Peripheral

The device contains up to two enhanced quadrature encoder (eQEP) modules. Figure 6-38. eQEP Functional Block Diagram Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 119 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-68 is the list of the EQEP registers. Table 6-69 shows the eQEP timing requirement and Table 6-70 shows the eQEP switching characteristics. Table 6-68. EQEP Registers EQEP0 EQEP1 BYTE ADDRESS BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01F0 9000 0x01F0 A000 QPOSCNT eQEP Position Counter 0x01F0 9004 0x01F0 A004 QPOSINIT eQEP Initialization Position Count 0x01F0 9008 0x01F0 A008 QPOSMAX eQEP Maximum Position Count 0x01F0 900C 0x01F0 A00C QPOSCMP eQEP Position-compare 0x01F0 9010 0x01F0 A010 QPOSILAT eQEP Index Position Latch 0x01F0 9014 0x01F0 A014 QPOSSLAT eQEP Strobe Position Latch 0x01F0 9018 0x01F0 A018 QPOSLAT eQEP Position Latch 0x01F0 901C 0x01F0 A01C QUTMR eQEP Unit Timer 0x01F0 9020 0x01F0 A020 QUPRD eQEP Unit Period Register 0x01F0 9024 0x01F0 A024 QWDTMR eQEP Watchdog Timer 0x01F0 9026 0x01F0 A026 QWDPRD eQEP Watchdog Period Register 0x01F0 9028 0x01F0 A028 QDECCTL eQEP Decoder Control Register 0x01F0 902A 0x01F0 A02A QEPCTL eQEP Control Register 0x01F0 902C 0x01F0 A02C QCAPCTL eQEP Capture Control Register 0x01F0 902E 0x01F0 A02E QPOSCTL eQEP Position-compare Control Register 0x01F0 9030 0x01F0 A030 QEINT eQEP Interrupt Enable Register 0x01F0 9032 0x01F0 A032 QFLG eQEP Interrupt Flag Register 0x01F0 9034 0x01F0 A034 QCLR eQEP Interrupt Clear Register 0x01F0 9036 0x01F0 A036 QFRC eQEP Interrupt Force Register 0x01F0 9038 0x01F0 A038 QEPSTS eQEP Status Register 0x01F0 903A 0x01F0 A03A QCTMR eQEP Capture Timer 0x01F0 903C 0x01F0 A03C QCPRD eQEP Capture Period Register 0x01F0 903E 0x01F0 A03E QCTMRLAT eQEP Capture Timer Latch 0x01F0 9040 0x01F0 A040 QCPRDLAT eQEP Capture Period Latch 0x01F0 905C 0x01F0 A05C REVID eQEP Revision ID Table 6-69. Enhanced Quadrature Encoder Pulse (eQEP) Timing Requirements PARAMETER TEST CONDITIONS MIN MAX UNIT tw(QEPP) QEP input period Asynchronous/synchronous 2tc(SCO) cycles tw(INDEXH) QEP Index Input High time Asynchronous/synchronous 2tc(SCO) cycles tw(INDEXL) QEP Index Input Low time Asynchronous/synchronous 2tc(SCO) cycles tw(STROBH) QEP Strobe High time Asynchronous/synchronous 2tc(SCO) cycles tw(STROBL) QEP Strobe Input Low time Asynchronous/synchronous 2tc(SCO) cycles Table 6-70. eQEP Switching Characteristics PARAMETER MIN MAX UNIT td(CNTR)xin Delay time, external clock to counter increment 4tc(SCO) cycles td(PCS-OUT)QEP Delay time, QEP input edge to position compare sync output 6tc(SCO) cycles 120 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

(sync in) eHRPWM2 module AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.20 Enhanced High-Resolution Pulse-Width Modulator (eHRPWM)

The device contains up to three enhanced PWM Modules (eHRPWM). Figure 6-39 shows a block diagram of multiple eHRPWM modules. Figure 4-4 shows the signal interconnections with the eHRPWM. Figure 6-39. Multiple PWM Modules in the System Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 121 Submit Documentation Feedback Product Folder Links: AM1705

CTR=PRD TBPRD shadow (16) TBPRD active (16) Counter up/down (16 bit) TBCNT active (16) TBCTL[CNTLDE] TBCTL[SWFSYNC] (software forced sync) EPWMSYNCI CTR=ZERO CTR_Dir CTR=CMPB Disabled Sync in/out control Mux TBCTL[SYNCOSEL] EPWMSYNCO TBPHS active (24) 16 8 TBPHSHR (8) Phase control Time−base (TB) CTR=CMPA CMPA active (24) CMPA shadow (24) Action qualifier (AQ) Counter compare (CC) CMPB active (16) CTR=CMPB CMPB shadow (16) CMPAHR (8) EPWMA EPWMB Dead band (DB) PWM chopper (PC) Trip zone (TZ) CTR = ZERO EPWMxA EPWMxB EPWMxTZINT TZ HiRes PWM (HRPWM) CTR = PRD CTR = ZERO CTR = CMPB CTR = CMP A CTR_Dir Event trigger and interrupt (ET) EPWMxINT CTR=ZERO AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Figure 6-40. eHRPWM Sub-Modules Showing Critical Internal Signal Interconnections Table 6-71. eHRPWM Module Control and Status Registers Grouped by Submodule eHRPWM0 eHRPWM1 eHRPWM2 SIZEBYTE BYTE BYTE ACRONYM SHADOW REGISTER DESCRIPTION(×16)ADDRESS ADDRESS ADDRESS TIME-BASE SUBMODULE REGISTERS 0x01F0 0000 0x01F0 2000 0x01F0 4000 TBCTL 1 No Time-Base Control Register 0x01F0 0002 0x01F0 2002 0x01F0 4002 TBSTS 1 No Time-Base Status Register 0x01F0 0004 0x01F0 2004 0x01F0 4004 TBPHSHR 1 No Extension for HRPWM Phase Register (1) 0x01F0 0006 0x01F0 2006 0x01F0 4006 TBPHS 1 No Time-Base Phase Register 0x01F0 0008 0x01F0 2008 0x01F0 4008 TBCNT 1 No Time-Base Counter Register 0x01F0 000A 0x01F0 200A 0x01F0 400A TBPRD 1 Yes Time-Base Period Register COUNTER-COMPARE SUBMODULE REGISTER 0x01F0 000E 0x01F0 200E 0x01F0 400E CMPCTL 1 No Counter-Compare Control Register 0x01F0 0010 0x01F0 2010 0x01F0 4010 CMPAHR 1 No Extension for HRPWM Counter-Compare A Register (1) 0x01F0 0012 0x01F0 2012 0x01F0 4012 CMPA 1 Yes Counter-Compare A Register 0x01F0 0014 0x01F0 2014 0x01F0 4014 CMPB 1 Yes Counter-Compare B Register ACTION-QUALIFIER SUBMODULE REGISTER (1) These registers are only available on eHRPWM instances that include the high-resolution PWM (HRPWM) extension; otherwise, these locations are reserved. 122 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-71. eHRPWM Module Control and Status Registers Grouped by Submodule (continued) eHRPWM0 eHRPWM1 eHRPWM2 SIZEBYTE BYTE BYTE ACRONYM SHADOW REGISTER DESCRIPTION(×16)ADDRESS ADDRESS ADDRESS AQCTLA 1 No Action-Qualifier Control Register for Output A0x01F0 0016 0x01F0 2016 0x01F0 4016 (eHRPWMxA) AQCTLB 1 No Action-Qualifier Control Register for Output B0x01F0 0018 0x01F0 2018 0x01F0 4018 (eHRPWMxB) 0x01F0 001A 0x01F0 201A 0x01F0 401A AQSFRC 1 No Action-Qualifier Software Force Register 0x01F0 001C 0x01F0 201C 0x01F0 401C AQCSFRC 1 Yes Action-Qualifier Continuous S/W Force Register Set DEAD-BAND GENERATOR SUBMODULE REGISTER 0x01F0 001E 0x01F0 201E 0x01F0 401E DBCTL 1 No Dead-Band Generator Control Register DBRED 1 No Dead-Band Generator Rising Edge Delay Count0x01F0 0020 0x01F0 2020 0x01F0 4020 Register DBFED 1 No Dead-Band Generator Falling Edge Delay Count0x01F0 0022 0x01F0 2022 0x01F0 4022 Register PWM-CHOPPER SUBMODULE REGISTER 0x01F0 003C 0x01F0 203C 0x01F0 403C PCCTL 1 No PWM-Chopper Control Register TRIP-ZONE SUBMODULE REGISTER 0x01F0 0024 0x01F0 2024 0x01F0 4024 TZSEL 1 No Trip-Zone Select Register 0x01F0 0028 0x01F0 2028 0x01F0 4028 TZCTL 1 No Trip-Zone Control Register 0x01F0 002A 0x01F0 202A 0x01F0 402A TZEINT 1 No Trip-Zone Enable Interrupt Register 0x01F0 002C 0x01F0 202C 0x01F0 402C TZFLG 1 No Trip-Zone Flag Register 0x01F0 002E 0x01F0 202E 0x01F0 402E TZCLR 1 No Trip-Zone Clear Register 0x01F0 0030 0x01F0 2030 0x01F0 4030 TZFRC 1 No Trip-Zone Force Register EVENT-TRIGGER SUBMODULE REGISTER 0x01F0 0032 0x01F0 2032 0x01F0 4032 ETSEL 1 No Event-Trigger Selection Register 0x01F0 0034 0x01F0 2034 0x01F0 4034 ETPS 1 No Event-Trigger Pre-Scale Register 0x01F0 0036 0x01F0 2036 0x01F0 4036 ETFLG 1 No Event-Trigger Flag Register 0x01F0 0038 0x01F0 2038 0x01F0 4038 ETCLR 1 No Event-Trigger Clear Register 0x01F0 003A 0x01F0 203A 0x01F0 403A ETFRC 1 No Event-Trigger Force Register HIGH-RESOLUTION PWM (HRPWM) SUBMODULE 0x01F0 1040 0x01F0 3040 0x01F0 5040 HRCNFG 1 No HRPWM Configuration Register (2) (2) These registers are only available on eHRPWM instances that include the high-resolution PWM (HRPWM) extension; otherwise, these locations are reserved. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 123 Submit Documentation Feedback Product Folder Links: AM1705

PWM (A) TZ tw(TZ) td(TZ_PWM)HZ AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.20.1 Enhanced Pulse Width Modulator (eHRPWM) Timing

PWM refers to PWM outputs on eHRPWM1-6. Table 6-72 shows the PWM timing requirements and Table 6-73, switching characteristics. Table 6-72. eHRPWM Timing Requirements PARAMETER TEST CONDITIONS MIN MAX UNIT tw(SYNCIN) Sync input pulse width Asynchronous 2tc(SCO) cycles Synchronous 2tc(SCO) cycles Table 6-73. eHRPWM Switching Characteristics PARAMETER TEST CONDITIONS MIN MAX UNIT tw(PWM) Pulse duration, PWMx output high/low 20 ns tw(SYNCOUT) Sync output pulse width 8tc(SCO) cycles td(PWM)TZA Delay time, trip input active to PWM forced high no pin load; ns Delay time, trip input active to PWM forced low no additional programmable 25 delay td(TZ-PWM)HZ Delay time, trip input active to PWM Hi-Z no additional programmable ns20delay

6.20.2 Trip-Zone Input Timing

A. PWM refers to all the PWM pins in the device. The state of the PWM pins after TZ is taken high depends on the PWM recovery software. Figure 6-41. PWM Hi-Z Characteristics Table 6-74. Trip-Zone input Timing Requirements PARAMETER MIN MAX UNIT tw(TZ) Pulse duration, TZx input low Asynchronous 1tc(SCO) cycles Synchronous 2tc(SCO) cycles Table 6-75 shows the high-resolution PWM switching characteristics. Table 6-75. High Resolution PWM Characteristics at SYSCLKOUT = (60 - 100 MHz) PARAMETER MIN TYP MAX UNIT Micro Edge Positioning (MEP) step size(1) 200 ps (1) MEP step size will increase with low voltage and high temperature and decrease with high voltage and cold temperature. 124 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.21 Timers

The timers support the following features:

  • Configurable as single 64-bit timer or two 32-bit timers
  • Period timeouts generate interrupts, DMA events or external pin events
  • 8 32-bit compare registers
  • Compare matches generate interrupt events
  • Capture capability
  • 64-bit Watchdog capability (Timer64P1 only) Table 6-76 lists the timer registers. Table 6-76. Timer Registers Timer64P 0 Timer64P 1 ACRONYM REGISTER DESCRIPTION 0x01C2 0000 0x01C2 1000 REV Revision Register 0x01C2 0004 0x01C2 1004 EMUMGT Emulation Management Register 0x01C2 0008 0x01C2 1008 GPINTGPEN GPIO Interrupt and GPIO Enable Register 0x01C2 000C 0x01C2 100C GPDATGPDIR GPIO Data and GPIO Direction Register 0x01C2 0010 0x01C2 1010 TIM12 Timer Counter Register 12 0x01C2 0014 0x01C2 1014 TIM34 Timer Counter Register 34 0x01C2 0018 0x01C2 1018 PRD12 Timer Period Register 12 0x01C2 001C 0x01C2 101C PRD34 Timer Period Register 34 0x01C2 0020 0x01C2 1020 TCR Timer Control Register 0x01C2 0024 0x01C2 1024 TGCR Timer Global Control Register 0x01C2 0028 0x01C2 1028 WDTCR Watchdog Timer Control Register 0x01C2 0034 0x01C2 1034 REL12 Timer Reload Register 12 0x01C2 0038 0x01C2 1038 REL34 Timer Reload Register 34 0x01C2 003C 0x01C2 103C CAP12 Timer Capture Register 12 0x01C2 0040 0x01C2 1040 CAP34 Timer Capture Register 34 0x01C2 0044 0x01C2 1044 INTCTLSTAT Timer Interrupt Control and Status Register 0x01C2 0060 0x01C2 1060 CMP0 Compare Register 0 0x01C2 0064 0x01C2 1064 CMP1 Compare Register 1 0x01C2 0068 0x01C2 1068 CMP2 Compare Register 2 0x01C2 006C 0x01C2 106C CMP3 Compare Register 3 0x01C2 0070 0x01C2 1070 CMP4 Compare Register 4 0x01C2 0074 0x01C2 1074 CMP5 Compare Register 5 0x01C2 0078 0x01C2 1078 CMP6 Compare Register 6 0x01C2 007C 0x01C2 107C CMP7 Compare Register 7 Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 125 Submit Documentation Feedback Product Folder Links: AM1705

TM64P0_OUT12 5 6 TM64P0_IN12 AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.21.1 Timer Electrical Data/Timing

Table 6-77. Timing Requirements for Timer Input(1) (2) (see Figure 6-42) No. PARAMETER MIN MAX UNIT 1 tc(TM64Px_IN12) Cycle time, TM64Px_IN12 4P ns 2 tw(TINPH) Pulse duration, TM64Px_IN12 high 0.45C 0.55C ns 3 tw(TINPL) Pulse duration, TM64Px_IN12 low 0.45C 0.55C ns 4 tt(TM64Px_IN12) Transition time, TM64Px_IN12 0.25P or 10(3) ns (1) P = OSCIN cycle time in ns. For example, when OSCIN frequency is 27 MHz, use P = 37.037 ns. (2) C = TM64P0_IN12 cycle time in ns. For example, when TM64Px_IN12 frequency is 27 MHz, use C = 37.037 ns (3) Whichever is smaller. P = the period of the applied signal. Maintaining transition times as fast as possible is recommended to improve noise immunity on input signals. Figure 6-42. Timer Timing Table 6-78. Switching Characteristics Over Recommended Operating Conditions for Timer Output (1) No. PARAMETER MIN MAX UNIT 5 tw(TOUTH) Pulse duration, TM64P0_OUT12 high 4P ns 6 tw(TOUTL) Pulse duration, TM64P0_OUT12 low 4P ns (1) P = OSCIN cycle time in ns. For example, when OSCIN frequency is 27 MHz, use P = 37.037 ns. Figure 6-43. Timer Timing 126 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

I2Cx_SCL I2Cx_SDA Interrupt/DMA I2CIERx Interrupt Enable Register I2CSTRx Interrupt Status Register I2CSRCx Interrupt Source Register Control I2CPFUNC Pin Function Register I2CPDIR Pin Direction Register I2CPDIN Pin Data In Register I2CPDOUT Pin Data Out Register I2CPDSET Pin Data Set Register I2CPDCLR Pin Data Clear Register Interrupt DMA Requests AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.22 Inter-Integrated Circuit Serial Ports (I2C0, I2C1)

6.22.1 I2C Device-Specific Information

Having two I2C modules on the device simplifies system architecture. Figure 6-44 is block diagram of the I2C Module. Each I2C port supports:

  • Compatible with Philips® I2C Specification Revision 2.1 (January 2000)
  • Fast Mode up to 400 Kbps (no fail-safe I/O buffers)
  • Noise Filter to Remove Noise 50 ns or less
  • Seven- and Ten-Bit Device Addressing Modes
  • Master (Transmit/Receive) and Slave (Transmit/Receive) Functionality
  • Events: DMA, Interrupt, or Polling
  • General-Purpose I/O Capability if not used as I2C Figure 6-44. I2C Module Block Diagram

6.22.2 I2C Peripheral Registers Description(s)

Table 6-79 is the list of the I2C registers. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 127 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-79. Inter-Integrated Circuit (I2C) Registers I2C0 I2C1 ACRONYM REGISTER DESCRIPTION BYTE ADDRESS BYTE ADDRESS 0x01C2 2000 0x01E2 8000 ICOAR I2C Own Address Register 0x01C2 2004 0x01E2 8004 ICIMR I2C Interrupt Mask Register 0x01C2 2008 0x01E2 8008 ICSTR I2C Interrupt Status Register 0x01C2 200C 0x01E2 800C ICCLKL I2C Clock Low-Time Divider Register 0x01C2 2010 0x01E2 8010 ICCLKH I2C Clock High-Time Divider Register 0x01C2 2014 0x01E2 8014 ICCNT I2C Data Count Register 0x01C2 2018 0x01E2 8018 ICDRR I2C Data Receive Register 0x01C2 201C 0x01E2 801C ICSAR I2C Slave Address Register 0x01C2 2020 0x01E2 8020 ICDXR I2C Data Transmit Register 0x01C2 2024 0x01E2 8024 ICMDR I2C Mode Register 0x01C2 2028 0x01E2 8028 ICIVR I2C Interrupt Vector Register 0x01C2 202C 0x01E2 802C ICEMDR I2C Extended Mode Register 0x01C2 2030 0x01E2 8030 ICPSC I2C Prescaler Register 0x01C2 2034 0x01E2 8034 REVID1 I2C Revision Identification Register 1 0x01C2 2038 0x01E2 8038 REVID2 I2C Revision Identification Register 2 0x01C2 2048 0x01E2 8048 ICPFUNC I2C Pin Function Register 0x01C2 204C 0x01E2 804C ICPDIR I2C Pin Direction Register 0x01C2 2050 0x01E2 8050 ICPDIN I2C Pin Data In Register 0x01C2 2054 0x01E2 8054 ICPDOUT I2C Pin Data Out Register 0x01C2 2058 0x01E2 8058 ICPDSET I2C Pin Data Set Register 0x01C2 205C 0x01E2 805C ICPDCLR I2C Pin Data Clear Register 128 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.22.3 I2C Electrical Data/Timing

6.22.3.1 Inter-Integrated Circuit (I2C) Timing

Table 6-80 and Table 6-81 assume testing over recommended operating conditions (see Figure 6-45 and Figure 6-46). Table 6-80. I2C Input Timing Requirements No. PARAMETER MIN MAX UNIT Standard Mode 10 1 tc(SCL) Cycle time, I2Cx_SCL μs Fast Mode 2.5 Standard Mode 4.7 2 tsu(SCLH-SDAL) Setup time, I2Cx_SCL high before I2Cx_SDA low μs Fast Mode 0.6 Standard Mode 4 3 th(SCLL-SDAL) Hold time, I2Cx_SCL low after I2Cx_SDA low μs Fast Mode 0.6 Standard Mode 4.7 4 tw(SCLL) Pulse duration, I2Cx_SCL low μs Fast Mode 1.3 Standard Mode 4 5 tw(SCLH) Pulse duration, I2Cx_SCL high μs Fast Mode 0.6 Standard Mode 250 6 tsu(SDA-SCLH) Setup time, I2Cx_SDA before I2Cx_SCL high ns Fast Mode 100 Standard Mode 0 7 th(SDA-SCLL) Hold time, I2Cx_SDA after I2Cx_SCL low μs Fast Mode 0 0.9 Standard Mode 4.7 8 tw(SDAH) Pulse duration, I2Cx_SDA high μs Fast Mode 1.3 Standard Mode 1000 9 tr(SDA) Rise time, I2Cx_SDA ns Fast Mode 20 + 0.1Cb 300 Standard Mode 1000 10 tr(SCL) Rise time, I2Cx_SCL ns Fast Mode 20 + 0.1Cb 300 Standard Mode 300 11 tf(SDA) Fall time, I2Cx_SDA ns Fast Mode 20 + 0.1Cb 300 Standard Mode 300 12 tf(SCL) Fall time, I2Cx_SCL ns Fast Mode 20 + 0.1Cb 300 Standard Mode 4 13 tsu(SCLH-SDAH) Setup time, I2Cx_SCL high before I2Cx_SDA high μs Fast Mode 0.6 Standard Mode N/A 14 tw(SP) Pulse duration, spike (must be suppressed) ns Fast Mode 0 50 Standard Mode 400

15 Cb Capacitive load for each bus line pF

Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 129 Submit Documentation Feedback Product Folder Links: AM1705

I2Cx_SDA I2Cx_SCL 11 9 AM1705 SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-81. I2C Switching Characteristics(1) No. PARAMETER MIN MAX UNIT Standard Mode 10 16 tc(SCL) Cycle time, I2Cx_SCL μs Fast Mode 2.5 Standard Mode 4.7 17 tsu(SCLH-SDAL) Setup time, I2Cx_SCL high before I2Cx_SDA low μs Fast Mode 0.6 Standard Mode 4 18 th(SDAL-SCLL) Hold time, I2Cx_SCL low after I2Cx_SDA low μs Fast Mode 0.6 Standard Mode 4.7 19 tw(SCLL) Pulse duration, I2Cx_SCL low μs Fast Mode 1.3 Standard Mode 4 20 tw(SCLH) Pulse duration, I2Cx_SCL high μs Fast Mode 0.6 Standard Mode 250 21 tsu(SDAV-SCLH) Setup time, I2Cx_SDA valid before I2Cx_SCL high ns Fast Mode 100 Standard Mode 0 22 th(SCLL-SDAV) Hold time, I2Cx_SDA valid after I2Cx_SCL low μs Fast Mode 0 0.9 Standard Mode 4.7 23 tw(SDAH) Pulse duration, I2Cx_SDA high μs Fast Mode 1.3 Standard Mode 4 28 tsu(SCLH-SDAH) Setup time, I2Cx_SCL high before I2Cx_SDA high μs Fast Mode 0.6 (1) I2C must be configured correctly to meet the timings in Table 6-81. Figure 6-45. I2C Receive Timings 130 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

I2Cx_SDA I2Cx_SCL 26 24 AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-46. I2C Transmit Timings Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 131 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.23 Universal Asynchronous Receiver/Transmitter (UART)

The device has 3 UART peripherals. Each UART has the following features:

  • 16-byte storage space for both the transmitter and receiver FIFOs
  • 1, 4, 8, or 14 byte selectable receiver FIFO trigger level for autoflow control and DMA
  • Autoflow control signals (CTS, RTS) on UART0 only
  • DMA signaling capability for both received and transmitted data
  • Programmable auto-rts and auto-cts for autoflow control
  • Programmable Baud Rate up to 3MBaud
  • Programmable Oversampling Options of x13 and x16
  • Frequency pre-scale values from 1 to 65,535 to generate appropriate baud rates
  • Prioritized interrupts
  • Programmable serial data formats – 5, 6, 7, or 8-bit characters – Even, odd, or no parity bit generation and detection – 1, 1.5, or 2 stop bit generation
  • False start bit detection
  • Line break generation and detection
  • Internal diagnostic capabilities – Loopback controls for communications link fault isolation – Break, parity, overrun, and framing error simulation The UART registers are listed in Section 6.23.1

6.23.1 UART Peripheral Registers Description(s)

Table 6-82 is the list of UART registers. Table 6-82. UART Registers UART0 UART1 UART2 ACRONYM REGISTER DESCRIPTION BYTE ADDRESS BYTE ADDRESS BYTE ADDRESS 0x01C4 2000 0x01D0 C000 0x01D0 D000 RBR Receiver Buffer Register (read only) 0x01C4 2000 0x01D0 C000 0x01D0 D000 THR Transmitter Holding Register (write only) 0x01C4 2004 0x01D0 C004 0x01D0 D004 IER Interrupt Enable Register 0x01C4 2008 0x01D0 C008 0x01D0 D008 IIR Interrupt Identification Register (read only) 0x01C4 2008 0x01D0 C008 0x01D0 D008 FCR FIFO Control Register (write only) 0x01C4 200C 0x01D0 C00C 0x01D0 D00C LCR Line Control Register 0x01C4 2010 0x01D0 C010 0x01D0 D010 MCR Modem Control Register 0x01C4 2014 0x01D0 C014 0x01D0 D014 LSR Line Status Register 0x01C4 2018 0x01D0 C018 0x01D0 D018 MSR Modem Status Register 0x01C4 201C 0x01D0 C01C 0x01D0 D01C SCR Scratchpad Register 0x01C4 2020 0x01D0 C020 0x01D0 D020 DLL Divisor LSB Latch 0x01C4 2024 0x01D0 C024 0x01D0 D024 DLH Divisor MSB Latch 0x01C4 2028 0x01D0 C028 0x01D0 D028 REVID1 Revision Identification Register 1 0x01C4 2030 0x01D0 C030 0x01D0 D030 PWREMU_MGMT Power and Emulation Management Register 0x01C4 2034 0x01D0 C034 0x01D0 D034 MDR Mode Definition Register 132 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

UART_TXDn UART_RXDn Data Bits Bit Start AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.23.2 UART Electrical Data/Timing

Table 6-83. Timing Requirements for UARTx Receive(1) (see Figure 6-47) No. PARAMETER MIN MAX UNIT 4 tw(URXDB) Pulse duration, receive data bit (RXDn) 0.96U 1.05U ns 5 tw(URXSB) Pulse duration, receive start bit 0.96U 1.05U ns (1) U = UART baud time = 1/programmed baud rate. Table 6-84. Switching Characteristics Over Recommended Operating Conditions for UARTx Transmit(1) (see Figure 6-47) No. PARAMETER MIN MAX UNIT 1 f(baud) Maximum programmable baud rate D/E (2) (3) MBaud(4) 2 tw(UTXDB) Pulse duration, transmit data bit (TXDn) U - 2 U + 2 ns 3 tw(UTXSB) Pulse duration, transmit start bit U - 2 U + 2 ns (1) U = UART baud time = 1/programmed baud rate. (2) D = UART input clock in MHz. The UART(s) input clock source is PLL0_SYSCLK2. (3) E = UART divisor x UART sampling rate. The UART divisor is set through the UART divisor latch registers (DLL and DLH). The UART sampling rate is set through the over-sampling mode select bit (OSM_SEL) of the UART mode definition register (MDR). (4) Baud rate is not indicative of data rate. Actual data rate will be limited by system factors such as EDMA loading, EMIF loading, system frequency, etc. Figure 6-47. UART Transmit/Receive Timing Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 133 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com 6.24 USB0 OTG (USB2.0 OTG) The device USB2.0 peripheral supports the following features:

  • USB 2.0 peripheral at full-speed (FS: 12 Mb/s)
  • USB 2.0 host at speeds FS, and low speed (LS: 1.5 Mb/s)
  • All transfer modes (control, bulk, interrupt, and isochronous)
  • 4 Transmit (TX) and 4 Receive (RX) endpoints in addition to endpoint 0
  • FIFO RAM – 4K endpoint – Programmable size
  • Integrated USB 2.0 PHY
  • Connects to a standard Charge Pump for VBUS 5 V generation
  • RNDIS mode for accelerating RNDIS type protocols using short packet termination over USB Important Notice: On the original device pinout (marked "A" in the lower right corner of the package), pins USB0_VSSA33 (H4) and USB0_VSSA (F3) were connected to ground outside the package. For more robust ESD performance, the USB0 ground references are now connected inside the package on packages marked "B" and the package pins are unconnected. This change will require that any external filter circuits previously referenced to ground at these pins will need to reference the board ground instead. Important Notice: The USB0 controller module clock (PLL0_SYSCLK2) must be greater than 30 MHz for proper operation of the USB controller. A clock rate of 60 MHz or greater is recommended to avoid da\`ta throughput reduction. Table 6-85 is the list of USB OTG registers. Table 6-85. Universal Serial Bus OTG (USB0) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 0000 REVID Revision Register 0x01E0 0004 CTRLR Control Register 0x01E0 0008 STATR Status Register 0x01E0 000C EMUR Emulation Register 0x01E0 0010 MODE Mode Register 0x01E0 0014 AUTOREQ Autorequest Register 0x01E0 0018 SRPFIXTIME SRP Fix Time Register 0x01E0 001C TEARDOWN Teardown Register 0x01E0 0020 INTSRCR USB Interrupt Source Register 0x01E0 0024 INTSETR USB Interrupt Source Set Register 0x01E0 0028 INTCLRR USB Interrupt Source Clear Register 0x01E0 002C INTMSKR USB Interrupt Mask Register 0x01E0 0030 INTMSKSETR USB Interrupt Mask Set Register 0x01E0 0034 INTMSKCLRR USB Interrupt Mask Clear Register 0x01E0 0038 INTMASKEDR USB Interrupt Source Masked Register 0x01E0 003C EOIR USB End of Interrupt Register 0x01E0 0040 - Reserved 0x01E0 0050 GENRNDISSZ1 Generic RNDIS Size EP1 0x01E0 0054 GENRNDISSZ2 Generic RNDIS Size EP2 0x01E0 0058 GENRNDISSZ3 Generic RNDIS Size EP3 0x01E0 005C GENRNDISSZ4 Generic RNDIS Size EP4 0x01E0 0400 FADDR Function Address Register 0x01E0 0401 POWER Power Management Register 0x01E0 0402 INTRTX Interrupt Register for Endpoint 0 plus Transmit Endpoints 1 to 4 134 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 0404 INTRRX Interrupt Register for Receive Endpoints 1 to 4 0x01E0 0406 INTRTXE Interrupt Enable Register for INTRTX 0x01E0 0408 INTRRXE Interrupt Enable Register for INTRRX 0x01E0 040A INTRUSB Interrupt Register for Common USB Interrupts 0x01E0 040B INTRUSBE Interrupt Enable Register for INTRUSB 0x01E0 040C FRAME Frame Number Register 0x01E0 040E INDEX Index Register for Selecting the Endpoint Status and Control Registers 0x01E0 040F TESTMODE Register to Enable the USB 2.0 Test Modes INDEXED REGISTERS These registers operate on the endpoint selected by the INDEX register 0x01E0 0410 TXMAXP Maximum Packet Size for Peripheral/Host Transmit Endpoint (Index register set to select Endpoints 1-4 only) 0x01E0 0412 PERI_CSR0 Control Status Register for Endpoint 0 in Peripheral Mode. (Index register set to select Endpoint 0) HOST_CSR0 Control Status Register for Endpoint 0 in Host Mode. (Index register set to select Endpoint 0) PERI_TXCSR Control Status Register for Peripheral Transmit Endpoint. (Index register set to select Endpoints 1-4) HOST_TXCSR Control Status Register for Host Transmit Endpoint. (Index register set to select Endpoints 1-4) 0x01E0 0414 RXMAXP Maximum Packet Size for Peripheral/Host Receive Endpoint (Index register set to select Endpoints 1-4 only) 0x01E0 0416 PERI_RXCSR Control Status Register for Peripheral Receive Endpoint. (Index register set to select Endpoints 1-4) HOST_RXCSR Control Status Register for Host Receive Endpoint. (Index register set to select Endpoints 1-4) 0x01E0 0418 COUNT0 Number of Received Bytes in Endpoint 0 FIFO. (Index register set to select Endpoint 0) RXCOUNT Number of Bytes in Host Receive Endpoint FIFO. (Index register set to select Endpoints 1- 4) 0x01E0 041A HOST_TYPE0 Defines the speed of Endpoint 0 HOST_TXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Transmit endpoint. (Index register set to select Endpoints 1-4 only) 0x01E0 041B HOST_NAKLIMIT0 Sets the NAK response timeout on Endpoint 0. (Index register set to select Endpoint 0) HOST_TXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Transmit endpoint. (Index register set to select Endpoints 1-4 only) 0x01E0 041C HOST_RXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Receive endpoint. (Index register set to select Endpoints 1-4 only) 0x01E0 041D HOST_RXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Receive endpoint. (Index register set to select Endpoints 1-4 only) 0x01E0 041F CONFIGDATA Returns details of core configuration. (Index register set to select Endpoint 0) FIFO 0x01E0 0420 FIFO0 Transmit and Receive FIFO Register for Endpoint 0 0x01E0 0424 FIFO1 Transmit and Receive FIFO Register for Endpoint 1 0x01E0 0428 FIFO2 Transmit and Receive FIFO Register for Endpoint 2 0x01E0 042C FIFO3 Transmit and Receive FIFO Register for Endpoint 3 0x01E0 0430 FIFO4 Transmit and Receive FIFO Register for Endpoint 4 Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 135 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION OTG DEVICE CONTROL 0x01E0 0460 DEVCTL Device Control Register DYNAMIC FIFO CONTROL 0x01E0 0462 TXFIFOSZ Transmit Endpoint FIFO Size (Index register set to select Endpoints 1-4 only) 0x01E0 0463 RXFIFOSZ Receive Endpoint FIFO Size (Index register set to select Endpoints 1-4 only) 0x01E0 0464 TXFIFOADDR Transmit Endpoint FIFO Address (Index register set to select Endpoints 1-4 only) 0x01E0 0466 RXFIFOADDR Receive Endpoint FIFO Address (Index register set to select Endpoints 1-4 only) 0x01E0 046C HWVERS Hardware Version Register TARGET ENDPOINT 0 CONTROL REGISTERS, VALID ONLY IN HOST MODE 0x01E0 0480 TXFUNCADDR Address of the target function that has to be accessed through the associated Transmit Endpoint. 0x01E0 0482 TXHUBADDR Address of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0483 TXHUBPORT Port of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0484 RXFUNCADDR Address of the target function that has to be accessed through the associated Receive Endpoint. 0x01E0 0486 RXHUBADDR Address of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0487 RXHUBPORT Port of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. TARGET ENDPOINT 1 CONTROL REGISTERS, VALID ONLY IN HOST MODE 0x01E0 0488 TXFUNCADDR Address of the target function that has to be accessed through the associated Transmit Endpoint. 0x01E0 048A TXHUBADDR Address of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 048B TXHUBPORT Port of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 048C RXFUNCADDR Address of the target function that has to be accessed through the associated Receive Endpoint. 0x01E0 048E RXHUBADDR Address of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 048F RXHUBPORT Port of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 136 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION TARGET ENDPOINT 2 CONTROL REGISTERS, VALID ONLY IN HOST MODE 0x01E0 0490 TXFUNCADDR Address of the target function that has to be accessed through the associated Transmit Endpoint. 0x01E0 0492 TXHUBADDR Address of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0493 TXHUBPORT Port of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0494 RXFUNCADDR Address of the target function that has to be accessed through the associated Receive Endpoint. 0x01E0 0496 RXHUBADDR Address of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 0497 RXHUBPORT Port of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. TARGET ENDPOINT 3 CONTROL REGISTERS, VALID ONLY IN HOST MODE 0x01E0 0498 TXFUNCADDR Address of the target function that has to be accessed through the associated Transmit Endpoint. 0x01E0 049A TXHUBADDR Address of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 049B TXHUBPORT Port of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 049C RXFUNCADDR Address of the target function that has to be accessed through the associated Receive Endpoint. 0x01E0 049E RXHUBADDR Address of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 049F RXHUBPORT Port of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. TARGET ENDPOINT 4 CONTROL REGISTERS, VALID ONLY IN HOST MODE 0x01E0 04A0 TXFUNCADDR Address of the target function that has to be accessed through the associated Transmit Endpoint. 0x01E0 04A2 TXHUBADDR Address of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 04A3 TXHUBPORT Port of the hub that has to be accessed through the associated Transmit Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 04A4 RXFUNCADDR Address of the target function that has to be accessed through the associated Receive Endpoint. 0x01E0 04A6 RXHUBADDR Address of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. 0x01E0 04A7 RXHUBPORT Port of the hub that has to be accessed through the associated Receive Endpoint. This is used only when full speed or low speed device is connected via a USB2.0 high-speed hub. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 137 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION CONTROL AND STATUS REGISTER FOR ENDPOINT 0 0x01E0 0502 PERI_CSR0 Control Status Register for Endpoint 0 in Peripheral Mode HOST_CSR0 Control Status Register for Endpoint 0 in Host Mode 0x01E0 0508 COUNT0 Number of Received Bytes in Endpoint 0 FIFO 0x01E0 050A HOST_TYPE0 Defines the Speed of Endpoint 0 0x01E0 050B HOST_NAKLIMIT0 Sets the NAK Response Timeout on Endpoint 0 0x01E0 050F CONFIGDATA Returns details of core configuration. CONTROL AND STATUS REGISTER FOR ENDPOINT 1 0x01E0 0510 TXMAXP Maximum Packet Size for Peripheral/Host Transmit Endpoint 0x01E0 0512 PERI_TXCSR Control Status Register for Peripheral Transmit Endpoint (peripheral mode) HOST_TXCSR Control Status Register for Host Transmit Endpoint (host mode) 0x01E0 0514 RXMAXP Maximum Packet Size for Peripheral/Host Receive Endpoint 0x01E0 0516 PERI_RXCSR Control Status Register for Peripheral Receive Endpoint (peripheral mode) HOST_RXCSR Control Status Register for Host Receive Endpoint (host mode) 0x01E0 0518 RXCOUNT Number of Bytes in Host Receive endpoint FIFO 0x01E0 051A HOST_TXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Transmit endpoint. 0x01E0 051B HOST_TXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Transmit endpoint. 0x01E0 051C HOST_RXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Receive endpoint. 0x01E0 051D HOST_RXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Receive endpoint. CONTROL AND STATUS REGISTER FOR ENDPOINT 2 0x01E0 0520 TXMAXP Maximum Packet Size for Peripheral/Host Transmit Endpoint 0x01E0 0522 PERI_TXCSR Control Status Register for Peripheral Transmit Endpoint (peripheral mode) HOST_TXCSR Control Status Register for Host Transmit Endpoint (host mode) 0x01E0 0524 RXMAXP Maximum Packet Size for Peripheral/Host Receive Endpoint 0x01E0 0526 PERI_RXCSR Control Status Register for Peripheral Receive Endpoint (peripheral mode) HOST_RXCSR Control Status Register for Host Receive Endpoint (host mode) 0x01E0 0528 RXCOUNT Number of Bytes in Host Receive endpoint FIFO 0x01E0 052A HOST_TXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Transmit endpoint. 0x01E0 052B HOST_TXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Transmit endpoint. 0x01E0 052C HOST_RXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Receive endpoint. 0x01E0 052D HOST_RXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Receive endpoint. 138 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION CONTROL AND STATUS REGISTER FOR ENDPOINT 3 0x01E0 0530 TXMAXP Maximum Packet Size for Peripheral/Host Transmit Endpoint 0x01E0 0532 PERI_TXCSR Control Status Register for Peripheral Transmit Endpoint (peripheral mode) HOST_TXCSR Control Status Register for Host Transmit Endpoint (host mode) 0x01E0 0534 RXMAXP Maximum Packet Size for Peripheral/Host Receive Endpoint 0x01E0 0536 PERI_RXCSR Control Status Register for Peripheral Receive Endpoint (peripheral mode) HOST_RXCSR Control Status Register for Host Receive Endpoint (host mode) 0x01E0 0538 RXCOUNT Number of Bytes in Host Receive endpoint FIFO 0x01E0 053A HOST_TXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Transmit endpoint. 0x01E0 053B HOST_TXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Transmit endpoint. 0x01E0 053C HOST_RXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Receive endpoint. 0x01E0 053D HOST_RXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Receive endpoint. CONTROL AND STATUS REGISTER FOR ENDPOINT 4 0x01E0 0540 TXMAXP Maximum Packet Size for Peripheral/Host Transmit Endpoint 0x01E0 0542 PERI_TXCSR Control Status Register for Peripheral Transmit Endpoint (peripheral mode) HOST_TXCSR Control Status Register for Host Transmit Endpoint (host mode) 0x01E0 0544 RXMAXP Maximum Packet Size for Peripheral/Host Receive Endpoint 0x01E0 0546 PERI_RXCSR Control Status Register for Peripheral Receive Endpoint (peripheral mode) HOST_RXCSR Control Status Register for Host Receive Endpoint (host mode) 0x01E0 0548 RXCOUNT Number of Bytes in Host Receive endpoint FIFO 0x01E0 054A HOST_TXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Transmit endpoint. 0x01E0 054B HOST_TXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Transmit endpoint. 0x01E0 054C HOST_RXTYPE Sets the operating speed, transaction protocol and peripheral endpoint number for the host Receive endpoint. 0x01E0 054D HOST_RXINTERVAL Sets the polling interval for Interrupt/ISOC transactions or the NAK response timeout on Bulk transactions for host Receive endpoint. DMA REGISTERS 0x01E0 1000 DMAREVID DMA Revision Register 0x01E0 1004 TDFDQ DMA Teardown Free Descriptor Queue Control Register 0x01E0 1008 DMAEMU DMA Emulation Control Register 0x01E0 1800 TXGCR[0] Transmit Channel 0 Global Configuration Register 0x01E0 1808 RXGCR[0] Receive Channel 0 Global Configuration Register 0x01E0 180C RXHPCRA[0] Receive Channel 0 Host Packet Configuration Register A 0x01E0 1810 RXHPCRB[0] Receive Channel 0 Host Packet Configuration Register B 0x01E0 1820 TXGCR[1] Transmit Channel 1 Global Configuration Register 0x01E0 1828 RXGCR[1] Receive Channel 1 Global Configuration Register 0x01E0 182C RXHPCRA[1] Receive Channel 1 Host Packet Configuration Register A 0x01E0 1830 RXHPCRB[1] Receive Channel 1 Host Packet Configuration Register B Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 139 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-85. Universal Serial Bus OTG (USB0) Registers (continued) BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01E0 1840 TXGCR[2] Transmit Channel 2 Global Configuration Register 0x01E0 1848 RXGCR[2] Receive Channel 2 Global Configuration Register 0x01E0 184C RXHPCRA[2] Receive Channel 2 Host Packet Configuration Register A 0x01E0 1850 RXHPCRB[2] Receive Channel 2 Host Packet Configuration Register B 0x01E0 1860 TXGCR[3] Transmit Channel 3 Global Configuration Register 0x01E0 1868 RXGCR[3] Receive Channel 3 Global Configuration Register 0x01E0 186C RXHPCRA[3] Receive Channel 3 Host Packet Configuration Register A 0x01E0 1870 RXHPCRB[3] Receive Channel 3 Host Packet Configuration Register B 0x01E0 2000 DMA_SCHED_CTRL DMA Scheduler Control Register 0x01E0 2800 WORD[0] DMA Scheduler Table Word 0 0x01E0 2804 WORD[1] DMA Scheduler Table Word 1 0x01E0 28FC WORD[63] DMA Scheduler Table Word 63 QUEUE MANAGER REGISTERS 0x01E0 4000 QMGRREVID Queue Manager Revision Register 0x01E0 4008 DIVERSION Queue Diversion Register 0x01E0 4020 FDBSC0 Free Descriptor/Buffer Starvation Count Register 0 0x01E0 4024 FDBSC1 Free Descriptor/Buffer Starvation Count Register 1 0x01E0 4028 FDBSC2 Free Descriptor/Buffer Starvation Count Register 2 0x01E0 402C FDBSC3 Free Descriptor/Buffer Starvation Count Register 3 0x01E0 4080 LRAM0BASE Linking RAM Region 0 Base Address Register 0x01E0 4084 LRAM0SIZE Linking RAM Region 0 Size Register 0x01E0 4088 LRAM1BASE Linking RAM Region 1 Base Address Register 0x01E0 4090 PEND0 Queue Pending Register 0 0x01E0 4094 PEND1 Queue Pending Register 1 0x01E0 5000 QMEMRBASE[0] Memory Region 0 Base Address Register 0x01E0 5004 QMEMRCTRL[0] Memory Region 0 Control Register 0x01E0 5010 QMEMRBASE[1] Memory Region 1 Base Address Register 0x01E0 5014 QMEMRCTRL[1] Memory Region 1 Control Register 0x01E0 50F0 QMEMRBASE[15] Memory Region 15 Base Address Register 0x01E0 50F4 QMEMRCTRL[15] Memory Region 15 Control Register 0x01E0 600C CTRLD[0] Queue Manager Queue 0 Control Register D 0x01E0 601C CTRLD[1] Queue Manager Queue 1 Control Register D 0x01E0 63FC CTRLD[63] Queue Manager Queue 63 Status Register D 0x01E0 6800 QSTATA[0] Queue Manager Queue 0 Status Register A 0x01E0 6804 QSTATB[0] Queue Manager Queue 0 Status Register B 0x01E0 6808 QSTATC[0] Queue Manager Queue 0 Status Register C 0x01E0 6810 QSTATA[1] Queue Manager Queue 1 Status Register A 0x01E0 6814 QSTATB[1] Queue Manager Queue 1 Status Register B 0x01E0 6818 QSTATC[1] Queue Manager Queue 1 Status Register C 0x01E0 6BF0 QSTATA[63] Queue Manager Queue 63 Status Register A 0x01E0 6BF4 QSTATB[63] Queue Manager Queue 63 Status Register B 0x01E0 6BF8 QSTATC[63] Queue Manager Queue 63 Status Register C 140 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

90% VOH 10% VOL USB0_DM USB0_DP t -□tper jr AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 6.24.1 USB2.0 (USB0) Electrical Data/Timing The USB PHY PLL can support input clock of the following frequencies: 12.0 MHz, 13.0 MHz, 19.2 MHz, ppm maximum. Table 6-86. Switching Characteristics Over Recommended Operating Conditions for USB2.0 [USB0] (see Figure 6-48) LOW SPEED FULL SPEED 1.5 Mbps 12 MbpsNo. PARAMETER UNIT MIN MAX MIN MAX 1 tr(D) Rise time, USB0_DP and USB0_DM signals(1) 75 300 4 20 ns 2 tf(D) Fall time, USB0_DP and USB0_DM signals(1) 75 300 4 20 ns 3 trfM Rise/Fall time, matching(2) 80 120 90 111 % 4 VCRS Output signal cross-over voltage(1) 1.3 2 1.3 2 V 5 tjr(source)NT Source (Host) Driver jitter, next transition 2 2 ns tjr(FUNC)NT Function Driver jitter, next transition 25 2 ns 6 tjr(source)PT Source (Host) Driver jitter, paired transition(3) 1 1 ns tjr(FUNC)PT Function Driver jitter, paired transition 10 1 ns 7 tw(EOPT) Pulse duration, EOP transmitter (4) 1250 1500 160 175 ns 8 tw(EOPR) Pulse duration, EOP receiver (4) 670 82 ns 9 t(DRATE) Data Rate 1.5 12 Mb/s 10 ZDRV Driver Output Resistance – – 40.5 49.5 Ω

11 ZINP Receiver Input Impedance 100k 100k Ω

(1) Low Speed: CL = 200 pF, Full Speed: CL = 50 pF (2) tRFM = (tr/tf) x 100. [Excluding the first transaction from the Idle state.] (3) tjr = tpx(1) - tpx(0) (4) Must accept as valid EOP Figure 6-48. USB0 Integrated Transceiver Interface Timing

6.24.2 USB0 Unused Signal Configuration

If USB0 is unused, then the USB0 signals should be configured as shown in Section 3.6.19. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 141 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.25 Power and Sleep Controller (PSC)

The Power and Sleep Controllers (PSC) are responsible for managing transitions of system power on/off, clock on/off, resets (device level and module level). It is used primarily to provide granular power control for on chip modules (peripherals and CPU). A PSC module consists of a Global PSC (GPSC) and a set of Local PSCs (LPSCs). The GPSC contains memory mapped registers, PSC interrupts, a state machine for each peripheral/module it controls. An LPSC is associated with every module that is controlled by the PSC and provides clock and reset control. The PSC includes the following features:

  • Provides a software interface to: – Control module clock enable/disable – Control module reset – Control CPU local reset
  • Supports ICEPick TAP Router power, clock and reset features. For details on ICEPick features see http://tiexpressdsp.com/wiki/index.php?title=ICEPick. Table 6-87. Power and Sleep Controller (PSC) Registers PSC0 PSC1 ACRONYM DESCRIPTION BYTE ADDRESS BYTE ADDRESS 0x01C1 0000 0x01E2 7000 REVID Peripheral Revision and Class Information Register 0x01C1 0018 0x01E2 7018 INTEVAL Interrupt Evaluation Register 0x01C1 0040 0x01E2 7040 MERRPR0 Module Error Pending Register 0 (module 0-15) (PSC0) Module Error Pending Register 0 (module 0-31) (PSC1) 0x01C1 0050 0x01E2 7050 MERRCR0 Module Error Clear Register 0 (module 0-15) (PSC0) Module Error Clear Register 0 (module 0-31) (PSC1) 0x01C1 0060 0x01E2 7060 PERRPR Power Error Pending Register 0x01C1 0068 0x01E2 7068 PERRCR Power Error Clear Register 0x01C1 0120 0x01E2 7120 PTCMD Power Domain Transition Command Register 0x01C1 0128 0x01E2 7128 PTSTAT Power Domain Transition Status Register 0x01C1 0200 0x01E2 7200 PDSTAT0 Power Domain 0 Status Register 0x01C1 0204 0x01E2 7204 PDSTAT1 Power Domain 1 Status Register 0x01C1 0300 0x01E2 7300 PDCTL0 Power Domain 0 Control Register 0x01C1 0304 0x01E2 7304 PDCTL1 Power Domain 1 Control Register 0x01C1 0400 0x01E2 7400 PDCFG0 Power Domain 0 Configuration Register 0x01C1 0404 0x01E2 7404 PDCFG1 Power Domain 1 Configuration Register 0x01C1 0800- 0x01E2 7800- MDSTAT0-MDSTAT15 Module Status n Register (modules 0-15) (PSC0) 0x01C1 083C 0x01E2 787C MDSTAT0-MDSTAT31 Module Status n Register (modules 0-31) (PSC1) 0x01C1 0A00- 0x01E2 7A00- MDCTL0-MDCTL15 Module Control n Register (modules 0-15) (PSC0) 0x01C1 0A3C 0x01E2 7A7C MDCTL0-MDCTL31 Module Control n Register (modules 0-31) (PSC1)

6.25.1 Power Domain and Module Topology

The device includes two PSC modules. Each PSC module controls clock states for several of the on chip modules, controllers and interconnect components. Table 6-88 and Table 6-89 lists the set of peripherals/modules that are controlled by the PSC, the power domain they are associated with, the LPSC assignment and the default (power-on reset) module states. See the device-specific data manual for the peripherals available on a given device. The module states and terminology are defined in Section 6.25.1.2. 142 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-88. PSC0 Default Module Configuration LPSC Number Module Name Power Domain Default Module State Auto Sleep/Wake Only

0 EDMA3 Channel Controller AlwaysON (PD0) SwRstDisable —

1 EDMA3 Transfer Controller 0 AlwaysON (PD0) SwRstDisable —

2 EDMA3 Transfer Controller 1 AlwaysON (PD0) SwRstDisable —

3 EMIFA (BR7) AlwaysON (PD0) SwRstDisable —

4 SPI 0 AlwaysON (PD0) SwRstDisable —

5 MMC/SD 0 AlwaysON (PD0) SwRstDisable —

6 ARM Interrupt Controller AlwaysON (PD0) SwRstDisable —

7 ARM RAM/ROM AlwaysON (PD0) Enable Yes

9 UART 0 AlwaysON (PD0) SwRstDisable —

10 SCR0 (Br 0, Br 1, Br 2, Br 8) AlwaysON (PD0) Enable Yes

11 SCR1 (Br 4) AlwaysON (PD0) Enable Yes

12 SCR2 (Br 3, Br 5, Br 6) AlwaysON (PD0) Enable Yes

13 PRUSS AlwaysON (PD0) SwRstDisable —

14 ARM AlwaysON (PD0) SwRstDisable —

15 - - - — Table 6-89. PSC1 Default Module Configuration LPSC Number Module Name Power Domain Default Module State Auto Sleep/Wake Only

0 Not Used — — —

1 USB0 (USB2.0) AlwaysON (PD0) SwRstDisable —

2 Not Used — — —

3 GPIO AlwaysON (PD0) SwRstDisable —

4 Not Used — — —

5 EMAC AlwaysON (PD0) SwRstDisable —

6 EMIFB (Br 20) AlwaysON (PD0) SwRstDisable —

7 McASP0 ( + McASP0 FIFO) AlwaysON (PD0) SwRstDisable —

8 McASP1 ( + McASP1 FIFO) AlwaysON (PD0) SwRstDisable —

9 Not Used — — —

10 SPI 1 AlwaysON (PD0) SwRstDisable —

11 I2C 1 AlwaysON (PD0) SwRstDisable —

12 UART 1 AlwaysON (PD0) SwRstDisable —

13 UART 2 AlwaysON (PD0) SwRstDisable —

14-15 Not Used — — —

16 Not Used — — —

17 eHRPWM0/1/2 AlwaysON (PD0) SwRstDisable — 18-19 Not Used — — —

20 ECAP0/1/2 AlwaysON (PD0) SwRstDisable —

21 EQEP0/1 AlwaysON (PD0) SwRstDisable —

22-23 Not Used — — —

24 SCR8 (Br 15) AlwaysON (PD0) Enable Yes

25 SCR7 (Br 12) AlwaysON (PD0) Enable Yes

26 SCR12 (Br 18) AlwaysON (PD0) Enable Yes

27-30 Not Used — — —

31 On-chip RAM (Br 13) PD_SHRAM Enable Yes

Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 143 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.25.1.1 Power Domain States

A power domain can only be in one of the two states: ON or OFF, defined as follows:

  • ON: power to the domain is on
  • OFF: power to the domain is off In the device, for both PSC0 and PSC1, the Always ON domain, or PD0 power domain, is always in the ON state when the chip is powered-on. This domain is not programmable to OFF state.
  • On PSC1 PD1/PD_SHRAM Domain: Controls the sleep state for the 128K Shared RAM

6.25.1.2 Module States

The PSC defines several possible states for a module. This states are essentially a combination of the module reset asserted or de-asserted and module clock on/enabled or off/disabled. The module states are defined in Table 6-90. Table 6-90. Module States Module State Module Reset Module Clock Module State Definition Enable De-asserted On A module in the enable state has its module reset de-asserted and it has its clock on. This is the normal operational state for a given module Disable De-asserted Off A module in the disabled state has its module reset de-asserted and it has its module clock off. This state is typically used for disabling a module clock to save power. The device is designed in full static CMOS, so when you stop a module clock, it retains the module’s state. When the clock is restarted, the module resumes operating from the stopping point. SyncReset Asserted On A module state in the SyncReset state has its module reset asserted and it has its clock on. Generally, software is not expected to initiate this state SwRstDisable Asserted Off A module in the SwResetDisable state has its module reset asserted and it has its clock disabled. After initial power-on, several modules come up in the SwRstDisable state. Generally, software is not expected to initiate this state Auto Sleep De-asserted Off A module in the Auto Sleep state also has its module reset de-asserted and its module clock disabled, similar to the Disable state. However this is a special state, once a module is configured in this state by software, it can “automatically”transition to “Enable”state whenever there is an internal read/write request made to it, and after servicing the request it will “automatically”transition into the sleep state (with module reset re de-asserted and module clock disabled), without any software intervention. The transition from sleep to enabled and back to sleep state has some cycle latency associated with it. It is not envisioned to use this mode when peripherals are fully operational and moving data. Auto Wake De-asserted Off A module in the Auto Wake state also has its module reset de-asserted and its module clock disabled, similar to the Disable state. However this is a special state, once a module is configured in this state by software, it will “automatically”transition to “Enable”state whenever there is an internal read/write request made to it, and will remain in the “Enabled”state from then on (with module reset re de-asserted and module clock on), without any software intervention. The transition from sleep to enabled state has some cycle latency associated with it. It is not envisioned to use this mode when peripherals are fully operational and moving data. 144 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

6.26 Programmable Real-Time Unit Subsystem (PRUSS)

The Programmable Real-Time Unit Subsystem (PRUSS) consists of

  • Two Programmable Real-Time Units (PRU0 and PRU1) and their associated memories
  • An Interrupt Controller (INTC) for handling system interrupt events. The INTC also supports posting events back to the device level host CPU.
  • A Switched Central Resource (SCR) for connecting the various internal and external masters to the resources inside the PRUSS. The two PRUs can operate completely independently or in coordination with each other. The PRUs can also work in coordination with the device level host CPU. This is determined by the nature of the program which is loaded into the PRUs instruction memory. Several different signaling mechanisms are available between the two PRUs and the device level host CPU. The PRUs are optimized for performing embedded tasks that require manipulation of packed memory mapped data structures, handling of system events that have tight realtime constraints and interfacing with systems external to the device. The PRUSS comprises various distinct addressable regions. Externally the subsystem presents a single 64Kbyte range of addresses. The internal interconnect bus (also called switched central resource, or SCR) of the PRUSS decodes accesses for each of the individual regions. The PRUSS memory map is documented in Table 6-91 and in Table 6-92. Note that these two memory maps are implemented inside the PRUSS and are local to the components of the PRUSS. Table 6-91. Programmable Real-Time Unit Subsystem (PRUSS) Local Instruction Space Memory Map BYTE ADDRESS PRU0 PRU1 0x0000 0000 - 0x0000 0FFF PRU0 Instruction RAM PRU1 Instruction RAM Table 6-92. Programmable Real-Time Unit Subsystem (PRUSS) Local Data Space Memory Map BYTE ADDRESS PRU0 PRU1 0x0000 0000 - 0x0000 01FF Data RAM 0 (1) Data RAM 1 (1) 0x0000 0200 - 0x0000 1FFF Reserved Reserved 0x0000 2000 - 0x0000 21FF Data RAM 1 (1) Data RAM 0 (1) 0x0000 2200 - 0x0000 3FFF Reserved Reserved 0x0000 4000 - 0x0000 6FFF INTC Registers INTC Registers 0x0000 7000 - 0x0000 73FF PRU0 Control Registers PRU0 Control Registers 0x0000 7400 - 0x0000 77FF Reserved Reserved 0x0000 7800 - 0x0000 7BFF PRU1 Control Registers PRU1 Control Registers 0x0000 7C00 - 0xFFFF FFFF Reserved Reserved (1) Note that PRU0 accesses Data RAM0 at address 0x0000 0000, also PRU1 accesses Data RAM1 at address 0x0000 0000. Data RAM0 is intended to be the primary data memory for PRU0 and Data RAM1 is intended to be the primary data memory for PRU1. However for passing information between PRUs, each PRU can access the data ram of the ‘other’PRU through address 0x0000 2000. The global view of the PRUSS internal memories and control ports is documented in Table 6-93. The offset addresses of each region are implemented inside the PRUSS but the global device memory mapping places the PRUSS slave port in the address range 0x01C3 0000-0x01C3 FFFF. The PRU0 and PRU1 can use either the local or global addresses to access their internal memories, but using the local addresses will provide access time several cycles faster than using the global addresses. This is because when accessing via the global address the access needs to be routed through the switch fabric outside PRUSS and back in through the PRUSS slave port. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 145 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com Table 6-93. Programmable Real-Time Unit Subsystem (PRUSS) Global Memory Map BYTE ADDRESS REGION 0x01C3 0000 - 0x01C3 01FF Data RAM 0 0x01C3 0200 - 0x01C3 1FFF Reserved 0x01C3 2000 - 0x01C3 21FF Data RAM 1 0x01C3 2200 - 0x01C3 3FFF Reserved 0x01C3 4000 - 0x01C3 6FFF INTC Registers 0x01C3 7000 - 0x01C3 73FF PRU0 Control Registers 0x01C3 7400 - 0x01C3 77FF PRU0 Debug Registers 0x01C3 7800 - 0x01C3 7BFF PRU1 Control Registers 0x01C3 7C00 - 0x01C3 7FFF PRU1 Debug Registers 0x01C3 8000 - 0x01C3 8FFF PRU0 Instruction RAM 0x01C3 9000 - 0x01C3 BFFF Reserved 0x01C3 C000 - 0x01C3 CFFF PRU1 Instruction RAM 0x01C3 D000 - 0x01C3 FFFF Reserved Each of the PRUs can access the rest of the device memory (including memory mapped peripheral and configuration registers) using the global memory space addresses.

6.26.1 PRUSS Register Descriptions

Table 6-94. Programmable Real-Time Unit Subsystem (PRUSS) Control / Status Registers PRU0 BYTE ADDRESS PRU1 BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C3 7000 0x01C3 7800 CONTROL PRU Control Register 0x01C3 7004 0x01C3 7804 STATUS PRU Status Register 0x01C3 7008 0x01C3 7808 WAKEUP PRU Wakeup Enable Register 0x01C3 700C 0x01C3 780C CYCLCNT PRU Cycle Count 0x01C3 7010 0x01C3 7810 STALLCNT PRU Stall Count PRU Constant Table Block Index0x01C3 7020 0x01C3 7820 CONTABBLKIDX0 Register 0 PRU Constant Table Programmable0x01C3 7028 0x01C3 7828 CONTABPROPTR0 Pointer Register 0 PRU Constant Table Programmable0x01C3 702C 0x01C3 782C CONTABPROPTR1 Pointer Register 1 PRU Internal General Purpose0x01C37400 - 0x01C3747C 0x01C3 7C00 - 0x01C3 7C7C INTGPR0 – INTGPR31 Registers (for Debug) PRU Internal Constants Table0x01C37480 - 0x01C374FC 0x01C3 7C80 - 0x01C3 7CFC INTCTER0 – INTCTER31 Registers (for Debug) 146 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-95. Programmable Real-Time Unit Subsystem Interrupt Controller (PRUSS INTC) Registers BYTE ADDRESS ACRONYM REGISTER DESCRIPTION 0x01C3 4000 REVID Revision ID Register 0x01C3 4004 CONTROL Control Register 0x01C3 4010 GLBLEN Global Enable Register 0x01C3 401C GLBLNSTLVL Global Nesting Level Register 0x01C3 4020 STATIDXSET System Interrupt Status Indexed Set Register 0x01C3 4024 STATIDXCLR System Interrupt Status Indexed Clear Register 0x01C3 4028 ENIDXSET System Interrupt Enable Indexed Set Register 0x01C3 402C ENIDXCLR System Interrupt Enable Indexed Clear Register 0x01C3 4034 HSTINTENIDXSET Host Interrupt Enable Indexed Set Register 0x01C3 4038 HSTINTENIDXCLR Host Interrupt Enable Indexed Clear Register 0x01C3 4080 GLBLPRIIDX Global Prioritized Index Register 0x01C3 4200 STATSETINT0 System Interrupt Status Raw/Set Register 0 0x01C3 4204 STATSETINT1 System Interrupt Status Raw/Set Register 1 0x01C3 4280 STATCLRINT0 System Interrupt Status Enabled/Clear Register 0 0x01C3 4284 STATCLRINT1 System Interrupt Status Enabled/Clear Register 1 0x01C3 4300 ENABLESET0 System Interrupt Enable Set Register 0 0x01C3 4304 ENABLESET1 System Interrupt Enable Set Register 1 0x01C3 4380 ENABLECLR0 System Interrupt Enable Clear Register 0 0x01C3 4384 ENABLECLR1 System Interrupt Enable Clear Register 1 0x01C3 4400 - 0x01C3 4440 CHANMAP0 - CHANMAP15 Channel Map Registers 0-15 0x01C3 4800 - 0x01C3 4808 HOSTMAP0 - HOSTMAP2 Host Map Register 0-2 HOSTINTPRIIDX0 -0x01C3 4900 - 0x01C3 4928 Host Interrupt Prioritized Index Registers 0-9HOSTINTPRIIDX9 0x01C3 4D00 POLARITY0 System Interrupt Polarity Register 0 0x01C3 4D04 POLARITY1 System Interrupt Polarity Register 1 0x01C3 4D80 TYPE0 System Interrupt Type Register 0 0x01C3 4D84 TYPE1 System Interrupt Type Register 1 HOSTINTNSTLVL0-0x01C3 5100 - 0x01C3 5128 Host Interrupt Nesting Level Registers 0-9HOSTINTNSTLVL9 0x01C3 5500 HOSTINTEN Host Interrupt Enable Register Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 147 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.27 Emulation Logic

This section describes the steps to use a third party debugger. The debug capabilities and features for ARM are as shown below. For TI’s latest debug and emulation information see : http://tiexpressdsp.com/wiki/index.php?title=Category:Emulation ARM:

  • Basic Debug – Execution Control – System Visibility
  • Advanced Debug – Global Start – Global Stop
  • Advanced System Control – Subsystem reset via debug – Peripheral notification of debug events – Cache-coherent debug accesses
  • Program Trace – Program flow corruption – Code coverage – Path coverage – Thread/interrupt synchronization problems
  • Data Trace – Memory corruption
  • Timing Trace – Profiling
  • Analysis Actions – Stop program execution – Control trace streams – Generate debug interrupt – Benchmarking with counters – External trigger generation – Debug state machine state transition – Combinational and Sequential event generation
  • Analysis Events – Program event detection – Data event detection – External trigger Detection – System event detection (i.e. cache miss) – Debug state machine state detection
  • Analysis Configuration – Application access – Debugger access 148 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-96. ARM Debug Features Category Hardware Feature Availability Software breakpoint Unlimited Up to 14 HWBPs, including: 2 precise(1) HWBP inside ARM core which are shared with watch points.Basic Debug Hardware breakpoint 8 imprecise(1) HWBPs from ETM’s address comparators, which are shared with trace function, and can be used as watch point too. 4 imprecise(1) HWBPs from ICECrusher. Up to 6 watch points, including: 2 from ARM core which is shared with HWBPs and can Watch point be associated with a data. 8 from ETM’s address comparators, which are shared with trace function, and HWBPs. 2 from ARM core which is shared with HWBPs.Analysis Watch point with Data 8 watch points from ETM can be associated with a data comparator, and ETM has total 4 data comparators. Counters/timers 3x32-bit (1 cycle ; 2 event) External Event Trigger In 1 External Event Trigger Out 1 Address range for trace 4 Data qualification for trace 2 System events for trace control 20 Trace Control Counters/Timers for trace control 2x16-bit State Machines/Sequencers 1x3-State State Machine Context/Thread ID Comparator 1 Independent trigger control units 12 Capture depth PC 4k bytes ETB On-chip Trace Capture depth PC + Timing 4k bytes ETBCapture Application accessible Y (1) Precise hardware breakpoints will halt the processor immediately prior to the execution of the selected instruction. Imprecise breakpoints will halt the processor some number of cycles after the selected instruction depending on device conditions. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 149 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

6.27.1 JTAG Port Description

The device target debug interface uses the five standard IEEE 1149.1(JTAG) signals (TRST, TCK, TMS, TDI, and TDO), and a return clock (RTCK) due to the clocking requirements of the ARM926EJ-S . TRST holds the debug and boundary scan logic in reset when pulled low (its default state). Since TRST has an internal pull-down resistor, this ensures that at power up the device functions in its normal (non- test) operation mode if TRST is not connected. Otherwise, TRST should be driven inactive by the emulator or boundary scan controller. Boundary scan test cannot be performed while the TRST pin is pulled low. Table 6-97. JTAG Port Description PIN TYPE NAME DESCRIPTION When asserted (active low) causes all test and debug logic in the device to be reset alongTRST I Test Logic Reset with the IEEE 1149.1 interface This is the test clock used to drive an IEEE 1149.1 TAP state machine and logic. TCK I Test Clock Depending on the emulator attached to , this is a free running clock or a gated clock depending on RTCK monitoring. Synchronized TCK. Depending on the emulator attached to, the JTAG signals are clockedRTCK O Returned Test Clock from RTCK or RTCK is monitored by the emulator to gate TCK. TMS I Test Mode Select Directs the next state of the IEEE 1149.1 test access port state machine TDI I Test Data Input Scan data input to the device TDO O Test Data Output Scan data output of the device

6.27.2 Scan Chain Configuration Parameters

Table 6-98 shows the TAP configuration details required to configure the router/emulator for this device. Table 6-98. JTAG Port Description Router Port ID Default TAP TAP Name Tap IR Length

17 No Reserved 38

18 No ARM926 4

19 No ETB 4

The router is ICEPick revision C and has a 6-bit IR length.

6.27.3 Initial Scan Chain Configuration

The first level of debug interface that sees the scan controller is the TAP router module. The debugger can configure the TAP router for serially linking up to 16 TAP controllers or individually scanning one of the TAP controllers without disrupting the IR state of the other TAPs.

6.27.3.1 Adding TAPS to the Scan Chain

The TAP router must be programmed to add additional TAPs to the scan chain. The following JTAG scans must be completed to add the ARM926EJ-S to the scan chain. A Power-On Reset (POR) or the JTAG Test-Logic Reset state configures the TAP router to contain only the router’s TAP. 150 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 6-49. Adding ARM926EJ-S to the scan chain Pre-amble: The device whose data reaches the emulator first is listed first in the board configuration file. This device is a pre-amble for all the other devices. This device has the lowest device ID. Post-amble: The device whose data reaches the emulator last is listed last in the board configuration file. This device is a post-amble for all the other devices. This device has the highest device ID.

  • Function : Update the JTAG preamble and post-amble counts. – Parameter : The IR pre-amble count is '0'. – Parameter : The IR post-amble count is '0'. – Parameter : The DR pre-amble count is '0'. – Parameter : The DR post-amble count is '0'. – Parameter : The IR main count is '6'. – Parameter : The DR main count is '1'.
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'pause-ir'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is '0x00000007'. – Parameter : The actual receive data is 'discarded'.
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-dr'. – Parameter : The JTAG destination state is 'pause-dr'. – Parameter : The bit length of the command is '8'. – Parameter : The send data value is '0x00000089'. – Parameter : The actual receive data is 'discarded'.
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'pause-ir'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is '0x00000002'. – Parameter : The actual receive data is 'discarded'.
  • Function : Embed the port address in next command. – Parameter : The port address field is '0x0f000000'. – Parameter : The port address value is '3'. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 151 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-dr'. – Parameter : The JTAG destination state is 'pause-dr'. – Parameter : The bit length of the command is '32'. – Parameter : The send data value is '0xa2002108'. – Parameter : The actual receive data is 'discarded'.
  • Function : Do a send-only all-ones JTAG IR/DR scan. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'run-test/idle'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is 'all-ones'. – Parameter : The actual receive data is 'discarded'.
  • Function : Wait for a minimum number of TCLK pulses. – Parameter : The count of TCLK pulses is '10'.
  • Function : Update the JTAG preamble and post-amble counts. – Parameter : The IR pre-amble count is '0'. – Parameter : The IR post-amble count is '6'. – Parameter : The DR pre-amble count is '0'. – Parameter : The DR post-amble count is '1'. – Parameter : The IR main count is '4'. – Parameter : The DR main count is '1'. The initial scan chain contains only the TAP router module. The following steps must be completed in order to add ETB TAP to the scan chain. Figure 6-50. Adding ETB to the scan chain
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'pause-ir'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is '0x00000007'. – Parameter : The actual receive data is 'discarded'. 152 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-dr'. – Parameter : The JTAG destination state is 'pause-dr'. – Parameter : The bit length of the command is '8'. – Parameter : The send data value is '0x00000089'. – Parameter : The actual receive data is 'discarded'.
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'pause-ir'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is '0x00000002'. – Parameter : The actual receive data is 'discarded'.
  • Function : Embed the port address in next command. – Parameter : The port address field is '0x0f000000'. – Parameter : The port address value is '3'.
  • Function : Do a send-only JTAG IR/DR scan. – Parameter : The route to JTAG shift state is 'shortest transition'. – Parameter : The JTAG shift state is 'shift-dr'. – Parameter : The JTAG destination state is 'pause-dr'. – Parameter : The bit length of the command is '32'. – Parameter : The send data value is '0xa3302108'. – Parameter : The actual receive data is 'discarded'.
  • Function : Do a send-only all-ones JTAG IR/DR scan. – Parameter : The JTAG shift state is 'shift-ir'. – Parameter : The JTAG destination state is 'run-test/idle'. – Parameter : The bit length of the command is '6'. – Parameter : The send data value is 'all-ones'. – Parameter : The actual receive data is 'discarded'.
  • Function : Wait for a minimum number of TCLK pulses. – Parameter : The count of TCLK pulses is '10'.
  • Function : Update the JTAG preamble and post-amble counts. – Parameter : The IR pre-amble count is '0'. – Parameter : The IR post-amble count is '6 + 4'. – Parameter : The DR pre-amble count is '0'. – Parameter : The DR post-amble count is '1 + 1'. – Parameter : The IR main count is '4'. – Parameter : The DR main count is '1'. 6.27.4 JTAG 1149.1 Boundary Scan Considerations To use boundary scan, the following sequence should be followed:
  • Execute a valid reset sequence and exit reset
  • Wait at least 6000 OSCIN clock cycles
  • Enter boundary scan mode using the JTAG pins If TRST is not driven by the boundary scan tool or tester, TRST should be externally pulled high during boundary scan testing. Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 153 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com 6.28 IEEE 1149.1 JTAG The JTAG (1) interface is used for BSDL testing and emulation of the device. The device requires that both TRST and RESET be asserted upon power up to be properly initialized. While RESET initializes the device, TRST initializes the device's emulation logic. Both resets are required for proper operation. While both TRST and RESET need to be asserted upon power up, only RESET needs to be released for the device to boot properly. TRST may be asserted indefinitely for normal operation, keeping the JTAG port interface and device's emulation logic in the reset state. . TRST only needs to be released when it is necessary to use a JTAG controller to debug the device or exercise the device's boundary scan functionality. Note: TRST is synchronous and must be clocked by TCK; otherwise, the boundary scan logic may not respond as expected after TRST is asserted. . RESET must be released only in order for boundary-scan JTAG to read the variant field of IDCODE correctly. Other boundary-scan instructions work correctly independent of current state of RESET. For maximum reliability, the device includes an internal pulldown (IPD) on the TRST pin to ensure that TRST will always be asserted upon power up and the device's internal emulation logic will always be properly initialized. JTAG controllers from Texas Instruments actively drive TRST high. However, some third-party JTAG controllers may not drive TRST high but expect the use of a pullup resistor on TRST. When using this type of JTAG controller, assert TRST to initialize the device after powerup and externally drive TRST high before attempting any emulation or boundary scan operations.

6.28.1 JTAG Peripheral Register Description(s) – JTAG ID Register (DEVIDR0)

Table 6-99. DEVIDR0 Register BYTE ADDRESS ACRONYM REGISTER DESCRIPTION COMMENTS 0x01C1 4018 DEVIDR0 JTAG Identification Register Read-only. Provides 32-bit JTAG ID of the device. (1) IEEE Standard 1149.1-1990 Standard-Test-Access Port and Boundary Scan Architecture. The JTAG ID register is a read-only register that identifies to the customer the JTAG/Device ID. For the device, the JTAG ID register resides at address location 0x01C1 4018. The register hex value for each silicon revision is:

  • 0x8B7D F02F for silicon revision 1.1
  • 0x9B7D F02F for silicon revisions 3.0, 2.1, and 2.0 For the actual register bit names and their associated bit field descriptions, see Figure 6-51 and Table 6- 100. Figure 6-51. JTAG ID (DEVIDR0) Register Description - Register Value 31 28 27 12 11 1 0 VARIANT PART NUMBER (16-bit) MANUFACTURER (11-bit) LSB(4-bit) R-xxxx R-1011 0111 1101 1111 R-0000 0010 111 R-1 LEGEND: R = Read, W = Write, n = value at reset 154 Peripheral Information and Electrical Specifications Copyright © 2010–2014, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Table 6-100. JTAG ID Register Selection Bit Descriptions BIT NAME DESCRIPTION 31:28 VARIANT Variant (4-Bit) value 27:12 PART NUMBER Part Number (16-Bit) value 11-1 MANUFACTURER Manufacturer (11-Bit) value 0 LSB LSB. This bit is read as a "1".

6.28.2 JTAG Test-Port Electrical Data/Timing

Table 6-101. Timing Requirements for JTAG Test Port (see Figure 6-52) No. PARAMETER MIN MAX UNIT 1 tc(TCK) Cycle time, TCK 40 ns 2 tw(TCKH) Pulse duration, TCK high 16 ns 3 tw(TCKL) Pulse duration, TCK low 16 ns 4 tc(RTCK) Cycle time, RTCK 40 ns 5 tw(RTCKH) Pulse duration, RTCK high 16 ns 6 tw(RTCKL) Pulse duration, RTCK low 16 ns 7 tsu(TDIV-RTCKH) Setup time, TDI/TMS/TRST valid before RTCK high 4 ns 8 th(RTCKH-TDIV) Hold time, TDI/TMS/TRST valid after RTCK high 4 ns Table 6-102. Switching Characteristics Over Recommended Operating Conditions for JTAG Test Port (see Figure 6-52) No. PARAMETER MIN MAX UNIT 9 td(RTCKL-TDOV) Delay time, RTCK low to TDO valid 15 ns Figure 6-52. JTAG Test-Port Timing Copyright © 2010–2014, Texas Instruments Incorporated Peripheral Information and Electrical Specifications 155 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

7 Device and Documentation Support

7.1 Device Support

7.1.1 Development Support

TI offers an extensive line of development tools for the device platform, including tools to evaluate the performance of the processors, generate code, develop algorithm implementations, and fully integrate and debug software and hardware modules. The tool's support documentation is electronically available within the Code Composer Studio™ Integrated Development Environment (IDE). The following products support development of the device applications: Software Development Tools: Code Composer Studio™ Integrated Development Environment (IDE): including Editor C/C++/Assembly Code Generation, and Debug plus additional development tools Hardware Development Tools: Extended Development System (XDS™ ) Emulator For a complete listing of development-support tools for the device, visit the Texas Instruments web site on the Worldwide Web at www.ti.com uniform resource locator (URL). For information on pricing and availability, contact the nearest TI field sales office or authorized distributor.

7.1.2 Device and Development-Support Tool Nomenclature

To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all AM1xxx processors and support tools. Each commercial AM1xxx platform member has one of three prefixes: X, P, or null (no prefix). Texas Instruments recommends two of three possible prefix designators for its support tools: TMDX and TMDS. These prefixes represent evolutionary stages of product development from engineering prototypes (TMDX) through fully qualified production devices/tools (TMDS). Device development evolutionary flow: X Experimental device that is not necessarily representative of the final device's electrical specifications. P Final silicon die that conforms to the device's electrical specifications but has not completed quality and reliability verification. NULL Fully-qualified production device. Support tool development evolutionary flow: TMDX Development-support product that has not yet completed Texas Instruments internal qualification testing. TMDS Fully qualified development-support product. X and P devices and TMDX development-support tools are shipped against the following disclaimer: "Developmental product is intended for internal evaluation purposes." NULL devices and TMDS development-support tools have been characterized fully, and the quality and reliability of the device have been demonstrated fully. TI's standard warranty applies. Predictions show that prototype devices (X or P) have a greater failure rate than the standard production devices. Texas Instruments recommends that these devices not be used in any production system because their expected end-use failure rate still is undefined. Only qualified production devices are to be used. Figure 7-1 provides a legend for reading the device.

156 Device and Documentation Support Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

X AM1705 ( ) PTP ( ) 3 PREFIX X = Experimental Device P = Prototype Device Blank = Production Device DEVICE SILICON REVISION 3 = 375 MHz 4 = 456 MHz PACKAGE TYPE DEVICE SPEED RANGE TEMPERATURE RANGE (JUNCTION) B = Silicon Revision 2.0 C = Silicon Revision 2.1 D = Silicon Revision 3.0 Blank = 0°C to 90°C (Commercial Grade) D = -40°C to 90°C (Industrial Grade) A = -40°C to 105°C (Extended Grade) PTP = 176-Pin PowerPAD Plastic Quad Flat Pack [ PTP Suffix], 0.5mm Pin Pitch TM AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 Figure 7-1. Device Nomenclature

7.2 Documentation Support

The following documents describe the device. Copies of these documents are available on the Internet at Reference Guides SPRUGU3 AM1705 ARM Microprocessor System Reference Guide SPRUFU0 AM17x/AM18x ARM Microprocessor Peripherals Overview Reference Guide

7.3 Community Resources

The following links connect to TI community resources. Linked contents are provided "AS IS" by the respective contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of Use. TI E2E™ Online Community TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration among engineers. At e2e.ti.com, you can ask questions, share knowledge, explore ideas and help solve problems with fellow engineers. TI Embedded Processors Wiki Texas Instruments Embedded Processors Wiki. Established to help developers get started with Embedded Processors from Texas Instruments and to foster innovation and growth of general knowledge about the hardware and software surrounding these devices.

7.4 Trademarks

E2E is a trademark of Texas Instruments. ARM9 is a trademark of ARM. ETM9, CoreSight are trademarks of ARM Limited. All other trademarks are the property of their respective owners.

7.5 Electrostatic Discharge Caution

This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.

7.6 Glossary

SLYZ022 — TI Glossary. This glossary lists and explains terms, acronyms, and definitions. Copyright © 2010–2014, Texas Instruments Incorporated Device and Documentation Support 157 Submit Documentation Feedback Product Folder Links: AM1705

SPRS657E –FEBRUARY 2010–REVISED JUNE 2014 www.ti.com

8 Mechanical Packaging and Orderable Information

This section describes the device orderable part numbers, packaging options, materials, thermal and mechanical parameters.

8.1 Thermal Data for PTP

The following table(s) show the thermal resistance characteristics for the PowerPADTM PTP mechanical package. Table 8-1. Thermal Resistance Characteristics (PowerPADTM Package) [PTP]" No. °C/W(1) °C/W(2) °C/W(3) °C/W(4) AIR FLOW (m/s)(5) 1 RΘJC Junction-to-case 7.8 9.4 8.6 10.1 N/A 2 RΘJB Junction-to-board 6.2 9.9 7.1 10.6 N/A 4 14.3 20.2 22.6 0.50 5 13.1 18.6 21.0 1.00 RΘJMA Junction-to-moving air 6 12.1 17.4 19.6 2.00 7 11.2 16.2 18.2 4.00 8 0.5 0.7 0.8 0.00 9 0.6 0.9 1.0 0.50 10 PsiJT Junction-to-package top 0.7 1.0 1.1 1.00 11 0.8 1.1 1.3 2.00 12 1.0 1.3 1.5 4.00 13 6.3 9.5 10.8 0.00 14 5.9 8.8 9.9 0.50 15 PsiJB Junction-to-board 5.9 8.7 9.8 1.00 16 5.8 8.6 9.7 2.00 17 5.8 8.5 9.6 4.00 (1) Simulation data, using a model of a JEDEC defined 2S2P system with a 12mmx12mm copper pad on the top and bottom copper layers connected with an 8x8 thermal via array and soldered to the package thermal pad. Power dissipation of 1W assumed, 70C Ambient temp assumed. Signal layer copper coverage 20%, inner layer copper coverage 90%. Actual performance will change based on environment as well as application. For more information, see these EIA/JEDEC standards – EIA/JESD51-2, Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air) and JESD51-7, High Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages. (2) Simulation data, using the same model but with 1oz (35um) top and bottom copper thickness and 0.5oz (18um) inner copper thickness. Power dissipation of 1W and ambient temp of 70C assumed. (3) Simulation data, 1S1P PCB model with 12x12mm copper pad on the top layer soldered to device thermal pad and connected to the bottom copper layer (90% copper) with an 8x8 thermal via array. Power dissipation of 1W and ambient temp of 70C assumed. Copper thickness 2oz (70um) top and bottom. (4) Simulation data, 1S1P PCB model with 12x12mm copper pad on the top layer soldered to device thermal pad and connected to the bottom copper layer (90% copper) with an 8x8 thermal via array. Power dissipation of 1W and ambient temp of 70C assumed. Copper thickness 1oz (35um) top and bottom. (5) m/s = meters per second

8.2 Supplementary Information About the 176-pin PTP PowerPAD™ Package

This section highlights a few important details about the 176-pin PTP PowerPAD™ package. Texas Instruments' PowerPAD Thermally Enhanced Package Technical Brief (SLMA002) should be consulted when creating a PCB footprint for this device.

158 Mechanical Packaging and Orderable Information Copyright © 2010–2014, Texas Instruments Incorporated

Submit Documentation Feedback Product Folder Links: AM1705

should be as large as Possible. Soldermask opening should be smaller and match the size of the thermal pad on the package. Standoff Height AM1705 www.ti.com SPRS657E –FEBRUARY 2010–REVISED JUNE 2014

8.2.1 Standoff Height

As illustrated in Figure 8-1, the standoff height specification for this device (between 0.050 mm and 0.150 mm) is measured from the seating plane established by the three lowest package pins to the lowest point on the package body. Due to warpage, the lowest point on the package body is located in the center of the package at the exposed thermal pad. Using this definition of standoff height provides the correct result for determining the correct solder paste thickness. According to TI's PowerPAD Thermally Enhanced Package Technical Brief (SLMA002), the recommended range of solder paste thickness for this package is between 0.152 mm and 0.178 mm. Figure 8-1. Standoff Height Measurement on 176-pin PTP Package

8.2.2 PowerPAD™ PCB Footprint

In general, for proper thermal performance, the thermal pad under the package body should be as large as possible. However, the soldermask opening for the PowerPAD™ should be sized to match the pad size on the 176-pin PTP package; as illustrated in Figure 8-2. Figure 8-2. Soldermask Opening Should Match Size of Package Thermal Pad

8.3 Packaging Information

The following packaging information and addendum reflect the most current data available for the designated device(s). This data is subject to change without notice and without revision of this document. Copyright © 2010–2014, Texas Instruments Incorporated Mechanical Packaging and Orderable Information 159 Submit Documentation Feedback Product Folder Links: AM1705

www.ti.com 28-Jun-2016 Addendum-Page 1 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/Ball Finish (6) MSL Peak Temp (3) Op Temp (°C) Device Marking (4/5) Samples AM1705BPTP3 NRND HLQFP PTP 176 TBD Call TI Call TI 0 to 90 AM1705BPTP3 AM1705BPTP4 NRND HLQFP PTP 176 TBD Call TI Call TI 0 to 90 AM1705BPTP4 AM1705BPTPA3 NRND HLQFP PTP 176 TBD Call TI Call TI -40 to 105 AM1705BPTPA3 AM1705BPTPD4 NRND HLQFP PTP 176 TBD Call TI Call TI -40 to 90 AM1705BPTPD4 AM1705CPTP3 OBSOLETE HLQFP PTP 176 TBD Call TI Call TI 0 to 90 AM1705CPTP3 AM1705CPTP4 OBSOLETE HLQFP PTP 176 TBD Call TI Call TI 0 to 90 AM1705CPTP4 AM1705CPTPA3 OBSOLETE HLQFP PTP 176 TBD Call TI Call TI -40 to 105 AM1705CPTPA3 AM1705CPTPD4 OBSOLETE HLQFP PTP 176 TBD Call TI Call TI -0 to 90 AM1705CPTPD4 AM1705DPTP3 ACTIVE HLQFP PTP 176 40 Green (RoHS & no Sb/Br) CU NIPDAU Level-4-260C-72 HR 0 to 90 AM1705DPTP3 AM1705DPTP4 ACTIVE HLQFP PTP 176 40 Green (RoHS & no Sb/Br) CU NIPDAU Level-4-260C-72 HR 0 to 90 AM1705DPTP4 AM1705DPTPA3 ACTIVE HLQFP PTP 176 40 Green (RoHS & no Sb/Br) CU NIPDAU Level-4-260C-72 HR -40 to 105 AM1705DPTPA3 AM1705DPTPD4 ACTIVE HLQFP PTP 176 40 Green (RoHS & no Sb/Br) CU NIPDAU Level-4-260C-72 HR -40 to 90 AM1705DPTPD4 (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.

www.ti.com 28-Jun-2016 Addendum-Page 2 (4) There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device. (5) Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation of the previous line and the two combined represent the entire Device Marking for that device. (6) Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish value exceeds the maximum column width. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or “enhanced plastic”are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2016, Texas Instruments Incorporated