You may not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel
products described herein. You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted
which includes subject matter disclosed herein
No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document.
All information provided here is subject to change without notice. Contact y our Intel representative to obtain the latest Intel
product specifications and roadmaps.
The products described may contain design defects or errors known as errat a which may cause the product to deviate from
published specifications. Current characterized errata are available on request.
Copies of documents which have an order number and are referenced in this document may be obtained by calling 1-800-548-4725
or by visiting: http://www.intel.com/design/literature.htm
Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service
24.3.1.80 Data OTP Size Register (DOTPS) ............................... 473
25 AON Counters .............................................................................................. 474
25.1 Features ........................................................................................... 474
25.1.1 AON Counter ........................................................................ 474
25.1.2 AON Periodic Timer ................................................................ 474
Intel® Quark™ microcontroller D2000
Datasheet January 2016
14 Document Number: 333577-002EN
Introduction
Revision History
Date Revision Description
Jan 2016 002 Initial public release
Dec 2015 001 Internal release available by NDA
§
January 2016 Datasheet
Document Number: 333577-002EN 15
Intel® Quark™ microcontroller D2000
1 Introduction
8KB
SRAM
I2C
I/O
Fabric
Comparators
UART
IO 19
IO 25
IO
1M/S
IO 2
SPI
IO 1M
1S
Quark
TM
Core
SoC
Fabric
Memory
Subsystem
JTAG
32KB
Flash
IO
ADC
IO 19
Internal Clocks
GPIO
Real Time C lo c k
Watchdog Timer
DMA
Controller
8KB
OTP Flash
4KB Dat a
OTP
Timers/PWM
IO 2
The Intel® Quark™ microcontroller D2000 is an ultra-low power Intel Architecture
(IA) SoC that integrates an Intel® Quark processor core, Memory Subsystem with ondie volatile an d non-volatile storage, and I/O interfaces into a single low-cost systemon-chip solution.
Figure 1 shows the system level block diagram of the SoC. Refer to the subsequent
chapters for detailed information on the individual functional blocks.
Figure 1. SoC Block Diagram
Introduction
Intel® Quark™ microcontroller D2000
Datasheet January 2016
16 Document Number: 333577-002EN
Introduction
1.1 Feature Overview
1.1.1 Clock Oscillators
•32 MHz Clock (system clock) generated by on-die Hybrid Oscillator which
works in either:
oSilicon mode (external crystal not needed) (generates 4/8/16/32 MHz
•Configurable Routing of SoC Interrupts with capability to route to the Interrupt
Controller of the Quark Processor.
•SoC events can be routed as: Interrupts to the Quark Processor, debug break
events to the Quark Processor or SoC Warm Reset requests.
January 2016 Datasheet
Document Number: 333577-002EN 19
Intel® Quark™ microcontroller D2000
1.1.16 Power Management
•SoC System States : RUN, Low Power Compute, HALT, Low Power Wait, Deep
Sleep (RTC or NORTC) state.
• Processor States : C0 – C2
• Supports Coin-cell Battery source (2.0V to 3.6V range)
Scenario Max Current Draw
Introduction
Active/RUN state: All SoC components including ADC, Comparators,
clock oscillators, peripheral enabled and core running at 32MHz
Idle/Sleep state: Most SoC components such as ADC, hybrid
oscillator, RTC oscil la tor, peripherals are powered down or clock
gated. Core halted. Only 1 low power-comparator enabled for wake.
1.1.17 Package
40-pin Quad Flat No-Leads (QFN) package.
< 30 mA
< 3.5 µA
§
Intel® Quark™ microcontroller D2000
Datasheet January 2016
20 Document Number: 333577-002EN
VSS
Ground
QFN package ground plane
comparators.
isolated version of PVDD.
Physical Interfaces
2 Physical Interfaces
2.1 Pin States Through Reset
All functional IOs will come up in input mode after reset except JTAG TDO output
which is kept tristated.
All Digital IO include a configurable pullup (49K ohm typ; 34K-74Kohm range) with
pull-up disabled by default, except for F_20, F_22, F_23 pins (TRST_N, TMS, TDI))
where pull-up is enabled by default.
The state of all IOs is retained whenever SoC goes into low power states.
2.2 External Interface Signals
The following table gives the definition of external interface signals of Intel® Quark™
microcontroller D2000. Not all interfaces are available simultaneously through
external pins of Intel
refer to Chapter 3
®
Quark™ microcontroller D2000. For pin multiplexing options,
.
Table 1. List of User Mode External Interfa ce s
Interface Pin Name Type Description
Power
PVDD Supply 2.0-3.6 V unregulated battery
supply rail input (can lower to
1.8V if analog comparators are
not used). This rail is used only
by internal voltage regulator.
There is a mechanism to
disable internal voltage
regulator and feed
IOVDD/AVDD/DVDD by
platform directly. PVDD is to be
supplied even if Internal voltage
regulator is not enabled as
internal VR is used to generate
internal voltage reference for
AVDD Supply 2.0-3.6V Analog Voltage Rail
Input powering both ADC and
Comparator - ADC supports
1.8V to 3.3V range, but
Comparator only supports 2V to
3.3V. AVDD can be an AC
January 2016 Datasheet
Document Number: 333577-002EN 21
Intel® Quark™ microcontroller D2000
Physical Interfaces
required.
side of inductor.
GSENSE
Analog input
core power ground sense
LX
Supply
Core voltage regulator output
becomes stable.
sleep/leakage power.
reduce sleep/leakage power.
pins as no-connect.
no-connect.
has to be grounded (to 0).
Interface Pin Name Type Description
IOVDD Supply Analog (Driver) side Voltage
Rail Input for IO ring (1.8V to
3.3V Nominal +/- 10%). All
digital IO pads use IOVDD only.
IOVDD can be an AC isolated
version of PVDD but is not
input for RTC clock. If RTC
XTAL is not connected, this pin
Intel® Quark™ microcontroller D2000
Datasheet January 2016
22 Document Number: 333577-002EN
0).
32MHz system clock output
RTC_CLK_OUT
Logic Output
32.768 kHz RTC clock output
voltage level.
GPIO
GPIO[24:0]
Logic I/O
General purpose I/O
I2C_SCL
Logic I/O
Open drain clock
I2C_SDA
Logic I/O
Open drain data
PWM1
Logic Output
PWM Output 1
PWM0
Logic Output
PWM Output 0
is outside SoC.
receiver is outside SoC.
(RS232)
UART_A_CTS
Logic input
UART A Clear to send (RS232)
onto UART_A_RTS pin
Physical Interfaces
Interface Pin Name Type Description
Reset RST_N Analog input Active Low reset input with
RTC_XTALO Logic output Crystal output for RTC clock. If
RTC XTAL is not connected,
this pin has to be grounded (to
SYS_CLK_OUT Logic Output Divided (1:1, 1:2, 1:4) version of
Hysteresis. Tie to PVDD for
internal power-on reset.
<0.788V = reset
>1.112V = not reset
RST_N is connected to an
internal comparator which
compares RST_N voltage level
to an internal reference to
assert/deassert internal SOC
reset. There is an internal
mechanism to assert reset if
PVDD is power recycled (power
on reset) irrespective of RST_N
I2C
PWM
UART
UART_A_TXD Logic output UART A single-ended Transmit
data (RS232 or RS485). In
RS485 mode, differential driver
UART_A_RXD Logic input UART A single-ended Receive
data (RS232 or RS485). In
RS485 mode, differential
UART_A_RTS Logic output UART A Request to send
UART_A_DE Logic Output UART A Driver Enable (RS485
mode). Used to control the
differential driver of RS485 in
platform/board. Polarity is
configurable. This is multiplexed
January 2016 Datasheet
Document Number: 333577-002EN 23
Intel® Quark™ microcontroller D2000
Physical Interfaces
depending on RS485 or RS232
mode of operation.
RS232 mode of operation.
is outside SoC.
receiver is outside SoC.
(RS232)
UART_B_CTS
Logic input
UART B Clear to send (RS232)
RS232 mode of operation.
SPI_S_SCLK
Logic input
Slave SPI Clock
SPI_S_SDIN
Logic input
Slave SPI Receive data
SPI_S_SCS
Logic input
Slave SPI Slave Chip Select
SPI_S_SDOUT
Logic output
Slave SPI Transmit data
SPI_M_SCLK
Logic output
Master SPI Clock
SPI_M_TXD
Logic output
Master SPI Transmit data
SPI_M_SS[3:0]
Logic output
Master SPI Slave Selects
SPI_M_RXD
Logic input
Master SPI Receive data
Interface Pin Name Type Description
UART_A_RE Logic Output UART B Receiver Enable
(RS485 mode). Used to control
the differential receiver of
RS485 in platform/board.
Polarity is configurable. This is
multiplexed onto UART_B_CTS
pin depending on RS485 or
UART_B_TXD Logic output UART B single-ended Transmit
data (RS232 or RS485). In
RS485 mode, differential driver
UART_B_RXD Logic input UART B single-ended Receive
data (RS232 or RS485). In
RS485 mode, differential
Slave SPI
UART_B_RTS Logic output UART B Request to send
UART_B_DE Logic Output UART B Driver Enable (RS485
mode). Used to control the
differential driver of RS485 in
platform/board. This is
multiplexed onto UART_B_RTS
pin depending on RS485 or
UART_B_RE Logic Output UART A Receiver Enable
(RS485 mode). Used to control
the differential receiver of
RS485 in platform/board. This
is multiplexed onto
UART_B_CTS pin depending
on RS485 or RS232 mode of
operation.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
24 Document Number: 333577-002EN
Master SPI
AI[18:6].
RAR also available).
is enabled by default.
enabled by default.
enabled by default.
TCK
Logic input
TAP clock
TDO
Logic output
TAP data output
Physical Interfaces
Interface Pin Name Type Description
Analog AI[18:0] Analog input Comparator/ADC inputs.
JTAG TRST_N Logic input TAP controller reset. A pull-up
AI[18:0] are connected to both
ADC and comparator inputs.
AI[5:0] are connected to 6 fast
response analog comparators.
AI[18:6] are connected to 13
slow response low power
comparators, Since fast
response comparators are
powered off in low power
states, any analog signal that
shall be capable of waking SoC
is to be connected to one of
AR Analog input Comparator Reference Volt age
Input (internal reference from
TDI Logic input TAP data input. A pull-up is
TMS Logic input TAP mode select. A pull-up is
January 2016 Datasheet
Document Number: 333577-002EN 25
Intel® Quark™ microcontroller D2000
2.3 GPIO Multiplexing
Not all interfaces can be active at the same time. To provide flexibility, these shared
interfaces are multiplexed with GPIOs.
Note: All 25 functional IOs come up as Function 0 at boot. JTAG is default enabled (as part
of Function 0) instead of GPIO[23:19]. FW is responsible for enabling proper
configuration later on.
Datasheet January 2016
28 Document Number: 333577-002EN
Ballout and Package Information
Figure 3. Mechanical Drawing of Package
January 2016 Datasheet
Document Number: 333577-002EN 29
Intel® Quark™ microcontroller D2000
3.3 Pin Multiplexing
VSS
GND
PWR
0 V
GND
GND
GND
GND
27
PVDD
PWR
PVDD
PVDD
PVDD
PVDD
PVDD
40
AVDD
PWR
PVDD
AVDD
AVDD
AVDD
AVDD
12
IOVDD
PWR
PVDD
IOVDD
IOVDD
IOVDD
IOVDD
28
VSENSE
PWR
DVDD
VSENSE
VSENSE
VSENSE
VSENSE
25
GSENSE
PWR
0 V
GSENSE
GSENSE
GSENSE
GSENSE
26
LX
PWR
DVDD
LX
LX
LX
LX
29
VREN
PWR
PVDD
VREN
VREN
VREN
VREN
17
DVDD
PWR
DVDD
DVDD
DVDD
DVDD
DVDD
30
RST_N
RST
PVDD
RST_N
RST_N
RST_N
RST_N
22
RTC_XTALI
CLK
DVDD
RTC_XTALI
RTC_XTALI
RTC_XTALI
RTC_XTALI
23
RTC_XTALO
CLK
DVDD
RTC_XTALO
RTC_XTALO
RTC_XTALO
RTC_XTALO
19
HYB_XTALI
CLK
DVDD
HYB_XTALI
HYB_XTALI
HYB_XTALI
HYB_XTALI
20
HYB_XTALO
CLK
DVDD
HYB_XTALO
HYB_XTALO
HYB_XTALO
HYB_XTALO
1
AR
PWR
AVDD
AR
AR
AR
AR
31
F_0
GPIO
IOVDD/
AVDD
GPIO0
AI0
SPI_M_SS0
32
F_1
GPIO
IOVDD/
AVDD
GPIO1
AI1
SPI_M_SS1
33
F_2
GPIO
IOVDD/
AVDD
GPIO2
AI2
SPI_M_SS2
34
F_3
GPIO
IOVDD/
AVDD
GPIO3
AI3
SPI_M_SS3
There are 15 dedicated pins + 1 QFN GND plane and 25 functional pins which can be
configured as GPIO (GPIO[24:0]) or other functions (I2C/UART/SPI/JTAG). There are
two major IO modes: user mode and test mode. In user mode, each pin can be
individually configured in one of the 4 user modes (FUNC 0/1/2/3). By default, after
power-on-reset (RST_N) or cold reset, SoC comes up in user mode 0 function
(FUNC0). SOC firmware/software is responsible for enabling the platform specific
configuration by programming the respective IO pad control registers.
Out of 25 functional pins, 19 pins are double bonded to Analog input pads and digital
pads while 6 pins are digital only pads. All analog pads (AI[18:0]) are specified with
respect to AVDD and all digital pads are with respect to IOVDD. The analog inputs (AI)
are connected to ADC or Comparators inside the SoC. AI[5:0] is connected to fast
response/high performance comparator / fast channel of ADC; and AI[18:6] are
connected to slow response/low power comparator / slow channel of ADC. Any wake
capable analog inputs shall be connected only to any of AI[18:6] and not to AI[5:0].
Table 3. Pin Multiplexing
Pin
Num
ber
Pin/Ball
Name Type
Volta
ge
Ballout and Package Information
Function 0 Function 1 Function
2 Function 3
Intel® Quark™ microcontroller D2000
Datasheet January 2016
30 Document Number: 333577-002EN
35
F_4
GPIO
IOVDD/
AVDD
GPIO4
AI4
RTC_CLK_O
UT
36
F_5
GPIO
IOVDD/
AVDD
GPIO5
AI5
SYS_CLK_O
UT 37
F_6
GPIO
IOVDD/
AVDD
GPIO6
AI6
I2C_SCL
38
F_7
GPIO
IOVDD/
AVDD
GPIO7
AI7
I2C_SDA
39
F_8
GPIO
IOVDD/
AVDD
GPIO8
AI8
SPI_S_SCLK
11
F_9
GPIO
IOVDD/
AVDD
GPIO9
AI9
SPI_S_SDIN
2 F_10
GPIO
IOVDD/
AVDD
GPIO10
AI10
SPI_S_SDOU
T 3
F_11
GPIO
IOVDD/
AVDD
GPIO11
AI11
SPI_S_SCS
4 F_12
GPIO
IOVDD/
AVDD
GPIO12
AI12
UART_A_TX
D 5
F_13
GPIO
IOVDD/
AVDD
GPIO13
AI13
UART_A_RX
D 6
F_14
GPIO
AVDD
GPIO14
AI14
UART_A_RT
DE 7
F_15
GPIO
AVDD
GPIO15
AI15
UART_A_CT
RE 8
F_16
GPIO
IOVDD/
AVDD
GPIO16
AI16
SPI_M_SCLK
9 F_17
GPIO
IOVDD/
AVDD
GPIO17
AI17
SPI_M_TXD
10
F_18
GPIO
IOVDD/
AVDD
GPIO18
AI18
SPI_M_RXD
-
18
F_19
GPIO
IOVDD
TDO
GPIO19
PWM0
-
13
F_20
GPIO
IOVDD
TRST_N
GPIO20
UART_B_TX
D - 14
F_21
GPIO
IOVDD
TCK
GPIO21
UART_B_RX
D - 15
F_22
GPIO
IOVDD
TMS
GPIO22
UART_B_RT
DE - 16
F_23
GPIO
IOVDD
TDI
GPIO23
UART_B_CT
RE - 21
F_24
GPIO
IOVDD
GPIO24
-
PWM1
-
24
DVDD_2
PWR
DVDD_2
DVDD_2
DVDD_2
DVDD_2
DVDD_2
Ballout and Package Information
Pin
Num
ber
Pin/Ball
Name Type
Volta
ge
IOVDD/
Function 0 Function 1 Function
2 Function 3
S/UART_A_
IOVDD/
S/UART_A_
S/UART_B_
S/UART_B_
All Analog IOs (AI[18:0]/ADC[18:0]) are with respect to AVDD rail.
All Digital IOs are 3.3V tolerant.
January 2016 Datasheet
Document Number: 333577-002EN 31
Intel® Quark™ microcontroller D2000
Ballout and Package Information
All Digital IO include configurable drive strength namely low-drive (12 mA) and highdrive (16 mA) modes. By default, all digital IOs come up in low-drive mode.
All Digital IO include a configurable pullup with pull-up disabled by default , except for
F_20, F_22, F_23 (TRST_N, TMS, TDI)) where pull-up is enabled by default.
UART_A/B_CTS (input) or UART_A/B_RE (output) is available based on UART mode of
operation (RS232 or RS485) configurable in respective UART controller. Similarly for
UART_A/B_RTS (output) or UART_A/B_DE (output). Default is RS232. FW can choose
to enable both input and output direction for CTS/RE pins and hardware will control
the output enable of these pins based on RS232 or RS485 mode of operat ion if these
pins are configured for UART function.
JTAG interface is default enabled (user mode 0) to assist in debug as well as
embedded flash programming.
There is a F_25 pad which is not bonded to any pin. This pad (mapped as pin 25 for
pinmux configuration in System Control Subsystem) shall be configured by FW in
input disabled mode (Input Enable = 0; User mode 3 which makes Output Enable
disabled).
DVDD_2 and DVDD are identical and are to be connected to the same source.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
32 Document Number: 333577-002EN
1
AR
PWR
AVDD
AR
AR
AR
AR
D
D
DE
D
RE
D
12
IOVDD
PWR
PVDD
IOVDD
IOVDD
IOVDD
IOVDD
13
F_20
GPIO
IOVDD
TRST_N
GPIO20
UART_B_TXD
-
14
F_21
GPIO
IOVDD
TCK
GPIO21
UART_B_RXD
-
DE
RE
17
DVDD
PWR
DVDD
DVDD
DVDD
DVDD
DVDD
Ballout and Package Information
3.4 Alphabetical Ball Listing
Table 4 shows pins arranged in increasing order of pin number.
Table 4. Pins Listed in increasing Order of Pi n N umber
January 2016 Datasheet
Document Number: 333577-002EN 33
Intel® Quark™ microcontroller D2000
-
-
Ballout and Package Information
18
F_19
GPIO
IOVDD
TDO
GPIO19
PWM0
-
HYB_XTALI
HYB_XTALI
HYB_XTALI
O
O
O
21
F_24
GPIO
IOVDD
GPIO24
-
PWM1
-
RTC_XTALI
RTC_XTALI
RTC_XTALI
O
O
O
24
DVDD_2
PWR
DVDD_2
DVDD_2
DVDD_2
DVDD_2
DVDD_2
25
GSENSE
PWR
0 V
GSENSE
GSENSE
GSENSE
GSENSE
26
LX
PWR
DVDD
LX
LX
LX
LX
27
PVDD
PWR
PVDD
PVDD
PVDD
PVDD
PVDD
28
VSENSE
PWR
DVDD
VSENSE
VSENSE
VSENSE
VSENSE
29
VREN
PWR
PVDD
VREN
VREN
VREN
VREN
30
RST_N
RST
PVDD
RST_N
RST_N
RST_N
RST_N
D
D
D
Pin
Numbe
r
19 HYB_XTALI CLK DVDD
20 HYB_XTALO CLK DVDD
22 RTC_XTALI CLK DVDD
23 RTC_XTALO CLK DVDD
Pin/Ball
Name
Typ
e
Voltage Function 0Function
HYB_XTAL
RTC_XTAL
1
HYB_XTAL
RTC_XTAL
Function 2Function
HYB_XTALI
HYB_XTALO
RTC_XTALI
RTC_XTALO
3
HYB_XTAL
RTC_XTAL
31 F_0 GPIO IOVDD/AVDD GPIO0 AI0 SPI_M_SS0
32 F_1 GPIO IOVDD/AVD
33 F_2 GPIO IOVDD/AVDD GPIO2 AI2 SPI_M_SS2
34 F_3 GPIO IOVDD/AVD
35 F_4 GPIO IOVDD/AVDD GPIO4 AI4 RTC_CLK_OUT
36 F_5 GPIO IOVDD/AVD
37 F_6 GPIO IOVDD/AVDD GPIO6 AI6 I2C_SCL
GPIO1 AI1 SPI_M_SS1
GPIO3 AI3 SPI_M_SS3
GPIO5 AI5 SYS_CLK_OUT
Intel® Quark™ microcontroller D2000
Datasheet January 2016
34 Document Number: 333577-002EN
D
40
AVDD
PWR
PVDD
AVDD
AVDD
AVDD
AVDD
VSS
GND
PWR
0 V
GND
GND
GND
GND
L
Cout
Supply Rail
2.0V – 3.6V
Cin
VREG 1.8V
(200mV dropout)
AVD
VOUT
GNDSE NSE
AVS
LX
VSENSE
EN
VDD_CTR L
PVDDV REN
LX
VSENS E
DVDD
GSEN SE
VSS
VREF_O UT
SoC
Optional
Ballout and Package Information
Pin
Numbe
Pin/Ball
Name
Typ
e
Voltage Function 0Function
1
Function 2Function
r
38 F_7 GPIO IOVDD/AVDD GPIO7 AI7 I2C_SDA
39 F_8 GPIO IOVDD/AVD
GPIO8 AI8 SPI_S_SCLK
3.5 Platform Requirements
3.5.1 3.5.1 Internal Voltage Regulator
Figure 4. Internal Voltage Regulator
3
January 2016 Datasheet
Document Number: 333577-002EN 35
Intel® Quark™ microcontroller D2000
Ballout and Package Information
Capacitor
Capacitor
Inductor
Maximum total resistance (including wirebond, package pin
must be less than 400mΩ/nb PVDD pads.
Has to be star-connected: no current should flow through
package pin and board routing) must be lower than 100Ω.
The requirement for external component at PCB level is as shown in the table:
Component
Name
Description Characteristic Value Accuracy Unit
Cin Input
Cout Output Tank
L Switching
ESR rating for Cin and Cout:
For Cout: Resr(TYP) = 100mOhm / Resr(MAX) = 500mOhm
For Cin: Resr(TYP ) = 25mOhm / Resr(MAX) = 100mOhm
Please note for Cout, the higher ESR is, the higher the ripple is.
DCR rating for on-board inductor
L: DCR(TYP) = 100mOhm, DCR(MAX) = 500mOhm
The DCR impacts the efficiency of the regulator. The higher the DCR is, the lower the
efficiency is.
Also, the voltage drop across the DCR increases the min dropout the regulator can
support. For example, the minimum dropout specified in the spec is 200mV (Table 11)
by considering a 0.1 Ohm DCR. If the DCR is higher, the dropout will also be higher.
Ceramic 470 +/- 20% nF
Ceramic 4.7 +/- 20% µF
47 +/- 30% µH
For example, DCR=0.5 Ohm = 0.1 + 0.5. For a 50 mA current, the dropout is 20 mV
higher (0.4 Ohm*50mA).
Table 5. Parasitic Requirement for Voltage Regulator Pins
Item Description
PVDD
VSENSE
Intel® Quark™ microcontroller D2000
Datasheet January 2016
36 Document Number: 333577-002EN
and board routing) between PVDD PIN and Input Supply
this path between VSENSE pin and the regulated voltage
node. Access resistance to this port (including wirebond,
Maximum total resistance (including wirebond, package pin
should flow through this connection.
Maximum total resistance (including wirebond, package pin
on this PAD.
Maximum total resistance (including wirebond, package pin
VOUT output or any other supply
DVDD
As small as possible
Maximum total resistance (including wirebond, package pin
must be less than 400mΩ/nb LX pins.
Maximum total resistance (including internal wiring parasitic,
less than 20Ω.
Must be placed within 0.2-0.4 inch of IC
Must be placed within 0.2-0.4 inch of IC
Inductance between package gnd plane and board gnd plane
< 1nH
Ballout and Package Information
Item Description
GNDSENSE
and board routing) between GNDSENSE and Ground plane
must be less than 400mΩ. This pin should be star connected
to the reference (GND) of the load circuit. No load current
AVS
VDD_CTRL
LX
VOUT
and board routing) between AVS and Ground plane must be
less than 400mΩ/nb AVS pads. No other connections allowed
and board routing) between VDD_CTRL pin and Input Supply
must be less than 20Ω. May be tied to VREG external node,
and board routing) between LX PIN and package Input Pin
wirebond, package pin and board routing) between VREG pin
and the regulation point (VSENSE pin connection) must be
CIN
C
out
Package-Board Gnd
When internal voltage regulator is disabled (VR_EN = 0), PVDD must be pow er ed u p,
GNDSENSE and AVS must be grounded. LX is HIZ, VSENSE to be grounded.
3.5.2 RTC Oscillator
For 32.768 kHz RTC Oscillator, refer to
http://www.murata.com/products/timingdevice/crystalu/technical/notice for PCB
guidelines.
Load capacitor on XTAL pins are integrated inside the chip but they are not adjustable.
A nominal value of 11 pF is on each pin (range: 6 pF minimum and 17 pF maximum).
If there is no RTC Oscillator need, then a platform need not mount RTC XTAL on board
and keep RTC_XTAL1, RTC_XTAL0 pins grounded.
January 2016 Datasheet
Document Number: 333577-002EN 37
Intel® Quark™ microcontroller D2000
3.5.3 Hybrid Oscillator
Hybrid oscillator can work in internal Silicon RC oscillator mode with +/- 2% accuracy
(after trimming). If a system does not require higher accuracy system clock, then
HYBOSC 32MHz XTAL need not be mounted on board to save cost and in such case,
keep HYB_XTAL1, HYB_XTAL0 pins as no-connect (floating).
A programmable capacitive load can be added on the crystal terminals internal to the
chip to fine tune the crystal frequency. The range and step size will vary depending on
external load, process corners and crystal parameters. Load capacitance is adjustable
through SCSS register in SoC (OSC0_CFG1.OSC0_FADJ_XTAL[3:0] register – range
supported is 5.55 pF to 15.03 pF with default value of 10pF).
Ballout and Package Information
Intel® Quark™ microcontroller D2000
Datasheet January 2016
38 Document Number: 333577-002EN
Ballout and Package Information
3.5.4 ADC
A simple filter is recommended to be put on board on Analog Inputs [19:0] connected
to ADC, to reduce external noise. It should be understood that any additional
frequency signals within the band of interest will be present in the output spectrum
contributing for a performance impact. Additionally the input signal is disturbed by the
fast transients due to the fast charging of the ADC input capacitor during the start of
the sampling period. These transients should vanish quite rapidly and the voltage
across the ADC input capacitance should reach a steady state very fast. Nevertheless
in case the ADC input network is not correctly terminated these transients can travel
back and forth through the input line between the ADC driver and ADC input
generating a ringing. This will lead to an incorrect sampling of input signal.
A recommended input scheme to prevent this possible consequence can be
•50 ohm resistor (in ADC side). The resistor level should match the characteristic
impedance of PCB trace;
•470pF capacitor to ground (in ADC driver side);
In order that they are effective, resistor and capacitor must be connected very close to
each other and placed towards the ADC Analog input (SoC side), as follows:
Power supply decoupling on AVDD rail input shall be done with 1uF || 10 nF
decoupling capacitors. The 10 nF capacitor shall be ceramic (good quality) and must
be placed as close as possible to the SoC.
January 2016 Datasheet
Document Number: 333577-002EN 39
Intel® Quark™ microcontroller D2000
Electrical Characteristics
•Used by internal voltage
very low (< 5 µA).
• Can be same source as PVDD
• Current draw is 2 mA max.
• Can be same source as PVDD
less.
Voltage
•Core voltage domain. Only 1
voltage.
4 Electrical Characteristics
4.1 Thermal Specifications
Ambient temperature = -40°c to +85°c.
4.2 Voltage and Current Specifications
4.2.1 Absolute Maximum Ratings
Table 6: Absolute Maximum Voltage Ratings
Symbol Ratings min Max Unit Notes
PVDD Battery
Supply
AVDD Analog
Supply
IOVDD Digital IO
Supply
2.0 3.63 V
2.0 3.63 V
1.62 3.63 V
regulator.
•If internal VR is enabled,
current draw is 55 mA max
(specification limit). Actual
current draw would be less
based on usecase scenario.
•If external VR feeds DVDD,
then current draw on PVDD is
but noise isolated.
•Used by ADC and
Comparators.
but optionally noise isolated.
• Used by 26 IO digital pads.
• Current draw depends on
platform components and
how many digital IO pads are
used.
•Each IO pad can source
14mA/18mA max. So max
current draw by all IO pads =
500 mA. But actual
consumption would be much
DVDD/DVDD_2 Regulated
Intel® Quark™ microcontroller D2000
Datasheet January 2016
40 Document Number: 333577-002EN
Core
1.62 1.98 V
Always-on rail for entire SoC
core. This is regulated
•Connected to external VR (if
draw is 50 mA max.
State
•In Deep Sleep Power State,
Fo
Crystal
frequency
32
32
32
MHz
Cesr
Crystal ESR
12.68
14.41
50
Ω
Cm
Crystal Motional
Cap
3.34
3.54
pF
Electrical Characteristics
Symbol Ratings min Max Unit Notes
VREN=0); or to Internal VR
output (if VREN=1)(post LC
circuit on LX output pin; see
HAS Chap08). If external
voltage regulator, current
DVDD/DVDD_2 Retention
1.2 1.43 V
mode
1.35V
during
Deep
Sleep
Power
Refer to Power Management chapter on voltage rail sequencing in internal voltage
regulator mode and external voltage regulator mode.
4.3 Crystal Specifications
For Hybrid oscillator:
there is an option to lower
core voltage to 1.35V
(nominal) +/- 10% to further
reduce sleep/leakage power,
with implication of increased
power state transition
entry/exit latency.
Table 7: 32MHz Crystal Oscillator specification
January 2016 Datasheet
Document Number: 333577-002EN 41
Symbol Parameter Min Typ Max Unit
Intel® Quark™ microcontroller D2000
Electrical Characteristics
Co
Crystal Shunt
Cap
0.84
1.5
pF
CL
Crystal Load Cap
10 pF
Ftol
Frequency
Tolerance
-30 30
ppm
Dlev
Drive Level
(25Ω)
10
µW
Output clock
Without crystal
temperature
-2 +2
%
With crystal
-100
100
ppm
With crystal
after trim
-50 80
ppm
Startup time
Si osc mode –
2% accuracy
2
µs
Crystal mode –
accuracy
2000
µS
frequency
KΩ
Motional Cap
Cap
Symbol Parameter Min Typ Max Unit
frequency
accuracy over
PVT
(si osc mode)
after trim done
at typical
before trim
(excluding
crystal
frequency
tolerance)
frequency
setting within
frequency
settling within
100ppm
Table 8: 32kHz Crystal Oscillator specification
Symbol Parameter Min Typ Max Unit
Fo Crystal
32,768 Hz
Cesr Crystal ESR 50 80
Cm Crystal
Co Crystal Shunt
3.7 pF
1.2 pF
Intel® Quark™ microcontroller D2000
Datasheet January 2016
42 Document Number: 333577-002EN
Cap
Tolerance
Dlev
Drive Level
1
µW
Voltage
Voltage
Voltage
Voltage
IOL
12mA @ VOL
14.1
22.9
31.8
mA 16mA @ VOL
18.8
30.6
42.4
mA
IOL
12mA @ VOH
20.7
41.9
69.6
mA 16mA @ VOH
28.7
58.2
96.7
mA
Resistor
Point
Point
Electrical Characteristics
Symbol Parameter Min Typ Max Unit
CL Crystal Load
Ftol Frequency
4.4 DC Specifications
4.4.1 IO DC specifications
For IOVDD=3.3V:
Symbol Parameter Min Typ Max Unit
VIL Input Low
VIH Input High
VOL Output Low
7 pF
-20 20 ppm
-0.3 0.8 V
2 3.6 V
0.4 V
VOH Output High
RPU Pull-up
VT Threshold
VT+ Schmitt
Trigger L-> H
Threshold
January 2016 Datasheet
Document Number: 333577-002EN 43
2.4 V
34K 49K 74K Ohm
1.33 1.4 1.47 V
1.53 1.6 1.66 V
Intel® Quark™ microcontroller D2000
Electrical Characteristics
Point
Voltage
Voltage
Voltage
Voltage
IOL
12mA @ VOL
5.8
12.1
21.6
mA 16mA @ VOL
7.7
16.2
28.7
mA
IOL
12mA @ VOH
4.7
12.0
24.3
mA 16mA @ VOH
6.6
16.7
33.8
mA
Resistor
Point
Point
Point
Symbol Parameter Min Typ Max Unit
VT- Schmitt
1.13 1.2 1.27 V
Trigger H-> L
Threshold
FOR IOVDD=1.8V:
Symbol Parameter Min Typ Max Unit
VIL Input Low
VIH Input High
VOL Output Low
VOH Output High
-0.3 0.63 V
1.17 3.6 V
0.45 V
1.35 V
RPU Pull-up
VT Threshold
VT+ L-> H
69K 115K 201K Ohm
0.82 0.89 0.93 V
0.99 1.07 1.12 V
Threshold
VT- H-> L
0.62 0.69 0.77 V
Threshold
Intel® Quark™ microcontroller D2000
Datasheet January 2016
44 Document Number: 333577-002EN
input range
voltage
voltage
capacitance
Electrical Characteristics
4.4.2 Undershoot Voltage Support
SoC supports a undershoot voltage of 300 mV (VIL min of -0.3V) on its input pins.
4.4.3 ADC IO DC characteristics
Symbol Parameter Min Typ Max Unit
Full-scale
0 3.63 V
VREFP Positive
reference
AGNDREF Negative
reference
ADC_cap Input
sampling
2 AVDD AVDD V
0 0 0.1 V
5 pF
January 2016 Datasheet
Document Number: 333577-002EN 45
Intel® Quark™ microcontroller D2000
4.5 System Power Consumption
-40≤T≤850c
-40≤T≤850c
-40≤T≤850c
-40≤T≤850c
-40≤T≤850c
-40≤T≤850c
-40≤T≤850c
The data is preliminary and subject to revision in future.
Scenario Condition Min Typ Max Unit
Electrical Characteristics
Total Active Power
(Pavdd + Ppvdd +
Piovdd) with Internal
VR enabled.
- CPU running
Coremark benchmark
workload
- All peripherals clock
gated
- Hybrid Oscillator and
RTC Oscillator running
- ADC and
Comparators powered
down
Total Standby/Halt
Power (Ppvdd + Pavdd
+ Piovdd) with
Internal VR enabled.
- CPU in C2 power
state (executed HALT
instruction)
- All peripherals clock
gated
- Hybrid Oscillator and
RTC Oscillator running
- ADC and
Comparators powered
down
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 32 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 16 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 8 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 4 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 32 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 16 MHz,
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 8 MHz,
- 26.4 mW
16.5
8.3
4.7
- 2.3 mW
1.9
1.2
Vpvdd=Vavdd=Viovdd=3.3V
fCPU = 4 MHz,
0
-40≤T≤85
c
0.9
Intel® Quark™ microcontroller D2000
Datasheet January 2016
46 Document Number: 333577-002EN
output)
-40≤T≤850c
output)
-40≤T≤850c
-40≤T≤850c
Electrical Characteristics
Scenario Condition Min Typ Max Unit
Total Deep Sleep RTC
Current (Ipvdd +
Iavdd + Iiovdd) with
AON Periodic Timer
Wake.
- CPU in C2 power
state (executed HALT
instruction)
- All peripherals clock
gated
- Hybrid Oscillator
powered down and
RTC Oscillator running
- ADC and
Comparators powered
down
- Internal Voltage
Regulator enabled in
Linear Regulator mode
(1.8V or 1.35V voltage
Total Deep Sleep
NoRTC Current (Ipvdd
+ Iavdd + Iiovdd)
with Low Power
Comparator Wake.
- CPU in C2 power
state (executed HALT
instruction)
- All peripherals clock
gated
- Hybrid Oscillator and
RTC Oscillator
powered down
- ADC and 18
Comparators powered
down. 1 Low Power
Comparator enabled
for wake.
- Internal Voltage
Regulator enabled in
Linear Regulator mode
(1.8V or 1.35V voltage
Vpvdd=Vavdd=Viovdd=3.3V
Vdvdd = 1.8V,
Vpvdd=Vavdd=Viovdd=3.3V
Vdvdd = 1.35V,
0
-40≤T≤85
c
Vpvdd=Vavdd=Viovdd=3.3V
Vdvdd = 1.8V,
Vpvdd=Vavdd=Viovdd=3.3V
Vdvdd = 1.35V,
0
-40≤T≤85
c
- 3.4 µA
- 2.5 µA
- 2.2 µA
- 1.6 µA
Total Deep Sleep
Vpvdd=Vavdd=Viovdd=3.3V
- 1.9 µA
NoRTC Current (Ipvdd
+ Iavdd + Iiovdd)
Vdvdd = 1.8V,
with GPIO Wake.
January 2016 Datasheet
Document Number: 333577-002EN 47
Intel® Quark™ microcontroller D2000
Electrical Characteristics
- CPU in C2 power
output)
SPI Master Clock
SPI_M_SCLK frequency
-
16 MHz (= sysclk / 2).
Output delay for
launch clock edge
0 ns
14 ns
Setup time of SPI_M_RXD
sampling edge
15 ns
-
Scenario Condition Min Typ Max Unit
state (executed HALT
Vpvdd=Vavdd=Viovdd=3.3V
instruction)
- All peripherals clock
gated
- Hybrid Oscillator and
Vdvdd = 1.35V,
0
-40≤T≤85
c
RTC Oscillator
powered down
- ADC and
Comparators powered
down.
- 1 GPIO input
enabled for level
sensitive interrupt
wake
- Internal Voltage
Regulator enabled in
Linear Regulator mode
(1.8V or 1.35V voltage
4.6 AC Specificati ons
4.6.1 SPI Master IO AC characteristics
- 1.3 µA
SPI Master interface consists of:
The interface is timed with respect to SPI_M_SCLK which is output from SoC. A given
signal is launched with respect of a configured edge and sampled with respect to the
opposite edge. Thus it is a half-cycle setup/hold path.
SPI_M_SS[3:0]/SPI_M_TXD
with respect to SPI_M_SCLK
with respect to SPI_M_SCLK
Intel® Quark™ microcontroller D2000
Datasheet January 2016
48 Document Number: 333577-002EN
• Outputs SPI_M_SCLK, SPI_M_TXD, SPI_M_SS[3:0]
• Inputs SPI_M_RXD
Parameter Min Max
Hold time of SPI_M_RXD
sampling edge
0 ns
SPI Slave Clock SPI_S_CLK
Frequency
Setup time of
with respect to sampling
edge of SPI_S_SCLK input
Hold time of
with respect to sampling
edge of SPI_S_SCLK input
Output delay of
to launching edge of
SPI_S_SCLK input
Electrical Characteristics
Parameter Min Max
with respect to SPI_M_SCLK
Output load supported for SPI_M_TXD, SPI_M_SS[3:0], SPI_M_SCLK outputs is 25 pF
max to support max rate of 16 Mbps.
4.6.2 SPI Slave IO AC characteristics
SPI Slave interface consists of:
• Outputs SPI_S_SDOUT
• Inputs SPI_S_SCLK, SPI_S_SDIN, SPI_S_SCS
As per SPI protocol, the interface is timed with respect to SPI_S_SCLK which is input
to SoC. A given signal is launched with respect of a configured edge and sampled with
respect to the opposite edge. Thus it is a half-cycle setup/hold path.
Output load supported for SPI_S_SDOUT output is 50 pF max and 5 pF min.
Parameter Min Max
- 3.2 MHz (= 312.5 ns)
SPI_S_SDIN/SPI_S_SCS
SPI_S_SDIN/SPI_S_SCS
SPI_S_SDOUT with respect
- 30 ns
- 120 ns
0 ns 120 ns
4.6.3 I2C Master/Slave IO AC characteristics
I2C interface consists of I2C_SCL and I2C_SDA bidirectional IOs and can operate in
either master or slave mode. It can operate in standard mode (with data rates 0 to 100
Kbps), fast mode (with data rates less than or equal to 400 Kbps) or fast mode plus
(with data rates less than or equal to 1 Mbps). To support fast mode plus, i2c_m0_clk
(= system clock) shall be greater than or equal to 32 MHz.
2
I
C specification dictates timing relationship between I2C_SCL and I2C_SDA to be
met, which will be broadly taken care by the I2C controller using configuration
registers. SoC complies with the timing and load capacitance given in I2C
specification.
January 2016 Datasheet
Document Number: 333577-002EN 49
Intel® Quark™ microcontroller D2000
4.6.4 General IO AC characteristics
TCK clock frequency
8 MHz (125 ns)
-
Setup time of TMS, TDI
of TCK
Hold time of TMS, TDI with
respect to rising edge of
TCK
Output data valid delay of
edge of TCK
Output tristate delay of
edge of TCK
Output load supported for all other IO outputs such as GPIO outputs, PWM, UART is
50 pF max and 5 pF min.
UART interface supports maximum baud rate of 2 Mbaud when system clock
frequency is 32 MHz.
All GPIO and PWM outputs will get reflected within 1 system clock period of 30ns on
the output pins.
4.6.5 JTAG Interface AC characteristics
The JTAG interface is a 5-pin interface timed with respect to TCK input clock.
•TMS, TDI are inputs which are sampled by SoC on rising edge of TCK a nd is
expected to be driven by JTAG host on f a l l ing edge of TCK.
•TDO is output from SoC driven on falling edge of TCK and expected to be
sampled by JTAG host on rising edge of TCK.
Electrical Characteristics
•TRSTB is asynchronous signal.
Delays shown in the following table are with respect to SoC.
Parameter Min Max
with respect to rising edge
25 ns -
0 ns -
TDO with respect to falling
TDO with respect to falling
Output load supported for JTAG TDO output is 40 pF max and 5 pF min.
1 ns 40 ns
- 40 ns
Intel® Quark™ microcontroller D2000
Datasheet January 2016
50 Document Number: 333577-002EN
Register Access Methods
5 Register Access Methods
All SoC registers are accessed as Fixed Memory Mapped Registers.
The SoC does not contain any of these traditional x86 memory register types: Fixed
IO, IO Referenced, Memory Referenced, PCI Configurati o n o r Messa ge Bu s Registers.
5.1 Fixed Memory Mapped Register Access
Fixed Memory Mapped IO (MMIO) registers are accessed by specifying their 32-bit
address in a memory transaction from the CPU core. This allows direct manipulation of
the registers. Fixed MMIO registers are unmovable registers in memory space.
5.2 Register Field Access Types
Table 9. Register Access Types and Definitions
Access Type Meaning Description
RO Read Only In some cases, if a register is read only, writes to this
register location have no effect. H owever, in other cases,
two separate registers are locate d at the same location
where a read accesses one of the regist ers and a write
accesses the other register. See the I/O and memory map
tables for details.
WO Write Only In some cases, if a register is write only, reads to this
register location have no ef fect. However, in other cases,
two separate registers are locate d at the same location
where a read accesses one of the regist ers and a write
accesses the other register. See the I/O and memory map
tables for details.
R/W Read/Write A register with this attribute can be read and written.
R/WC Read/Write
Clear
R/WO Read/Write-
Once
R/WLO Read/Write,
Lock-Once
/P Sticky A register bit with this attribute is sticky that is it will
Reserved Reserved The value of reserved bits must never be changed.
A register bit with this attribute can be read and written.
However, a write of 1 clears (sets to 0) the corresponding
bit and a write of 0 has no effect.
A register bit with this attribute can b e w ritten only once
after power up. After the first write, the bit becomes read
only.
A register bit with this attribute can be written to the nonlocked value multip le times, but to the locked value only
once. After the locked value has been written, the bit
becomes read only.
retain its state across warm-reset.
January 2016 Datasheet
Document Number: 333577-002EN 51
Intel® Quark™ microcontroller D2000
Register Access Methods
Access Type Meaning Description
Default Default When the processor is reset, it sets its registers to
predetermined default states. The default state represents
the minimum functionality feature set required to
successfully bring up the system . Hence, it does not
represent the optimal sy stem configuration. It is the
responsibility of the system initialization software to
determine configuration, operating parameters, and
optional system features that are applicable, and to
program the processor registers accordingly.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
52 Document Number: 333577-002EN
Mapping Address Spaces
6 Mapping Address Spaces
The SoC supports a single flat Memory address space. The SoC does not support IO
Address Space, PCI Configuration Space or Message Bus Space.
The Lakemont Processor core (LMT) can directly access memory space either through
code fetches over ITCM or data fetches over DTCM or through memory reads and
writes over AHB fabric.
This chapter describes how memory space is mapped to interfaces and peripherals in
the SoC.
6.1 Physical Address Space Mappings
Processor supports 32b addressing. There are 4 GB (32-bits) of phy sical address
space that can be used as:
• Memory Mapped I/O (MMIO – I/O fabric)
• Physical Memory (System Flash/System SRAM)
The LMT can access the full physical address space. DMA Controller, the only other
master agent on AHB fabric, can only access regions of physical address space allowed
via the multi-layer SoC fabric – see more details under SoC Fabric section.
All SoC peripherals map their registers and memory to physical address space. This
chapter summarizes the possible mappings.
6.1.1 SoC Memory Map
The SoC Memory Map is divided up as follows:
• Processor Local APIC (LAPIC)
• I/O APIC
• SoC Configuration registers
• SoC Peripherals
• System Flash (Flash and ROM – implemented as 2 distinct regions of OTP)
• System SRAM (Internal)
The LMT reset vector at 150h is located in OTP Code region of Intel
microcontroller D2000. System addresses 0xFFFF_FFF0 and 0xFFFF_FFF8 are a special
case by LMT and get aliased to reset vector.
®
Quark™
January 2016 Datasheet
Document Number: 333577-002EN 53
• LMT Reset Vector is located in OTP Code region at address 0x0000_01 50
• All memory regions not covered in the SoC Memory Map are reserved.
Reserved regions are unused. Reserved sections have been insert ed to a llow
space for memory/peripheral address space to increase in derivative SoCs
without re-arranging the address map. Access to Reserved regions trigger an
interrupt to support debug of out of bound accesses. Writes to such regions
have no effect while reads return a definite value dependin g on th e interface.
AHB Fabric provides 4 HSELs to Flash Memory subsystem: Flash CREGs for
configuration, Instruction Flash, OTP Code and OTP Flash Data.
Memory accesses are routed by the IO fabric based on fixed memory ranges that map
to the SoC peripherals. These peripherals are: ADC, I2C, UART*, S PI*, GPIO, APB
Timer, RTC and Watchdog Timer. The fixed regions assigned to each peripheral are
listed in the table above. See the register maps of all peripheral devices for details.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
54 Document Number: 333577-002EN
LMT M aster
DMA Contro ller Master
Flash Slave
SRAM Slave
DMA Controller SlaveSCSS Slave
APB Pe ripherals S lave
2 Layer ICM
2 Layer ICM2 Layer ICM
Mapping Address Spaces
LMT clock is gated by HW autonomously based on HALT detection. It is ungated by
HW upon Interrupt assertion. There is an option to gate/ungate clock to Memory
subsystem too with LMT clock. Other than LMT and Memory subsystem clocks, for all
other functions, SW controls gate/ungate of their respective clocks.
6.2 SoC Fabric
The SoC Fabric is a multi-layer AHB fabric that provides interconnect between 2
Masters and 5 Slaves.
The two masters are LMT and DMA Controller – one on each AHB layer. The 5 slaves
are: DMA Controller, Flash, SRAM, SCSS and APB peripherals. The multi-layer fabric
allows multiple masters to access different slaves in parallel. When two or more
masters try to access the same slave simultaneously, the slave arbitrates between the
masters. With this topology, it is not possible for each master to access every slave
connected to the SoC fabric. The LMT master can access all the 5 slaves. DMA
Controller master can only access Flash Slave, SRAM Slave and APB Peripherals Slave.
Figure 5 Multi-Layer AHB fabric with ICM
From an address decode perspective, DMA controller can target all destinations inside
Flash subsystem (Flash Configuration registers, Instruction Flash, 8KB OTP, 4KB OTP)
and all destinations inside SRAM subsystem (SRAM and SRAM Configuration
registers).
The Multi-layer AHB fabric also makes use of the HMASTER port on two ICM
components ICM_SRAM and ICM_FLASH. The HMASTER port on these two ICMs is
used by the slave for memory protection of the SRAM and Flash slaves. Each
HMASTER port for each layer on the ICM has a different ID code, this allows the slave
to identify which master is currently trying to access memory.
January 2016 Datasheet
Document Number: 333577-002EN 55
Intel® Quark™ microcontroller D2000
LMT 0x1 DMA
0x4
Table 11 Multi-Layer AHB Fabric Master ID List
AHB Master ID Codes
AHB Master ID Code
Mapping Address Spaces
APB Fabric has 10 slaves – GPIO, I2C Master/Slave, SPI Master, SPI Slave, 2 UARTs,
ADC, RTC, WDT and Timers block. Even though DMA engine can perform concurrent
transfers, single outstanding transaction limitation of AHB prevents simultaneous
transfers to/from multiple peripherals.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
56 Document Number: 333577-002EN
HYB_XTALI
Clocking
7 Clocking
The Intel® Quark™ microcontroller D2000 clocking is controlled by the Clock Control
Unit (CCU). There are 2 primary clocks in Intel® Quark™ microcontroller D2000, a
System clock and an RTC clock. The sources and frequencies of the primary clocks
are described in subsequent sections. The CCU uses the primary clocks to generate
secondary clocks to sub modules in the SoC. The secondary clocks are gated and
scaled versions of the primary clocks.
7.1 Signal Descriptions
Table 12 provides the dependency on external signals/pins on clockin g. Change from
Atlas Peak is that there is no need to output system clock and RTC clock to platform.
January 2016 Datasheet
Document Number: 333577-002EN 57
Intel® Quark™ microcontroller D2000
- In “Low Power Compute” state of SoC, hybrid oscillator can be scaled down to
4 MHz with prescaler of 32 to get 125 kHz; or 32.768kHz (RTC clock wherein
hybrid oscillator can be powered down).
In a minimalistic system configuration that does not require RTC clock or strict clock
accuracy (< 100ppm) of system clock, such platforms can choose not to mount
32.768kHz XTAL and/or not to mount 32MHz XTAL and choose to work with 32MHz
Silicon RC oscillator mode of hybrid oscillator. Intel
designed to work with system clock only and does not mandate 32.768kHz RTC clock
for power state transitions, if system/platform does not require RTC clock for its
usecases.
7.2.1 System Clock - Hybrid Oscillator
When the system clock is sourced internally, a Cosmic Circuits hybrid oscillator [1] is
used to generate the clock. The hybrid oscillator can be run in two modes, crystal or
silicon mode depending on the frequency accuracy and current consumption
requirements of the SoC. The hybrid oscillator contains the follow features:
•Crystal mode
o Generates 20-33 MHz clock
o +/-100ppm (dependent on crystal frequency tolerance)
o 2ms start-up time to reach +/-100ppm accuracy
• Silicon mode (default power up mode)
o Generates 4/8/16/32 MHz clock
o One time 10-bit factory trim
o +/-20,000ppm (after process trim)
o Temperature compensation block to limit frequency variation
o 2us start-up time to reach +/-20,000ppm accuracy
• 4mA @ 32MHz in crystal mode [silicon characterization at ~650 uA @ 32 MHz]
• 450uA @ 32 MHz in silicon mode
• 300nA power down leakage current
• Operates with a supply range of 1.62-1.98V
• Outputs a rail-to-rail swing of 1.62-1.98V
• Power down mode to reduce power consumption within the SoC
• Glitch free mux for switching between hybrid and crystal oscillator clocks
• Bypass mode allows an external clock (fed through HYB_XTALI pin) to be
provided through the hybrid oscillator. HYBOSC has to be configured in Crystal
bypass mode (OSC0_EN_CRYSTAL=1, OSC0_EN_MOD E _SEL=1,
OSC0_BYP_XTAL=1)
•
Clocking
®
Quark™ microcontroller D2000 is
7.2.2 RTC Oscillator
A Silicon Gate Oscillator [2] is used to generate a 32.768kHz RTC clock. The RTC
oscillator has the following features:
• Voltage operating range of 1.08-1.98V
• Accuracy of +/-20ppm
• Nominal current consumption of 150nA
• Power down mode consumption of 100nA [TBC]
Intel® Quark™ microcontroller D2000
Datasheet January 2016
58 Document Number: 333577-002EN
Clocking
•Bypass mode allows an external clock (fed through RTC_XTALI pin) to be
provided through the RTC oscillator. To achiev e th is, OSC1_BYP_XTAL_UP=1
and OSC1_PD=0)
•600mS start-up time to reach +/-20ppm
The Intel
®
Quark™ microcontroller D2000 is designed to operate without RTC clock as
well, if platform does not require RTC clock. RTC clock is needed for any of the
following reasons:
• Periodic waking in low power sleep state.
• Real Time Clock
• GPIO based wake (input debouncing/filter)
If above reasons are not required in a platform, then RTC oscillator can be disabled
without connecting RTC XTAL on board. In this mode, only comparator based wake
can be enabled to exit low power state.
7.2.3 Root Clock Frequency Scaling
The Intel® Quark™ microcontroller D2000 supports a single root clock with multiple
supported root clock frequencies
1) 32MHz high accuracy Crystal Oscillator – required for high accuracy
applications.
2) 4/8/16/32MHz silicon Oscillator – A lower power operating mode used by
applications that do not require a high frequency accuracy.
3) 32.768 kHz - entire SoC can operate out of 32.768 kHz clock as system clock
(controlled by CCU_SYS_CLK_SEL register in SCSS) without enabling Hybrid
Oscillator for such applications that require ultra low power without much
compute performance.
7.2.4 Frequency Scaling
The Intel® Quark™ microcontroller D2000 supports a wide range of frequency scaling
options to optimize power.
1) The root system clock frequency can be scaled to 4/8/16/32MHz
2) The Leaf peripheral clock can be independently scaled @ /2 /4 /8 divisions
To apply a DFS setting the following procedure should be followed
1) Apply the clock divider value CCU_XXX_CLK_DIV
2) Apply the clock divider writing ‘0’ CCU_XXX_CLK_DIV_EN
3) Apply the clock divider writing ‘1’ CCU_XXX_CLK_DIV_EN
7.2.4.1 Peripheral DFS requirements
When using DFS it is the responsibility of firmware to adjust any settings in
peripheral/timers to account for the frequency change. Example to achieve a UART
baud rate of 115200 requires a different baud rate divider dependi ng on the
frequency.
January 2016 Datasheet
Document Number: 333577-002EN 59
Intel® Quark™ microcontroller D2000
7.2.4.2 Flash DFS requirements
When using DFS on the root fabric clock the flash wait states must be adjusted for
both Flash instances. Refer to Memory Subsystem chapter for further details.
7.2.5 Dynamic Clock Gating
The Intel® Quark™ microcontroller D2000 supports a wide range of clock gating
options
1) Each leaf clock can be dynamically gated by firmware
To apply a DCG the following procedure should be used.
1) Write ‘0’ to the clock gate register CCU_XXX_PCLK_EN
2) The following hardware clock gating options are supported
a. UART low power autonomous hardware clock gating
b. SPI l o w pow er autonomous hardw are clock gating
7.2.5.1 UART autonomous clock gating (ACG)
Clocking
Both UART controllers support ACG mode (CCU_UARTX_PCLK_EN_SW=0). ACG is
asserted when the following occurs
1) Transmit and receive pipeline is clear (no data in the RBR/THR or TX/RX FIFO)
2) No activity has occurred on the SIN/SOUT lines
3) Modem input signals have not changed in more than one character time.
7.2.5.2 SPI autonomous clock gating (ACG)
All SPI controllers support ACG mode (CCU_SPI_XX_PCLK_EN_SW=0). ACG occurs
when the SSIENR register has been written to 0.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
60 Document Number: 333577-002EN
Power Management
8 Power Management
This chapter provides information on the power management and power architecture
of the SoC.
Power architecture of SoC is based on the following premise:
1. There is no requirement to supply regulated voltage (1.8v or 3.3v) to platform
components from SoC.
a. This dictates the max current specification of internal voltage regulator
in the SoC.
2. Platform Components and SoC w oul d operate from same battery sou rce (eg
coincell).
a. The IOs of SoC and the Analog components would be on the same rail
as input battery source. Thus the electrical characteristics of SoC IOs
(digital or analog) would be a function of battery rail and not regulated
1.8v/3.3v.
3. SoC has to generate a regulated 1.8v supply (DVDD) from battery i n put fo r
operating its core logic.
a. There is level shifter in IOs between core voltage rail and IO rail
(IOVDD). Similarly analog components such as ADC and Comparators
take care of shifting from analog rail (AVDD) to core/digital rail or
vice-versa.
SoC has 4 power input pins:
1. PVDD – Used by internal voltage regulator only.
2. IOVDD – Used by digital IO pads. Electrical characteristics of all external
digital pins will be with respect to IOVDD.
3. AVDD – Used by Analog components such as ADC and Comparators. Electrical
characteristics of all external analog pins will be with respect to AVDD.
4. DVDD – Used as SoC Core Voltage. Normal mode operating point is 1.8V. It
can be fed either by internal voltage regulator’s output (to be circled back in
board); or from another regulated power supply from platform if internal
voltage regulator is disabled. All of SoC internals will operate with DVDD.
PVDD, IOVDD, AVDD can be from the same power source with noise isolation, or can
be independently supplied.
Power management of SoC is a function of how the individual component/device
power state is managed. The various components in SoC that play a role in power
management are Voltage Regulator, 32 MHz Oscillator, 32 kHz Oscillator, ADC, Analog
Comparators, memories (SRAM, Flash), Processor Core, Peripheral controllers (digital
logic) and IOs. Hence this chapter begins with a discussion on component power
states and then moves on to create System power states based on component power
states. The System power states are defined based on current draw requirement and
latencies involved in entering or exiting a given power state. System power state is
managed in Firmware/Software and not in hardware.
January 2016 Datasheet
Document Number: 333577-002EN 61
Intel® Quark™ microcontroller D2000
8.1 Component Power S tates
8.1.1 Voltage Regulator
Table 13. VR Power States
Power Management
Power
State
NRML-1.8V Normal mode. Voltage
RET-1.8V Retention mode. Voltage
RET-1.35V Retention mode. Voltage
OFF HiZ mode. Voltage regulator
regulator (Retention
Alternating Regulator)
functions in switching
regulator (eSR) mode and
able to output 50 mA current.
eSR output regulates. iLR -RET
output set to high impedance.
EN=H, VREGSEL=L. Change
in power state incurs tSTRB of
1 usec + tROK_PROG (T BD).
regulator (Retention
Alternating Regulator)
functions in linear regulator
(iLR) mode and able to output
300 uA current. iLR-RET
output regulates. eSR output
set to high impedance. EN=H,
VREGSEL=H. Change in
power state incurs tSTRB of 1
usec + tROK_PROG (TBD) of
latency.
regulator (Retention
Alternating Regulator)
functions in linear regulator
(iLR) mode and able to output
300 uA current. iLR-RET
output regulates. eSR output
set to high impedance. EN=H,
VREGSEL=H.
is disabled. iLR-RET output is
set to high impedance. eSR
output is set to high
impedance. VREF_OUT is is
set to its nominal value.
EN=L, VREGSEL=x.
Definition Max
Current
90%
efficiency
1% of
current
load
1% of
current
load
- - - Pla t form pulling
Entry
Latency
2 us 20 us writing into
20 us 2 us writing into
3 us 4 us w rit in g in t o
Exit
Latency
How Triggered
AON_VR.VREG_SEL
AON_VR.VREG_SEL
AON_VR.VSEL and
AON_VR.VSTRB
down VR_EN input
pin (use external
voltage regulator)
Note: Silicon OSC minimum current is ~200uA when configured for 4MHz operation (lowest
power mode) – configuring the Voltage Regulator into Low Power is only be supported when
clocking off either 32.768 kHz OSC or 4 MHz Silicon oscillator mode with prescaler set for 125
kHz or lower output.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
62 Document Number: 333577-002EN
Power Management
“OFF” power state is entered only when internal regulator is disabled using VREN=L
input pin and 1.8v rail (DVDD input) is fed directly from platform.
Voltage regulator in eSR mode has 90% efficiency down to 0.2 Imax (1 mA) and 70%
efficiency down to 0.01 Imax (500 uA). In iLR mode, power consumpt ion of VR is
about 1% of delivered current.
The SoC power delivery is described in detail in the Power Architecturesection.
8.1.2 CPU
Table 14. CPU Power States
Power
State
C0 Active State
C2 Stop Clock / Halt
Definition Max
Processor executing
code
State
Entered via HLT
instruction
Exited via Interrupt
or Reset
Clock to LMT core
including Local APIC
and IO APIC is
gated. Clock to
memory subsystem
(SRAM and FLASH)
can also be gated if
CCU_MEM_HALT_EN
=1.
Curre
nt
~5 mA
@
32MHz
~50 nA 6 cycles 3 cycles C PU executing HLT
Entry
Latenc
y
3 cycles 6 cycles Any enabled
Exit
Latenc
y
How Triggered
Interrupt event or
reset event
instruction provided
CCU_CPU_HALT_EN
=1
Processor in SoC does not support STOPCLK (for entering C2 state) but instead
executing HALT instruction is used to enter C2 state wherein clock to processor core
including LAPIC and IOAPIC is gated. The clock to LMT core can be gated after min 6
core clk cycles from xhalt detection (number of clock cycles is configurable and default
set to 16 clock cycles). In Intel
®
Quark™ microcontroller D2000, processor is never
power gated but only clock gated and hence processor state is always preserved.
Clock is re-enabled to the processor if there is any wake event or any enabled
interrupt.
January 2016 Datasheet
Document Number: 333577-002EN 63
Intel® Quark™ microcontroller D2000
8.1.3 ADC
Table 15. ADC Power States
Power Management
Power State Definition Max
ON Normal Operation.
ADC is enabled for
conversation with
optionally enabled
internal LDO.
Enadc=H, enldo=H,
dislvl=L. powerup
time: 3-5-10 usec
(min-typ-max).
STBY Standby Mode. ADC
is disabled but ADC
state is kept enabled
by enabling internal
LDO and retaining
DVDD. Enadc=L,
enldo=H, dislvl=L.
Exit involves 1
conversion cycle.
PD Power Down mode.
ADC is disabled,
calibration state is
retained, DVDD is
present, internal LDO
is off. Enadc=L,
enldo=L, dislvl=L. A
calibrated conversion
cycle can start
immediately after
internal LDO Power
Up time.
DPD Deep Power Down
mode. ADC is
disabled, calibration
state is lost, DVDD
can be off. Enadc=L,
enldo=L, dislvl=H.
exit involves waiting
for internal voltage
regulator to start-up
+ recalibration +
dummy conversion
cycle. A complete
calibration cycle lasts
81 clock cycles. A
conversion cycle is
14 CLK cycles for 12bit resolution.
Current
1000 uA
@ avdd,
100 uA
@ dvdd
at 5
MSps
15 uA @
avdd, 1
uA @
dvdd
1 uA @
avdd, 1
uA @
dvdd
1 uA @
avdd,
0.5 uA
@ dvdd
Entry
Latency
- - Writing to
- 14 CLK
- 10 usec Writing to
- 10 usec
Exit
Latency
cycles
+ 95
CLK
cycles.
How
Triggered
ADC_OP_MODE
register
Writing to
ADC_OP_MODE
register
ADC_OP_MODE
register
Writing to
ADC_OP_MODE
register
Intel® Quark™ microcontroller D2000
Datasheet January 2016
64 Document Number: 333577-002EN
Power Management
8.1.4 Comparator
Table 16. Comparator (CMP) Power States
Power State Definition Max
ON Normal operation.
CMP_PWR=H.
OFF Powered down state.
CMP_PWR=L.
8.1.5 32.768 kHz OSC
Table 17. 32.768 kHz OSC Power States
Power State Definition Max
Current
Fast:
20.5 uA
@ avdd,
0.82 uA
@ dvdd.
Slow:
2.5 uA
@ avdd,
1.4 uA
@ dvdd.
2.7 nA - 0.9 us Writing to
Current
Entry
Latency
- - Writing to
Entry
Latency
Exit
Latency
Exit
Latency
How
Triggered
CMP_PWR
register
CMP_PWR
register
How
Triggered
ON Normal mode. Crystal
Oscillator is outputting
32 kHz clock
OFF Disabled mode. Output
is not oscillating but at
predefined value.
40 nA
typ, 150
nA max.
- - - Writing to
350
msec
- Writing to
OSC1_CFG0
register
OSC1_CFG0
register
January 2016 Datasheet
Document Number: 333577-002EN 65
Intel® Quark™ microcontroller D2000
8.1.6 32 MHz OSC
Table 18. 32 MHz OSC Power States
Power Management
Power State Definition Max
ON-SI Silicon RC
Oscillator
mode.
Oscillator is
outputting the
configured
clock
frequency at
+/- 2%
accuracy.
ON-XTAL Crystal
Oscillator
mode.
Oscillator is
outputting the
configured
clock
frequency
(based on
crystal
connected) at
+/- 100 ppm
accuracy.
OFF Powered down
mode.
Current
450 uA
@ 32
MHz;
180 uA
@ 4
MHz.
4000 uA
@ 32
MHz;
3000 uA
@ 20
MHz.
300 nA - - Writing to
Entry
Latency
2 usec - Writing to
2000
usec
Exit
Latency
- Writing to
How Triggered
OSC0_CFG0/1
register
OSC0_CFG0/1
register
OSC0_CFG1.OSC0_PD
register
8.1.7 SRAM
Table 19. SRAM Power States
Power State Definition Max
NRML "Normal Operation Mode:
this mode corresponds to
read (write) operation at
every clock cycle. This
mode is activated by a
CSN at low level at the
rising edge of CK."
Current
- 0 0 Chip Select
Intel® Quark™ microcontroller D2000
Datasheet January 2016
66 Document Number: 333577-002EN
Entry
Latency
Exit
Latency
How
Triggered
CSN=L to
SRAM
asserted in
a clock
cycle for
write or
read
operation
Power Management
Power State Definition Max
STBY Power Reduction mode
(stand-by). this mode
corresponds to a memory
that cannot perform any
read (or write) operation.
This mode is activated by
a CSN at high level at the
rising edge of CK.
There is no specific control to put the SRAM into above power states.The Intel®
Quark™ microcontroller D2000 has a single always-on power domain (DVDD) and
hence SRAM is always powered. SRAM state is always preserved. No special retention
mode is required. STBY state is entered automatically by SRAM when the chip select
to SRAM is inactive in a given clock cycle.
8.1.8 Peripherals
Table 20. Peripheral Power States
Power
State
ON Peripheral
STBY Peripheral
Definitio
n
is enabled
retaining
internal
state and
clock to it
is running
is enabled
retaining
internal
state but
clock to it
is gated.
Max
Current
Dynamic
current of
logic with
dependenc
y on
activity
factor.
Leakage
current of
logic
Current
- 0 0 Chip Select
Entry
Latenc
y
1 cycle 1 cycle Setting respective bit in
1 cycle 1 cycle Resetting respective bit i n
Entry
Latency
Exit
Latenc
y
Exit
Latency
How Triggered
CCU_PERIPH_CLK_GATE_C
TL register
CCU_PERIPH_CLK_GATE_C
TL register
How
Triggered
CSN=H to
SRAM
deasserted
in a clock
cycle for
write or
read
operation
January 2016 Datasheet
Document Number: 333577-002EN 67
Intel® Quark™ microcontroller D2000
8.2 System P ower States
Active
HaltDeep Sleep
Wake Event
RST_N
8.2.1 System Power State Diagram
Figure 6. System Power States
Power Management
Intel® Quark™ microcontroller D2000
Datasheet January 2016
68 Document Number: 333577-002EN
Power Management
8.2.2 System Power State Definition
The Power Management states supported by the SoC are described in this section.
Table 21. SoC Power States
State Sub State Description
ACTIVE
LOW POWER
HALT - Main supply rail is present and voltage regulator is in
DEEP SLEEP
RTC
1.8V/1.35V
DEEP SLEEP
NO RTC
1.8V/1.35V
RUN Main supply rail is present and voltage regulator is in
regulation in Normal mode. System clock is running from
4MHz up to 32MHz. Processor in C0. FW has full control of
which peripherals to enable.
Main supply rail is present and voltage regulator is in
COMPUTE
1.8V retention
1.35V
retention
1.8V retention
1.35V
retention
regulation in Normal mode. System clock is running at
less than 4MHz. Processor in C0. FW has full control of
which peripherals to enable.
regulation in Normal mode.
FW executes the HLT instruction to enter C2. FW has full
control of which peripherals to leave enabled when
entering C2.
Any enabled peripheral capable of generating an interrupt
can trigger an exit from HALT to ACTIVE
Main supply rail is present and voltage regulator is in
regulation in Retention mode (Linear Regulator Mo d e
either 1.8V or 1.35V voltag e output).
FW has put most of the SoC components (Hybrid
Oscillator, ADC, most comp arators) in power down mode.
FW executes the HLT instruction to enter C2. RTC
oscillator is enabled.
All peripherals are disabled excep t f or AON Periodic Timer,
RTC, GPIO and/or Comparator(s) which provide the wake
event from DEEP SLEEP to ACTIVE.
Main supply rail is present and voltage regulator is in
regulation in Retention mode (Linear Regulator Mo d e
either 1.8V or 1.35V voltag e output).
FW has put most of the SoC components (Hybrid
Oscillator, ADC, most comparators) in power down mode.
FW executes the HLT instruction to enter C2. RTC
oscillator is also powered down. RTC alarm, AON Periodic
timer are not available in this state. GPIO debounc in g
cannot be done in this state. GPIO edg e triggered
interrupt is not available as wake source as all clocks are
gated off in this state.
All peripherals are disabled excep t f or GPIO level interrupt
or Comparator(s) which provide the wake event from
DEEP SLEEP to ACTIVE.
January 2016 Datasheet
Document Number: 333577-002EN 69
Intel® Quark™ microcontroller D2000
8.2.3 Power and Latency Requirements
The System power states are maintained and managed in FW.
Table 22. Power and Latency Requirements
Power Management
SoC
Power
State
RUN
LOW
POWER
COMPUT
E
HALT
DEEP
SLEEP
RTC
DEEP
SLEEP
NORTC
Current
TYP
25C
<10
mA
<1.
2
mA
<4
mA
TBC
<5
uA
TBC
<5
uA
TBC
Max
TYP
105
C
- <5
- 2
- 6
- <1
- <1
Latency Component Power State
Entry Exit CPU VR ADC CMP SRAM 32
<2
C0 NRML Any Any NRML
usec
usec
cycle
s
usec
usec
usec
<1
C0
usec
(<
4MHz
)
3
C2 NRML
cycle
s
<5
C2 RET PD/DPD Any STBY OFF ON OFF ON
usec
<5
C2 RET PD/DPD Any STBY OFF OFF OFF ON
usec
NRML
/
RET
/
RET
Any Any NRML
Any Any STBY ON/
/
STBY
/
STBY
MH
z
ON ON ON ON
ON/
OFF
OFF
32.76
8 kHz
ON < 4
ON ON ON
Bus
Cloc
k
MHz
IO
Stat
e
ON
1. LOW POWER COMPUTE has to work with Hybrid Oscillator set to Silicon oscillator mode with
4MHz output to limit 32MHz OSC at 180 uA.
2. "Any" state of comparator CMPH is dependent on current consumed versus number of
external wakes to be enabled. Only needed number of comparators are in ON state. 6 High
performance high power comparators are in OFF s tate.
3. It takes ~350 msec (typ) to power up the RTC XTAL oscillator. Power saving in switching off
RTC XTAL oscillator is ~150 nA.
4. Low power wait or DEEP SLEEP RTC or DEEP SLEEP NORTC corresponds to VR in retention
state (capable of sourcing only 300 uA max) and differ only in terms of which wake sources
are enabled and can be decided by FW based on platform/system power usecases. If GPIO
based wake is required, the retention voltage of VR has to 1.8V typical for digital IO pads to
operate.
5. Exiting DEEP SLEEP NORTC state can be with Silicon oscillator set at 4 MHz
(CCU_SYS_CLK_SEL set to Hybrid oscillator at entry) so that exit latency is < 2 usec. RTC
oscillator will lock after 350 msec (typ).
6. In DEEP SLEEP NORTC, exit is possible only with comparator based wake. GPIO Wake, AON
timer wake, RTC alarm wake are not available.
7. All entry/exit latencies are given assuming hybrid oscillator in Silicon mode and 4 MHz. Low
power state Current numbers are given assuming 1 low power comparator enabled for wake.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
70 Document Number: 333577-002EN
Power Management
8.2.4 Minimum Voltage Limits (Vmin)
Table 23. Minimum Voltage Limits
Component
RAR Voltage
Regulator
ADC Normal or
Comparator Normal or
SRAM Normal
Flash Normal
Digital IO
pads
Hybrid
Oscillator (32
MHz)
Retention mode
RTC Oscillator Normal
Digital logic
(std cells)
Normal
Normal
Normal
Normal
Condition
Min Max Min Max
operation
Power Down
Power Down
operation
operation
operation
operation
(HYB_SET_REG
1[0]=1). 4 MHz
Si osc clock
output
operation
operation
PVDD/IOVDD/
AVDD
1.62 V 3.63 V 1.08 V 3.63 V
1.62 V 3.6 V 1.62 V 1.98 V
2.0 V 3.63 V 1.2 V 1.98 V
- - 1.2 V 1.98 V
- - 1.2 V 1.98 V
- - 1.62 V 1.98 V
- - 1.62 V 1.98 V
- - 1.08 V 1.32 V
1.5 V 3.63 V 1.1 V 3.63 V
- - 1.2 V 1.98 V
DVDD
Table 23 shows that DVDD has to be at 1.8V during normal operation. PVDD range is 2.0V
to 3.63V limited by comparator. DVDD during retention has to be 1.8V if IOs are needed to
be functional and can go below up to 1.2V (1.35V at RAR) if IOs are disabled/floating and
provided Flash can work at that level (TBC – Check with TSMC). PO R is only 1.8V DVDD
during retention.
January 2016 Datasheet
Document Number: 333577-002EN 71
Intel® Quark™ microcontroller D2000
PLATFORM
47uH
4.7uF
Supply Rail
2.0V – 3.6V
470nF
IOVDD
AVDD
RAR 1.8V
(200mV dropout)
AVD
VOUT
GNDSE NSE
AVS
LX
VSENSE
EN
VDD_CTR L
PVDDVREN
LX
VSENS E
DVDD
GSEN SE
VSS
1p8 Rail to
SoC
STD CELLS
VDD
VSS
SRAM
VDD
VSS
FLA SH
VDD
VSS
32kHz
XTAL
dvdd
agnd
H
avdd
32MHz
XTAL
DVDD
DVSS
H
Digital IO
VDDPS T
VDD
H
VSSPST
VSS
POC
H
Analo g IO
TACV DD
H
VSS
ADC LEVEL
SHIFTER
AVDD
DVDD
H
aVSS
DVSS
POC
AR
VREF_O UT
ADC
avdd
dvdd
H
agnd
dgnd
dvdd_ldo
agndref
vref p
COMPAR ATOR
AVDD
DVDD
H
AVSS
DVSS
REF1
REF2
Power Management
8.3 Power Architecture
Figure 7. Intel® Quark™ microcontroller D2000 Power Architecture
Intel® Quark™ microcontroller D2000
Datasheet January 2016
72 Document Number: 333577-002EN
Power Management
The Intel® Quark™ microcontroller D2000 power architecture is given in Figure 6 and
uses a Retention Alternating Regulator (RAR). RAR works in two modes – normal
mode wherein Switching Regulator is turned on sourcing 50 mA of max current and
retention mode wherein linear regulator is turned on sourcing only 300 uA of max
current.
The entire SoC core is under single power domain (1.8v regulated output rail from
RAR) and is never power gated. Power saving is achieved by clock gating of logic and
also putting the hard macros (such as ADC, comparators, oscillators, voltage
regulator) in power down mode.
Tank capacitor at the output of LX is provided to ensure smooth switchover (no drop
or droop) from Linear Regulator (retention mode) to Switching Regulator (normal
mode) or vice-versa, provided current draw is restricted at less than 300 uA before
transition. Follow the integration guidelines from Dolphin and also review the backend
implementation with IP vendor.
Additionally in retention mode, RAR can supply only 300 uA of max current. Since the
SoC is in single power domain fed by 1.8v regulated output from RA R, FW/SW has to
ensure that enough components/devices are put into low power states such that
overall current draw is less than 300 uA in LOW POWER WAIT / DEEP SLEEP states.
No fail-safe scheme is implemented in the SoC.
VR_ROK_AVDB drives the POC rail of the I/O ring shutting down the I/O level shifters
to prevent damage while the DVDD supply comes into regulati on .
Implementation may choose to separate Analog GND (RAR, ADC, Comparators) and
Digital GND (Std cells, Digital IO pads, memories, Oscillators) as separate pads and
ground it to VSS plane in package. Similarly vrefp and agndref ports of ADC can be
implemented as separate pads and bonded to AVDD and VSS respectively in package.
RST_N input uses low power comparator which has PVDD, AVDD and GND ports which
are to be connected to PVDD, AVDD and VSS inputs respectively. REF1 port of RST_N
comparator is connected to VREF_OUT from RAR.
Notes:
1. Current scheme assumes 40 ball QFN thus all digital and analog grounds are
routed to the QFN ground pad.
2. Current scheme assumes 40 ball QFN thus several power rails are ganged
together (e.g. ADC & Comparator).
3. ADC:
a. VREFP is double bonded to AVDD
b. AGNDREF is double boned to VSS
c. ADC Block has an internal LDO to create a clean 1.8V rail, DVDD_LDO
is provided to allow bypassing of t he LDO.
January 2016 Datasheet
Document Number: 333577-002EN 73
Intel® Quark™ microcontroller D2000
8.4 Power Management Unit (PMU)
8.4.1 Internal Voltage Regulator
Internal voltage regulator is enabled by pulling high VREN to PVDD.
1. PVDD/AVDD/IOVDD are appli ed together. All these rails are from same
source.
2. After 240 usec of start-up time, Voltage regulator achieves regulated 1.8V
DVDD in switching voltage regulator mode.
a. Till DVDD is stable, Power-on control (POC) of IO pads is kept asserted
by an output (ROK_AVDB) from voltage regulator so that the level
shifter inside IO pad between VDDPST and VDDcore is dis-engaged.
3. When DVDD is stable, Hybrid oscillator starts oscill ati ng in Silicon RC oscillator
mode outputting 4MHz +/- 40% (trimcode is not applied at this stage).
HYBOSC takes 2 usec for lock time.
4. Internal voltage regulator provi des a 0.95v +/- 15% internal reference voltage
to the RST_N comparator within 2 msec. Till reference voltage is stable,
voltage regulator sends an output to keep the RST_N comparator disabled
(output = 0), thus keeping SoC under reset (internal power-on reset).
5. Once external RST_N in put is deasserted and RST_N is internally enabled, SoC
comes out of reset.
6. Processor is output of reset and fetches instruction at reset vector from flash.
After some steps, firmware will apply the actual trimcode to HYBOSC at
selected output frequency to get HYBOSC output to +/-2% accuracy.
Power Management
Intel® Quark™ microcontroller D2000
Datasheet January 2016
74 Document Number: 333577-002EN
Power Management
8.4.2 External Voltage Regulator
Internal voltage regulator is disabled by grounding VREN to GND. In this case, DVDD
voltage input is supplied by an external voltage regulator. Here DVDD has to be
applied before IOVDD.
1. PVDD/AVDD/DVDD are applied together.
2. Wait for DVDD rail to ramp-up to stable regulated value.
3. As DVDD is stable, Hybrid oscillator starts oscillating in Silicon RC oscillator
mode outputting 4MHz +/- 40% (trimcode is not applied at this stage).
HYBOSC takes 2 usec for lock time.
4. After 50 usec minimum time, apply IOVDD rail. This i s done to ensure that
there is no crowbar current between VDDPST (IOVDD) and VDDcore (DVDD)
in the level shifter inside digital IO Pads.
5. Internal voltage regulator provi des a 0.95v +/- 15% internal reference voltage
to the RST_N comparator within 2 msec. Till reference voltage is stable,
voltage regulator sends an output to keep the RST_N comparator disabled
(output = 0), thus keeping SoC under reset (internal power-on reset).
6. Once external RST_N in put is deasserted and RST_N is internally enabled, SoC
comes out of reset.
7. Processor is output of reset and fetches instruction at reset vector from flash.
After some steps, firmware will apply the actual trimcode to HYBOSC at
selected output frequency to get HYBOSC output to +/-2% accuracy.
January 2016 Datasheet
Document Number: 333577-002EN 75
Intel® Quark™ microcontroller D2000
Power Up and Reset Sequence
9 Power Up and Reset Sequence
This chapter provides information on the following topics:
• Power Up Sequences
• Power Down Sequences
• Reset Behavior
9.1 Power Up Sequences
There are two cases of power up:
a. RST_N triggered Power Up (Any state to ACTIVE state). Covers Power
recycling.
b. From any Low Power State to ACTIVE state (based on any of configured wake
events)
Hardware (PMU) supports enabling on-die RAR Voltage Regulator. Hybrid Oscillator
and RTC Oscillator during the power up sequence. Rest of the SOC components are to
be enabled back by FW.
9.1.1 RST_N Triggered Transition to ACTIVE state
When RST_N is asserted following PVDD power cycle or otherwise, the following power
up sequence occurs:
1. RST_N is asserted by platform. This covers the case of Power recycle as well.
RST_N is kept asserted till PVDD input rail is within the operating range [2.0v-
3.6v]. SoC asserts POR_RST#, COLD_RST#, WARM_RST#. RST_N is to be
kept asserted for tROK_PROG (~250 usec; TBC) irrespect ive of whether
internal voltage regulator is enabled or disabled.
a. On-die RAR voltage regulator (VR) executes its powers up sequence
whenever PVDD recycles. At other times of RST_N assertion, RAR
Voltage regulator is not affected. If power cycled, RAR starts to
regulate in eSR Switching Regulator mode with 1.8V v oltage output.
b. Hardware enables Hybrid Oscillator and RTC Oscillator. This is based
on the default values of OSC0_CFG0/1 and OSC1_CFG registers.
Hybrid oscillator is enabled in 4 MHz Silicon Oscillator mode with
default TRIM code of 0. At this stage, there is no expectation to have
2% accurate oscillator output but just to have clock cycles for starting
operation. Actual trimcode based on trimming is applied by FW later
based on trimcode stored in Flash. Oscillators will start of oscillate
once DVDD is stable above 1.62V.
2. RST_N is deasserted by platform. RST_N i s expected to be asserted for
tROK_PROG (250 usec; TBC) to account for internal regulator startup time.
POR_RST# is removed.
3. RAR Voltage Regulator is set to eSR Switchin g Regulato r mo de with 1.8V
Voltage select. This is ensured by the default values of AON_VR register.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
76 Document Number: 333577-002EN
Power Up and Reset Sequence
4. PMU generates a str o be on VSEL_STROBE to RAR to put it in eSR mode at
1.8V VSEL_IN. Pulse width of VSEL_STROBE is based on
PM_WAIT.VSTRB_WAIT register. At the positive edge of VS EL _STROBE, RAR
deasserts ROK_BUF_VREG (if it is enabled/selected by VR_EN input).
a. When RAR is power recycled, RAR will default to eSR 1.8V mode
automatically. However at other times of RST_N, RAR may be in other
mode (for example, qLR Linear Regulator and non 1.8V). Hence this
strobing is done by PMU to get it predictably back to eSR 1.8V
regulation mode.
5. PMU waits for ROK_BUF_VREG from RAR to be asserted so that vol tage
regulator (VR) has attained regulation. In case RAR VR is bypassed by VR_EN
input pin, RAR VR keeps ROK_BUF_VREG asserted always.
6. COLD_RST# and WARM_RST# are released. Clocks to LMT Processor, Memory
Subsystem (SRAM and Flash) are active.
7. Host processor LMT starts to execute from reset vector. L ater on , Fi rm ware
can enable the needed components such as ADC, comparators, peripheral
subsystem to put the SoC into ACTIVE/Normal mode of operation.
9.1.2 Low Power State to Active
For those low power states not requiring voltage regulator to be put into retention
(linear regulator) mode, below sequences are not required and can be handled by
SW/FW by powering up needed components based on System Power State. Below
sequence is applicable when voltage regulator was earlier put into retention/linear
regulator mode with core output voltage set to either 1.8V or lower (say 1.35V).
When the SoC is in any of Sleep states and a wake event is triggered, the following
sequence occurs:
1. An enabled wake event is triggered and latched within the SoC
2. The RTC Power Down input is asynchronously de-asserted by PMU in order to
restart the 32 kHz clock
a. Powering down the RTC oscillator is an optional step when entering
sleep (say DEEPSLEEP_NORTC state).
3. Hybrid Oscillator Power Down input is asynchronously deasserted by PMU.
Hybrid oscillator will come up in the same settings as it were at the time of
entering low power state.
4. Based on CCU_SYS_CLK_CTL.CCU_SYS_CLK_SEL programmed by FW at the
time of entering into low power state, sys_clk will take either Hybrid oscillator
output or RTC clock output. This step exits based on the LOCK time of selected
oscillator. If CCU_LP_CLK_CTL.CCU_EXIT_TO_HYBOSC was set to 1’b1, then
PMU ensures that sys_clk takes hybrid oscillator output.
5. Once the sys_clk starts ticking, Host Processor will get the wake interrupt.
LMT starts to execute.
6. FW to restore clock settings for normal mode: OSC0_PD=0, OSC1_PD=0 or 1
(1’b1 if RTCOSC is not needed in active state), CCU_SYS_CLK _SEL = 1
(HYBOSC) to be updated to proper valu es .
7. FW to program HYB_O SC_PD_LATCH_EN = 1, RTC_OSC_PD_LATCH_EN=1 so
that OSC0_PD and OSC1_PD values directly control the oscillators in active
state.
8. FW to make WAKE_MASK[31:0] to all-ones (all wake disabled) so that any
future interrupt in active power state does not interfere with wake related
logic (such as powering down oscillators etc).
January 2016 Datasheet
Document Number: 333577-002EN 77
Intel® Quark™ microcontroller D2000
Power Up and Reset Sequence
9. FW has to bring back RAR voltage regulator to eSR normal mode before it
enables other SoC components for normal mode of operation.
a. Set AON_VR.VREG_SEL to eSR/normal mode.
b. Wait f o r 2 usec (TBC) for RAR to switch back to eSR normal mode
delivering up to 50 mA max current.
c. Clear AON_VR.ROK_BUF_ VREG_MASK.
10. If (SCSS AON_VR.VSEL == 1.35V) { // exiting from 1.35V core voltage mode
a. FW to set SCSS.AON_VR.VSEL = 0x10; // Set to 1.8V. This will take
effect only for VSEL_STROBE. Perform read modify write along with
passcode.
b. FW to do Voltage strobing in next access to AO N_V R register after
setting up VSEL previously.
SCSS.AON_VR.VSEL_STROBE = 1; // Bit 5. Perform read mod write
along with passcode
c. Wait for 1 usec;
d. FW to reset SCSS.AON_VR.VSEL_STROBE = 0; // Bit 5. Perform read
mod write along with passcode
e. Wait for 2 usec; // Wait for 1.8V to take effect
f. FW to reset SCSS.AON_VR.ROK_BUF_VREG_MASK = 0; // Perform
read modify write along with passcode.
g. Wait f o r 1 usec; // 1 usec for DVDD to be stable at 1.8V before
changing HYBOSC and Flash low voltage mode.
h. FW to move HYBOSC from low voltage retention mode to normal 1.8V
mode. SCSS.OSC0_CFG0.OSC0_HYB_SET_REG1.OSC0_CFG0[0] = 0;
i. FW to Put Flash from LVE mode to Normal Voltage mode
FlashCtrl.CTRL.LVE_MODE = 0;
11. Switch back hybrid oscillator to 32MHz frequency.
a. FW to set CCU_SYS_CLK_CTL.CCU_SYS_CLK_DIV to needed divisor
value.
b. FW configures Hybrid Oscillator (OSC0_CFG0/1 registers) to 32 MHz
Silicon oscillator mode while applying trimcode specific to 32 MHz
frequency.
12. Firmware can enable the needed components such as ADC, comparators,
peripheral subsystem to put the SoC into ACTIVE/Normal mode of operation
including enabling PERIPH_CLK_EN to 1’b1.
a. Note that none of the resets (say WARM_RST#) is asserted during
power state transitions.
b. since host processor subsystem is never powered down in low power
state, state of the CPU core as well as other SoC components are
preserved. Hence FW/OS is not expected to do a save/restore
operation, thus saving time in exit latency.
9.2 Power Down Sequenc e s
Power down sequence is totally executed by FW depending on the low power state to
enter. PMU does not play any part in this sequence. Before entering low power state,
the intended wake sources have to be enabled.
The possible wake sources/events that can be configured by FW/SW while entering a
low power state is as below. Corresponding WAKE_MASK[31:0] and/or
CCU_LP_CLK_CTL.WAKE_PROBE_MODE_MASK register bits specific to the wake
source of interest has to be unmasked (set to 0) while remaining bits are to be
masked (set to 1) to prevent unwanted wake.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
78 Document Number: 333577-002EN
through JTAG , RST_N assertion.
request through JTAG, RST_N assertion.
Power Up and Reset Sequence
One or more possible wake sources can be simultaneously enabled in a given low
power state. RST_N assertion will automatically transition the SoC to normal/active
state (4 MHz Si OSC mode) as given in section 9.1.1.
Low Power State Possible Wake Sources
Deep Sleep RTC state AON Periodic Timer (AONPT), RTC Al a rm, GPIO
Edge/Level triggered interrupt (with or without GPIO
debouncing), Comparator, CLTAP Probe mode request
CLTAP Probe mode request is generated by setting CLTAP_CPU_VPREQ.asser t_vpreq
to 1 (TAP instruction 0x70 Bit0) through JTAG interface. In deep sleep state, ensure
TCK frequency is less than 32 kHz (system clock frequency at that state divided by 4).
For setting GPIO level triggered interrupt as wake source, GPIO controller has to be
programmed as below for a specific GPIO pin x of interest:
• GPIO_INTEN[x] = 1. Enable interrupt for that particular GPIO pin.
• GPIO_INT_POLARITY[x] = 1; Active-high level interrupt (0 to 1 on GPIO pin
will wake; default state of this GPIO input pin shall be 0). Set this register bit
to 0 if it has to be active-low level interrupt. 0 level to trigger interrupt.
•GPIO_DEBOUNCE[x] = 0. No debounce as there is no clock running.
GPIO_LS_SYNC[x] = 0. Not synchronized as there is no clock running to synchronize.
(d) and (e) are important settings.
January 2016 Datasheet
Document Number: 333577-002EN 79
Intel® Quark™ microcontroller D2000
9.2.1 Active to Any Low Power State
For those low power states not requiring voltage regulator to be put into retention
mode, the following sequences are not required and can be handled by SW/FW by
powering down or enabling clock gating of specific components not in use based on
System Power State. For example, Low Power Halt state is mainly halting processor
and optionally memory system by executing HALT instruction while peripherals can be
in operation.
Whenever user application / software wants to enter any of low power state (having
voltage regulator in retention mode) from ACTIVE state, the following sequence
occurs: All steps are executed by Firmware.
1. SW/FW to ensure all interrupts are serv iced and no interrupt pending.
2. SW/FW to ensure that all high power components such as AD C, hi gh-
performance comparators ([5:0]), unneeded low power comparators (18:6]),
are powered down and peripheral subsystem clock gated (PERIPH_CLK_EN =
0).
Power Up and Reset Sequence
Intel® Quark™ microcontroller D2000
Datasheet January 2016
80 Document Number: 333577-002EN
Power Up and Reset Sequence
3. SW/FW must enable the needed interrupt sources for w ak e and mask all other
interrupt sources. Wake sources can be any of enabled low power
comparators, any GPIO based interrupt wake, AON Periodic Timer expiry, RTC
alarm interrupt. Additionally system automatically wakes up to RST_N
assertion.
a. Program WAKE_MASK.WAKE_MASK[31:0],
4. Program HYB_OSC _PD _LATCH_EN = 0, RTC_OSC_PD_LATCH_EN=0. This
ensures that powering down of oscillators is delayed by hardware till core
executes HALT at last step in this sequence.
5. Program CCU_LP_CLK_CTL.CCU_EXIT_TO_HYBOSC to 1’b1. This ensures that
at exit, hardware will switch system clock to Hybrid oscillator clock so as to
minimize exit latency by running at higher frequency than RTC clock.
6. If RTC clock is not needed during l ow power state (no AON Timer, RTC, GPIO
interrupt), FW to program OSC1_CFG0.OSC1_PD to 1’b1. RTC Oscillator will
actually get powered down only at last step when core enters HALT.
7. FW to program OSC0_CFG1.OSC0_PD = 1. H y brid Oscillator will actually get
powered down only at last step when core enters HALT.
8. FW configures Hybrid Oscill ato r (OSC0_CFG0/1 registers) to 4 MHz Silicon
oscillator mode while applying trimcode specific to 4MHz frequency. Note that
Hybrid oscillator shall not be disabled to effect this change if
CCU_SYS_CLK_SEL is set to hybrid oscillator as it stops the clock to processor.
This step ensures that current consumed by hybrid oscillator is reduced to
~180 uA levels as max retention mode current supply from RAR is 300 uA.
to reduce system clock frequency to 125 kHz (or lower; TBC). This step is
needed to reduce dynamic power of processor and digital logic so that overall
current draw by SoC is now less than 300 uA.
10. If (retention voltage in low power state == 1.35V) { // change to 1.35V in
eSR mode. This step is not needed if retention voltage is unchanged at 1.8V
itself.
a. FW to move HYBOSC to low voltage retention mode.
b. FW to Put Flash to LVE mode from Normal Voltage mode
c. FW to set SCSS.AON_VR.VSEL = 0xB; // Set to 1.35V. This will take
d. FW to set SCSS.AON_VR.ROK_BUF_VREG_MASK = 1; // Perform read
e. FW to do Voltage strobing in next access to AON_VR register after
f. Wait for 1 usec;
g. FW to reset SCSS.AON_VR.VSEL_STROBE = 0; // Bit 5. Perform read
h. Wait for 2 usec; // Wait for 1.35V to take effect
CCU_LP_CLK_CTL.WAKE_PROBE_MODE_MASK regist ers identical to
Interrupt Mask registers.
SCSS.OSC0_CFG0.OSC0_HYB_SET_REG1.OSC0_CFG0[0] = 1;
FlashCtrl.CTRL.LVE_MODE = 1;
effect only with VSEL_STROBE. Perform read modify write along with
passcode.
modify write along with passcode.
setting up VSEL previously.
SCSS.AON_VR.VSEL_STROBE = 1; // Bit 5. Perform read mod write
along with passcode
mod write along with passcode
January 2016 Datasheet
Document Number: 333577-002EN 81
Intel® Quark™ microcontroller D2000
Power Up and Reset Sequence
11. FW to configure RAR Voltage regulator to operate in retention mode (Linear
Regulator). This step is needed as RAR in eSR switching regulator mode is
very inefficient (consumes more power) at low current loads.
a. Set ROK_BUF_VREG_MASK as AON_VR.ROK_BUF_VREG would go low
during retention mode. This ensures that logic that uses
ROK_BUF_VREG output from RAR are not falsely triggere d.
b. Set AON_VR.VREG_SEL to qLR/retention mode. VSEL_IN is set to
1.8V. VSEL_STROBE strobing is not required here as voltage is not
changed. Don’t do any voltage programming of RAR as Retention
voltage less than 1.8V is not POR, as it would make all IO pads nonfunctional. After 20 usec (no need to wait for this time), RAR would
come up in qLR retention mode delivering 300 uA max current.
External tank capacitor ensures that DVDD supply is maintained
without any drops or droops during this transition.
12. If wake source is any of AON Timer, RTC, GPIO interrupt, program
CCU_SYS_CLK_CTL.CCU_SYS_CLK_SEL to RTC Oscillator. This step is not
needed if wake source is only comparator and/or GPIO level triggered
interrupt (without GPIO debouncing).
13. SW/FW to execute HALT instruction.
a. Once core is halted, PMU will automatically clock gate processor clock
and memory subsystem clock. This reduces dynamic power consumed
by processor and memory subsystems (provided CCU_LP_CLK_CTL.
CPU_CPU_HALT_EN and CCU_LP_CLK_CTL.CPU_MEM_HALT_EN are
enabled). And also PMU will power down Hybrid oscillator and RTC
Oscillator as per respective OSC0_PD and OSC1_PD register bits.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
82 Document Number: 333577-002EN
Power Up and Reset Sequence
9.2.2 Power Sequence Analog Characteristics
The following table describes the analog characteristics of the blocks used in the SoC
power sequences.
Table 24. Power Sequence Analog Characteristics
Parameter Minimum Typical Maximum Units
Time taken to attain
regulation (from EN=0 to
1) eSR t
Time taken to attain
regulation (from EN=0 to
1) qLR t
Mode transition
(VREG_SEL = 1 to 0) to
VSEL_STROBE rising edge
teSR_setup
Mode transition
(VREG_SEL = 0 to 1) to
VSEL_STROBE rising edge
t
SETUP
VSEL_STROBE pulse
width t
ON
ON
STRB
0.15 ms
2 20 ms
2 us
500
1
9.2.3 Handling Power Failures
Power failure can occur if main power or battery is removed or brownout occurs.
On-die voltage regulator requires minimum 2.0V at PVDD to ensure 1.8V DVDD for
normal operation.
The SoC does not provide any brownout detection or indicator and relies on external
platform agents to handle brownout and to assert RST_N input pin.
ns
us
9.3 Reset Beha vior
The SoC supports three types of reset:
• Power On Reset
• Cold Reset
• Warm Reset
January 2016 Datasheet
Document Number: 333577-002EN 83
Intel® Quark™ microcontroller D2000
9.3.1 Power On Reset
The SoC provides an on-die circuitry to provide a power on reset when main power is
applied. The power on reset is asserted when the SoC is powering up and is released
when VCC_AON_1P8 has crossed a given threshold for a certain length of time.
The only mechanism to trigger a power on reset is to remove and then re-apply main
power.
Only indication to SoC that power recycling happened is RST_N input pin. Whenever
there is power recycle, RST_N is expected to be asserted and then de-asserted once
input power rail PVDD is within the operating voltage range [2.0V to 3.6V]. In case of
a power recycle, RST_N has to be kept asserted till DVDD core voltage is also stable
(internal voltage regulator has attained regulation, tROK_PROG < 100 usec). Hence
RST_N is taken as proxy of power-on reset
RST_N could be asserted at other times as well to trigger a complete SoC reset. Only
PVDD power recycle will restart the on-die voltage regulator. RST_N will reset the
entire SoC including System Control Subsystem (SCSS) and registers.
When RST_N is triggered, the following sequence occurs:
Power Up and Reset Sequence
1. A RST_N event is detected.
2. SCSS asserts POR_RST#, COLD_RST# and WARM_RST#.
3. Waits till RST_N is deasserted. Then deasserts POR_ RS T# used by SCSS logic
(PMU, CCU).
4. RAR Voltage Regulator is set to eSR Switchin g Regulato r mo de. Ensured by
default value of configuration register (AON_VR.VREG_SEL).
5. The RTC Pow er Down input is de-asserted. Hybrid Oscillator is enabled in
Silicon Oscillator mode at 4MHz Frequency Select. This is done by default
values of corresponding SCSS registers (OSC0_CFG0/1, OS C1_CFG0) which
are reset at cold reset.
a. This is to ensure that if the cold reset was triggered while in a
Sleeping state with the RTC disabled, the 32 kHz clock and Hybrid Si
Oscillator 4MHz get restarted.
b. The mux sel ect conf ig register (CCU_SYS_CLK_SEL) to choose system
clock is automatically set to select Hybrid Si Oscillator [Intel
®
Quark™
microcontroller D2000 can work without RTC clock].
c. Once the clock is running, the PMU accepts the cold reset request and
asserts both COLD_RST# and WARM_RST#.
6. PMU generates a str o be on VSEL_STROBE to RAR to put it in eSR mode at
1.8V VSEL_IN. Pulse width of VSEL_STROBE is based on
PM_WAIT.VSTRB_WAIT register. At the positive edge of VSEL_STROBE, RAR
deasserts ROK_BUF_VREG (if it is enabled/selected by VR_EN input).
a. When RAR is power recycled, RAR will default to eSR 1.8V mode
automatically. However at other times of RST_N, RAR may be in other
mode (for example, qLR Linear Regulator and non 1.8V). Hence this
strobing is done by PMU to get it predictably back to eSR 1.8V
regulation mode.
7. PMU waits for ROK_BUF_VREG from RAR to be asserted so that vol tage
regulator (VR) has attained regulation. In case RAR VR is bypassed by VR_EN
input pin, RAR VR keeps ROK_BUF_VREG asserted always.
8. COLD_RST# and WARM_RST# are released.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
84 Document Number: 333577-002EN
Power Up and Reset Sequence
9.3.2 Cold Reset
A cold reset will trigger a power cycle of the Host domain (Processor Subsystem,
Memory Subsystem, Peripheral Subsystem and Fabric) and trigger a reset of registers
both in the Host and AON (SCSS) domains. There is no reset cycling of most of AON
domain (SCSS) logic and also certain SCSS registers due to a cold reset.
Table 25. Cold Reset Triggers
Software writes 1 to RSTC.COLD Software Initiated via Reset Control Register
When a cold reset is triggered, the following sequence occurs:
1. A cold reset event is detected.
2. SCSS asserts COLD_RST# and WARM_RST#. Note that POR_RST# is not
asserted; RAR Voltage Regulator is not affected and continues to operate in
same mode as before.
3. Wait for cold reset triggers to get cleared.
a. Note that RSTC.COLD register bit gets cleared at COLD_RST#.
4. COLD_RST# and WARM_RST# are released.
Trigger Description
9.3.3 Warm Reset
A warm reset will trigger a reset of all Host domain logic and all non-sticky registers.
There is no power cycling of the Host or AON domains due to a warm reset. Intel®
Quark™ microcontroller D2000 is single always-on power domain for the entire design
(DVDD).
Table 26. Warm Reset Triggers
Software writes 1 to RSTC.WARM Software Initiated vi a Reset Control Reg ister
Watchdog Expires Host Halt Interrupt (Redirected to warm
reset)
lmt.shutdown Host processor shutdown. This triggers warm
When a warm reset is triggered, the following sequence occurs:
1. A warm reset event is detected.
2. SCSS asserts WARM_RST#. This resets host domain including processor core.
3. Wait for Warm Reset triggers to get cleared.
Trigger Description
This is achieved by unmasking
HOST_HALT_MASK register bit of a given
interrupt source along with
P_STS.HALT_INT_REDIR = 0.
Restriction of interrupt sources is given in
Note 1 below.
reset instead of CPU-only reset.
January 2016 Datasheet
Document Number: 333577-002EN 85
Intel® Quark™ microcontroller D2000
Power Up and Reset Sequence
a. Note that RSTC.WARM register bit gets cleared at WARM_RST#.
Similarly watchdog timer, processor and other interrupt generation
blocks are reset by warm reset.
4. WARM_RST# is released.
Note 1: Following interrupt sources are not to be redirected to trigger warm reset as
they will not get cleared due to warm reset, leading to SoC permanently under warm
reset. Only a power recycle or RST_N recycle will recover this condition.
Datasheet January 2016
86 Document Number: 333577-002EN
Thermal Management
10 Thermal Management
10.1 Overview
The Intel® Quark™ microcontroller D2000 SoC does not contain an integrated thermal
sensor.
Ambient temperature = -40°c to +85°c.
January 2016 Datasheet
Document Number: 333577-002EN 87
Intel® Quark™ microcontroller D2000
11 Processor Core
QuarkTM Core
JTAG
Lo c al A PIC
I/O APIC
AHB-Lite
Instruction TCM
Data TCM
IOs
32 IR Qs
The SoC provides a single core x86 processor with separate and independent Tightly
Coupled Memory (TCM) Interfaces for Instruction and Data.
Figure 8. Processor Core
Processor Core
11.1 Features
• Single Processor Core
• Single Instruction 5-stage pipeline
• 32-bit Processor with 32-bit Data Bus
• Native 32b AHB-Lite Interface
• 64b Data TCM Interface to Internal System SRAM
oData Transfers for addresses matching the Internal System SRAM range
will appear on the Data TCM Interface and transfers to address outside
this range will appear on the AHB-Lite Interface
•64b Instruction TCM Interface to Internal System Non-Volatile-Memory (NVM)
oInstruction Fetches for addresses matching the Internal NVM range will
appear on the Instruction TCM Interface and transfers to address outside
this range will appear on the AHB-Lite Interface
• Support for IA 32-bit with Pentium x86 ISA compatibility
• Support for CPUID Instruction
• Support for long NOP Instruction
• Time Stamp Counter (TSC) accessed with the RDTSC instruction
o Reset Vector of 0x0000_0150
o Little Endian
Intel® Quark™ microcontroller D2000
Datasheet January 2016
88 Document Number: 333577-002EN
Processor Core
Note: The processor does not provide an x87 Floating Point Unit (FPU) and does not support
x87 FPU instructions.
•Support for Paging included alth o ugh not required for the Intel® Quark™
microcontroller D2000 use case
o 2 Entry Instruction TLB (Translation Look-aside Buffer)
o 2 Entry Data TLB (Translation Look-aside Buffer)
• Single cycle 32bx32b 32b Multiplier (IMUL Instruction)
• Integrated Intel® Quark™ microcontroller D2000 Interrupt Controller (MVIC) with
support for 32 IRQs – some may be unused in Intel® Quark™ microcontroller
D2000.
•Supports C0 and C1 Processor Power States
o Supports Interrupt as Wake Event from C1
o Both Time Stamp Counter and LVT Timer run in C1 State
o STOP CLOCK feature is not supported and the xstpreqnn toplevel input is
tied off.
o Intel
o Time Stamp Counter and LVT Timer do not run when Intel
®
Quark™ microcontroller D2000 implements C2 capability of
processor by clock gating processor upon detecting HALT instruction
®
Quark™
microcontroller D2000 clock gates processor
January 2016 Datasheet
Document Number: 333577-002EN 89
Intel® Quark™ microcontroller D2000
11.2 Processor Memory Map
AHB
AHB
Loca l APIC (4KB)
IOAPIC (2 MB)
DTCM (512 KB)
ITCM (2MB)
0000 0000h
0028 0000h
0030 0000h
FEC0 0000h
FEE0 0000h
FFFF FF FFh
Data OTP (512 KB)
0020 0000h
The processor memory map for the Intel® Quark™ microcontroller D2000 SoC shall
cater for the planned subsequent derivative SoCs which are likely to include variations
in the amount of NVM and SRAM included in the SoC. Figure 8 shows the generic
processor memory map that will be applicable to Intel
D2000 and its derivatives.
Processor Core
®
Quark™ microcontroller
Figure 9. Generic Intel
®
Quark™ microcontroller D2000 Processor Memory Map
Intel® Quark™ microcontroller D2000
Datasheet January 2016
90 Document Number: 333577-002EN
The Reset Vector for the processor resides at 0000_0150h.
Processor Core
The CPU address map for Intel® Quark™ microcontroller D2000 is as follows:
Notes:
• Reset Vector from CPU is mapped to 0x150 and fal l s into OTP Code region.
• OPEN: In which of the above regions will LMT implement “wrap-around-protect”?
• This is Lakemont Memory view – not Intel® Quark™ microcontroller D2000
Memory view.
•N1: LMT routes memory writes to Instruction* regions towards AHB. These writes
are dropped by SoC’s Memory subsystem.
•N2: LMT routes writes to Data ROM region towards AHB. These writes are dropped
by SoC’s Memory subsystem.
•N3: These requests are treated, by SoC, in the same manner (including Access
Control) as normal memory read requests from LMT.
•N4: LMT routes such requests towards AHB. These requests are treated, by SoC,
in the same manner (including Access Control) as normal memory read requests
from LMT.
•Note that OTP Data (Data ROM Memory Type in 1st column of above table) resides
on AHB interface – from Lakemont perspective.
•Code accesses, if any, to DATA SRAM or DATA ROM regions (in 1st column of
above table) are routed to AHB by LMT. Similarly, data accesses, if any, to
Instruction Flash or Instruction RAM or Instruction ROM (in 1st column of above
table) are routed to AHB by LMT.
•Self-modifying code is not supported in Intel
®
Quark™ microcontroller D2000.
oHowever, if it happens, LMT will route writes to Instruction Flash region
towards AHB. These writes are dropped by SoC’s Memory subsystem. A
following read from LMT will appear on ITCM returning incorrect/previous
value in Flash.
•Intel
®
Quark™ microcontroller D2000 always completes a request on ITCM, DTCM
and AHB interfaces when address is out of bounds or there is an access violation.
•System addresses 0xFFFF_FFF0 and 0xFFFF_FFF8 are a special case by LMT and
get aliased to reset vector.
January 2016 Datasheet
Document Number: 333577-002EN 91
Intel® Quark™ microcontroller D2000
11.3 Main Fabric Bus Cycle Processing
The Lakemont CPU supports the following AHB-lite cycles:
• Code Read
• Memory Read (Data)
• Memory Write (Data)
The following sections describe the behavior of the SoC for all these supported types.
11.3.1.1 Code Reads
Code Reads that fall within the I-TCM memory address range will be forwarded to the
I-TCM interface. Code Reads outside of the ITCM range will be forwarded by default to
the AHB-lite fabric, this includes code reads to the DTCM range. Immediate data in
code fetches are also routed to AHB.
Access latency, as seen by the processor, to both Flash Code and OTP Code regions is
the same.
Address on ITCM interface is 19b DW address. Hence, total ITCM address space is
2MB of space. Lowest address bit is always driven to 0 by the processor since ITCM is
64b wide.
Processor Core
Address, issued by LMT, on ITCM is relative address. It starts from offset 0 with
respect to base address of 0x0.
All accesses on ITCM are 8B address aligned and 64b access. There is no burst and no
byte-enables. Hence, processor performs 2 read accesses f o r every 16B cacheline.
Processor cannot write to ITCM interface (either as probe mode or in any other way).
Protocol on ITCM allows for variable wait-state from Flash.
Processor routes all probe mode accesses towards AHB-Lite.
Attribute HPROT[0] = 0 on AHB-Lite interface indicates Code reads while HPROT[0] =
1 indicates Data accesses.
There is no burst support on AHB interface.
11.3.1.2 Memory Reads and Memory Writes
Memory accesses (data), both read and writes that fall within the D-TCM memory
range will be forwarded to the D-TCM interface. Memory accesses outside of the DTCM range will be forward to the AHB-lite fabric.
Memory accesses (data) are not allowed to access the I-TCM. Accesses to that region
will be forward to the AHB-lite fabric.
Processor only issues a single 32b request. All accesses on DTCM are 8B address
aligned and 64b access. Byte Enables indicate which 32b on 64b DTCM is valid – for
both reads and writes.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
92 Document Number: 333577-002EN
Processor Core
Address on DTCM interface is 18b DW address. Hence, total DTCM address space is
1MB. Lowest 3 address bits are always driven to 0’s by the processor.
Address, issued by LMT, on DTCM, is relative address and starts from of f set 0 with
respect to base address of 0x0028_0000. Only 512KB [0x0028_0 000 to 0x 002F_FFFF]
is mapped to DTCM on LMT.
LMT is an in-order machine with a single instruction in flight. AHB response in the
fabric for a memory write makes the write on AHB-Lite interface posted. Since there is
no L1 cache for processor, all transactions are uncached and hence serialized by
processor.
Processor routes all probe mode accesses towards AHB-Lite.
11.3.1.3 IO Reads and IO Writes
IO reads and writes are under SW control and SW must not issue them. These
requests are aliased into Memory address space on AHB-Lite interface.
11.3.1.4 Interrupt Acknowledge
Interrupt Acknowledge cycles are expected to be completed by the integrated MVIC.
There is no external interrupt controller connected to the AHB fabric that could provide
the interrupt vector information.
11.3.1.5 Special Cycles
The Lakemont processor provides special bus cycles to indicate that certain
instructions have been executed or certain conditions have occurred internally. This
section describes how the Intel® Quark™ microcontroller D2000 SoC handles each of
the special cycles.
11.3.1.5.1 Write-Back/Sync Special Cycle
The Writeback Special Cycle is generated by an x86 processor when a WBINVD
instruction is executed.
As the processor does not have an L1 cache, the WBINVD instruction is not required
to be executed and the Writeback Special cycle is not expected to appear on the main
fabric bus interface.
If the code contains a WBINVD, the processor’s behavior shall be to be to treat it as a
NOP.
11.3.1.5.2 Flush Ack Special Cycles
First Flush Acknowledge and Second Flush Acknowledge Special Cycles are generated
by Lakemont-class processor to indicate the completion of a cache flush in response to
the FLUSH# pin being asserted.
As the processor does not have a L1 cache, the FLUSH# pin will not used and Flush
Acknowledge Special Cycles are not expected to appear on the AHB-Lite interface.
January 2016 Datasheet
Document Number: 333577-002EN 93
Intel® Quark™ microcontroller D2000
If the processor generates a Flush Acknowledge Special cycle, it will be internally
acknowledged to allow the processor to make forward progress but it will not appear
on the AHB fabric or on any other external interface
11.3.1.5.3 Flush Special Cycle
The Flush Special Cycle is generated by an x86 processor when an INVD instruction is
executed.
As the processor does not have an L1 cache, the INVD instruction is not required to be
executed and the Flush Special cycle is not expected to appear on the main fabric bus.
If the code contains an INVD, the processor’s behavior shall be to be to treat this
instruction as a NOP.
11.3.1.5.4 Shutdown Special Cycle
The Shutdown Special Cycle is generated by Lakemont when a triple fault occurs. The
special cycle indicates that the processor has ceased program execution and is in the
shutdown state. The processor must be reset in order to exit the shutdown state.
Processor Core
If the processor generates a Special Cycle, it will be internally acknowledged and an
output on the external interface will be asserted. This signal can be used by an
external system agent to issue a reset to the processor.
In response to Shutdown, Intel
®
Quark™ microcontroller D2000 performs a warm
reset of SoC and cause of reset is logged in a sticky register.
11.3.1.5.5 Halt Special Cycle
The Halt Special Cycle is generated by an x86 processor when a HLT instruction is
executed.
If the processor generates a Halt Cycle, it will be internally acknowledged and an
output on the external interface will be asserted. This signal can be used by an
external system agent to issue take an action for power management or to track the
state of the processor.
When Intel
®
Quark™ microcontroller D2000 detects Halt cycle, it waits for a
programmable number of clocks (>6 clocks) before clock-gating the processor. Any
break event (interrupt or Probe Mode activity via xrsnn interface) restarts the clock.
Clock is not gated if any break event is pending. LMT JTAG activity does not ungate
clock.
11.3.1.5.6 Stop Grant Acknowledge Special Cycle
The Stop Grant Acknowledge Special Cycle is generated by a n x 86 processor when the
processor enter the Stop Grant state in response to STPCLK# being asserted.
If the processor generates a Stop Grant Acknowledge Special Cycle, it will be
internally acknowledged and an output on the external interface will be asserted. This
signal can be used by an external system agent to issue take an action for power
management or to track the state of the processor.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
94 Document Number: 333577-002EN
Processor Core
Intel® Quark™ microcontroller D2000 does not assert STPCLK# and hence Stop Grant
Acknowledge cycle is not generated by processor.
11.3.1.6 MSI
The SoC AHB fabric will not send MSIs to the processor so an external interface for
MSIs is not required.
MSIs may be exchanged between the components within integrated MVIC. However,
these MSIs remain internal to the processor sub-system and not no appear on the
AHB fabric.
BLV SoC does not assert NMI pin of LMT.
11.3.1.7 End of Interrupt
The processor subsystem provides an integrated MVIC. There are no other interrupt
controllers in the SoC. As a result, there is no need to signal EOI information to any
agent connected on the AHB fabric.
EOI information may be exchanged between the components within MVIC.
11.3.2 Mapping FSB to AHB
The processor core is a master on the internal SoC AHB fabric and a gasket to convert
from FSB protocol to AHB is provided. The operation of the gasket and the interface to
the AHB fabric is transparent to software.
11.3.2.1 Byte Enables
For read accesses on AHB-Lite interface, Lakemont always asserts all byte enables.
Lakemont does not issue burst reads or writes on AHB-Lite interface. For single writes,
byte enable handling is described in the following paragraphs.
Lakemont allows all combination of byte enables for 32-bit accesses provided that
there is at least one enabled byte and that the enabled bytes are contiguous. This
gives 10 valid 4-bit combinations for the byte enables, allowing 8-, 16-, 24- and 32bit transfers.
AHB only allows 8-, 16- and 32-bit transfers in a single beat as specified by HSIZE.
There is no support for 24-bit transfers.
In addition, the AMBA specification states that all transfers within a burst must be
aligned to the address boundary equal to the size of the transfer as specified by
HSIZE. This means that 16-bit transfers must start at 16b address boundary. In
certain cases (unaligned 16b transaction or 24b transactions), processor splits them
into 2 independent transactions on AHB Lite interface. AMBA specification also
requires all transfers be aligned to address boundary equal to the size of the transfer.
As described inTable 27, only 7 combinations are generated by processor on AHB-Lite
interface.
January 2016 Datasheet
Document Number: 333577-002EN 95
Note1: Processor does not issue transactions with Non-Contiguous Bytes.
AHB Fabric returns all 0’s as data if address is out of bound. On DTCM, when address
does not fall into SRAM region, SRAM controller returns data that is programmable via
a register. Similarly, on ITCM, when address does not fall into Flash Code or OTP Code
regions, Flash controller returns data that is programmable via a register.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
96 Document Number: 333577-002EN
The Intel® Quark™ microcontroller D2000 programmable interrupt controller i s based
on an extension of the interrupt controller in Intel® Quark™ microcontroller D1000. The
MVIC (Intel
default to support 32 external interrupt lines. Unlike the traditional IA LAPIC/IOAPIC,
the interrupt vectors in MVIC are fixed and not programmable. In addition, the priorities
of these interrupt lines are also fixed. The interrupt vectors corresponding to the 32
interrupt lines respectively are shown in Table 28.
Table 28: MVIC Interrupt Vector Assignmen t
®
Quark™ microcontroller D2000 Interrupt Controller) is configured by
The higher the vector number, the higher the priority of the interrupt. Higher priority
interrupts preempt lower priority interrupts. Lower priority interrupts do not preempt
higher priority interrupts. The MVIC holds the lower priority interrupts pending until the
interrupt service routine for the higher priority interrupt writes to the End of Interrupt
(EOI) register. After an EOI write, the MVIC asserts the next highest pending interrupt.
January 2016 Datasheet
Document Number: 333577-002EN 97
Intel® Quark™ microcontroller D2000
11.4.1 MVIC Registers
Reserved
31
8 7
0
Line Number
Reserved
31
8 7
0
Line Number
Memory Mapped AddressRegister NameAccess
Description
FEE00080hTPRR/WTask Priority Register
FEE000A0hPPRROProcess Priority Register
FEE000B0hEOIWOEnd- of-Interrupt Register
FEE000F0hSIVRR/WSpurio us I nterrupt Vector Register
FEE00110hI SRROIn-Service Register
FEE00210hIRRROInterrupt Request Register
FEE00320hLVTTIMERR/WLocal Vector Table Timer Register
FEE00380hICRR/WTimer Initial Count Register
FEE00390hCCRROTimer Current C ount Register
Table 29 enumerates all the programmable registers in the MVIC:
Table 29: MVIC registers
11.4.1.1 TPR
•SW writes to this register with a line number to set a priority threshold. The MVIC
will not deliver unmasked interrupts with line number lower than the TPR value.
•Since the vectors are fixed, the TPR is programmed with the corresponding interrupt
line number (0 to 31). Software should NOT program the vector into the TPR
register. The line number to vector mapping is done internal to the MVIC.
• If SW programs the TPR as 32, then all un-masked interrupts will not be delivered.
• Register Description :
Processor Core
11.4.1.2 PPR
The MVIC sets the PPR to either the highest priority pending interrupt in the ISR or
the current task priority, whichever is higher.
Intel® Quark™ microcontroller D2000
Datasheet January 2016
98 Document Number: 333577-002EN
0/Ignored
31
0
Reserved
31
8 7
0
Vec tor
31
0
3233
63 62
30
1
Processor Core
11.4.1.3 EOI
The EOI is set when CPU initiates a write to address FEE000B0h. Upon receipt of
the EOI write, the MVIC clears the highest-priority ISR bit, which corresponds to
the interrupt that was just serviced. The MVIC ignores the actual value written to
the EOI Register.
11.4.1.4 SIVR
SW writes the vector used for spurious interrupts to the SIVR
11.4.1.5 ISR
This register tracks interrupts that have already requested service to the core but
have not yet been acknowledged by SW. The MVIC set the bit in ISR (In-Service
Register) after the core recognizers the corresponding interrupt. The bit in the ISR
is cleared when SW writes to the EOI register. Bit N corresponds to the interrupt
request N for interrupt vectors 32 to 63.
January 2016 Datasheet
Document Number: 333577-002EN 99
Intel® Quark™ microcontroller D2000
31
0
3233
63 62
30
1
31
0
Line Number
MP
163
0 001
4567815
Reserved
1718
0
11.4.1.6 IRR
This register contains the active interrupt requests that have been accepted, but
not yet dispatched to the core for servicing. When the MVIC accepts an interrupt, it
sets the bit in the IRR that corresponds to the vector of the accepted interrupt.
When the core is ready to handle the next interrupt, it will sent an INTA cycle and
the MVIC clears the highest priority IRR (Interrupt Request Register) bit that is set
and sets the corresponding ISR bit. Note that if the interrupt line for the IRR is not
cleared, then the IRR bit will NOT be cleared when the INTA is sent by the CPU.
11.4.1.7 LVTTIMER
• Is used to inject an interrupt when the timer inside the MVIC expires.
• In the current implementation, lines 0 to 15 can be used to inject timer i nterrupts
to the CPU.
•SW can programs bits 3-0 of the LVTTIMER register to indicate which interrupt line
needs to be converted into a timer interrupt. Based on the line programmed , when
the timer expires, the MVIC will inject the corresponding vector (0x20 to 0x2f). This
interrupt line must be configured for edge mode.
• Bit 16 is the mask bit
• Bit 17 is the periodic mode bit.
Processor Core
Intel® Quark™ microcontroller D2000
Datasheet January 2016
100 Document Number: 333577-002EN
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.