Table 6.16.5-1 The relation between resolution and conversion cycles ...................................... 762
Table 6.16.5-2 EADC Power Saving Mode .................................................................................. 769
Table 6.16.5-3 EADC minimum sampling time ............................................................................ 770
Table 6.19.5-1 Example for DMIC bus clock and OSR configuring ............................................. 868
Table 6.20.5-1 Short Term Power Attack Time Selection ............................................................ 883
Table 6.20.5-2 Long Term Power Attack Time Selection ............................................................ 883
Table 6.20.5-3 Power Threshold Reference ................................................................................ 884
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 17 of 928 Rev1.09
Page 18
ISD94100 Series Technical Reference Manual
1 GENERAL DESCRIPTION
The ISD94100 s er ies 3 2-bit microcontrollers are an em bedd ed A RM® Cortex®-M4F core wit h D SP
extensions and a Floating Point Unit which run up to 200 MHz. It pro vides up to 512 KB of flash
memory and up to 192 KB of SRAM. It is ideal for consumer product applications which need
communication interfaces and high computing power.
The ISD94100 is also equipped with a variety of peripheral devices, such as Multi-Function Timers,
Watchdog Tim ers, RTC, PD MA, UART, SPI, I
voltage reset and Brown-o ut Detector. In add ition, it supports plenty of audio peripherals such as
2
S, DMIC and audio DPWM modulator.
I
The ISD94100 series is suitable for a wide range of applications such as:
Audio Processing Platform
Consumer Products
Industrial Automation
Home Automation
Security Alarm System
System Supervisors
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
2
C, PWM, GPIO, 12-bit AD C, USB1.1 De vice, Low
Sep 9, 2019 Page 18 of 928 Rev1.09
Page 19
ISD94100 Series Technical Reference Manual
2 FEATURES
2.1 ISD94100 Series Features
Core
– ARM
– Supports DSP extension with hardw are di vider
– Supports IEEE 754 compliant Floating-point Unit (FPU)
– Supports Memory Protection Unit (MPU)
– One 24-bit system timer
– Supports Low Power Sleepmode by WFI and WFE instructions
– Single-c ycle 32-bit hardware multiplier
– Supports programmable 16 level priorities of Nested Vectored Interrupt Controller
Built-in LDO for wide operating voltage range
Flash Memory
– Up to 512KB on-chip Application ROM (APROM)
– Configurable program code/data allocation
– 4 KB Flash for loader (LDROM)
– Supports 2-wire ICP update through SWD/ICE interface
– Supports In-system program (ISP), In application program (IAP) update
– Supports 4 KB page erase for all embedded flash
– Supports 4 KB two-way cache to reduce power consumption and improve
– Enhanced performance up to 3.4 Core Mark/MHz when running code in Flash with
– Supports 2-wire ICP flash updating through SWD interface
– Supports 32-bit/64-bit and multi-word flash programming function.
– Supports fast flash programming verification by CRC function.
SRAM
®
Cortex®-M4F core running up to 200 MHz
(NVIC)
performance.
cache
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
– Up to 192 KB embedded SRAM
– 32 KB SRAM in bank 0 that supports hardware parity check and retention mode
– Supports byte-, half-word- and word-access
– Supports exception (NMI) generated once a parity check error occurs
– Supports PDMA mode
Clock Control
– Built-in 48.0 MHz or 49.152 MHz selectable internal high speed RC oscillator (HIRC) for
system operation
– Built-in 10 k Hz internal low speed RC oscillator (LIR C) for W atchdog Tim er and wake-
up operation
– 4~24.576 MHz external high speed crystal oscillator (HXT) for precise timing operation
– 32.768 kHz ex ternal lo w sp eed c rystal osci llator (LXT ) f or RT C f unction and low-power
Sep 9, 2019 Page 19 of 928 Rev1.09
Page 20
ISD94100 Series Technical Reference Manual
system operation
– Supports one PLL up to 500 MHz for high performance system operation, sourced from
HIRC or HXT
– Supports clock failure detection for high/low speed external crystal oscillator
– Supports exception (NMI) generation once a clock failure detected
– Supports clock output
GPIO
– Supports four I/O modes:
Quasi bi-direction
Push-Pull output
Open-Drain output
Input only with high impendence
– TTL/Schmitt trigger input selectable
– I/O pin configured as interrupt source with edge/level trigger setting
– Supports high slew driver and high sink current I/O (up to 20mA at 3.3V)
– Supports software selectable slew rate control
– Supports 5V tolerance function on subset of GPIO except analog I/O
PDMA (Peripheral DMA)
– Supports 16 independent configurable channels for automatic data transfer between
memories and per ipher a ls
– Supports stride function.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
– Channel 0, 1 supports time-out function for each channel.
– Supports Basic and Scatter-Gather Transfer modes
– Each channel supports circular buffer management using Scatter-Gather Transfer mode
– Supports two types of priorities modes: Fixed-priority and Round-robin modes
– Supports byte-, half-word- and word-access
– Supports single and burst transfer type
– Supports source and destination address can be increment or fixed.
– DMA transfer count up to 65536.
Multi-Function Timer (MFT, Timer + PWM)
– TIMER mode
Supports 4 sets of 32-bit timers with 24-bit up-timer and 8-bit prescale counter,
24-bit up counter value is readable.
Independent clock source for each timer
Provides One-shot, Periodic, Toggle and Continuous Counting operation modes
Supports event counting function to count the event from external pin
Supports input capture function to capture or reset counter value
Supports external capture pin event for interval measurement.
Supports external capture pin event to reset 24-bit up counter.
Supports chip wake-up from Idle/Power-down mode if a timer interrupt signal is
generated
Support Timer0 ~ Timer3 time-out interrupt signal or capture interrupt signal to
trigger PWM, EADC and DMA.
Supports Inter-Timer trigger mode
– PWM mode
Supports four 16-bit PW M counters with 10-bit dead time generator
Supports 12-bit pre-scale for PWM.
Sep 9, 2019 Page 20 of 928 Rev1.09
Page 21
PWM
– Supports up to 6 independent PWM outputs with 16-bit resolution
– Supports maximum clock frequency up to 200MHz
– Supports 12-bit clock prescale
– Supports dead time with maximum divided 12-bit prescale
– Supports one-shot or auto-reload counter operation mode
– Supports up, down or up-down PWM counter type
– Supports synchronous function for phase control
– Supports counter synchronous start function
– Supports complementary mode for 3 complementary paired PWM output channel
– Supports brake function with auto recovery after brake condition removed
– Supports mask function and tri-state output for each PWM channel
– Supports trigger EADC to start conversion
– Supports up to 6 independent input captur e channels with 16-bit resolution counter
Watchdog Timer
ISD94100 Series Technical Reference Manual
Supports independent mode for PWM output channel
Supports 8 channel PWM outputs in complementary mode
Supports mask function and tri-state enable for each PWM pin
Supports interrupt on the following events:
PWM counter match zero, period value or compared value
Supports trigger EADC on the following events:
PWM counter match zero, period value or compared value
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
– 18-bit free running up counter for WDT time-out interval
– Supports multiple clock sources from LIRC (default selection), HC L K/2 048 an d LX T
– 8 selectable time-out period from 1.6ms ~ 26.0sec (depending on clock source)
– Able to wake up from Power-down or Idle mode
– Interrupt or reset selectable on watchdog time-out
– Supports selectable WDT reset delay period, including 1026、130、18 or 3 WDT_CLK
reset delay period
– Configurable to force WDT enable after chip power-on or reset.
– Supports WDT time-out wake-up function only if WDT clock source is selected as LIRC
or LXT
Window Watchdog Timer
– Supports multiple clock sources from HCLK/2048 (default selection) and LIRC
– Window set by 6-bit counter with 11-bit prescale
– WWDT counter suspends in Idle/Power-down mode
RTC
– Supports software compensation by setting frequency compensate register
(FCR),compensated clock accuracy reaches ±5ppm within 5 seconds
– Supports RTC counter (second, minute, hour) and calendar counter (day, month, year)
– Supports Alarm registers (second, minute, hour, day, month, year)
– Selectable 12-hour or 24-hour mode
– Automatic leap year recognition
– Supports Day of the Week counter
Sep 9, 2019 Page 21 of 928 Rev1.09
Page 22
ISD94100 Series Technical Reference Manual
– Supports periodic time tick interrupt with 8 period options 1/128, 1/64, 1/32, 1/16, 1/8,
1/4, 1/2 and 1 second
– Supports 1 Hz, clock output
– Supports wake-up from idle mode, Power-down mode and Standby Power-do wn mode
– Supports 32 kHz Oscillator gain control
– Supports RTC Time Tick and Alarm Match interrupt
– Support Time stamp
UART
– Supports low power UART (LPUART): baud rate clock from LXT(32.768 kHz) with
9600bps in Power-down mode even system clock is stopped
– Support baud rate up to 12.5 MHz
– Supports 16-byte FIFOs with programmable level trigger
– Supports auto flow control ( CTS and RTS)
– Supports RS-485 9-bit mode and direction control
– Programmable baud-rate generator up to 1/16 system clock
– Programmable receiver FIFO trigger level
– Supports wake-up function
– Supports 8-bit receiver FIFO time-out detection function
– Supports Auto-Baud Rate measurement and baud rate compensation function
– Supports break error, frame error, parity error and receive/transmit FIFO overflow
– Supports hardware or software enables to program nRTS pin to control RS-485
transmission direction
– Supports PDMA mode
2
C
– Supports up to two sets of I
– Supports Master/Slave mode
– Bidirectional data transfer between masters and slaves
– Multi-master bus (no central master)
– Supports 10 bits mode
– Support High speed mode 3.4Mbps
– Supports Standard mode (100 kbps), Fast mode (400 kbps) and Fast mode plus (1
Mbps)
– Arbitration between simultaneously transmitting masters without corruption of serial
data on the bus
– Serial clock synchronization allows devices with different bit rates to communicate via
one serial bus
– Serial clock synchronization can be used as a handshake mechanism to suspend and
resume serial transfer
– Programmable clocks allow versatile rate control
– Supports multiple address recognition (four slave address with mask option)
– Supports SMBus and PMBus
Sep 9, 2019 Page 22 of 928 Rev1.09
2
C devices
Page 23
ISD94100 Series Technical Reference Manual
– Supports multi-address Power-down wake-up function
2
S
I
– Supports one I
– Interface with external audio CODEC
– Supports Master and Slave mode
– Capable of handling 8-, 16-, 24- and 32-bit word sizes
– Mono and stereo audio data
2
S protocols: Philips standard, MSB-justified, and LSB-justified data format
– I
– PCM protocols: PCM standard, MSB-justified, and LSB-justified data format
– PCM protocol supports TDM multi-channel transmission in one audio sample, the number of
data channels can be set as 2, 4, 6, or 8
– Two 16-level FIFO data buffers, one for transmitting and the other for receiving
– Generates interrupt requests when buffer levels cross a programmable boundary
– Supports two DMA requests, one for transmitting and the other for receiving
SPI0
– SPI Quad controller – SPI0
– Supports Master or Slave mode operation
– Supports 2-bit Transfer mode
– Supports Dual and Quad I/O Transfer mode
– Supports one/two data channel half-duplex transfer
– Support receive-only mode
– Configurable bit length of a transfer word from 8 to 32-bit
– Provides separate 8-level depth transmit and receive FIFO buffers
– Supports MSB first or LSB first transfer sequence
– Supports the byte reorder function
– Supports Byte or Word Suspend mode
– Supports 3-wired, no slave select signal, bi-direction interface
– Master up to 25 MHz, and Slave up to 25 MHz (when chip operating at V
– Supports PDMA mode
2
SPI / I
S
2
S interface
= 2.7~3.6V)
DD
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
– Supports two sets of SPI/ I2S controllers – SPI 1/ SPI2
– Supports Master or Slave mode operation
– Supports two PDMA requests, one for transmitting and the other for receiving
– SPI supports configurable bit length of a transfer word from 8 to 32-bit
– SPI Provides separate 4-level of 32-bit (or 8-level of 16-bit) transmit and receive FIFO
buffers which depended on SPI setting of data width
– SPI supports MSB first or LSB first transfer sequence
– SPI supports the byte reorder function
– SPI supports Byte or Word Suspend mode
– SPI supports one data channel half-duplex transfer
– SPI supports receive-only m ode
– I2S interface with externa l aud io CODEC
Sep 9, 2019 Page 23 of 928 Rev1.09
Page 24
ISD94100 Series Technical Reference Manual
– I2S supports Master and Slave mode
– I2S supports 8-, 16-, 24- and 32-bit audio data sizes
– I2S supports mono and stereo audio data
– I2S supports PCM mode A, PCM mode B, I2S and MSB justified data format
– I2S Interface with external audio CODEC
– I2S provides two 4-level FIFO data buffers, one for transmitting and the other for
receiving
– Generates interrupt requests when buffer levels cross a programmable boundary
EADC
– Analog input voltage range: 0~ AV
– Supports single 12-bit SAR EADC conversion
– 12-bit resolution and 10-bit accuracy is guaranteed
– Up to 13 external single-ended analog input channels
– Up to 2 MSPS conversion rate
– Supports three power saving modes:
Deep Power-down mode.
Power-down mode.
Standby mode.
– Supports single EADC interrupt
– Supports calibration and load calibration words capability.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
– An A/D conversion can be triggered by Software enable, External pin, Timer 0~3
overflow pulse trigger and PW M trigger.
– 12-bit, 10-bit, 8-bit, 6-bit configurable resolution.
– Maximum EADC clock frequency is 60 MHz.
– Configurable EADC int erna l sampling time.
– Up to 13 sample modules
Each of sample module 0~12 which is configurable for EADC converter channel
EADC_CH0~12 and trigger source.
Double buffer for sample module 0~3
Configurable sampling time for each sample module.
Conversion results are held in 13 data registers with valid and overrun
indicators.
– Supports PDMA transfer
USB 1.1 Device Controller
DD
– Compliant with USB 2.0 Full-Speed specification
– Provides 1 interrupt vector with 4 different interrupt events (NEVWK, VBUSDET, USB
and BUS)
– Supports Control/Bulk/Interrupt/Isochronous transfer type
– Supports suspend function when no bus activity existing for 3 ms
– Supports 12 endpoints for configurable Control/Bulk/Interrupt/Isochronous transfer
types and maximum 1k bytes buffer size
– Provides remote wake-up capability Programmable initial value
Digital Microphone Inputs
– Provides one 32-level FIFO data buffers for receiving.
– Generates interrupt requests when buffer levels cross a programmable boundary.
Sep 9, 2019 Page 24 of 928 Rev1.09
Page 25
ISD94100 Series Technical Reference Manual
– Supports PDMA transfer.
– Supports up to four channel digital microphones.
– Both digital PDM microphone inputs can be used simultaneously.
Voice Active Detection
– Configuration detect levels.
– Supports idle mode wake-up function.
– Supports auto switch DMIC path when CPU wake-up by VAD.
– Generates interrupt requests when voice detected.
Audio DPWM Modulator
– Differential Audio PWM Output (DPWM)
– Supports left channel, right channels and sub-woofer channel.
– Supports sample rate from 16~96 kHz
– Programmable biquad filter with 10 band.
– PDMA data channel for streaming of PCM audio data.
– Supports the single precision floating point for input data and BIQ coefficient.
– Provides one 32-level FIFO data buffers for transmitting.
Cyclic Redundancy Calculation Unit
– Supports four common polynomials CRC-CCITT, CRC-8, CRC-16, and CRC-32
– Programmable initial value
– Supports programmable order reverse setting for input data and CRC checksum
– Supports programmable 1’s complement setting for input data and CRC checksum.
– Supports 8-/16-/32-bit of data width
– Programmable seed value
– 8-bit write mode: 1-AHB clock cycle operation
– 16-bit write mode: 2-AHB clock cycle operation
– 32-bit write mode: 4-AHB clock cycle operation
– Supports using DMA to write data to perform CRC operation
Brown-out Detector
– With 8 levels: 3.0V/2.8V/2.6V/2.4V/2.2V/2.0V/1.8V/1.6V
– Supports Brown-out Interrupt and Reset option
Low Voltage Reset
– Threshold voltage levels: 1.5V
Operating Temperature: -40℃~85℃
Packages
– All Green package (RoHS)
– QFN 48-pin (6x6 mm)
LQFP 64-pin (7x7 mm)
–
–
LQFP 64-pin (10x10 mm)
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 25 of 928 Rev1.09
Page 26
ISD94100 Series Technical Reference Manual
3 ABBREVIATIONS
3.1 Abbreviations
Acronym
ACMP
ADC Analog-to-Digital Converter
AES Advanced Encryption Standard
APB Advanced Peripheral Bus
AHB Advanced High-Performance Bus
BOD Brown-out Detection
CAN Controller Area Network
DAP Debug Access Port
DES Data Encryption Standard
DMIC Digital Microphone Inputs
DPWM Audio DPWM Modulator
EBI External Bus Interface
EPWM Enhanced Pulse Width Modulation
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
FIFO First In, First Out
FMC Flash Memory Controller
Description
Analog Comparator Controller
FPU Floating-point Unit
GPIO General-Purpose Input/Output
HCLK The Clock of Advanced High-Performance Bus
HIRC High Speed RC Oscillator
HXT External High Speed Crystal Oscillator
IAP In Application Programming
ICP In Circuit Programming
ISP In System Programming
LDO Low Dropout Regulator
LIN Local Interconnect Network
LIRC 10 kHz internal low speed RC oscillator (LIRC)
MPU Memory Protection Unit
NVIC Nested Vectored Interrupt Cont rol ler
PCLK The Clock of Advanced Peripheral Bus
PDMA Peripheral Direct Memory Access
PLL Phase-Locked Loop
Sep 9, 2019 Page 26 of 928 Rev1.09
Page 27
ISD94100 Series Technical Reference Manual
PWM Pulse Width Modulation
QEI Quadrature Encoder Interface
SD Secure Digital
SPI Serial Peripheral Interface
SPS Samples per Second
TDES Triple Data Encryption Standard
TMR Timer Control l er
UART Universal Asynchronous Receiver/Transmitter
UCID Unique Customer ID
USB Universal Seri al Bus
VAD Voice Active Detection
WDT Watchdog Timer
WWDT Window Watchdog Timer
Table 3.1-1 List of Abbreviations
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 27 of 928 Rev1.09
Page 28
ISD94100 Series Technical Reference Manual
24
ARI
24
BRI
24
ADI
24
CDI
24
DDI
24
PDI
24
EDI
13
ADI
24
BYI
23
BYI
13
BYI
Max. CPU frequency
(MHz)
Acoustic Echo
Cancellation
Noise
Reduction
Voice
Recognition
LQFP 64
(10x10 mm)
LQFP 64
(7x7 mm)
QFN 48
(6x6 mm)
4 PARTS INFORMATION LIST AND PIN CONFI GURATION
4.1 Parts Information
PART NUMBER
ISD941
100 200
Flash (KB)
SRAM (KB)
ISP Loader ROM (KB)
I/O
32-bit Timer
RTC
UART
SPI
SPI/I2S
Connectivity
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
I2S
I2C
PWM
58 57 41
512 256 512 256
192 128 192 128
4
4
√
1
1
2
1
2
6 5
USB 1.1 FS Device
12-bit ADC
Audio DPWM
Audio
Function
Beamforming
Input
Processing
Package
VAD
DMIC
- √
13 12
2.1 -- 2.1 √ - √ 4 - 4 -
- √-
- √-
- √-
- √- √-
Table 4.1-1 Devices Features and Peripheral Counts
Sep 9, 2019 Page 28 of 928 Rev1.09
Page 29
ISD Audio
Product Family
Package Type
Y: QFN48
(6x6 mm)
D: LQFP64
(7x7 mm)
R: LQFP64 (10x10 mm)
Family ID
1: Family Series ID
Temperature
I: -40℃ ~ +85℃
Product Series
4: Cortex-M4F
Flash ROM
Feature
A: Standard
B: Basic, no Audio
C: Standard + Voice Recognition
D: Standard + Beamforming + Noise Reduction
P: Standard + Beamforming + Noise Reduction + Voice Recognition
1. Part number ISD941XXBYI and ISD941XXBRI do not provide DPWM and DMIC functionality.
Table 4.4-1 Pin Descript ion
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 42 of 928 Rev1.09
Page 43
ISD94100 Series Technical Reference Manual
EADC0_CH0
EADC0_CH1
EADC0_CH2
EADC0_CH3
EADC0_CH4
EADC0_CH5
EADC0_CH6
EADC0_CH7
EADC0_CH8
EADC0_CH9
EADC0_ST
TM0
TM0_EXT
INT0
TM1
TM1_EXT
I2C0_SCL
I2C0_SDA
TM2
TM2_EXT
PWM0_CH0
PWM0_CH1
PWM0_CH2
PWM0_CH3
PWM0_CH4
PWM0_CH5
I2S0_D
I2S0_DO
I2S0_MCLK
X32_OUT
X32_IN
4.5 GPIO Alternate Function Summary
MFP* = Multi -f unct i on pi n. (Reference secti on )
Pin function is defined in SYS_GPx_MFPx registers. For example PA0~7 pin functions are defined in SYS_GPA_MFPL register,
and PA8~15 pin functions are defined in SYS_GPA_MFPH register.
The Cortex®-M4 processor, a co nfigurable, multistage, 32-bit RI SC processor, has three AMBA
AHB-Lite interfaces for best parallel performance and includes an NVIC component. The processor
with optional hard ware deb ug functi onality c an execut e Thum b code and is c ompatible with oth er
®
Cortex
Handler mode is entered a s a result of an exception. An ex ception return can onl y be issued in
Handler mode. Thr ead m ode is enter ed o n Res et, an d can be e ntere d as a res ult of an exception
return. The Cortex
includes floating point arithmetic functionality. The ISD94100 series contains an embedded
Cortex
M4 and Cortex
processor.
-M profile processo rs. The profile sup ports two m odes -Thread mode an d Handler mode.
®
-M4F is a processor with the same capability as the Cortex®-M4 processor and
®
-M4F processor. Thr oughout this docum ent, the nam e Cortex®-M4 refers to both Cort ex®-
®
-M4F processors. The following figure shows the functional controller of the
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Figure 6.1-1 Cortex®-M4 Block Diagram
®
Cortex
-M4 processor features:
A low gate count processor core, with low latency interrupt processing that has:
A subset of the Thumb instruction set, defined in the ARMv7-M Architecture
Reference Manual
Sep 9, 2019 Page 46 of 928 Rev1.09
Page 47
ISD94100 Series Technical Reference Manual
Banked Stack Pointer (SP)
Hardware integer divide instructions , SDI V and UDIV
Handler and Thread modes
Thumb and Debug states
Support for interruptible-co ntinued instructions LDM, ST M, PUSH, and POP for
low interrupt latency
Automatic processor state saving and restoration for low latency Interrupt Service
Routine (ISR) entry and exit
Support for ARMv6 big-en d ian byte-invariant or little-endian accesses
Support for ARMv6 unaligned accesses
®
Floating Point Unit (FPU) in the Cortex
32-bit instructions for single-precision (C float) data-processing operations
Combined Multipl y and Accumulate instructions f or increased precision (Fuse d
MAC)
Hardware support for conversion, addition, subtraction, multiplication with optional
accumulate, division, and square-root
-M4F processor providing:
Hardware support for denormals and all IEEE rounding modes
32 dedicated 32-bit single precision registers, also addressable as 16 double-word
registers
Decoupled three stage pipeline
Nested Vectored Interrupt Contr o ll er ( NVIC) clos ely integrated with the proces s or core
to achieve low latency interrupt processing. Features include:
External interrupts. Conf igurable from 1 to 240 (the ISD94100 series configur ed
with 97 interrupts)
Bits of priority, configurable from 3 to 8
Dynamic reprioritization of interrupts
Priority grouping which en ables s elect ion of pr eem pting int errupt levels a nd non-
preempting interrupt levels
Support for tail-chaining and late arrival of interrupts, which enables back-to-back
interrupt processing without the overhead of state saving and restoration between
interrupts.
Processor state autom atically sa ved on inter rupt e ntry, and restore d on inter rupt
exit with on instruction overhead
Support for Wake-up Interrupt Controller (WIC) with Ultra-low Power Sleep mode
Memory Protection Unit (MPU). An optional MPU for memory protection, includin g:
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Eight memory regions
Sub Region Disable (SRD), enabling efficient use of memory regions
The ability to enable a background region that im plements the default memor y
map attributes
Low-cost debug solution that features:
Debug access to all memory and registers in the system, including access to
Sep 9, 2019 Page 47 of 928 Rev1.09
Page 48
ISD94100 Series Technical Reference Manual
memory mapped devices, access to internal core registers when the core is
halted, and access to debug control registers even while SYSRESETn is asserted.
Serial Wire Debug Port(SW-DP) debug access
Optional Flash Patch and Breakpoint (FPB) unit for implementing breakpoints and
code patches
Optional Data Watc hpoint and Trace (DWT) unit for im plementing watchpoints,
data tracing, and system profiling
Optional Instrumentation Trace Macrocell (ITM) for support of printf() style
debugging
Optional Trace Port Interf ace Unit (TPIU) for bridgin g to a Trace Port Analyzer
(TPA), including Single Wire Output (SWO) mode
Bus interfaces:
Three Advanced High-performance Bus-Lite (AHB-Lite) interfaces: ICode, Dcode,
and System bus interfaces
Private Peripheral Bus (PPB) based on Advanced Peripheral Bus (APB) interface
Bit-band support that includes atomic bit-band write and read operations.
Memory access alignment
Write buffer for buffering of write data
Exclusive access transfers for multiprocessor systems
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 48 of 928 Rev1.09
Page 49
ISD94100 Series Technical Reference Manual
Low Voltage
Reset
Power-on
Reset
Brown-out
Reset
Reset Pulse Width
~3.2ms
WDT/WWDT
Reset
System Reset
~50k ohm
@3.3v
Reset Pulse Width
2 system clocks
nRESET
V
DD
CHIP Reset
CHIPRST(SYS_IPRST0[0])
CPU Reset
CPURST(SYS_IPRST0[1])
CPU Lockup
Reset
MCU Reset
SYSRSTREQ(AIRCR[2])
LVREN(SYS_BODCTL[7])
BODRSTEN(SYS_BODCTL[3])
POROFF(SYS_PORCTL[15:0])
Reset Pulse Width
64 WDT clocks
Reset Pulse Width
2 system clocks
Glitch Filter
66 us
Software Reset
6.2 System Manager
6.2.1 Overview
System management includes the following sections:
System Reset
System Power Distribution
SRAM Memory Organization
System Timer (SysTick)
Nested Vectored Interrupt Controller (NVIC)
System Control register
6.2.2 System Reset
A system reset sets all registers to their rese t values except s ome of the registers listed in Table
6.2.2-1, whic h wil l maintain their or ig in a l va lu es after reset.
A system reset can be trigger ed b y one of the nine so urces listed belo w. The reset source can be
identified by checking the reset flag bits in the System Reset Status Register (SYS_RSTSTS).
Hardware Reset Sources
- Power-on Reset
- Low level on the nRESET pin
- Watchdog Time-out Reset and Window Watchdog Reset (WDT/WWDT Reset)
- Low Voltage Reset (LVR)
- Brown-out Detector Reset (BOD Reset)
- CPU Lockup Reset
Software Reset Sources
- CHIP Reset: writing 1 to CHIPRST (SYS_IPRST0[0]) will reset whole chip.
- MCU Reset: writing 1 to SYSRESETREQ (AIRCR[2]) will reboot the device,
according to the boot selection defined in configuration byte CONFIG0.
- CPU Reset: writ ing 1 to CPUR ST (SYS_IPRST 0[1]) will reset Cortex
Only.
®
-M4 core
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 49 of 928 Rev1.09
Page 50
ISD94100 Series Technical Reference Manual
Bit 0 = 1
Bit 2 = 1
Bit 7 =
0x0
-
Reload
from
CONFIG0
Reload
from
CONFIG0
Reload
from
CONFIG0
Reload
from
CONFIG0
0x0
-
0x1
0x1
Reload
from
CONFIG0
Reload
from
CONFIG0
0x3
-
0x0
-
0x0
-
0x0
-
0x1
-
0x0
-
Reload
from
CONFIG0
Reload
from
CONFIG0
Figure 6.2-1 System Reset Sources
There are a total of 9 res et s ourc es in the ISD94100 series . In g ener a l, C PU r ese t is us ed to res et
®
Cortex
are small differences between each reset source and they are listed in Table 6.2.2-1.
Reset Sources
Register
-M4 only; the other reset sources will reset Cortex®-M4 and all peripherals. However, there
Note: ‘-‘ means that the value of register keeps original setting.
Table 6.2.2-1 Reset Value of Registers
6.2.2.1 nRESET Reset
nRESET is t riggered by pul ling nRESET pin low. nRESET pin is an asynchr onous reset input pin
so that it can be used to reset the system any time.
Pull nRESET pin to < 0.3 * V
voltage (> 0.7* V
) presented on nRESET pin f or >66us can exit the reset state. See nR ESET
DD
reset waveform in Figure 6.2-2.
After an nRES ET reset, the PINRF bit (SYS_RSTST S[1]) wi ll b e set , indicating the previous res et
source is an nRESET reset. Writing 1 to PINRF clears the bit.
f or > 66us will reset the chip. Once entered reset state, only high
DD
Figure 6.2-2 nRESET Reset Waveform
Sep 9, 2019 Page 51 of 928 Rev1.09
Page 52
ISD94100 Series Technical Reference Manual
V
DD
V
BODL
BODOUT
BODRSTEN
Brown-out
Reset
T
1
(< BODDGSEL)
T
2
(= BODDGSEL
)
T
3
(= BODDGSEL)
Hysteresis
V
BODH
6.2.2.2 Power-on Reset (POR)
System power-on gen erate s the Po wer-on r eset (POR). When po wer is app lie d, the POR m odule
detects the rising voltage and generates reset signal. The reset signal stays active until the voltage
is ready for MCU operation . PORF bit (SYS_RST STS[0]) wil l be set to 1 to indicate a POR reset
event. The PORF bit (SYS_RSTSTS[0]) can be cleared by writing 1 to it.
6.2.2.3 Low Voltage Reset (LVR)
Writing 1 to LVREN bit (SYS_BODCTL[7]) enables the Low Voltage Reset (LVR) function. If enabled,
the LVR function module keeps monitoring V
voltage has been lo wer than V
If V
DD
LVR
Once triggered, the LVR reset keeps the chip in reset state until the V
been above V
LVR
.
By default, Low Voltage Reset is enabled without De-glitch function.
6.2.2.4 Brown-out Detector Reset (BOD Reset)
Writing 1 to Brown-out Detector Enable Bit BODEN (SYS_BODCTL[0]) enables the Brown-out
Detector (BOD) func ti on. In addition, wr iti ng 1 t o t he B O DRSTEN (SYS_BODCT L[3]) ena bl es th e
BOD reset function. When enabled, the BOD module monitors V
voltage is lower than V
time (defined by BODDGSEL bits in SYS_BODCTL[10:8]), a BOD reset will be triggered. The BOD
reset keeps the chip in res et state until a condition is met that V
for more than De-glitch time (defined b y BODDGSEL).
V
BOD
Initial values of BODEN, BODVL and BODRSTEN (SYS_BODCTL[3]) are defined in flash
configuration byte CONFIG0. Figure 6.2-3 shows the Brown-out Detector waveform.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
(defined by BODVL bits in SYS_BODCTL[18:16]) for more than De-glitch
BOD
during system operation.
DD
, a LVR reset will be triggered and the chip wil l be reset.
voltage rises back and has
DD
during system operation, if VDD
DD
voltage has been higher than
DD
Figure 6.2-3 Brown-out Detector (BOD) Waveform
Sep 9, 2019 Page 52 of 928 Rev1.09
Page 53
ISD94100 Series Technical Reference Manual
Normal /
6.2.2.5 Watchdog Timer Reset ( WDT)
A Watchdog reset can be identified by checking WDTRF bit (SYS_RSTSTS[2]).
6.2.2.6 CPU Lockup Reset
CPU enters lockup state after CPU produces hardfault at hardfault handler. This is the result of the
CPU being locked because of an unrecoverable exception, following the activation of the
processor’s built in system state protection hardware. When chip is in debug mode, the CPU lockup
reset will be ignored.
6.2.2.7 CPU Reset , CHIP Reset and MCU Reset
A CPU Rese t only resets the Cortex®-M4 cor e, while all other peripherals k eep the state as is.
Writing 1 to CPURST bit(SYS_IPRST0[1]) triggers a CPU reset.
CHIP Reset acts the same as Power-on Reset. The CPU and all peripherals are reset and
BS(FMC_ISPCTL[1]) bit is automatically reloaded from CONFIG0. Writing 1 to CHIPRST bit
(SYS_IPRST0[1]) triggers a CHIP Reset.
MCU Reset is s imilar to C HIP Reset as the only differenc e is that MCU Reset does not reloa d
BS(FMC_ISPCTL[1]) from CONFIG0; so where device will boot from (APROM or LDROM) still
depends on the old value in BS(FMC_ISPCTL[1]). Writing 1 to SYSRESETREQ bit (AIRCR[2])
triggers a MCU Reset.
6.2.2.8 Reset Flag
After wake-up or reset from each power modes, reset flag in SYS_RSTSTS register will take effect
when system return Normal mode. Table 6.2.2-2 shows the LVRF (SYS_RSTSTS[3]), PINRF
(SYS_RSTSTS[1]) and PORF (SYS_RSTSTS[0]) effect when wake-up or reset from different power
modes. Note that LVR function cannot be used in DPD mode.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Conditions Flag
Power
Mode
Idle
SPD0/1
DPD
Power-on
Reset
V - - - V V V
- V - - V - -
- - V - - V V - - - V V V
- V - - V V V
- - V - - V V
- - - V - V V
V - - - V V V
- - V - - V V
- - - V V V V
Low
Voltage
Reset
nRESET
Reset
Wakeup
LVRF
SYS_RSTSTS[3]
Table 6.2.2-2 Reset Flag Table
6.2.3 System Power Distribution
ISD94100 series de vice power distribution is d iv id e d in t o:
Analog power from AV
and AVSS: provides the power for analog components
DD
operation.
PINRF
SYS_RSTSTS[1]
PORF
SYS_RSTSTS[0]
Sep 9, 2019 Page 53 of 928 Rev1.09
Page 54
ISD94100 Series Technical Reference Manual
AV
DD
AV
SS
V
DD
SRAM
V
DD
to 1
.2V
LDO
POR33
PLL
Flash
Power On
Control
PB
.5
PB
.6
GPIOs except
PB
.13~PB
.
15
1
.2V
LDO
_CAP
1
uF
I94100 Series Power Distribution
PC
.0
PC.1
V
SS
POR12
IO Cell
10 KHz
LIRC
Oscillator
48.0/49.152
MHz HIRC
Oscillator
32.768
kHz
crystal
oscillator
Digital
Logic
4~
24.
576
MHz crystal
oscillator
Low Voltage Reset
Brown
-out Detector
12
-
bit ADC
PB.13
~PB.
15
USB_V
DD33
USB_V
SS
IO Cell
USB 1
.
1
PHY
Digital power from VDD and VSS: supplies the power to the internal regulator which
provides a regulated 1.2 V power for digital operation.
USB transceiver power from USB_V
transceiver.
Analog power (AV
) should be at the same voltage level as digital power (VDD).
DD
Both power supplies should have decoupling capacitors placed as close as possible to pins
preferably with no via.
The outputs of interna l voltage regulator, LDO_CAP, requires an external c apacitor which shoul d
be located close t o LDO_CAP pin and returne d direc tly t o V
distribution of the ISD94100 series.
offers the power for operating the USB
DD33
. The Figure 6.2-4 shows the power
SS
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Figure 6.2-4 ISD94100 Series Power Distribution Diagram
6.2.4 Power Modes
The ISD94100 series p ower m ode include Norm al mode, I dle mode and Power-d own m ode. The
system starts up in Normal mode. In Idle mode, only CPU clock is disabled while other peripherals
work normally. If system is waiting for an interrupt only, the user can set system in Idl e mode to
save power and wake-up q uickly. The user can set system into Power-down m ode when s ystem
does not need to work for a long tim e. ISD94100 series provides sever al po wer-down modes with
different power consumption level.
The ISD94100 series includes the following power modes:
Sep 9, 2019 Page 54 of 928 Rev1.09
Page 55
ISD94100 Series Technical Reference Manual
Normal mode
The system starts up in Normal mode. All clock sources and peripheral can be enabled or disabled
by user in register CL K_PWRCTL (System Power-down Contr ol Register), CLK_AHBCLK (AH B
Devices Clock Enable Control Register), CLK_APBCLK0 (APB Devices Clock Enable Control
Register 0) and CLK _APBCLK1 (APB Devices Clock Enabl e Control Register 1). The user can
disable unused clock or peripheral to save power.
Idle mode
If system is waiting f or an interrupt only. The user can set s ystem in idle m ode. In idle m ode, only
CPU clock is disabled, other peripherals work normally. System waits interrupt to wake-up, returns
to Normal mode and program execution continues. All interrupts can wak e-up system from Idle
mode.
Power-down mode (PD)
In Power-down mode (PD), CPU clock is disabled and LDO enters low power mode. All clock source
will be disabled except LXT and LIRC, LXT and LIRC can be controlled by CLK_PWRCTL register.
If they are enabled and pe ripheral clock sourc e are selected as LXT or LIRC , the peripheral can
keep working in Power-down mode. System waits wake-up source occurred to wake-up, returns to
Normal mode and progr am ex ecution c onti nues. In system wake-up phase, system waits f or LDO
recovery, and clock sources are enabled aga in and stabl e.
Low Leakage Power-down mode (LLPD)
In Lo w Leakage Power-do wn mode (LLPD), CPU c lock is disabled, LDO enters low power m ode
and LDO voltage drops down from current working voltage to 0.9 V to save power. All clock source
will be disabled except LXT and LIRC, LXT and LIRC can be controlled by CLK_PWRCTL register.
If they are enabled and pe ripheral clock sourc e are selected as LXT or LIR C, the peripheral can
keep working in Low Leakage Power-down mode. System waits wake-up source occurred to wakeup, returns to Nor mal mode and progr am execution contin ues . In system wake-up phase, besides
waiting for LDO recovery and clock sour ces are enabled and s tab le, system also needs t o wait f or
LDO voltage rising to th e original work ing voltage. The Lo w Leakage Po wer-down m ode wak e-up
sources are the same as Power-down mode.
Standby Power-down mode 0 (SPD0)
In Standby Power-down m ode 0 (SPD0), all po wer supply is disab led except SPD0 contro l logic,
LXT and LIRC. The SPD0 control logic controls Standby Power-down mode wake-up functions and
system SRAM bank 0 to retain data. After wake-up f rom Standby Power-down m ode 0 (SPD0),
system resets and execut e s code fr om the beginn ing again. All peripheral config uratio ns ret urn t o
default value and all SRAM data will be lost except system SRAM bank0 data can be retained.
After system wake-up from Standby Power-down mode 0 (SPD0), GPIO will keep their states before
entering Standby Power-do wn mode 0. They cannot b e cont ro ll ed b y GPIO or peripherals register
after system wake-up, for example: U ART cannot print m ess age and ICE c annot download c ode.
To control GPIO, the user have to write 1 to register CLK_IO PDCTL (GPIO Standb y Power-down
Control Register) after system wake-up to release GPIO hold state function.
Standby Power-down mode 1 (SPD1)
In St andby Power-down mode 1 ( SPD1), all power su pply is disabled ex cept SPD1 contro l logic,
LXT and LIRC. The SPD1 control logic controls Standby Po wer-down mode wake-up func tions.
After wake-up from Standb y Power -dow n m ode 1 (SPD1) , system r esets and ex ecutes c ode fr om
the beginning again. All peripheral co nf igur at ions r et urn t o d ef ault va lue and al l SRAM data will be
lost.
After system wake-up from Standby Power-down mode 1 (SPD1), GPIO will keep their states before
entering Standby Power-do wn mode 1. They cannot b e contr o ll ed b y GPIO or peripherals register
after system wake-up, for example: U ART cannot print m ess age and ICE c annot download c ode.
To control GPIO, the user have to write 1 t o regis ter C LK_IOPDCT L (GPIO Standb y Power-down
Control Register) after system wake-up to release GPIO hold state function.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 55 of 928 Rev1.09
Page 56
ISD94100 Series Technical Reference Manual
LXT, and
if their clock sources are selected as
down
LXT, and
if their clock sources are selected as
1
CPU Run WFI
I
Deep Power-down mode (DPD)
In Deep Power-down mode (DPD), all power supply is disabled except DPD control logic. The DPD
control logic controls Deep Power-down mode wake-up functions. After wake-up from Deep Powerdown mode (DPD), system resets and executes code from the beginning again. All peri pheral
configurations return t o def ault va lue and all SRAM data will be lost. T he Deep P o wer-down mode
(DPD) wake-up sources include Wake-up Timer and Wake-up Pin (PA.15).
6.2.5 Power Modes Settings and Wake-up Sources
ISD94100 series is equ ipped with power m anagement unit to support different po wer modes for
saving power. Table 6.2.5-1 lists all power mode at ISD94100 series.
Power Mode CPU operating maximum
speed
(MHz)
LDO_CAP
(V)
Clock Disable
Normal mode
Turbo mode
Idle mode
Power-down mode
(PD)
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Low leakage Powermode
(LLPD)
Standby Power-down mode 0
(SPD0)
Standby Power-down mode
(SPD1)
Deep Power-down mode
(DPD)
CPU enter Sleep mode 1.20 Only CPU clock is disabled.
CPU enters Deep Sleep mode 1.20
CPU enters Deep Sleep mode 0.9
160 1.20 All clocks are disabled by control register.
200 1.26 All clocks are disabled by control register.
Most clocks are disabled except LIRC/
only RTC/WDT/Timer/UART peripheral clocks
still enable
LIRC/LXT.
Most clocks are disabled except LIRC/
only RTC/WDT/Timer/UART peripheral clocks
still enable
LIRC/LXT.
Power off Floating Only LIRC still enable for wake-up timer usage
Power off Floating Only LIRC still enable for wake-up timer usage
Power off Floating Only LIRC still enable for wake-up timer usage
Table 6.2.5-1 Power Mode Table
There are different po wer mode entry set tings. Each po wer mode has different entr y setting and
leaving condition. Table 6.2.5-2 shows the enry setting for each power mode. When chip power-on,
chip is running at normal mode. User can enter each mode by configuring SLEEPDEEP (SCR[2]),
PDEN (CLK_PWRCT[7]) and PDMSEL (CLK_PMUCTL[2:0]) bits and then execute WFI instruction.
1. User must turn on LIRC before entering PD, LLPD and SPD0/1 mode.
There are several wake-up sources in Idle m ode and Power-down m ode. Table 6.2.5-3 l ists the
available clocks for each power mode.
Power Mode Normal Mode Idle Mode Power-Down Mode
Definition
Entry Condition
Wake-up Sources
Available Clocks
After Wake-up
CPU is in active state CPU is in sleep state CPU is in sleep state and all
Chip is in normal mode after
system reset released
N/A All interrupts RTC, WDT, I²C, Timer, UART,
All All except CPU clock LXT and LIRC
N/A CPU back to normal mode CPU back to normal mode
CPU executes WFI instruction. CPU sets sleep mode enable
clocks stop except LXT and
LIRC. SRAM content retained.
and power down enable and
executes WFI instruction.
BOD, GPIO, EINT, USBD.
Table 6.2.5-3 Power Mode Differ ence Table
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Figure 6.2-5 ISD94100 Series Power Mode State Machine
Sep 9, 2019 Page 57 of 928 Rev1.09
Page 58
ISD94100 Series Technical Reference Manual
Normal Mode Idle Mode PD, LLPD SPD0, SPD1 DPD
HXT ON ON Halt Halt Halt
HIRC ON ON Halt Halt Halt
LXT ON ON ON/OFF1 ON/OFF1 Halt
LIRC ON ON ON ON ON/OFF2
PLL ON ON Halt Halt Halt
HCLK/PCLK ON ON Halt Halt Halt
CPU ON Halt Halt Halt Halt
SRAM retention ON ON ON Halt Halt
FLASH ON ON Halt Halt Halt
TIMER ON ON ON/OFF3 Halt Halt
WDT ON ON ON/OFF4 Halt Halt
RTC ON ON ON/OFF5 ON/OFF5 Halt
UART ON ON ON/OFF6 Halt Halt
Others ON ON Halt Halt Halt
Table 6.2.5-4 Clocks in Power Modes
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Note:
1. LXT ON or OFF depends on S/W setting in normal mode.
2. LIRC ON or OFF depends on S/W setting in normal mode.
3. If TIMER clock source is selected as LIRC/LXT and LIRC/LXT is on.
4. If WDT clock source is selected as LIRC and LIRC is on.
5. If RTC clock source is selected as LXT and LXT is on.
6. If UART clock source is selected as LXT and LXT is on.
Sep 9, 2019 Page 58 of 928 Rev1.09
Page 59
ISD94100 Series Technical Reference Manual
Condition that
SPD0/1
After software writes 1 to clear BODIF (SYS_BODCTL[4]).
BODWK(CLK_PMUSTS[4]) is cleared when SPD mode is
entered.
After software writes 1 to clear LVRF(SYS_RSTSTS[3])
PORWK(CLK_PMUSTS[0]) is cleared when DPD mode is
entered.
After software writes 1 to clear PORF(SYS_RSTSTS[0])
After software write 1 to clear the
After software write 1 to clear the
rising or falling edge
GPxWK(CLK_PMUSTS[11:8]) is cleared when SPD mode
is entered.
rising or falling edge
PINWK(CLK_PMUSTS[1]) is cleared when DPD mode is
entered.
After software writes 1 to clear TWKF
(
up
D
(CLK_PMUSTS[6]) is cleared when SPD or DPD mode is
entered.
After software writes 1 to clear WKF
[5]) (Wri te
Protected).
After software writes 1 to clear
After software writes 1 to clear
RTCWK(CLK_PMUSTS[5]) is cleared when SPD mode is
entered.
Wakeup by RTC tick
RTCWK(CLK_PMUSTS[5]) is cleared when SPD mode is
entered.
A
CTSWKF
(
After software writes 1 to clear DATWKF
(
A
Wake-up sources in Power-down mode:
Table 6.2.5-5 lis ts all wak e-up sources that c an wake chip up f rom power down m ode to normal
mode, wake-up condition and conditions on how to re-enter the power down mode again.
User needs to wait this condition before setting PDEN(CLK_PWRCTL[7]) and execute WFI to enter
Power-down mode.
Note that before enter ing each power down mode, user needs to enable wake-up s ource NVIC
interrupt and make sure that other peripherals’ interrupt are disabled. In addition, if BOD function is
enabled, BOD NVIC interrupt must be enabled before entering power down mode.
6.2.6 Brown-out Detector and Low Voltage Reset Cont roller Configuration
ISD94100 series is equipped with brown-out detector and low voltage reset controller function. Low
voltage reset controller is enabled by setting LVREN(SYS_BODCTL[7]) to 1. Brown-out detector is
enabled by setting both LVREN(SYS_BODCTL[7]) and BODEN(SYS_BODCTL[0]) to 1. Both
brown-ou t detector and l ow voltage res et controller also integrates low po wer mode functi on, the
low power mode is enabled by setting BODLPM(SYS_BODCTL[5]). When enable low power mode,
brown-out detector and low voltage reset controller will consume less power, but the detection
speed will becom e slow (The response time is about 13m s). W hen using bro wn-out detect or and
low vol tag e reset controller, the LIRC must be turned on. In addition, the brown-out detector cannot
operate independently without enabled low voltage reset controller.
Power Mode LVREN
(SYS_BODCTL[7])
Normal / Idle / PD 0 X X Disabled Disabled
1 0 X Normal Disabled
1 1 0 Normal Normal
1 1 1 Low power Low power
BODEN
(SYS_BODCTL[0])
BODLPM
(SYS_BODCTL[5])
LVR / BOD Operation Mode
LVR BOD
LLPD / SPD0 /
SPD1
DPD X X X Disabled Disabled
0 X X Disabled Disabled
1 0 X Low power Disabled
1 1 0 Normal Normal
1 1 1 Low power Low power
Table 6.2.6-1 Brown-out Detector and Low Voltage Reset Controller Effect Table
Note: X means don’t care, write 1 or 0 to correspond register bit will not affect functionality.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 61 of 928 Rev1.09
Page 62
ISD94100 Series Technical Reference Manual
6.2.7 System Memory Map
The ISD94100 series provides 4G-byte addr essing space. The memory addresses assigned to
each on-chip controllers are shown in Table 6.2.7-1. The detailed register definition, memory space,
and programming will be described in the following sections for each on-chip peripheral. The
ISD94100 series only supports little-endian data format.
Address Space
Flash and SRAM Memory Space
0x0000_0000 – 0x0007_FFFF FLASH_BA FLASH Memory Space (512 Kbytes)
0x2000_0000 – 0x2000_7FFF SRAM0_BA SRAM Memory Space (32 Kbytes)
0x2000_8000 – 0x2002_FFFF SRAM1_BA SRA M Memory Space (160Kbytes)
Peripheral Controllers Space (0x4000_0000 – 0x400F_FFFF)
0x4000_0000 – 0x4000_01FF SYS_BA System Control Registers
0x4000_0200 – 0x4000_02FF CLK_BA Clock Control Registers
0x4000_0300 – 0x4000_03FF NMI_BA NMI Control Registers
0x4000_4000 – 0x4000_4FFF GPIO_BA GPIO Control Registers
Token Controllers
0x4000_8000 – 0x4000_8FFF PDMA_BA Peri pheral DMA Control Registers
0x4000_C000 – 0x4000_CFFF FMC_BA Flash Memory Cont rol Registers
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
0x4003_1000 – 0x4003_1FFF CRC_BA CRC Generator Registers
APB Controllers Space (0x4000_0000 ~ 0x400F_FFFF)
0x4004_0000 – 0x4004_0FFF WDT_BA Watchdog Timer Control Registers
0x4004_1000 – 0x4004_1FFF RTC_BA Real Time Clock (RTC) Control Register
0x4004_3000 – 0x4004_3FFF EADC_BA Enhanced Analog-Digital-Converter (EADC) Control Registers
0x4004_8000 – 0x4004_8FFF I2S0_BA I2S0 Interface Control Registers
0x4005_0000 – 0x4005_0FFF TMR01_BA Timer0/Timer1 Control Registers
0x4005_1000 – 0x4005_1FFF TMR23_BA Timer2/Timer3 Control Registers
0x4005_8000 – 0x4005_8FFF PWM0_BA PWM0 Control Registers
0x4006_0000 – 0x4006_0FFF SPI0_BA SPI0 Control Registers
0x4006_1000 – 0x4006_1FFF SPI1_BA SPI1 Control Registers
0x4006_2000 – 0x4006_2FFF SPI2_BA SPI2 Control Registers
0x4006_3000 – 0x4006_30FF DMIC_BA DMIC Control Registers
0x4006_3100 – 0x4006_3FFF VAD_BA VAD Control Registers
0x4006_4000 – 0x4006_4FFF DPWM_BA DPWM Control Registers
0x4007_0000 – 0x4007_0FFF UART0_BA UART0 Control Registers
0x4008_0000 – 0x4008_0FFF I2C0_BA I2C0 Control Registers
0x4008_1000 – 0x4008_1FFF I2C1_BA I2C1 Control Registers
0x400C_0000 – 0x400C_0FFF USBD_BA USB Device Control Register
Sep 9, 2019 Page 62 of 928 Rev1.09
Page 63
ISD94100 Series Technical Reference Manual
SRAM bank1
SRAM decoder
AHB interface
controller
SRAM bank
0
SRAM decoder
AHB interface
controller
System Controllers Space (0xE000_E000 ~ 0xE000_EFFF)
0xE000_E010 – 0xE000_E0FF SCS_BA System Timer Control Registers
0xE000_E100 – 0xE000_ECFF SCS_BA External Interrupt Controller Control Registers
0xE000_ED00 – 0xE000_ED8F SCS_BA System Control Registers
Table 6.2.7-1 Address Space Assignments for On-Chip Controllers
6.2.8 SRAM Memory Organization
The ISD94100 series supports up to 192 KB of em bedded SRAM and t he SRAM org anization is
separated to two banks : SRAM bank0 and SRAM ba nk1. The SRAM bank0 suppor ts parity error
check to make sure chip operating more stable.
Supports up to 192 KB of SRAM
Supports byte / half word / word write
Supports parity error check function for SRAM bank0
Supports oversize response error
Figure 6.2-6 SRAM Block Diagram
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 63 of 928 Rev1.09
Page 64
ISD94100 Series Technical Reference Manual
512MB
32 KB
SRAM
0x
2000_0000
Reserved
0
x
3
FFF
_
FFFF
0
x
2000_
7FFF
0x2000
_
8000
160
KB
SRAM
0x2003_0000
0
x
2002
_
FFFF
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Figure 6.2-7 SRAM Mem ory Organ i zat ion
SRAM address from 0x 2000_0000 to 0x2000_7FFF has byte parit y error check function. When
CPU is accessing SRAM address from 0x2000_0000 to 0x2000_7FF F the parity error checking
mechanism is operating dynamically. If parity error occurrs, the PERRIF (SYS_SRAM_STA TUS[0])
will be asserted to 1 and t he SYS_SRAM_ERR ADDR register will record the address with parity
error. Chip will enter interrupt when SRAM parity error occurs if PERRIEN (SYS_SRAM_INTCTL[0])
is set to 1. W hen SRAM parit y error occurs, chip wil l stop detecting SR AM parity errors until user
writes 1 to clear the PERRIF(SYS_SRAM_STATUS[0]) bit.
6.2.9 HIRC Auto Trim
This chip supports auto-trim func tion: the HIRC trim , according to the acc urate LXT (32.768 k Hz
crystal oscillator) or USB SOF (Start -Of-Frame), automatically gets accurate HIRC output frequency ,
0.25 % deviation within all temperature ranges.
For instance, the system needs an ac curate 49.152 MHz or 48 MHz clock. In such case, if neith er
using PLL as the system clock s ource nor s older ing 3 2.76 8 kH z cr ystal in system , user has t o set
REFCKSEL (SYS_IRCTCTL[10] reference clock selection) to “1”, set FREQSEL
(SYS_IRCTCTL[1:0] trim frequency selection) to “10” or “11”, and the auto-trim function will be
enabled. Interrupt status bit FREQLOCK (SYS_IRCTISTS[8] HIRC frequency lock status) “1”
indicates the HIRC output frequency is accurate within 0.25% deviation.
Sep 9, 2019 Page 64 of 928 Rev1.09
Page 65
ISD94100 Series Technical Reference Manual
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 65 of 928 Rev1.09
Page 66
ISD94100 Series Technical Reference Manual
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
6.2.10 Register Map
R: read only, W: write only, R/W: both read and write
Register
SYS Base Address:
SYS_BA = 0x4000_0000
SYS_PDID
SYS_RSTSTS
SYS_IPRST0
SYS_IPRST1
SYS_IPRST2
SYS_BODCTL
SYS_PORCTL
SYS_USBPHY
SYS_GPA_MFPL
SYS_GPA_MFPH
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
SYS_GPB_MFPL
SYS_GPB_MFPH
Offset
SYS_BA+0x00
SYS_BA+0x04
SYS_BA+0x08
SYS_BA+0x0C
SYS_BA+0x10
SYS_BA+0x18
SYS_BA+0x24
SYS_BA+0x2C
SYS_BA+0x30
SYS_BA+0x34
SYS_BA+0x38
SYS_BA+0x3C
Description Reset Value
Part Device Identification Number Register 0x1DXX_05XX
System Reset Status Register 0x0000_0043
Peripheral Reset Control Register 0 0x0000_0000
Peripheral Reset Control Register 1 0x0000_0000
Peripheral Reset Control Register 2 0x0000_0000
Brown-Out Detector Control Register 0x000X_038X
Power-On-Reset Cont rol l er Register 0x0000_0000
USB PHY Control Register 0x0000_0000
GPI OA Low Byte Multiple Function Control Register 0x0000_0000
GPI OA High Byte Multiple Function Control Register 0x0000_0000
GPI OB Low Byte Multiple Function Control Register 0x0110_0000
GPI OB High Byte Multiple Function Control Regi st er 0x0000_0000
[1]
SYS_GPC_MFPL
SYS_GPC_MFPH
SYS_GPD_MFPL
SYS_GPD_MFPH
SYS_SRAM_INTCTL
SYS_SRAM_STATUS
SYS_SRAM_ERRADDR
SYS_IRCTCTL
SYS_IRCTIEN
SYS_IRCTISTS
SYS_REGLCTL
SYS_RCADJ
Note:
1. Any register not listed here is reserved and must not be written. The result of a read operation on these bits is undefined.
2. The reserved register fields that listed in register description must be written to their reset value. Writing reserved fields with
other than reset values may produce undefined results.
SYS_BA+0x40
SYS_BA+0x44
SYS_BA+0x48
SYS_BA+0x4C
SYS_BA+0xC0
SYS_BA+0xC4
SYS_BA+0xC8
SYS_BA+0xF0
SYS_BA+0xF4
SYS_BA+0xF8
SYS_BA+0x100
SYS_BA+0x110
GPI OC Low Byte Multiple Function Control Regi st er 0x0000_0000
GPIOC High Byte Multiple Function Control Register 0x0000_0000
GPI OD Low Byte Multiple Function Control Regi st er 0x0000_0000
GPI OD High Byte Multipl e Function Control Regi st er 0x0000_0011
System SRAM Interrupt Enable Control Register 0x0000_0000
System SRAM Parity Error Status Register 0x0000_0000
System SRAM Parity Check Error Address Register 0x0000_0000
HIRC Trim Control Register 0x0000_0000
HIRC Trim Interrupt Enable Register 0x0000_0000
HIRC Trim Interrupt Status Register 0x0000_0000
Regist er Lock Control Register 0x0000_0000
HIRC Trim Value Register 0x0000_0XXX
Sep 9, 2019 Page 66 of 928 Rev1.09
Page 67
ISD94100 Series Technical Reference Manual
R/W
R
This register reflects device part number code. Software can read this register to i dentify
6.2.11 Register Description
Part Device Identification Number Register (SYS_PDID)
Register
SYS_PDID
[1] Every part number has a unique default reset value.
31 30 29 28 27 26 25 24
23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Offset
SYS_BA+0x00
Description Reset Value
Part Device Identificati on Number Register 0x1DXX_05XX
PDID
PDID
PDID
PDID
Bits
[31:0]
Description
Part Device Identification Number (Read Only)
PDID
which device is used.
[1]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 67 of 928 Rev1.09
Page 68
ISD94100 Series Technical Reference Manual
R/W
R/W
writing to this field always write with
The CPU reset flag is set by hardware if software writes CPURST (SYS_IPRST0[1]) 1 to
M4 Core to indicate the
reset signal to reset the system by writing 1 to the bit
SYSRESETREQ(AIRCR[2], Application Interrupt and Reset Control Register, address =
System Reset Status Register (SYS_RSTSTS)
This register provides specific information for software to identify this chip’s reset source from last
operation.
Register
Offset
Description Reset Value
SYS_RSTSTS
SYS_BA+0x04
System Reset Status Register 0x0000_0043
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved CPULKRF
7 6 5 4 3 2 1 0
CPURF PMURF SYSRF BODRF LVRF WDTRF PINRF PORF
Bits
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[31:9]
[8]
Description
Reserved
CPULKRF
Reserved. Any values read should be ignored. When
reset value.
CPU Lockup Reset Flag
0 = No reset from CPU lockup occurred.
1 = The Cortex-M4 lockup occurred and chip is reset.
Note: Write 1 to clear this bit to 0.
Note: when ICE is connected, CPU lockup event sets this flag to 1 but will not reset chip.
CPU Reset Flag
[7]
[6]
[5]
Sep 9, 2019 Page 68 of 928 Rev1.09
CPURF
PMURF
SYSRF
reset Cortex®-M4 Core and Flash Memory Controller (FMC).
0 = No reset from CPU.
®
1 = The Cortex
Note: Write 1 t o clear this bit to 0.
PMU Reset Flag
0 = No reset from POR, PINR, WDTR, LVR, BODR, SYSR and CPULKR.
1 = When POR, PINR, WDTR, LVR, BODR, SYSR and CPULKR occurred.
Note: Write 1 to clear this bit to 0.
System Reset Flag
The system reset flag is set by the “Reset Signal” from the Cortex®previous reset source.
0 = No reset from Cortex®-M4.
1 = The Cortex®-M4 had issued the
0xE000ED0C) in system control registers of Cortex®-M4 core.
Note: Write 1 to clear this bit to 0.
-M4 Core and FMC are reset by software setting CPURST to 1.
Page 69
ISD94100 Series Technical Reference Manual
Out Detector to indicate the
from the Low Voltage Reset Controller to
from the Watchdog Timer or Wi ndow
= The watchdog timer or window watchdog timer issued the reset signal to reset the
Watchdog Timer register RSTF( WDT_CTL[2]) bit is set if the system has been reset
out reset. Window Watchdog Timer register WWDTRF(WWDT_STATUS[1])
from the nRESET Pin to indicate the
on Reset (POR) Controller
Bits
[4]
[3]
[2]
[1]
Description
BODRF
LVRF
WDTRF
PINRF
BOD Reset Flag
The BOD reset flag is set by the “Reset Signal” from the Brownprevious reset source.
0 = No reset from BOD.
1 = The BOD had issued the reset signal to reset the system.
Note: Write 1 to clear this bit to 0.
LVR Reset Flag
The LVR reset flag is set by the “Reset Signal”
indicate the previous reset source.
0 = No reset from LVR.
1 = LVR controller issued the reset signal to reset the system.
Note: Write 1 to clear this bit to 0.
WDT Reset Flag
The WDT reset flag is set by the “Reset Signal”
Watchdog Timer to indicate the previous reset source.
0 = No reset from watchdog timer or window watchdog timer.
1
system.
Note1: Write 1 to clear this bit to 0.
Note2:
by W DT t ime bit is set if the system has been reset by WWDT time-out reset.
NRESET Pin Reset Flag
The nRESET pin reset flag is set by the “Reset Signal”
previous reset source.
0 = No reset from nRESET pin.
1 = Pin nRESET issued the reset signal to reset the system.
Note: Write 1 to clear this bit to 0.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
POR Reset Flag
The POR reset flag is set by the “Reset Signal” from the Power-
[0]
Sep 9, 2019 Page 69 of 928 Rev1.09
PORF
or bit CHIPRST (SYS_IPRST0[0]) to indicate the previous reset source.
0 = No reset from POR or CHIPRST.
1 = Power-on Reset (POR) or CHIPRST issued the reset signal to reset the system.
Note: Write 1 to clear this bit to 0.
Page 70
ISD94100 Series Technical Reference Manual
R/W
R/W
always wri te wit h
Set this bit to 1 will generate a reset signal to the CRC calculation controller. User needs to
. Any values read should be ignored. When writing to this fiel d always write with
About the difference between CHIPRST and SYSRESETREQ(AIRCR[2]), please refer to
Peripheral Reset Control Register 0 (SYS_IPRST0)
Register
SYS_IPRST0
Offset
SYS_BA+0x08
Description Reset Value
P eri pheral Res et Cont rol Register 0 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
CRCRST
Reserved
PDMARST CPURST CHIPRST
Bits
[31: 8]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Description
Reserved
Reserved. Any values read should be ignored. When writing to this fi eld
reset value.
set this bit to 0 to release from the reset state.
0 = CRC calculation controller normal operation.
1 = CRC calculation controller reset.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
Reserved
reset value.
PDMA Controller Reset (Write Protected)
Setting this bit to 1 will generate a reset signal to the PDMA. User needs to set this bit to 0
to release from reset state.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
Processor Core One-shot Reset (Write Protected)
Setting this bit will only reset the processor core and Flash Memory Controller(FMC); this
bit will automatically return to 0 after the 2 clock cycles.
0 = Processor core normal operation.
1 = Processor core one-shot r eset.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
Chip One-shot Reset (Write Protected)
Setting this bit will reset the whole chip, including Processor core and all peripherals; this
bit will automatically return to 0 after the 2 clock cycles.
The CHIPRST is same as the POR reset, all the chip controllers are reset and the chip
settings from flash configuration are also reloaded.
Sep 9, 2019 Page 70 of 928 Rev1.09
Page 71
ISD94100 Series Technical Reference Manual
section 6.2.2
0 = Chip normal operation.
1 = Chip one-shot reset.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 71 of 928 Rev1.09
Page 72
ISD94100 Series Technical Reference Manual
R/W
R/W
When writing to this field always write with
values read should be ignored. When writing to this field always write with
Peripheral Reset Control Register 1 (SYS_IPRST1)
Setting these bits 1 will generate as ynchronous reset s ignals to the corr esponding module c ontroller.
Users need to set these bits to 0 to release corresponding module controller from reset state.
Register
Offset
Description Reset Value
SYS_IPRST1
SYS_BA+0x0C
P eri pheral Res et Cont rol Register 1 0x0000_0000
values read should be ignored. When writing to this field always write with
writing to this field always write with
always wri te wit h
Peripheral Reset Control Register 2 (SYS_IPRST2)
Setting these bits to 1 will generate asynchronous reset signals to the corresponding module controller.
Users need to set these bits to 0 to release corresponding module controller from reset state.
Register
Offset
Description Reset Value
SYS_IPRST2
SYS_BA+0x10
P eri pheral Res et Cont rol Register 2 0x0000_0000
Reserved. Any values read should be ignored. When writing to this fi eld
reset value.
Sep 9, 2019 Page 74 of 928 Rev1.09
Page 75
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this field always write with
set by flash controller user configuration register CBOV (CONFIG0
. Any values read should be ignored. When writing to this field always write with
Brown-out Detector Control Register (SYS_BODCTL)
Part of the SYS_BODCTL control registers values are initialized by flash configuration and writeable bits
are write-protected.
Register Offset
Description Reset Value
SYS_BODCTL
SYS_BA+0x18
Brown-Out Det ec tor Control Register 0x000X_038X
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved BODVL
15 14 13 12 11 10 9 8
Reserved BODDGSEL
7 6 5 4 3 2 1 0
LVREN BODOUT BODLPM BODIF BODRSTEN Reserved BODEN
Bits Description
[31:19]
[18:16]
Reserved
BODVL
Reserved
reset value.
Brown-out Detector Threshold Voltage Selection (Write Protected)
The default value is
[23:21]).
000 = Brown-Out Detector threshold voltage is 1.6V.
001 = Brown-Out Detector threshold voltage is 1.8V.
010 = Brown-Out Detector threshold voltage is 2.0V.
011 = Brown-Out Detector threshold voltage is 2.2V.
100 = Brown-Out Detector threshold voltage is 2.4V.
101 = Brown-Out Detector threshold voltage is 2.6V.
110 = Brown-Out Detector threshold voltage is 2.8V.
111 = Brown-Out Detector threshold voltage is 3.0V.
Note: These bits are write protected. Refer to the SYS_REGLCTL register.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[15:11]
[10:8]
Reserved
BODDGSEL
Reserved
reset value.
Brown-out Detector Output De-glitch Time Select (Write Protected)
000 = Without de-glitch function.
001 = 3 system clock (HCLK).
010 = 7 system clock (HCLK).
011 = 15 system clock (HCLK).
100 = 31 system clock (HCLK).
101 = 63 system clock (HCLK).
110 = 127 system clock (HCLK).
111 = 255 sys t em clock (HCLK).
Note: These bits are write protected. Refer to the SYS_REGLCTL register.
Sep 9, 2019 Page 75 of 928 Rev1.09
Page 76
ISD94100 Series Technical Reference Manual
The LVR function resets the chip when the input power voltage is lower than LVR circuit
The low power mode can reduce the current to about 1/10 but slow the BOD
down through or up through
either direction,
controller user configuration register
out Detector function is enabled (BODEN high) and BOD reset function is
BODRSTEN high), BOD will assert a signal to reset chip when the detected voltage
While the BOD function is enabled (BODEN high) and BOD interrupt function is
interrupt if BODOUT is high. BOD interrupt
will latch until BODEN is set to 0. BOD interrupt can be blocked by disabling the NVIC BOD
. Any values read should be ignored. When writing to this field always write with
Bits Description
Low Voltage Reset Enable Bit (Write Protected)
[7]
[6]
[5]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[4]
LVREN
BODOUT
BODLPM
BODIF
setting. LVR function is enabled by default.
0 = Low Voltage Reset function Disabled.
1 = Low Voltage Reset function Enabled.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
Brown-out Detector Output Status
0 = Brown-out Detector output status is 0.
The detected voltage is higher than BODVL setting or BODEN is 0.
1 = Brown-out Detector output status is 1.
The detected voltage is lower than BODVL setting.
If the BODEN is 0, BOD function is disabled and this bit will be 0.
Brown-out Detector Low Power Mode (Write Protected)
0 = BOD operate in normal mode (default).
1 = BOD Low Power mode Enabled.
Note 1:
response.
Note 2: This bit is write protected. Refer to the SYS_REGLCTL register.
Brown-out Detector Interrupt Flag
0 = Brown-out Detector has not detected a BOD event on VDD
the voltage of BODVL setting.
1 = When Brown-out Detector detects that VDD cro sses BOD L VL settin g from
this bit is set to 1 and the brown-out interrupt is requested if brown-out interrupt is enabled.
Note: Write 1 to clear this bit to 0.
Brown-out Reset Enable Bit (Write Protected)
The default value is set by flash
CBORST(CONFIG0[20]) bit .
0 = Brown-out “INTERRUPT” function Enabled.
1 = Brown-out “RESET” function Enabled.
Note 1:
[3]
[2:1]
Sep 9, 2019 Page 76 of 928 Rev1.09
BODRSTEN
Reserved
While the Brownenabled (
is lower than the threshold (BODOUT high).
enabled (BODRSTEN low), BOD will assert an
interrupt or disabling BOD function (set BODEN low).
Note 2: The reset value of SYS_BODCTL[3] is determined by user flash configuration.
Note 3: This bit is write protected. Refer to the SYS_REGLCTL register.
Reserved
reset value.
Page 77
ISD94100 Series Technical Reference Manual
The default value is set by flash controller user configuration register CBODEN (CONFIG0
out detector can only work when both BODEN(SYS_BODCTL[0]) and
are set to 1,
Bits Description
[0]
BODEN
Brown-out Detector Enable Bit (Write Protected)
[19]).
0 = Brown-out Detector function Disabled.
1 = Brown-out Detector function Enabled.
Note 1: The reset value of SYS_BODCTL[0] is determined by user flash configuration.
Note 2: Brown-
LVREN(SYS_BODCTL[7]) are set to 1.
Note 3: When both BODEN(SYS_BODCTL[0]) and LVREN(SYS_BODCTL[7])
NVIC BOD interrupt must be enabled before entering power down mode.
Note 4: This bit is write protected. Refer to the SYS_REGLCTL register.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 77 of 928 Rev1.09
Page 78
ISD94100 Series Technical Reference Manual
R/W
R/W
When writing to this field always write with
When power is applied to device, the POR circuit generates a reset signal to re set the entire
the POR to become active again. User can
disable internal POR circuit to avoid unpredictable noise to cause chip reset by writing
The POR function will be active again when this field is set to another value or chip is reset
chip reset
Power-on Reset Controller Register (SYS_PORCTL)
Register
SYS_PORCTL
Offset
SYS_BA+0x24
Description Reset Value
Power-On-Reset Controller Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
POROFF
7 6 5 4 3 2 1 0
POROFF
Bits
[31:16]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Description
Reserved
Reserved. Any values read should be ignored.
reset value.
Power-on Reset Enable Bit (Write Protected)
chip function. Noise on the power may cause
[15:0]
POROFF
0x5AA5 to this field.
by other reset source, including:
nRESET , Watchdog, LVR reset, BOD reset, ICE reset command and the software-
function.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
Sep 9, 2019 Page 78 of 928 Rev1.09
Page 79
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this field always write with
. Any values read should be ignored. When writing to this field always write with
USB PHY Control Register (SYS_USBPHY)
Register
SYS_USBPHY
Offset
SYS_BA+0x2C
Description Reset Value
US B PHY Control Register 0x0000_0000
31
23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
30 29 28 27 26 25 24
Reserved
Reserved
Reserved
Reserved
Bits
[31:9]
[8]
Description
Reserved
USB_PHY_EN
Reserved
reset value.
USB PHY Enable (Write Protect)
This bit is used to enable/disable USB PHY function.
0 = USB PHY function Disabled (default).
1 = USB PHY function Enabled.
USB_PHY_EN
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[7:0]
Reserved
Reserved
reset value.
Sep 9, 2019 Page 79 of 928 Rev1.09
Page 80
ISD94100 Series Technical Reference Manual
R/W
R/W
GPIOA Low Byte Multiple Function Control Register (SYS_GPA_MFPL)
Register Offset
SYS_GPA_MFPL
SYS_BA+0x30
Description Reset Value
GP IOA Low Byte Multiple Function Control Register 0x0000_0000
31 30 29 28 27 26 25 24
PA7MFP PA6MFP
23 22 21 20 19 18 17 16
PA5MFP PA4MFP
15 14 13 12 11 10 9 8
PA3MFP PA2MFP
7 6 5 4 3 2 1 0
PA1MFP PA0MFP
Bits Description
[31:28]
[27:24]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[23:20]
PA7MFP PA.7 Multi-function Pin Se le ction
PA6MFP PA.6 Multi-function Pin Se le ction
PA5MFP PA.5 Multi-function Pin Se le ction
[19:16]
[15:12]
[11:8]
[7:4]
[3:0]
PA4MFP PA.4 Multi-function Pin Se le ction
PA3MFP PA.3 Multi-function Pin Selection
PA2MFP PA.2 Multi-function Pin Se le ction
PA1MFP PA.1 Multi-function Pin Se le ction
PA0MFP PA.0 Multi-function Pin Se le ction
Sep 9, 2019 Page 80 of 928 Rev1.09
Page 81
ISD94100 Series Technical Reference Manual
R/W
R/W
GPIOA High Byte Multiple Function Control Re g ister (SYS_GPA_MFPH)
Register Offset
SYS_GPA_MFPH
SYS_BA+0x34
Description Reset Value
GP IOA High Byte Multiple Function Control Register 0x0000_0000
. Any values read should be ignored. When writing to this fiel d always write with
System SRAM Parity Check Status Register (SYS_SRAM_STATUS)
Register
SYS_SRAM_STATUS
Offset
SYS_BA+0xC4
Description Reset Value
System SRAM Parity Error Status Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
Reserved PERRIF
Bits
[31:1]
[0]
Description
Reserved
PERRIF
Reserved
reset value.
SRAM Parity Check Error Flag
This bit indicates the System SRAM parity error occurred. Write 1 to clear this bit to 0.
0 = No System SRAM parity error.
1 = System SRAM parity error occur.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 89 of 928 Rev1.09
Page 90
ISD94100 Series Technical Reference Manual
R/W
R
System SRAM Parity Error Address
This register shows system SRAM parity error
System SRAM Parity Error Address Register (SYS_SRAM_ERRADDR)
Register
SYS_SRAM_ERRADDR
Offset
SYS_BA+0xC8
Description Reset Value
System SRAM Parity Check Error Address Register 0x0000_0000
31 30 29 28 27 26 25 24
ERRADDR
23 22 21 20 19 18 17 16
ERRADDR
15 14 13 12 11 10 9 8
ERRADDR
7 6 5 4 3 2 1 0
ERRADDR
Bits
[31:0]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Description
ERRADDR
byte address.
Sep 9, 2019 Page 90 of 928 Rev1.09
Page 91
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this fiel d always write with
many times the auto trim circuit will try to update t he HIRC trim
uency of HIRC still
Note: For example, if LOOPSEL is set as 00, auto trim circuit will calculate trim value based
HIRC Trim Control Register (SYS_IRCTCTL)
Register
SYS_IRCTCTL
Offset
SYS_BA+0xF0
Description Reset Value
HI RC Trim Cont rol Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved REFCKSEL Reserved CESTOPEN
7 6 5 4 3 2 1 0
RETRYCNT LOOPSEL Reserved FREQSEL
Bits
[31:11]
[10]
Description
Reserved
REFCKSEL
Reserved
reset value.
Reference Clock Selection
0 = HIRC trim reference clock is from LXT (32.768 kHz).
1 = HIRC trim reference clock is from USB SOF (Start-Of-Frame) packet.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[9]
[8]
[7:6]
[5:4]
Reserved
CESTOPEN
RETRYCNT
LOOPSEL
Reserved. Any values read should be ignored. When writing to this fi eld always write with
reset value.
Clock Error Stop Enable Bit
0 = The trim operation is keep going if clock is inaccuracy.
1 = The trim operation is stopped if clock is inaccuracy.
Trim Value Update Limitation Count
This field defines that how
value before the frequency of HIRC locked.
Once the HIRC locked, the internal trim value update counter will be reset.
If the trim value update counter reached this limitation value and f req
doesn’t lock, the auto trim operation will be disabled and FREQSEL will be cleared to 00.
00 = Trim retry count limitation is 64 loops.
01 = Trim retry count limitation is 128 loops.
10 = Trim retry count limitation is 256 loops.
11 = Trim retry count limitation is 512 loops.
Trim Calculation Loop Selection
This field defines that trim value calculation is based on how many reference clocks.
00 = Trim value calculation is based on average difference in 4 clocks of reference clock.
01 = Trim value calculation is based on average difference in 8 clocks of reference clock.
10 = Trim value calculation is based on average difference in 16 clocks of reference clock.
11 = Trim value calculation is based on average difference in 32 clocks of reference clock.
Sep 9, 2019 Page 91 of 928 Rev1.09
Page 92
ISD94100 Series Technical Reference Manual
on the average frequency difference in 4 clocks of reference clock.
When writing to this field always write with
internal high speed RC
ror detected with CESTOPEN is set to 1 or trim retry
[3:2]
[1:0]
Reserved
FREQSEL
Reserved. Any values read should be ignored.
reset value.
Trim Frequency Selection
This field indicates the target frequency of 48 MHz and 49.152 MHz
oscillator (HIRC) auto trim.
During auto trim operation, if clock er
limitation count reached, this field will be cleared to 00 automatically.
01 = Enable HIRC auto trim function and trim HIRC to 48 MHz.
11 = Enable HIRC auto trim function and trim HIRC to 49.152 MHz.
Others = Disable HIRC auto trim function.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 92 of 928 Rev1.09
Page 93
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this fiel d always write with
This bit controls if CPU would get an interrupt while cl ock is inaccuracy during auto trim
If this bit is set to1, and CLKERRIF(SYS_IRCTISTS[2]) is set during auto trim operation, an
This bit controls if an interrupt will be triggered while HIRC trim value update limitation count
reached and HIRC frequency still not locked on target frequency set by
during auto trim operation, an
. Any values read should be ignored. When writing to this fiel d always write with
HIRC Trim Interrupt Enable Register (SYS_IRCTIEN)
Register
SYS_IRCTIEN
Offset
SYS_BA+0xF4
Description Reset Value
HI RC Trim I nterrupt E nabl e Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
Reserved CLKEIEN TFAILIEN Reserved
Bits
[31:3]
Description
Reserved
Reserved
reset value.
Clock Error Interrupt Enable Bit
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
operation.
[2]
[1]
[0]
CLKEIEN
TFAILIEN
Reserved
interrupt will be triggered to notify the clock frequency is inaccuracy.
0 = Disable CLKERRIF(SYS_IRCTISTS[2]) status to trigger an interrupt to CPU.
1 = Enable CLKERRIF(SYS_IRCTISTS[2]) status to trigger an interrupt to CPU.
Trim Failure Interrupt Enable Bit
FREQSEL(SYS_IRCTCTL[1:0]).
If this bit is high and TFAILIF(SYS_IRCTISTS[1]) is set
interrupt will be triggered to notify that HIRC trim value update limitation count was reached.
0 = Disable TFAILIF(SYS_IRCTISTS[1]) status to trigger an interrupt to CPU.
1 = Enable TFAILIF(SYS_IRCTISTS[1]) status to trigger an interrupt to CPU.
Reserved
reset value.
Sep 9, 2019 Page 93 of 928 Rev1.09
Page 94
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this fiel d always write with
When the frequency of 32.768 kHz external low speed crystal oscillat or (LXT) or internal
oscillator (HIRC) is shift larger to unreasonable value, this bit will be set and
Once this bit is set to 1, the auto trim operation stopped and FREQSEL(SYS_IRCTCL[1:0])
automatically if CESTOPEN(SYS_IRCTCTL[8]) is set to
If this bit is set and CLKEIEN(SYS_IRCTIEN[2]) is high, an interrupt will be triggered to notify
This bit indicates that HIRC trim value update limitation count reached and the HIRC clock
t be locked. Once this bit is set, the auto trim operation stopped and
If this bit is set and TF AILIEN(SYS_IRCTIEN[1]) is high, an interrupt will be triggered to notify
yet.
HIRC Trim Interrupt Status Register (SYS_IRCTISTS)
Register
SYS_IRCTISTS
Offset
SYS_BA+0xF8
Description Reset Value
HI RC Trim I nterrupt Status Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
Reserved CLKERRIF TFAILIF FREQLOCK
Bits
[31:3]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Description
Reserved
Reserved
reset value.
Clock Error Interrupt Status
high speed RC
to be an indicate that clock frequency is inaccuracy
[2]
[1]
[0]
CLKERRIF
TFAILIF
FREQLOCK
will be cleared to 00 by hardware
1.
the clock frequency is inaccuracy. Wri te 1 to clear this to 0.
0 = Clock frequency is accuracy.
1 = Clock frequency is inaccuracy.
Trim Failure Interrupt Status
frequency still doesn’
FREQSEL(SYS_IRCTCTL[1:0]) will be cleared to 00 by hardware automatically.
that HIRC trim value update limitation count was reached. Write 1 to clear this to 0.
0 = Trim value update limitation count does not reach.
1 = Trim value update limitation count reached and HIRC frequency still not locked.
HIRC Frequency Lock Status
This bit indicates the HIRC frequency is locked.
This is a status bit and doesn’t trigger any interrupt
Write 1 to clear this to 0. This bit will be set automatically, if the frequecy is lock.
0 = The internal high-speed oscillator frequency doesn’t lock at 48 MHz or 49.152 MHz
1 = The internal high-speed oscillator frequency locked at 48 MHz or 49.152 MHz.
Sep 9, 2019 Page 94 of 928 Rev1.09
Page 95
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this fiel d always write with
To write to these registers, this write
. After
registers
protected registers. Any write to the protected
up
Register Lock Control Register (SYS_REGLCTL)
This register is written to disable/enable register protection and read for the REGLCTL status.
Some of the system control register s are protected to avo id inadverte nt write that may disturb the chip
operation. These system control registers are protected after power-on reset until the user disables this
register protection. For user to program these protected registers, a register protection disable sequence
needs to be fol lowe d. The register protectio n dis a ble sequence is wr iting t he d ata “59h”, “16h” “88h” to
the register SYS_REG LCTL address at 0x4000_01 00. Any different data value, different sequenc e or
any other write to other address during thes e three data writes will abort the whole sequence.
After the protection is disabled, user can check the protection disable bit at address 0x4000_0100 bit0,
1 is protection dis able, and 0 is protecti on enable. Then user can up date the tar get protec ted register
value. The register protection can be re-enabled by writing any data to the address 0x4000_0100.
Register
Offset
Description Reset Value
SYS_REGLCTL
SYS_BA+0x100
Register Lock Control Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
REGLCTL
Bits
[31:8]
[7:0]
Description
Reserved
REGLCTL
Reserved
reset value.
Register Lock Control Code (Write Only)
Some registers have a write-protection function.
protection must be by writing t he sequence value “59h”, “16h”, “88h” to this address
this sequence is completed, the REGLCTL bit will be set to 1 and write-protected
can be write accessed.
Register Lock Control Disable Index (Read Only)
0 = Write-protection Enabled for write
registers is ignored.
1 = Write-protection Disabled for write protected registers.
The Protected registers are:
SYS_IPRST0: address 0x4000_0008
SYS_BODCTL: address 0x4000_0018
SYS_PORCTL: address 0x4000_0024
SYS_USBPHY: address 0x4000_002C
CLK_PWRCTL: address 0x4000_0200 (bit[6] is not protected for power-down wake-
interrupt clear)
SYS_RCADJ: address 0x4000_0110
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 95 of 928 Rev1.09
Page 96
ISD94100 Series Technical Reference Manual
CLK_APBCLK0 [0]: address 0x4000_0208 (bit[0] is watchdog clock enable)
. Any values read should be ignored. When writing to this fiel d always write with
”
000_0100 to disable register protection. Refer to the register SYS_REGLCTL
HIRC Trim Value Register (SYS_RCADJ)
Register
SYS_RCADJ
Offset
SYS_BA+0x110
Description Reset Value
HI RC Trim V al ue Register 0x0000_0XXX
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved
15 14 13 12 11 10 9 8
Reserved RCADJ
7 6 5 4 3 2 1 0
RCADJ
Bits
[31:10]
[9:0]
Reserved
RCADJ
Description
Reserved
reset value.
HIRC Trim Value (Write Protect)
This bit is the protected bit, which means programming it needs to write “59h”, “16h”, “88h
to address 0x4
at address SYS_BA+0x100.
This field reflects the HIRC trim value.
Software can update HIRC trim value by writing this field.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
Sep 9, 2019 Page 97 of 928 Rev1.09
Page 98
ISD94100 Series Technical Reference Manual
Offset
R/W
SCS_BA+0x10
R/W
SCS_BA+0x14
R/W
SCS_BA+0x18
R/W
6.2.12 System Timer (SysTi ck)
The Cortex®-M4 integrates a system timer, SysTick, which provides a simple, 24-bit clear-on-write,
decrementing, wrap-on-zero counter with a flexi ble control mechanism . The counter can be used
as a Real Time Operating System (RTOS) tick timer or as a simple counter.
When system tim er is enabled, it will count down from the value in the SysTick Current Value
Register (SYST_VAL) to zero, and reload (wrap) to the value in the SysTick Reload Value Register
(SYST_LOAD) on the next clock cycle, and then decrement on subsequent clocks. When the
counter decrements to zero, the COUNT FLAG status bit is set. A read or write on C urrent Value
Register clears the COUNTFLAG bit to 0.
The SYST_VAL value is U NKNOWN on reset. Softwar e should write to the regi ster to clear it to
zero before enablin g the feature. This ensures the t imer will count from the SYST_LOAD value
rather than an arbitrary value when it is enabled.
If the SYST_LOAD is zero, the timer will be mainta ined with a current value of zero after it is
reloaded with this value. This m echanism can be used to disa ble the feature independen tly from
the timer enable bit.
For more detailed information, please refer to the “ARM
®
and “ARM
v6-M Architecture Reference Manual”.
6.2.12.1 System Timer Control Register M ap
R: read only, W: write only, R/W: both read and write
Register
Description Reset Value
®
Cortex™-M4 Technical Reference Manual”
SYST Base Address:
SCS_BA = 0xE000_E000
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
SYST_CTRL
SYST_LOAD
SYST_VAL
Note:
1. Any register not listed here is reserved and must not be written. The result of a read operation on these bits is undefined.
2. The reserved register fields that listed in register description must be written to their reset value. Writing reserved fields with
other than reset values may produce undefined results.
SysT ick Cont rol and Status Register 0x0000_0000
SysT ick Reload Value Regist er 0x0000_0000
SysT ick Current Value Regist er 0x0000_0000
Sep 9, 2019 Page 98 of 928 Rev1.09
Page 99
ISD94100 Series Technical Reference Manual
R/W
R/W
. Any values read should be ignored. When writing to this fiel d always write with
always wri te wit h
SysTick exception to be pended. Software can
1 = Counting down to 0 will cause the SysT ick ex ception to be pended. Clearing the SysT ick
6.2.12.2 System Timer Control Register Description
SysTick Control and Status Register (SYST_CTRL)
Register
SYST_CTRL
Offset
SCS_BA+0x10
Description Reset Value
S ys T ick Cont rol and Stat us Register 0x0000_0000
31 30 29 28 27 26 25 24
Reserved
23 22 21 20 19 18 17 16
Reserved COUNTFLAG
15 14 13 12 11 10 9 8
Reserved
7 6 5 4 3 2 1 0
Reserved CLKSRC TICKINT ENABLE
Bits
[31:17]
[16]
Description
Reserved
COUNTFLAG
Reserved
reset value.
System Tick Counter Flag
Returns 1 if timer counted to 0 since last time this register was read.
COUNTFLAG is set by a count transition from 1 to 0.
COUNTFLAG is cleared on read or by a write to the Current Value register.
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[15:3]
[2]
[1]
[0]
Sep 9, 2019 Page 99 of 928 Rev1.09
Reserved
CLKSRC
TICKINT
ENABLE
Reserved. Any values read should be ignored. When writing to this fi eld
reset value.
System Tick Clock Source Selection
0 = Clock source is the (optional) external reference clock.
1 = Core clock used for SysTick.
System Tick Interrupt Enabled
0 = Counting down to 0 does not cause the
use COUNTFLAG to determine if a count to zero has occurred.
current value register by a register write in software will not cause SysTick to be pended.
System Tick Counter Enabled
0 = Counter Disabled.
1 = Counter will operate in a multi-shot manner.
Page 100
ISD94100 Series Technical Reference Manual
R/W
R/W
When writing to this field always write with
SysTick Reload Value Register (SYST_LOAD)
Register
SYST_LOAD
31 30 29 28 27 26 25 24
23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
Offset
SCS_BA+0x14
Description Reset Value
S ys T ick Rel oad Value Regist er 0x0000_0000
Reserved
RELOAD
RELOAD
RELOAD
Bits
[31:24]
ISD94100 SERIES TECHNICAL REFERENCE MANUAL
[23:0]
Description
Reserved
RELOAD
Reserved. Any values read should be ignored.
reset value.
System Tick Reload Value
Value to load into the Current Value register when the counter reaches 0.
Sep 9, 2019 Page 100 of 928 Rev1.09
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.