Renesas R5F213G6DNSP#W4
- Part No.:
- R5F213G6DNSP#W4
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 24-LSSOP (0.220", 5.60mm Width)
- Datasheet:
-
R5F213G6DNSP#W4.pdf
- Description:
- IC MCU 16BIT 32KB FLASH 24LSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:2,798
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F213G6DNSP from Renesas Electronics is a 16-bit R8C CPU core-based Flash microcontroller in the R8C/3GD Group, featuring 32 KB on-chip Flash ROM, 1 KB RAM, and operation at up to 20 MHz (VCC = 2.7–5.5 V). It integrates an 8-channel 10-bit A/D converter, four independent timers (RA, RB, RC, RE), dual UART/I²C-capable serial interfaces, voltage detection, and low-power stop/wait modes. It targets cost-sensitive embedded control in consumer appliances and office equipment.
For engineers reviewing the R5F213G6DNSP datasheet, R5F213G6DNSP pinout, R5F213G6DNSP application, or R5F213G6DNSP equivalent, this page delivers verified technical context, package mapping, validated pin functions, real-world use scenarios, and two confirmed alternative MCUs - all grounded in Renesas' official R8C/3GD Group documentation (REJ03B0289-0100 Rev.1.00).
Technical Context
The R5F213G6DNSP implements the R8C CPU core with 89 fundamental instructions, 1 Mbyte address space, and hardware multiplier (16×16→32-bit) supporting high-speed arithmetic. Its memory map allocates fixed interrupt vectors at 0FFDCh–0FFFFh and places 32 KB Flash from 08000h–0FFFFh, with 1 KB RAM at 00400h–007FFh.
It supports four clock sources: XIN (up to 20 MHz crystal/resonator), XCIN (32 kHz), high-speed on-chip oscillator (adjustable), and low-speed on-chip oscillator. Power management includes wait mode (3.5 µA @ 3.0 V, 32 kHz) and stop mode (2.0 µA @ 3.0 V), with voltage detection (VDD monitoring) and oscillation stop detection for system reliability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit core with 89 instructions and 16×16→32-bit hardware multiplier |
| Flash ROM / RAM | 32 KB Flash (programmable at VCC = 2.7–5.5 V, 1,000 erase/write cycles) and 1 KB RAM |
| Max Operating Frequency | 20 MHz at VCC = 2.7–5.5 V; 5 MHz at VCC = 1.8–5.5 V |
| A/D Converter | 10-bit resolution, 8 input channels (AN0–AN11), with sample-and-hold and sweep mode |
| Timers | Timer RA (8-bit), RB (8-bit PWM), RC (16-bit with 4 capture/compare registers), RE (8-bit RTC) |
| Serial Interfaces | UART0 (full-duplex), UART2 (UART/I²C/multiprocessor mode), with SCL2/SDA2 pins |
| Supply Current | Typ. 6.5 mA @ 5.0 V/20 MHz; 3.5 µA @ 3.0 V in wait mode (32 kHz); 2.0 µA in stop mode |
| Operating Temperature | –20°C to +85°C (N version, as indicated by "N" in R5F213G6DNSP) |
Pinout & Package
Package: 24-pin LSSOP (PLSP0024JB-A, 0.65 mm pitch), surface-mount, RoHS-compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P0_6/AN1 | Analog input / I/O port | Channel 1 of 10-bit A/D converter; configurable CMOS I/O with pull-up |
| P1_0/AN8/KI0 | Analog input / key interrupt / I/O port | Supports key scan wake-up and analog sensing simultaneously |
| P1_4/TXD0/TRCCLK | UART transmit / timer clock input | Shared function enables synchronous timer triggering via UART activity |
| P3_7/RXD2/SCL2/TXD2/SDA2 | I²C bus interface / UART2 I/O | Enables dual-role communication: I²C master/slave or full-duplex UART2 |
| XIN/XOUT | Primary crystal oscillator interface | Drives internal system clock up to 20 MHz; supports ceramic resonator or crystal |
| RESET | Active-low reset input | Hardware reset assertion clears CPU state and initializes peripherals |
| VCC/AVCC | Digital/analog power supply | Separate AVCC pin allows dedicated filtering for A/D reference stability |
| MODE | Boot mode selection | Must be pulled high externally to enable normal Flash execution mode |
Key Features
| Feature | Design Value |
|---|---|
| On-chip debug support | Enables real-time firmware debugging and flash rewrite without external emulator |
| Low-power stop mode | 2.0 µA consumption at 3.0 V enables battery-backed RTC and ultra-low standby in portable devices |
| Integrated voltage detection | Configurable reset and interrupt generation on VCC drop below selectable thresholds |
| Programmable waveform generation | Timer RB provides hardware PWM with programmable duty cycle and period for motor/LED control |
| Real-time clock (Timer RE) | 8-bit counter with calendar logic (seconds/minutes/hours/days-of-week) driven by 32 kHz sub-clock |
| Comparator B (2 circuits) | Independent analog comparators with selectable reference inputs (IVREF1/IVREF3) for threshold detection |
Applications
| Home Appliance Control | Office Equipment Interface |
|---|---|
Use Scenario: Embedded controller in microwave oven or rice cooker managing cooking time, temperature sensing, and user keypad input. IC Role / Device Role / Timing Role: Primary MCU executing real-time cooking logic, scanning 4-key matrix (KI0–KI3), and driving display segments via I/O ports. Use Value: Integrated 10-bit A/D (AN0–AN11) reads thermistor voltage; Timer RE maintains accurate cooking duration; low-power stop mode extends battery life in backup clock. |
Use Scenario: Control unit in multifunction printer handling paper feed, LED status indicators, and button press detection. IC Role / Device Role / Timing Role: System coordinator managing UART0 communication with main SoC and PWM-driven LED brightness control via Timer RB. Use Value: High-current drive capability (19 pins) directly drives LEDs; UART2's I²C mode interfaces with environmental sensors; 32 KB Flash accommodates firmware updates. |
| Audio Equipment Front Panel | Consumer Remote Control Hub |
Use Scenario: Front-panel manager in stereo receiver interpreting rotary encoder input, displaying volume level, and controlling audio path relays. IC Role / Device Role / Timing Role: Dedicated UI processor using Timer RC for precise pulse-width measurement of encoder signals and UART2 for command relay to main DSP. Use Value: TRCIOx pins support quadrature decoding; 8-channel A/D monitors potentiometer wiper position and supply rail health. |
Use Scenario: Central hub in smart home remote consolidating IR signal reception, Bluetooth LE connectivity, and button event routing. IC Role / Device Role / Timing Role: Low-power coordinator waking from stop mode on key press (INT0/INT1), sampling AN inputs for battery voltage, and transmitting commands via UART0. Use Value: 2.0 µA stop-mode current enables multi-year coin-cell operation; integrated voltage detection prevents brownout resets during transmission bursts. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit Flash MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F213G4DNSP | 16 KB Flash (vs. 32 KB), identical package, same peripheral set and timing specs | Suitable where firmware size < 16 KB and cost optimization is critical | Select when application code footprint fits within 16 KB and no future expansion is planned |
| R5F213G6DDSP | Same 32 KB Flash and peripherals, but –40°C to +85°C operating range (D version vs. N) | Required for industrial environments with extended ambient temperature requirements | Choose only if design must operate reliably below –20°C; otherwise R5F213G6DNSP suffices for commercial-grade applications |
Compared with R5F213G6DNSP, R5F213G4DNSP reduces Flash capacity by half while retaining identical I/O, timers, and low-power behavior - ideal for mature, size-constrained firmware. R5F213G6DDSP extends temperature range to –40°C but offers no functional upgrade, making it strictly a qualification-driven selection for harsher environments.
Availability
R5F213G6DNSP is available at Aetrix Electronics and suitable for home appliance control, office equipment interface, and consumer audio front-panel applications requiring stable component supply across long production lifecycles.
Supply support for R5F213G6DNSP includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
Renesas Electronics Corporation is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and consumer markets.
The R8C/3GD Group - including R5F213G6DNSP - was designed for cost-effective, low-power embedded control in consumer electronics, emphasizing integration of A/D, timers, and communication interfaces in compact 24-pin packages.
FAQ
What is the maximum operating frequency of the R5F213G6DNSP and under what conditions?
The R5F213G6DNSP operates at up to 20 MHz when supplied with VCC = 2.7–5.5 V and using the XIN clock source. At lower supply voltages (1.8–5.5 V), the maximum frequency is reduced to 5 MHz to ensure stable operation. These limits are defined in the R8C/3GD Group specification tables and apply directly to the R5F213G6DNSP as a member of that family.
Does the R5F213G6DNSP support in-circuit debugging and flash programming?
Yes, the R5F213G6DNSP includes on-chip debug functionality and supports in-system flash rewriting via its dedicated debug interface. This capability is documented in the R8C/3GD Group datasheet (REJ03B0289-0100) and eliminates the need for external emulators during development and field firmware updates.
What are the key low-power modes supported by the R5F213G6DNSP and their typical current draw?
The R5F213G6DNSP supports wait mode (3.5 µA @ 3.0 V, 32 kHz sub-clock active) and stop mode (2.0 µA @ 3.0 V, all clocks halted except optional 32 kHz oscillator for Timer RE). These values are measured and specified in the R8C/3GD Group datasheet and apply to the R5F213G6DNSP as the N-version part.
How many analog input channels does the R5F213G6DNSP's A/D converter have, and what is its resolution?
The R5F213G6DNSP integrates a 10-bit successive-approximation A/D converter with 8 usable input channels (AN0–AN11, with AN2–AN4 not bonded out in the 24-pin LSSOP package). This configuration is explicitly listed in Table 1.1 and Figure 1.3 of the R8C/3GD Group documentation for the R5F213G6DNSP.
Is the R5F213G6DNSP pin-compatible with other members of the R8C/3GD Group?
Yes, all R8C/3GD Group MCUs - including R5F213G1DNSP through R5F213G6DNSP and their D-version counterparts - share identical 24-pin LSSOP (PLSP0024JB-A) packaging and pin assignments. The R5F213G6DNSP uses the same pinout shown in Figure 1.3 and Table 1.4, enabling hardware reuse across Flash size variants.
R5F213G6DNSP#W4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 24-LSSOP (0.220", 5.60mm Width)
- Series:
- R8C/3x/3GD
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Obsolete
- Programmable:
- Not Verified
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, UART/USART
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 19
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 5.5V
- Data Converters:
- A/D 8x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -20°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F213G6DNSP#W4 FAQ
1.How can I place an order for R5F213G6DNSP#W4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F213G6DNSP#W4 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for R5F213G6DNSP#W4 reliable?
The price and inventory of R5F213G6DNSP#W4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F213G6DNSP#W4 is usually 5 days.
3.What payment methods are accepted for R5F213G6DNSP#W4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F213G6DNSP#W4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F213G6DNSP#W4?
R5F213G6DNSP#W4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F213G6DNSP#W4 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for R5F213G6DNSP#W4?
For technical support, including R5F213G6DNSP#W4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F213G6DNSP#W4 requirements.
6.How does Aetrix verify that R5F213G6DNSP#W4 is sourced from the original manufacturer or authorized distributors?
All R5F213G6DNSP#W4 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that R5F213G6DNSP#W4 meets industry standards.
7.What is the process for return or replacement of R5F213G6DNSP#W4?
All R5F213G6DNSP#W4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F213G6DNSP#W4, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The R5F213G6DNSP#W4 part is unused and in its original packaging.
Return procedure for R5F213G6DNSP#W4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F213G6DNSP#W4 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…

