Manual
Table Of Contents
- 1 GENERAL DESCRIPTION
- 2 FEATURES
- 3 PARTS INFORMATION LIST AND PIN CONFIGURATION
- 4 BLOCK DIAGRAM
- 5 FUNCTIONAL DESCRIPTION
- 5.1 ARM® Cortex™-M0 core
- 5.2 System Manager
- 5.3 Clock Controller
- 5.4 USB Device Controller
- 5.5 General Purpose I/O
- 5.6 I2C Serial Interface Controller (Master/Slave)
- 5.7 PWM Generator and Capture Timer
- 5.8 Real Time Clock (RTC)
- 5.9 Serial Peripheral Interface (SPI) Controller
- 5.10 Timer Controller
- 5.11 Watchdog Timer
- 5.12 UART Interface Controller
- 5.13 Controller Area Network (CAN Bus)
- 5.14 PS2 Device Controller (PS2D)
- 5.15 I2S Controller
- 5.16 Analog-to-Digital Converter (ADC)
- 5.17 Analog Comparator
- 5.18 PDMA Controller
- 6 FLASH MEMORY CONTROLLER (FMC)
- 7 ELECTRICAL CHARACTERISTICS
- 7.1 Absolute Maximum Ratings
- 7.2 DC Electrical Characteristics
- 7.3 AC Electrical Characteristics
- 7.4 Analog Characteristics
- 7.4.1 Specification of 12-bit SARADC
- 7.4.2 Specification of LDO & Power management
- 7.4.3 Specification of Low Voltage Reset
- 7.4.4 Specification of Brownout Detector
- 7.4.5 Specification of Power-On Reset (5V)
- 7.4.6 Specification of Temperature Sensor
- 7.4.7 Specification of Comparator
- 7.4.8 Specification of USB PHY
- 8 PACKAGE DIMENSIONS
- 9 REVISION HISTORY

NUC140 Series DATA SHEET
Publication Release Date: May 31, 2010
- 42 - Revision V1.02
5.8 Real Time Clock (RTC)
5.8.1 Overview
Real Time Clock (RTC) unit provides user the real time and calendar message. The clock source of
RTC is from an external 32.768KHz crystal connected at pins X32I and X32O or from an external
32.768KHz oscillator output fed at pin X32I. The RTC unit provides the time message(second, minute,
hour) in Time Loading Register (TLR) as well as calendar message(day, month, year) in Calendar
Loading Register (CLR). The data message is expressed in BCD format. This unit offers alarm
function that user can preset the alarm time in Time Alarm Register (TAR) and alarm calendar in
Calendar Alarm Register (CAR).
The RTC unit supports periodic Time Tick and Alarm Match interrupts. The periodic interrupt has 8
period options 1/128, 1/64, 1/32, 1/16, 1/8, 1/4, 1/2 and 1 second which are selected by
TTR(TTR[2:0]). When RTC counter in TLR and CLR is equal to alarm setting time registers TAR and
CAR, the alarm interrupt flag (RIIR.AIF) is set and the alarm interrupt is requested if the alarm interrupt
is enabled (RIER.AIER=1). The RTC Time Tick and Alarm Match can cause CPU wakeup from sleep
or power-down mode if Wakeup CPU function is enabled(TWKE(TTR[3])=1).
5.8.2 RTC Features
y There is a time counter (second, minute, hour) and calendar counter (day, month, year) for user
to check the time.
y Alarm register (second, minute, hour, day, month, year).
y 12-hour or 24-hour mode is selectable.
y Leap year compensation automatically.
y Day of week counter.
y Frequency compensate register (FCR).
y All time and calendar message is expressed in BCD code.
y Support 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.
y Support RTC Time Tick and Alarm Match interrupt
y Support wake up CPU from sleep or power-down mode.










