|
S128 Datasheet, PDF (6/107 Pages) Renesas Technology Corp – Microcontroller | |||
|
◁ |
S128
1. Overview
Table 1.3
System (2 of 2)
Feature
Resets
Low Voltage Detection (LVD)
Clock
Clock Frequency Accuracy
Measurement Circuit (CAC)
Interrupt Controller Unit (ICU)
Key interrupt function (KINT)
Low Power Mode
Register Write Protection
Memory Protection Unit (MPU)
Watchdog Timer (WDT)
Functional description
13 types of resets:
ï· RES pin reset
ï· Power-on reset
ï· Independent watchdog timer reset
ï· Watchdog timer reset
ï· Voltage monitor 0 reset
ï· Voltage monitor 1 reset
ï· Voltage monitor 2 reset
ï· SRAM parity error reset
ï· SRAM ECC error reset
ï· Bus master MPU error reset
ï· Bus slave MPU error reset
ï· CPU stack pointer error reset
ï· Software reset.
See section 5, Resets in Userâs Manual.
The Low Voltage Detection (LVD) monitors the voltage level input to the VCC pin, and the
detection level can be selected using a software program. See section 7, Low Voltage
Detection (LVD) in Userâs Manual.
ï· Main clock oscillator (MOSC)
ï· Sub-clock oscillator (SOSC)
ï· High-speed on-chip oscillator (HOCO)
ï· Middle-speed on-chip oscillator (MOCO)
ï· Low-speed on-chip oscillator (LOCO)
ï· Independent watchdog timer on-chip oscillator
ï· Clock out support.
See section 8, Clock Generation Circuit in Userâs Manual.
The Clock Frequency Accuracy measurement circuit (CAC) checks the system clock
frequency with a reference clock signal by counting the number of pulses of the system clock
to be measured. The reference clock can be provided externally through a CACREF pin or
internally from various on-chip oscillators.
Event signals can be generated when the clock does not match or measurement ends.
This feature is particularly useful in implementing a fail-safe mechanism for home and
industrial automation applications.
See section 9, Clock Frequency Accuracy Measurement Circuit (CAC) in Userâs Manual.
The Interrupt Controller Unit (ICU) controls which event signals are linked to the NVIC/DTC
module. The ICU also controls NMI interrupts. See section 12, Interrupt Controller Unit (ICU) in
Userâs Manual.
A key interrupt can be generated by setting the Key Return Mode register (KRM) and inputting
a rising or falling edge to the key interrupt input pins. See section 18, Key Interrupt Function
(KINT) in Userâs Manual.
Power consumption can be reduced in multiple ways, including setting clock dividers, stopping
modules, selecting power control mode in normal operation, and transitioning to low power
modes. See section 10, Low Power Modes in Userâs Manual.
The register write protection function protects important registers from being overwritten due to
software errors. See section 11, Register Write Protection in Userâs Manual.
Four MPUs and a CPU stack pointer monitor function are provided for memory protection. See
section 14, Memory Protection Unit (MPU) in Userâs Manual.
The Watchdog Timer (WDT) is a 14-bit down-counter. It can be used to reset the MCU when
the counter underflows because the system has run out of control and is unable to refresh the
WDT. In addition, a non-maskable interrupt or interrupt can be generated by an underflow. The
refresh-permitted period can be set to refresh the counter and used as the condition for
detecting when the system runs out of control. See section 24, Watchdog Timer (WDT) in
Userâs Manual.
Independent Watchdog Timer (IWDT)
The Independent Watchdog Timer (IWDT) consists of a 14-bit down-counter that must be
serviced periodically to prevent counter underflow. The IWDT provides functionality to reset
the MCU or to generate a non-maskable interrupt/interrupt for a timer underflow. Because the
timer operates with an independent, dedicated clock source, it is particularly useful in returning
the MCU to a known state as a fail safe mechanism when the system runs out of control. The
IWDT can be triggered automatically on a reset, underflow, refresh error, or by a refresh of the
count value in the registers. See section 25, Independent Watchdog Timer (IWDT) in Userâs
Manual.
R01DS0309EU0100 Rev.1.00
Mar 10, 2017
Page 6 of 107
|
▷ |