Datasheet R01DS0395EJ0100 RL78/G23 Rev.1.00 RENESAS MCU Apr 13, 2021 True low-power platform, 44-A/MHz operating current, 210-nA holding current for 4 KB of RAM, up to 768-KB code flash memory and 48-KB RAM, Capacitive sensing unit, from 30 to 128 pins, 1.6-5.5 V 1. OUTLINE 1.1 Features High-speed on-chip oscillator Ultra-low power consumption technology Select from 32 MHz, 24 MHz, 16 MHz, 12 MHz, VDD = single power supply voltage of 1.6 to 5.5 V 8 MHz, 6 MHz, 4 MHz, 3 MHz, 2 MHz, or 1 MHz HALT mode High accuracy: 1.0% (VDD = 1.8 to 5.5 V, STOP mode TA = -20 to +85C) High-speed wakeup from the STOP mode is possible. Middle-speed on-chip oscillator SNOOZE mode Select from 4 MHz, 3 MHz, 2 MHz, or 1 MHz (with adjustability) RL78 CPU core CISC architecture with 3-stage pipeline Low-speed on-chip oscillator Minimum instruction execution time: Can be 32.768 kHz (typ.) (with adjustability) changed from high speed (0.03125 s 32 MHz operation with the high-speed on-chip oscillator Operating ambient temperature clock) to ultra-low speed (30.5 s 32.768 kHz TA = -40 to +85C (2D: Consumer applications) operation with the subsystem clock) TA = -40 to +105C (3C: Industrial applications) Multiply/divide/multiply & accumulate instructions are supported. Power management and reset function Address space: 1 MB On-chip power-on-reset (POR) circuit General-purpose registers: (8-bit register 8) 4 On-chip voltage detectors (LVD0 and LVD1) banks On-chip RAM: 12 to 48 KB Data transfer controller (DTC) Transfer modes: Normal transfer mode, repeat Code flash memory transfer mode, block transfer mode Code flash memory: 96 to 768 KB Activation sources: Activated by interrupt sources. Block size: 2 KB Chain transfer function Prohibition of block erase and rewriting (security function) SNOOZE mode sequencer (SMS) On-chip debugging Calculations and comparison of values by the Self-programming commands for use in processing by the (with boot swapping and flash shield window) sequencer can realize intermittent operations where the RL78/G23 does not have to return to Data flash memory normal operation. Data flash memory: 8 KB Sequentially handling a total of 32 processes with Back ground operation (BGO): Instructions can be the use of desired commands from among 21 executed from the program memory while different ones rewriting the data flash memory. The SNOOZE mode sequencer offers operation Number of rewrites: 1,000,000 times (typ.) with low power consumption without using the CPU, flash memory, and RAM. R01DS0395EJ0100 Rev.1.00 Page 1 of 118 Apr 13, 2021RL78/G23 1. OUTLINE Logic and event link controller (ELCL) Capacitive sensing unit Event signals can be set up between specified CTSU2L operating voltage condition: peripheral functions. VDD = 1.8 to 5.5 V The signals can be generated by the input of Self-capacitance method: A single pin configures multiple event signals to the logic circuit. a single key, supporting up to 32 keys Flip-flop circuits are incorporated to handle setting Mutual capacitance method: Matrix configuration and resetting functions. with 8 8 pins, supporting up to 64 keys Serial interface Input/output port pins Note 1 Number of port pins: SPI (CSI ): 3 to 8 channels 26 to 120 (N-ch open drain I/O UART/UART (LIN-bus supported)/UARTA: withstand voltage of 6 V : 2 to 4, 3 to 6 channels 2 2 N-ch open drain I/O VDD withstand I C/Simplified I C: 4 to 10 channels Note 2 voltage /EVDD withstand Note 3 Remote control signal receiver voltage : 10 to 33, output current 1 channel control pins: 6 to 8) Matching of 4 waveform patterns Can be set to N-ch open drain or TTL input buffer, (header, data 0, data 1, and special data) and use of an on-chip pull-up resistor can be specified. Timer Connectable to a device with different voltage 16-bit timer: 8 to 16 channels (1.8, 2.5, or 3 V) 32-bit interval timer: 1 channel in 32-bit mode 2 channels in 16-bit mode Others 4 channels in 8-bit mode BCD (binary-coded decimal) correction circuit Realtime clock: 1 channel (counting of one Key interrupt input second to 99 years, alarm interrupt, and clock Clock output/buzzer output controller correction) Watchdog timer: 1 channel (operates with the Note 1. Although the CSI function is generally dedicated low-speed on-chip oscillator clock) called SPI, it is also called CSI in this product, so it is referred to as such in A/D converter this manual. 8-/10-/12-bit resolution A/D converter Note 2. This applies to the 30- to 52-pin (VDD = 1.6 to 5.5 V) products. Analog input: 8 to 26 channels Note 3. This applies to the 64- to 128-pin Internal reference voltage (1.48 V) and products. temperature sensor Remark The functions mounted depend on the D/A converter product. See 1.6 Outline of Functions. 8-bit resolution D/A converter (VDD = 1.6 to 5.5 V) Analog output: 2 channels Output voltage: 0 V to VDD Realtime output function Comparator 2 channels Operating modes: Comparator high-speed mode and comparator low-speed mode The external reference voltage and the internal reference voltage or D/A converter output are selectable as the reference voltage. R01DS0395EJ0100 Rev.1.00 Page 2 of 118 Apr 13, 2021