SPRS695D September 2011 – January 2016 AM3871 , AM3874
PRODUCTION DATA.
Refer to the PDF data sheet for device specific package drawings
The PRCM module is the centralized management module for the power, reset, and clock control signals of the device. The PRCM interfaces with all the components on the device for power, clock, and reset management through power-control signals. The PRCM module inTiming Requirements for AUD_CLKINxtegrates enhanced features to allow the device to adapt energy consumption dynamically, according to changing application and performance requirements. The innovative hardware architecture allows a substantial reduction in leakage current.
The PRCM module is composed of two main entities:
For more details on the PRCM, see the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
Every Module within the device belongs to a Core Logic Voltage Domain, Memory Voltage Domain, and a Power Domain (see Table 6-1).
CORE LOGIC VOLTAGE DOMAIN |
MEMORY VOLTAGE DOMAIN |
POWER DOMAIN |
MODULES |
---|---|---|---|
ARM_L | ARM_M | ALWAYS ON | ARM Cortex-A8 Subsystem |
CORE_L |
CORE_M |
DCAN0/1, DMM, EDMA, ELM, DDR0/1, EMAC Switch, GPIO Banks 0/1/2/3,GPMC, I2C0/1/2/3, IPC, MCASP0/1/2/3/4/5, MCBSP, OCMC SRAM, PCIE, PRCM, RTC, SATA, SD/MMC0/1/2, SPI01/2/3, Timer1/2/3/4/5/6/7/8, UART0/1/2/3/4/5, USB0/1, WDT0, System Interconnect, JTAG, Media Controller, ISS | |
GFX | SGX530 | ||
HDVPSS | HDVPSS, HDMI, SD-DAC |
The device contains four Core Logic Voltage Domains. These domains define groups of Modules that share the same supply voltage for their core logic. Each Core Logic Voltage Domain is powered by a dedicated supply voltage rail. Table 6-2 shows the mapping between the Core Logic Voltage Domains and their associated supply pins.
CORE LOGIC VOLTAGE DOMAIN |
SUPPLY PIN NAME |
---|---|
ARM_L | CVDD_ARM |
CORE_L | CVDD |
Note: A regulated supply voltage must be supplied to each Core Logic Voltage Domain at all times, regardless of the Core Logic Power Domain states.
The SRAM within each Device Module is assigned to one of four Memory Voltage Domains. The voltage of each Memory Voltage Domain is independently controlled by internal LDO regulators, which are supplied by the VDDA_1P8 pins.
The voltage level output by each of these LDO regulators is controlled through software by programming the RAMLDO_CTRLx registers in the Control Module. The Memory Voltage Domain voltage must be programmed based on the Core Logic Voltage Domain voltage for that domain (that is, the corresponding Core Logic Voltage Domain for the ARM_M Voltage Domain is ARM_C, and so on). Table 6-3 shows the Memory Voltage Domain voltage requirements.
CORE LOGIC VOLTAGE DOMAIN VOLTAGE (V) |
MEMORY VOLTAGE DOMAIN VOLTAGE (V) |
---|---|
0.83 – 1.20 | 1.20 |
The device contains six Power Domains which supply power to both the Core Logic and SRAM within their associated modules. Each Power Domain, except for the ALWAYS ON domain, has an internal power switch that can completely remove power from that domain. All power switches are turned "OFF" by default after reset, and software can individually turn them "ON/OFF" via Control Module registers.
Note: All Modules within a Power Domain are unavailable when the domain is powered "OFF". For instructions on powering "ON/OFF" the Power domains, see the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device contains SmartReflex modules that help to minimize power consumption on the Core Logic Voltage Domains by using external variable-voltage power supplies. Based on the device process, temperature, and desired performance, the SmartReflex modules advise the host processor to raise or lower the supply voltage to each domain for minimal power consumption.
The communication link between the host processor and the external regulators is a system-level decision and can be accomplished using GPIOs, I2C, SPI, or other methods. The following sections briefly describe the two major techniques employed by SmartReflex: Dynamic Voltage Frequency Scaling (DVFS) and Adaptive Voltage Scaling (AVS).
Each device Core Logic Voltage Domain can be run independently at one of several Operating Performance Points (OPPs). An OPP for a specific Core Logic Voltage Domain is defined by: (1) maximum frequencies of operation for Modules within the Domain and (2) an associated supply voltage range. Trading off power versus performance, OPPs with lower maximum frequencies also have lower voltage ranges for power savings.
The OPP for a domain can be changed in real-time without requiring a reset. This feature is called Dynamic Voltage Frequency Scaling (DVFS). Table 6-4 contains a list of voltage ranges and maximum module frequencies for the OPPs of each Core Logic Voltage Domain.
CORE LOGIC VOLTAGE DOMAINS | |||||||
---|---|---|---|---|---|---|---|
ARM | CORE | ||||||
OPP | Cortex A8 (MHz) |
HDVPSS (MHz) |
SGX (MHz) |
ISS (MHz) |
Media Ctlr. (MHz) |
L3/L4, Core (MHz) |
DDR (MHz)(1) |
100%(1.1 V) | 600 | 200 | 200 | 400 | 200 | 200 | 400 |
120% (1.2 V) | 720 | 200 | 250 | 400 | 200 | 220 | 400 |
166% (1.35 V) | 800 | 220 | 280 | 480 | 240 | 220 | 533 |
1000 | 220 | 280 | 480 | 240 | 220 | 533 |
Although the OPP for each Core Logic Voltage Domain is independently selectable, not all combinations of OPPs are supported. Table 6-5 marks the supported ARM OPPs for a given CORE OPP.
As mentioned in Section 6.2.2.1, Dynamic Voltage Frequency Scaling (DVFS) above, every OPP has an associated voltage range. Based on the silicon process, temperature, and chosen OPP, the SmartReflex modules guide software in adjusting the Core Logic Voltage Domain supply voltages within these ranges. This technique is called Adaptive Voltage Scaling (AVS). AVS occurs continuously and in real-time, helping to minimize power consumption in response to changing operating conditions.
To reduce SRAM leakage, many SRAM blocks can be switched from ACTIVE mode to SHUTDOWN mode. When SRAM is put in SHUTDOWN mode, the voltage supplied to it is automatically removed and all data in that SRAM is lost.
All SRAM located in a switchable power domain (all domains except ALWAYS_ON) automatically enters SHUTDOWN mode whenever its associated power domain goes into the "OFF" state. The SRAM returns to the ACTIVE state when the corresponding Power Domain returns to the "ON" state.
In addition, the following SRAM within the ALWAYS_ON Power Domain can also be independently put into SHUTDOWN by programming the x_MEM_PWRDN registers in the Control Module:
For detailed instructions on powering up/down the various device SRAM, see the Control Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The SERDES_CLKP and SERDES_CLKN input buffers are powered by an internal LDO which is programmed through the REFCLK_LJCBLDO_CTRL register in the Control Module.
For more information on programming the SERDES_CLKP and SERDES_CLKN LDO, see PCI Express (PCIe) Module and Serial ATA (SATA) Controller chapters of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device supports dual voltages on some of its I/Os. These I/Os are partitioned into the following groups, and each group has its own dedicated supply pins: DVDD, DVDD_GPMC, DVDD_C, and DVDD_SD. The supply voltage for each group can be independently powered with either 1.8 V or 3.3 V.
For the mapping between pins and power groups, see Section 2.11.
In addition, the I/O voltage on each DDR interface is independently selectable between either 1.5 V or 1.8 V to support various DDR device types. The I/O supplies for each DDR interface are separate and isolated to allow populating different memory types on each interface.
On the device, there are power-down modes available for the following PHYs:
When a PHY controller is in a power domain that is to be turned "OFF", software must configure the corresponding PHY into power-down mode, prior to putting the power domain in the "OFF" state.
The device supports Low-Power Standby Mode as described below.
Standby Mode is defined as a state in which:
For detailed instructions on entering and exiting from Standby Mode see the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device power supplies are organized into four Supply Sequencing Groups:
To ensure proper device operation, a specific power-up and power-down sequence must be followed. Some TI power-supply devices include features that facilitate these power sequencing requirements — for example, TI’s TPS659113 integrated PMIC. For more information on TI power supplies and their features, visit www.ti.com/processorpower.
For more detailed information on the actual power supply names and their descriptions, see Table 2-49, Supply Voltages Terminal Functions.
For proper device operation, the following power-up sequence in Table 6-6 and must be followed.
NO. | DESCRIPTION | MIN | MAX | UNIT |
---|---|---|---|---|
1 | 1.8 V and DVDD_DDR[x] supplies stable to 3.3 V supplies ramp start | 0 | ms | |
2 | 1.8 V supplies to 1.5-/1.8- V DVDD_DDR[x] supplies | 0(1) | ms | |
3 | 1.8 V supplies stable to CVDD, CVDD_x variable supplies ramp start | 0(1) | ms | |
13 | CVDD variable supply ramp start to CVDD_x variable supplies ramp start | 0 | ms | |
4 | All supplies valid to power-on-reset (POR high) | 4 096 | Master Clocks |
For proper device operation, the following power-down sequence in Table 6-7 and Figure 6-2 must be followed. Ramping down all supplies at the same time is allowed, provided the requirements in Table 6-7 are met.
NO. | DESCRIPTION | MIN | MAX | UNIT |
---|---|---|---|---|
8 | CVDD, CVDD_x variable supply to 1.8 V supplies | See (2) | See (2) | ms |
9 | 1.5-/1.8-V DVDD_DDR[x] supplies to 1.8 V supplies | See (2) | See (2) | ms |
10 | 3.3 V supplies to 1.8 V supplies | See (1) | See (1) | ms |
14 | CVDD_x variable supplies ramp-down start to CVDD variable supply ramp-down start | 0 | ms |
PLL and Analog supplies benefit from filters or ferrite beads to keep the noise from causing problems. The minimum recommendation is a ferrite bead along with at least one capacitor on the device side of the bead. An additional recommendation is to add one capacitor just before the bead to form a Pi filter. The filter must be as close as possible to the device pin, with the device side capacitor being the most important component to be close to the device pin. PLL pins close together can be combined on the same supply, but analog pins should all have their own filters. PLL pins farther away from each other may need their own filtered supply.
Recommended capacitors for power supply decoupling are all 0.1uF in the smallest body size that can be used. Capacitors are more effective in the smallest physical size to limit lead inductance. For example, 0201 sized capacitors are better than 0402 sized capacitors, and so on. TI recommends using capacitors no larger than 0402. Place at least one capacitor for every two power pins. For those power pins that have only one pin, a capacitor is still required. Place one bulk (10 uF or larger) capacitor for every 10 or so power pins as closely as possible to the chip. These larger capacitors do not need to be under the chip footprint.
Pay special attention not to put so much capacitance on the supply that it slows the start-up voltage ramp enough to change the power sequencing order. Also be sure to verify that the main chip reset is low until after all supplies are at their correct voltage and stable.
DDR peripheral related supply capacitor numbers are provided in Section 7.13, DDR2/DDR3 Memory Controller.
The device has several types of system-level resets. Table 6-8 lists these reset types, along with the reset initiator, and the effects of each reset on the device.
TYPE | INITIATOR | RESETS ALL MODULES, EXCLUDING EMAC SWITCH, EMULATION, PLL AND CLOCK CONFIG | RESETS EMAC SWITCH | RESETS EMULATION | PLL AND CLOCK CONFIG | LATCHES BOOT PINS |
ASSERTS RSTOUT_WD_OUT PIN |
---|---|---|---|---|---|---|---|
Power-on Reset (POR) | POR pin | Yes | Yes | Yes | Yes | Yes | Optional(2)(3) |
External Warm Reset | RESET pin | Yes | Optional(1) | No | No | Yes | Optional(2)(3) |
Emulation Warm Reset | On-Chip Emulation Logic | Yes | Optional(1) | No | No | No | Optional(2) |
Watchdog Reset | Watchdog Timer | Yes | Optional(1) | No | No | No | Yes |
Software Global Cold Reset | Software | Yes | Optional(1) | Yes | Yes | No | Optional(2) |
Software Global Warm Reset | Software | Yes | Optional(1) | No | No | No | Optional(2) |
Test Reset | TRST pin | No | No | Yes | No | No | No |
Power-on Reset (POR) is initiated by the POR pin and is used to reset the entire chip, including the Test and Emulation logic, and the EMAC Switch. POR is also referred to as a cold reset because it is required to be asserted when the device goes through a power-up cycle. However, a device power-up cycle is not required to initiate a Power-on Reset.
The following sequence must be followed during a Power-on Reset:
An external warm reset is activated by driving the RESET pin active-low. This resets everything in the device, except for the Test and Emulation logic, and the EMAC Switch (optional). An emulator session stays alive during warm reset.
The following sequence must be followed during a warm reset:
An Emulation Warm Reset is activated by the on-chip Emulation Module and has the same effect and requirements as an External Warm Reset (RESET), with the following exceptions:
The emulator initiates an Emulation Warm Reset via the ICEPICK module. To invoke the Emulation Warm Reset via the ICEPICK module, the user can perform the following from the Code Composer Studio™ IDE menu: Target -> Reset -> System Reset.
A Watchdog Reset is initiated when the Watchdog Timer counter reaches zero and has the same effect and requirements as an External Warm Reset (RESET pin), with the following exceptions:
In addition, a Watchdog Reset always results in RSTOUT_WD_OUT being asserted, regardless of whether the BTMODE[11] pin was latched as "0" or "1".
A Software Global Cold Reset is initiated under software control and has the same effect and requirements as a POR Reset, with the following exceptions:
Software initiates a Software Global Cold Reset by writing a "1" to the RST_GLOBAL_COLD_SW bit in the PRM_RSTCTRL register in the PRCM.
For more detailed information on the PRM_RSTCTRL register, see the PRCM Registers section of the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
A Software Global Warm Reset is initiated under software control and has the same effect and requirements as a External Warm Reset (RESET pin), with the following exceptions:
Software initiates a Software Global Warm Reset by writing a "1" to the RST_GLOBAL_WARM_SW bit in the PRM_RSTCTRL register in the PRCM.
For more detailed information on the PRM_RSTCTRL register, see the PRCM Registers section of the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
A Test Reset is activated by the emulator asserting the TRST pin. The only effect a Test Reset has is to reset the Test and Emulation Logic.
The Local Reset for various Modules within the device is controlled by programming the PRCM and/or the Peripheral Module’s internal registers. Only the associated Module is reset when a Local Reset is asserted, leaving the rest of the device unaffected.
For more details on Peripheral Local Resets, see the Reset Management section of the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
If any of the above reset sources occur simultaneously, the device only processes the highest-priority reset request. The reset request priorities, from high-to-low, are as follows:
The Reset Status Register (PRM_RSTST) contains information about the last reset that occurred in the system. For more information on this register, see the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device supports reset isolation for the PCI-Express (PCIE) module. This means that the PCI-Express Subsystem can be reset without resetting the rest of the device.
When the devcie is a PCI-Express Root Complex (RC), the PCIE Subsystem can be reset by software through the PRCM. Software should ensure that there are no ongoing PCIE transactions before asserting this reset by first taking the PCIE Subsystem into the IDLE state. After bringing the PCIE Subsystem out of reset, bus enumeration should be performed again and should treat all Endpoints (EP) as if they had just been connected.
When the device is a PCI-Express Endpoint (EP), the PCIE Subsystem will generate an interrupt when an in-band reset is received. Software should process this interrupt by putting the PCIE Subsystem in the IDLE state and then asserting the PCIE local reset through the PRCM.
All device level resets mentioned in the previous sections, except Test Reset, will also reset the PCIE Subsystem. Therefore, the PCIE peripheral should issue a Hot Reset to all downstream devices and re-enumerate the bus upon coming out of reset.
For more detailed information on reset isolation procedures, see the PCIe Reset Isolation section of the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device supports reset isolation for the Ethernet Switch (EMAC Switch). This allows the device to undergo all resets listed in Section 6.3.1, System-Level Reset Sources, with the exception of POR Reset, without disrupting the Ethernet Switch or the traffic being routed through the switch during the reset condition. The following reset types can optionally provide an EMAC Switch reset isolation by setting the ISO_CONTROL bit in the RESET_ISO Control Module register to a "1":
When one of above resets occurs and the Ethernet Switch (EMAC Switch) is programmed to be isolated:
The EMAC Switch is always reset when:
The RSTOUT_WD_OUT pin reflects device reset status and is deasserted (high) when the device is out reset. This output will always be asserted when a Watchdog Timer reset (Watchdog Reset) occurs. In addition, this output is always 3-stated and the internal pull resistor is disabled on this pin while POR and/or RESET is asserted; therefore, an external pullup/pulldown can be used to set the state of this pin (high/low) while POR and/or RESET is asserted. For more detailed information on external PUs/PDs, see Section 3.5.1, Pullup/Pulldown Resistors.
If the BTMODE[11] pin is latched as a "0" at the rising edge of POR or RESET, then RSTOUT_WD_OUT is also asserted when any of the below resets occur:
The RSTOUT_WD_OUT pin remains asserted until the PRCM releases the host ARM Cortex-A8 processor for reset.
The device Emulation and Trace Logic will only be reset by the following sources:
Other than these three reset types, none of the other resets will affect the Emulation and Trace Logic. However, the multiplexing of the EMU[4:2] pins is reset by all system reset types except Test Reset.
Each Power Domain has a dedicated Warm Reset and Cold Reset. Warm Reset for a Power Domain is asserted under either of the following two conditions:
Cold Reset for a Power Domain is asserted under either of the following two conditions:
When any reset, other than Test Reset, (all described in Section 6.3.1, System-Level Reset Sources) is asserted, all device I/O pins are reset into a Hi-Z state except for:
In addition, the PINCNTL registers, which control pin multiplexing, enabling the IPUs/IPDs, and enabling the receiver, are reset to their default state. Again, enabling the EMAC Switch reset isolation prevents some PINCNTL registers from being reset.
For details on EMAC Switch reset isolation, see the descriptions of the RESET_ISO register and the PINCNTL registers in the Control Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
Internal pull-up/down (IPU/IPD) resistors are enabled during and immediately after reset as described in Section 2.11, Terminal Functions of this document.
NOTE
Upon coming out of reset, the ARM Cortex-A8 starts executing code from the internal Boot ROM. The Boot ROM code modifies the PINCNTLx registers to configure the associated pins for the chosen primary and backup Bootmodes. For more details on the Boot ROM effects on pin multiplexing, see the ROM Code Memory and Peripheral Booting and Control Module chapters of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
NO. | OPP100 | UNIT | ||||
---|---|---|---|---|---|---|
MIN | MAX | |||||
1 | tw(RESET) | Pulse duration, POR low or RESET low | 12P(2) | ns | ||
2 | tsu(BOOT) | Setup time, BTMODE[15:0] pins valid before POR high or RESET high | POR | 2P(1) | ns | |
RESET | 2P(1) | ns | ||||
3 | th(BOOT) | Hold time, BTMODE[15:0] pins valid after POR high or RESET high | 0 | ns |
NO. | PARAMETER | OPP100 | UNIT | |||
---|---|---|---|---|---|---|
MIN | MAX | |||||
4 | td(RSTL-IORST) | Delay time, RESET low or POR low to all I/Os entering their reset state | 14 | ns | ||
5 | td(RSTH-IOFUNC) | Delay time, RESET high or POR high to all I/Os exiting their reset state | 14 | ns | ||
6 | td(RSTH-RSTOUTH) | Delay time, RESET high to RSTOUT_WD_OUT high(1)(2) | RESET assertion tw(RESET) ≥ 30P | 0 | 2P | ns |
RESET assertion tw(RESET) < 30P | 0 | 32P - tw(RESET) | ns | |||
7 | td(PORH-RSTOUTH) | Delay time, POR high to RSTOUT_WD_OUT high(1)(2) | 0 | 12500P | ns | |
8 | td(RSTL-RSTOUTZ) | Delay time, RESET low to RSTOUT_WD_OUT Hi-Z(1)(2) | 0 | 2P | ns | |
9 | td(PORH-RSTOUTL) | Delay time, POR high to RSTOUT_WD_OUT driven based on latched BTMODE[11] value(1)(2) | 0 | 2P | ns | |
10 | td(RSTH-RSTOUTD) | Delay time, RESET high to RSTOUT_WD_OUT driven based on latched BTMODE[11] value(1)(2) | 0 | 2P | ns |
Figure 6-4 shows the Power-Up Timing. Figure 6-5 shows the Warm Reset (RESET) Timing. Max Reset Timing is identical to Warm Reset Timing, except the BTMODE[15:0] pins are not relatched.
The device clocks are generated from several reference clocks that are fed to on-chip PLLs and dividers (both inside and outside of the PRCM Module). Figure 6-6 shows a high-level overview of the device system clocking structure (Note: to reduce complexity, not all clocking connections are shown). For detailed information on the device clocks, see the Clock Generation and Management section of the Power, Reset, and Clock Management (PRCM) Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device provides two clock inputs, Device (DEVOSC_MXI/DEV_CLKIN) and Auxiliary (AUXOSC_MXI/AUX_CLKIN). The Device (DEV) clock is used to generate the majority of the internal reference clocks, while the Auxiliary (AUX) clock can optionally be used as a source for the Audio and/or Video PLLs.
The DEV and AUX clocks can be sourced in two ways:
Note: The external crystals used with the internal oscillators must operate in fundamental parallel resonant mode only. There is no overtone support.
The DEV Clock should in most cases be 20 MHz. However, it can optionally range anywhere from 20 - 30 MHz if the following are true:
The AUX Clock is optional and can range from 20-30 MHz. AUX Clock can be used to source the Audio and/or Video PLLs when a very precise audio or video frequency is required.
When the internal oscillators are used to generate the DEV and AUX clocks, external crystals are required to be connected across the DEVOSC or AUXOSC oscillator MXI and MXO pins, along with two load capacitors (see Figure 6-7 and Figure 6-8). The external crystal load capacitors should also be connected to the associated oscillator ground pin (VSSA_DEVOSC or VSSA_AUXOSC). The capacitors should not be connected to board ground (VSS).
The load capacitors, C1 and C2 in the above pictures, should be chosen such that the below equation is satisfied. CL in the equation is the load specified by the crystal manufacturer. All discrete components used to implement the oscillator circuit should be placed as close as possible to the associated oscillator MXI, MXO, and VSS pins.
PARAMETER | MIN | TYP | MAX | UNIT | ||
---|---|---|---|---|---|---|
Start-up time (from power up until oscillating at stable frequency) | 4 | ms | ||||
Crystal Oscillation frequency(1) | 20 | 20 | 30 | MHz | ||
Parallel Load Capacitance (C1 and C2) | 12 | 24 | pF | |||
Crystal ESR | 50 | Ω | ||||
Crystal Shunt Capacitance | 5 | pF | ||||
Crystal Oscillation Mode | Fundamental Only | n/a | ||||
Crystal Frequency Stability | If Ethernet not used | ±200 | ppm | |||
If MII is used and RGMII, RMII not used | ±100 | |||||
If RGMII, or RMII used | ±50 |
PARAMETER | MIN | MAX | UNIT | |
---|---|---|---|---|
Start-up time (from power up until oscillating at stable frequency) | 4 | ms | ||
Crystal Oscillation frequency | 20 | 30 | MHz | |
Parallel Load Capacitance (C1 and C2) | 12 | 24 | pF | |
Crystal ESR | 50 | Ω | ||
Crystal Shunt Capacitance | 5 | pF | ||
Crystal Oscillation Mode | Fundamental Only | n/a | ||
Crystal Frequency stability(1) | ±50 | ppm |
A 1.8-V LVCMOS-Compatible Clock Input can be used instead of the internal oscillators as the DEV and AUX clock inputs to the system. The external connections to support this are shown in Figure 6-9 and Figure 6-10. The DEV_CLKIN and AUX_CLKIN pins are connected to the 1.8-V LVCMOS-Compatible clock sources. The DEV_MXO and AUX_MXO pins are left unconnected. The VSSA_DEVOSC and VSSA_AUXOSC pins are connected to board ground (VSS).
The clock source must meet the DEVOSC_MXI/DEV_CLKIN timing requirements shown in Table 6-15, Timing Requirements for DEVOSC_MXI/DEV_CLKIN.
The clock source must meet the AUXOSC_MXI/AUX_CLKIN timing requirements shown in Table 6-16, Timing Requirements for AUXOSC_MXI/AUX_CLKIN.
A high-quality, low-jitter differential clock source is required for the PCIE PHY and is an optional clock source for the SATA PHY. The clock is required to be AC coupled to the SERDES_CLKP and SERDES_CLKN device pins according to the specifications in Table 6-13. Both the clock source and the coupling capacitors should be placed physically as close to the processor as possible. In addition, make sure to follow any PCB routing and termination recommendations that the clock source manufacturer recommends.
PARAMETER | MIN | TYP | MAX | UNIT | |
---|---|---|---|---|---|
SERDES_CLKN/P AC coupling capacitor value | 0.24 | 0.27 | 1.0 | nF | |
SERDES_CLKN/P AC coupling capacitor package size(1)(2) | 0402 | 0603 | EIA |
The differential clock source is required to meet the REFCLK AC Specifications outlined in the PCI-EXPRESS CARD ELECTROMECHANICAL SPECIFICATION, REV. 2.0, at the input to the AC coupling capacitors.
In addition, LVDS clock sources that are compliant to the above specification, but with the following exceptions, are also acceptable:
PARAMETER | MIN | MAX | UNIT | |
---|---|---|---|---|
VIH | Differential High-Level Input Voltage | 125 | 1000 | mV |
VIL | Differential Low-Level Input Voltage | -1000 | -125 | mV |
External clock inputs can optionally be provided at the AUD_CLKIN0/1/2 pins to serve as a reference clocks for the following modules:
An external 32768-Hz clock input can optionally be provided at the CLKIN32 pin to serve as a reference clock in place of the RTCDIVIDER clock for the following Modules:
The CLKIN32 source must meet the timing requirements shown in Table 6-18.
There are three pins referred to as AUD_CLKIN0,1,2 which are used as optional sources for HDMI I2S, McASP, McBSP and TIMER1-8. The maximum IO pin frequency for these three input clocks is 50MHz.
The device includes two selectable general-purpose clock outputs (CLKOUT0 and CLKOUT1). The source for these output clocks is controlled by the CLKOUT_MUX register in the Control Module (see Figure 6-11).
For detailed information on the CLKOUTx switching characteristics, see Table 6-19.
Note: If an external clock oscillator is used, a single clean power supply should be used to power both the device and the external clock oscillator circuit.
NO. | OPP100 | UNIT | |||||
---|---|---|---|---|---|---|---|
MIN | NOM | MAX | |||||
1 | tc(DMXI) | Cycle time, DEVOSC_MXI/DEV_CLKIN | 33.33 | 50 | 50 | ns | |
2 | tw(DMXIH) | Pulse duration, DEVOSC_MXI/DEV_CLKIN high | 0.45C | 0.55C | ns | ||
3 | tw(DMXIL) | Pulse duration, DEVOSC_MXI/DEV_CLKIN low | 0.45C | 0.55C | ns | ||
4 | tt(DMXI) | Transition time, DEVOSC_MXI/DEV_CLKIN | 7 | ns | |||
5 | tJ(DMXI) | Period jitter, DEVOSC_MXI/DEV_CLKIN | 0.02C | ns | |||
Frequency Stability | If Ethernet not used | ±200 | ppm | ||||
If MII is used and RGMII, RMII not used | ±100 | ||||||
If RGMII, or RMII used | ±50 |
NO. | OPP100 | UNIT | ||||
---|---|---|---|---|---|---|
MIN | NOM | MAX | ||||
1 | tc(AMXI) | Cycle time, AUXOSC_MXI/AUX_CLKIN | 33.3 | 50 | 50 | ns |
2 | tw(AMXIH) | Pulse duration, AUXOSC_MXI/AUX_CLKIN high | 0.45C | 0.55C | ns | |
3 | tw(AMXIL) | Pulse duration, AUXOSC_MXI/AUX_CLKIN low | 0.45C | 0.55C | ns | |
4 | tt(AMXI) | Transition time, AUXOSC_MXI/AUX_CLKIN | 7 | ns | ||
5 | tJ(AMXI) | Period jitter, AUXOSC_MXI/AUX_CLKIN | 0.02C | ns | ||
6 | Sf | Frequency stability, AUXOSC_MXI/AUX_CLKIN(3) | ± 50 | ppm |
NO. | OPP100/120/166 | UNIT | ||||
---|---|---|---|---|---|---|
MIN | NOM | MAX | ||||
1 | tc(AUD_CLKINx) | Cycle time, AUD_CLKINx | 20 | ns | ||
2 | tw(AUD_CLKINxH) | Cycle time, AUD_CLKINx | 0.45A | 0.55A | ns | |
3 | tw(AUD_CLKINxL) | Cycle time, AUD_CLKINx | 0.45A | 0.55A | ns |
NO. | OPP100 | UNIT | ||||
---|---|---|---|---|---|---|
MIN | NOM | MAX | ||||
1 | tc(CLKIN32) | Cycle time, CLKIN32 | 1/32768 | s | ||
2 | tw(CLKIN32H) | Pulse duration, CLKIN32 high | 0.45C | 0.55C | ns | |
3 | tw(CKIN32L) | Pulse duration, CLKIN32 low | 0.45C | 0.55C | ns | |
4 | tt(CLKIN32) | Transition time, CLKIN32 | 7 | ns | ||
5 | tJ(CLKIN32) | Period jitter, CLKIN32 | 0.02C | ns |
NO. | PARAMETER | OPP100 | UNIT | |||
---|---|---|---|---|---|---|
MIN | MAX | |||||
1 | tc(CLKOUTx) | Cycle time, CLKOUTx | 5 | ns | ||
2 | tw(CLKOUTxH) | Pulse duration, CLKOUTx high | 0.45P | 0.55P | ns | |
3 | tw(CLKOUTxL) | Pulse duration, CLKOUTx low | 0.45P | 0.55P | ns | |
4 | tt(CLKOUTx) | Transition time, CLKOUTx | 0.05P | ns |
The device contains 12 top-level PLLs, and 4 embedded PLLs (within the ARM Cortex-A8, PCIE, SATA, and CSI) that provide clocks to different parts of the system. Figure 6-17 and Figure 6-18 show simplified block diagrams of the Top-Level PLL and PLL_ARM. In addition, see the System Clocking Overview (Figure 6-6) for a high-level view of the device clock architecture including the PLL reference clock sources and connections.
The reference clock for most of the PLLs comes from the DEV input clock, with select PLLs also having the option to use the AUX input clock as a reference. Also, each PLL supports a Bypass mode in which the reference clock can be directly passed to the PLL CLKOUT through a divider. All device PLL’s will come-up in Bypass mode after reset.
For details on programming the device PLLs, see the Control Module chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
The device PLLs are supplied externally via the VDDA_x_1P8 power-supply pins (where "x" represents ARMPLL, VID0PLL, VID1PLL, AUDIOPLL, DDRPLL, L3PLL, USB0, and HDMI). External filtering must be added on the PLL supply pins to ensure that the requirements in Table 6-20 are met.
The Top-Level and PLL_ARM PLLs support the internal multiplier and divider values shown in Table 6-21, Top-Level PLL Multiplier and Divider Limits and Table 6-22, PLL_ARM Multiplier and Divider Limits. The PLLs must be programmed to conform to the various REFCLK, CLKDCO, DCOCLK, and CLKOUT limits described in Section 6.4.8.3, PLL Frequency Limits.
PARAMETER | MIN | MAX | |
---|---|---|---|
N Predivider | 0 | 255 | |
PLL Multiplier (M) | 2 | 4095(1) | |
M2 Post Divider | 1 | 127 | |
N2 Bypass Divider | 0 | 15 |
PARAMETER | MIN | MAX | |
---|---|---|---|
N Predivider | 0 | 127 | |
PLL Multiplier (M)(2) | 2 | 2047(1) | |
M2 Post Divider | 1 | 31 | |
N2 Bypass Divider | 0 | 15 |
Each PLL supports a minimum and maximum operating frequency for its REFCLK, CKLDCO, and CLKOUT values. The PLLs must be configured not to exceed any of the constraints placed on these values shown in Table 6-23 through Table 6-25. Care must be taken to stay within these limits when selecting external clock input frequencies, internal divider values, and PLL multiply ratios. In addition, limits shown in these tables may be further restricted by the clock frequency limitations of the device modules using these clocks. For more detailed information on the SYSCLK and Module Clock frequency limits, see Section 6.4.9, SYSCLKs and Section 6.4.10, Module Clocks.
CLOCK | MIN | MAX | UNIT |
---|---|---|---|
REFCLK | 0.5 | 2.5 | MHz |
CLKDCO (HS1)(1) | 1000 | 2000 | MHz |
CLKDCO (HS2)(2) | 500 | 1000 | MHz |
CLKOUT | see Table 6-25 | see Table 6-25 | MHz |
CLOCK | MIN | MAX | UNIT |
---|---|---|---|
REFCLK | 0.032 | 52 | MHz |
DCOCLK | 20 | 2000 | MHz |
CLKOUT | see Table 6-25 | see Table 6-25 | MHz |
PLL | OPP100 | UNIT | |
---|---|---|---|
MIN | MAX | ||
PLL_ARM | 10 | 600 | MHz |
PLL_SGX | 10 | 200 | MHz |
PLL_L3 | 10 | 200 | MHz |
PLL_DDR | 10 | 400 | MHz |
PLL_HDVPSS | 10 | 200 | MHz |
PLL_AUDIO | 10 | 200 | MHz |
PLL_MEDIACTL | 10 | 400 | MHz |
PLL_USB | 10(1) | 960 | MHz |
PLL_VIDEO0 | 10 | 200 | MHz |
PLL_VIDEO1 | 10 | 200 | MHz |
PLL_VIDEO2 | 10 | 200 | MHz |
The PLL Control Registers reside in the Control Module and are listed in Section 3.1.
In some cases, the system clock inputs and PLL outputs are sent to the PRCM Module for division and multiplexing before being routed to the various device Modules. These clock outputs from the PRCM Module are called SYSCLKs. Table Table 6-26 lists the device SYSCLKs along with their maximum supported clock frequencies. In addition, limits shown in these tables may be further restricted by the clock frequency limitations of the device modules using these clocks. For more details on Module Clock frequency limits, see Section 6.4.10 Module Clocks.
SYSCLK | MAX CLOCK FREQUENCY OPP100 (MHz) |
---|---|
SYSCLK1 | RSV |
SYSCLK2 | RSV |
SYSCLK3 | 266 |
SYSCLK4 | 200 |
SYSCLK5 | RSV |
SYSCLK6 | 100 |
SYSCLK7 | RSV |
SYSCLK8 | 192 |
SYSCLK9 | RSV |
SYSCLK10 | 48 |
SYSCLK11 | RSV |
SYSCLK12 | RSV |
SYSCLK13 | RSV |
SYSCLK14 | 27 |
SYSCLK15 | RSV |
SYSCLK16 | 27 |
SYSCLK17 | RSV |
SYSCLK18 | 0.032768 |
SYSCLK19 | 192 |
SYSCLK20 | 192 |
SYSCLK21 | 192 |
SYSCLK22 | RSV |
SYSCLK23 | 200 |
Device Modules either receive their clock directly from an external clock input, directly from a PLL, or from a PRCM SYSCLK output. Table 6-27 lists the clock source options for each Module on this device, along with the maximum frequency that Module can accept. To ensure proper Module functionality, the device PLLs and dividers must be programmed not to exceed the maximum frequencies listed in this table.
MODULE | CLOCK SOURCES | MAX FREQUENCY OPP100 (MHz) |
---|---|---|
Cortex-A8 | PLL_ARM SYSCLK18 |
600 |
DCAN0/1 | DEV Clock | 30 |
DDR0/1 | PLL_DDR | 400 |
DMM | PLL_DDR/2 | 200 |
EDMA | SYSCLK4 | 200 |
EMAC Switch (GMII) | SATA SERDES | Fixed 125 |
EMAC Switch (RGMII) | PLL_VIDEO0 PLL_VIDEO1 PLL_VIDEO02 PLL_L3 |
Fixed 250 |
EMAC Switch (RMII and MII) | SATA SERDES EMAC_RMREFCLK Pin |
Fixed 50 |
GPIO | SYSCLK6 | 100 |
GPIO Debounce | SYSCLK18 | Fixed 0.032768 |
GPMC | SYSCLK6 | 100 |
HDMI | PLL_VIDEO2 | 186 |
HDMI CEC | SYSCLK10 | Fixed 48 |
HDMI I2S | SYSCLK20 SYSCLK21 AUD_CLK0/1/2 AUX Clock |
50 |
HDVPSS | PLL_HDVPSS | 200 |
HDVPSS VOUT1 | PLL_VIDEO2 HDMI PHY |
186 |
HDVPSS VOUT0 | PLL_VIDEO1 PLL_VIDEO2 |
165 |
HDVPSS SD VENC | PLL_VIDEO0 | Fixed 54 |
I2C0/1/2/3 | SYSCLK10 | 48 |
ISS | PLL_ MEDIACTL | 400 |
L3 Fast | SYSCLK4 | 200 |
L3 Medium | SYSCLK4 | 200 |
L3 Slow | SYSCLK6 | 100 |
L4 Fast | SYSCLK4 | 200 |
L4 Slow | SYSCLK6 | 100 |
Mailbox | SYSCLK6 | 100 |
McASP | SYSCLK6 | 100 |
McASP0/1/2 AUX_CLK | SYSCLK20 SYSCLK21 |
192 |
McASP3/4/5 AUX_CLK | PLL_AUDIO PLL_VIDEO0/1/2 AUD_CLK0/1/2 AUX Clock |
192 |
McBSP CLKS | SYSCLK20 SYSCLK21 AUD_CLK0/1/2 AUX Clock |
192 |
Media Controller | PLL_MEDIACTL/2 | 200 |
MMCSD0/1/2 | SYSCLK8 | 192 |
OCMC RAM | SYSCLK4 | 200 |
PCIe SERDES | SERDES_CLKx Pins | 100 |
SATA SERDES | DEV Clock SERDES_CLKx Pins |
20 or 100 |
SGX530 | SYSCLK23 | 200 |
SPI0/1/2/3 | SYSCLK10 | 48 |
Spinlock | SYSCLK6 | 100 |
Sync Timer | SYSCLK18 | Fixed 0.032768 |
TIMER1/2/3/4/5/6/7/8 | SYSCLK18 DEV Clock AUX Clock AUD_CLK0/1/2 TCLKIN |
30 |
UART0/1/2 | SYSCLK10 | 48 |
UART3/4/5 | SYSCLK6 SYSCLK8 SYSCLK10 |
192 |
USB | PLL_USB CLKDCO | Fixed 960 |
WDT0 | RTCDIVIDER RCOSC32K |
Fixed 0.032768 |
The device has a large number of interrupts to service the needs of its many peripherals and subsystems. The ARM Cortex-A8 and Media Controller are capable of servicing these interrupts. The following sections list the device interrupt mapping and multiplexing schemes.
The ARM Cortex-A8 Interrupt Controller (AINTC) is responsible for prioritizing all service requests from the System peripherals and generating either IRQs or FIQs to the Cortex-A8. The AINTC has the capability to handle up to 128 requests, and the priority of the interrupt inputs are programmable. Table 6-28 lists the interrupt sources for the AINTC.
Note: For General-Purpose devices, the AINTC does not support the generation of FIQs to the ARM processor.
For more details on ARM Cortex-A8 interrupt control, see the ARM Interrupt Controller (AINTC) chapter of the AM387x Sitara™ ARM Processors Technical Reference Manual (SPRUGZ7).
Cortex-A8 INTERRUPT NUMBER |
ACRONYM | SOURCE |
---|---|---|
0 | EMUINT | Cortex-A8 Emulation |
1 | COMMTX | Cortex-A8 Emulation |
2 | COMMRX | Cortex-A8 Emulation |
3 | BENCH | Cortex-A8 Emulation |
4 | ELM_IRQ | ELM |
5 | – | Reserved |
6 | – | Reserved |
7 | NMI | NMIn Pin |
8 | – | Reserved |
9 | L3DEBUG | L3 Interconnect |
10 | L3APPINT | L3 Interconnect |
11 | TINT8 | TIMER8 |
12 | EDMACOMPINT | EDMA CC Completion |
13 | EDMAMPERR | EDMA Memory Protection Error |
14 | EDMAERRINT | EDMA CC Error |
15 | WDTINT0 | Watchdog Timer 0 |
16 | SATAINT | SATA |
17 | USBSSINT | USB Subsystem |
18 | USBINT0 | USB0 |
19 | USBINT1 | USB1 |
20-27 | – | Reserved |
28 | SDINT1 | MMC/SD1 |
29 | SDINT2 | MMC/SD2 |
30 | I2CINT2 | I2C2 |
31 | I2CINT3 | I2C3 |
32 | GPIOINT2A | GPIO2 A |
33 | GPIOINT2B | GPIO2 B |
34 | USBWAKEUP | USB Subsystem Wakeup |
35 | PCIeWAKEUP | PCIe Wakeup |
36 | DSSINT | HDVPSS |
37 | GFXINT | SGX530 |
38 | HDMIINT | HDMI |
39 | ISS_IRQ_5 | ISS |
40 | 3PGSWRXTHR0 | EMAC Switch RX Threshold |
41 | 3PGSWRXINT0 | EMAC Switch Receive |
42 | 3PGSWTXINT0 | EMAC Switch Transmit |
43 | 3PGSWMISC0 | EMAC Switch Miscellaneous |
44 | UARTINT3 | UART3 |
45 | UARTINT4 | UART4 |
46 | UARTINT5 | UART5 |
47 | - | Reserved |
48 | PCIINT0 | PCIe |
49 | PCIINT1 | PCIe |
50 | PCIINT2 | PCIe |
51 | PCIINT3 | PCIe |
52 | DCAN0_INT0 | DCAN0 |
53 | DCAN0_INT1 | DCAN0 |
54 | DCAN0_PARITY | DCAN0 Parity |
55 | DCAN1_INT0 | DCAN1 |
56 | DCAN1_INT1 | DCAN1 |
57 | DCAN1_PARITY | DCAN1 Parity |
58-61 | – | Reserved |
62 | GPIOINT3A | GPIO3 |
63 | GPIOINT3B | GPIO3 |
64 | SDINT0 | MMC/SD0 |
65 | SPIINT0 | SPI0 |
66 | - | Reserved |
67 | TINT1 | TIMER1 |
68 | TINT2 | TIMER2 |
69 | TINT3 | TIMER3 |
70 | I2CINT0 | I2C0 |
71 | I2CINT1 | I2C1 |
72 | UARTINT0 | UART0 |
73 | UARTINT1 | UART1 |
74 | UARTINT2 | UART2 |
75 | RTCINT | RTC |
76 | RTCALARMINT | RTC Alarm |
77 | MBINT | Mailbox |
78 | – | Reserved |
79 | PLLINT | PLL Recalculation Interrupt |
80 | MCATXINT0 | McASP0 Transmit |
81 | MCARXINT0 | McASP0 Receive |
82 | MCATXINT1 | McASP1 Transmit |
83 | MCARXINT1 | McASP1 Receive |
84 | MCATXINT2 | McASP2 Transmit |
85 | MCARXINT2 | McASP2 Receive |
86 | MCBSPINT | McBSP |
87 | – | Reserved |
88 | – | Reserved |
89 | – | Reserved |
90 | – | Reserved |
91 | – | Reserved |
92 | TINT4 | TIMER4 |
93 | TINT5 | TIMER5 |
94 | TINT6 | TIMER6 |
95 | TINT7 | TIMER7 |
96 | GPIOINT0A | GPIO0 |
97 | GPIOINT0B | GPIO0 |
98 | GPIOINT1A | GPIO1 |
99 | GPIOINT1B | GPIO1 |
100 | GPMCINT | GPMC |
101 | DDRERR0 | DDR0 |
102 | DDRERR1 | DDR1 |
103 | – | Reserved |
104 | – | Reserved |
105 | MCATXINT3 | McASP3 Transmit |
106 | MCARXINT3 | McASP3 Receive |
107 | – | Reserved |
108 | MCATXINT4 | McASP4 Transmit |
109 | MCARXINT4 | McASP4 Receive |
110 | MCATXINT5 | McASP5 Transmit |
111 | MCARXINT5 | McASP5 Receive |
112 | TCERRINT0 | EDMA TC 0 Error |
113 | TCERRINT1 | EDMA TC 1 Error |
114 | TCERRINT2 | EDMA TC 2 Error |
115 | TCERRINT3 | EDMA TC 3 Error |
116-119 | – | Reserved |
122 | MMUINT | System MMU |
123 | MCMMUINT | Media Controller |
124 | DMMINT | DMM |
125 | SPIINT1 | SPI1 |
126 | SPIINT2 | SPI2 |
127 | SPIINT3 | SPI3 |