Generated by kicad-footprint-generator · KiCad file format 20260206
R5F21246SNFP#V2
RENESAS · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-52(10x10)
R5F21246SNFP#V2 from RENESAS, in a LQFP-52(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | NC | no_connect | Non-connection (Figure 1.4: 'NC: Non-Connection'). |
| 2 | P3_5/SCL/SSCK | bidirectional | I/O port P3_5, also the I2C SCL and clock synchronous serial SSCK pin; set-up per Table 1.5 with direction register and optional program-selected pull-up. |
| 3 | P3_3/SSI | bidirectional | I/O port P3_3, also the clock synchronous serial I/O with chip select data I/O pin SSI. |
| 4 | P3_4/SDA/SCS | bidirectional | I/O port P3_4, also the I2C SDA data I/O pin and the chip-select signal SCS. |
| 5 | MODE | input | Mode pin; connect this pin to VCC via a resistor. |
| 6 | P4_3/XCIN | input | XCIN clock input for the 32 kHz crystal oscillator (connect crystal between XCIN and XCOUT; with an external clock input here and XCOUT left open); the pin also serves as I/O port P4_3. |
| 7 | P4_4/XCOUT | output | XCIN clock output for the 32 kHz crystal oscillator; the pin also serves as I/O port P4_4 when the sub clock is not used. |
| 8 | RESET | input | Reset input; a 'L' level on this pin resets the MCU. |
| 9 | XOUT/P4_7 | output | XIN clock output for the main oscillator (leave open when an external clock is input to XIN); P4_7 is an input-only port when XOUT is not used. |
| 10 | VSS/AVSS | power_in | Ground: apply 0 V to the VSS pin (also the analog ground for the A/D converter). |
| 11 | P4_6/XIN | input | XIN clock input for the on-chip oscillator circuit (ceramic resonator or crystal between XIN and XOUT, or external clock into XIN); P4_6 is an input-only port. |
| 12 | VCC/AVCC | power_in | Power supply: apply 2.2 V to 5.5 V to the VCC pin; it also supplies the A/D converter (AVCC). |
| 13 | P2_7/TRDIOD1 | bidirectional | I/O port P2_7 with LED drive capability and Timer RD I/O function TRDIOD1. |
| 14 | P2_6/TRDIOC1 | bidirectional | I/O port P2_6 with LED drive capability and Timer RD I/O function TRDIOC1. |
| 15 | P2_5/TRDIOB1 | bidirectional | I/O port P2_5 with LED drive capability and Timer RD I/O function TRDIOB1. |
| 16 | P2_4/TRDIOA1 | bidirectional | I/O port P2_4 with LED drive capability and Timer RD I/O function TRDIOA1. |
| 17 | P2_3/TRDIOD0 | bidirectional | I/O port P2_3 with LED drive capability and Timer RD I/O function TRDIOD0. |
| 18 | P2_2/TRDIOC0 | bidirectional | I/O port P2_2 with LED drive capability and Timer RD I/O function TRDIOC0. |
| 19 | P2_1/TRDIOB0 | bidirectional | I/O port P2_1 with LED drive capability and Timer RD I/O function TRDIOB0. |
| 20 | P2_0/TRDIOA0/TRDCLK | bidirectional | I/O port P2_0 with LED drive capability; alternate functions are Timer RD I/O TRDIOA0 and external clock input TRDCLK. |
| 21 | P1_7/TRAIO/INT1 | bidirectional | I/O port P1_7, also Timer RA I/O TRAIO and external interrupt INT1. |
| 22 | P1_6/CLK0 | bidirectional | I/O port P1_6, also the UART0 transfer clock I/O pin CLK0. |
| 23 | P1_5/RXD0/(TRAIO)/(INT1) | bidirectional | I/O port P1_5, UART0 serial data input RXD0; TRAIO and INT1 may be assigned to this pin by a program (alternate assignment in parentheses). |
| 24 | P1_4/TXD0 | bidirectional | I/O port P1_4, also the UART0 serial data output TXD0. |
| 25 | P1_3/KI3/AN11 | bidirectional | I/O port P1_3, also key input interrupt KI3 and A/D analog input AN11. |
| 26 | NC | no_connect | Non-connection (Figure 1.4: 'NC: Non-Connection'). |
| 27 | P4_5/INT0 | bidirectional | I/O port P4_5, also external interrupt INT0 (INT0 is the Timer RD input pin). |
| 28 | P6_6/INT2/TXD1 | bidirectional | I/O port P6_6, also external interrupt INT2 and UART1 serial data output TXD1. |
| 29 | P6_7/INT3/RXD1 | bidirectional | I/O port P6_7, also external interrupt INT3 and UART1 serial data input RXD1. |
| 30 | P1_2/KI2/AN10 | bidirectional | I/O port P1_2, also key input interrupt KI2 and A/D analog input AN10. |
| 31 | P1_1/KI1/AN9 | bidirectional | I/O port P1_1, also key input interrupt KI1 and A/D analog input AN9. |
| 32 | P1_0/KI0/AN8 | bidirectional | I/O port P1_0, also key input interrupt KI0 and A/D analog input AN8. |
| 33 | P3_1/TRBO | bidirectional | I/O port P3_1, also Timer RB output TRBO. |
| 34 | P3_0/TRAO | bidirectional | I/O port P3_0, also Timer RA output TRAO. |
| 35 | P6_5/CLK1 | bidirectional | I/O port P6_5, also the UART1 transfer clock I/O pin CLK1. |
| 36 | P6_4 | bidirectional | I/O port P6_4 (general-purpose I/O, direction set per pin by the direction register). |
| 37 | P6_3 | bidirectional | I/O port P6_3 (general-purpose I/O, direction set per pin by the direction register). |
| 38 | P0_7/AN0 | bidirectional | I/O port P0_7, also A/D analog input AN0. |
| 39 | NC | no_connect | Non-connection (Figure 1.4: 'NC: Non-Connection'). |
| 40 | NC | no_connect | Non-connection (Figure 1.4: 'NC: Non-Connection'). |
| 41 | P0_6/AN1 | bidirectional | I/O port P0_6, also A/D analog input AN1. |
| 42 | P0_5/AN2 | bidirectional | I/O port P0_5, also A/D analog input AN2. |
| 43 | P0_4/AN3 | bidirectional | I/O port P0_4, also A/D analog input AN3. |
| 44 | P4_2/VREF | input | Reference voltage input to the A/D converter; the pin is also the input-only port P4_2. |
| 45 | P6_0/TREO | bidirectional | I/O port P6_0, also Timer RE divided clock output TREO. |
| 46 | P6_2 | bidirectional | I/O port P6_2 (general-purpose I/O, direction set per pin by the direction register). |
| 47 | P6_1 | bidirectional | I/O port P6_1 (general-purpose I/O, direction set per pin by the direction register). |
| 48 | P0_3/AN4 | bidirectional | I/O port P0_3, also A/D analog input AN4. |
| 49 | P0_2/AN5 | bidirectional | I/O port P0_2, also A/D analog input AN5. |
| 50 | P0_1/AN6 | bidirectional | I/O port P0_1, also A/D analog input AN6. |
| 51 | P0_0/AN7 | bidirectional | I/O port P0_0, also A/D analog input AN7. |
| 52 | P3_7/SSO | bidirectional | I/O port P3_7, also clock synchronous serial I/O with chip select data I/O pin SSO. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | RENESAS |
| Package | LQFP-52(10x10) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 52 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage | VCC/AVCC | -0.3 | 6.5 | V | 27 | ||
| Input voltage | VI | -0.3 | V | max printed as VCC + 0.3 V | 27 | ||
| Output voltage | VO | -0.3 | V | max printed as VCC + 0.3 V | 27 | ||
| Power dissipation | Pd | 500 | mW | Topr = 25°C | 27 | ||
| Operating ambient temperature | Topr | -20 | 85 | °C | N version | 27 | |
| Storage temperature | Tstg | -65 | 150 | °C | 27 | ||
| Supply voltage | VCC/AVCC | 2.2 | 5.5 | V | 28 | ||
| Input L voltage | VIL | 0 | V | max printed as 0.2 VCC | 28 | ||
| Peak sum output H current | IOH(sum) | -160 | mA | Sum of all pins IOH(peak) | 28 | ||
| Average sum output H current | IOH(sum) | -80 | mA | Sum of all pins IOH(avg) | 28 | ||
| Peak output H current | IOH(peak) | -10 | mA | Except P2_0 to P2_7 | 28 | ||
| Peak output H current | IOH(peak) | -40 | mA | P2_0 to P2_7 | 28 | ||
| Average output H current | IOH(avg) | -5 | mA | Except P2_0 to P2_7 | 28 | ||
| Average output H current | IOH(avg) | -20 | mA | P2_0 to P2_7 | 28 | ||
| Peak sum output L current | IOL(sum) | 160 | mA | Sum of all pins IOL(peak) | 28 | ||
| Average sum output L current | IOL(sum) | 80 | mA | Sum of all pins IOL(avg) | 28 | ||
| Peak output L current | IOL(peak) | 10 | mA | Except P2_0 to P2_7 | 28 | ||
| Peak output L current | IOL(peak) | 40 | mA | P2_0 to P2_7 | 28 | ||
| Average output L current | IOL(avg) | 5 | mA | Except P2_0 to P2_7 | 28 | ||
| Average output L current | IOL(avg) | 20 | mA | P2_0 to P2_7 | 28 | ||
| XIN clock input oscillation frequency | f(XIN) | 0 | 20 | MHz | 3.0 V ≤ VCC ≤ 5.5 V | 28 | |
| XIN clock input oscillation frequency | f(XIN) | 0 | 10 | MHz | 2.7 V ≤ VCC < 3.0 V | 28 | |
| XIN clock input oscillation frequency | f(XIN) | 0 | 5 | MHz | 2.2 V ≤ VCC < 2.7 V | 28 | |
| XCIN clock input oscillation frequency | f(XCIN) | 0 | 70 | kHz | 2.2 V ≤ VCC ≤ 5.5 V | 28 | |
| Voltage detection level (voltage detection 0) | Vdet0 | 2.2 | 2.3 | 2.4 | V | 32 | |
| MCU operating voltage minimum value | Vccmin | 2.2 | V | 32 | |||
| Voltage detection level (voltage detection 1) | Vdet1 | 2.7 | 2.85 | 3 | V | 32 | |
| Voltage detection level (voltage detection 2) | Vdet2 | 3.3 | 3.6 | 3.9 | V | 32 | |
| Power-on reset valid voltage | Vpor1 | 0.1 | V | 33 | |||
| Power-on reset or voltage monitor 0 reset valid voltage | Vpor2 | 0 | V | max printed as Vdet0 | 33 | ||
| External power VCC rise gradient | trth | 20 | mV/msec | 33 | |||
| High-speed on-chip oscillator frequency | fOCO40M | 39.2 | 40 | 40.8 | MHz | VCC = 4.75 to 5.25 V, 0°C ≤ Topr ≤ 60°C | 34 |
| High-speed on-chip oscillator frequency | fOCO40M | 38.8 | 40 | 41.2 | MHz | VCC = 3.0 to 5.5 V, -20°C ≤ Topr ≤ 85°C | 34 |
| High-speed on-chip oscillator frequency | fOCO40M | 34 | 40 | 46 | MHz | VCC = 2.2 to 5.5 V, -40°C ≤ Topr ≤ 85°C | 34 |
| Low-speed on-chip oscillator frequency | fOCO-S | 30 | 125 | 250 | kHz | 34 | |
| Program/erase endurance | 100 | times | R8C/24 Group | 30 | |||
| Byte program time | 50 | 400 | µs | 30 | |||
| Block erase time | 0.4 | 9 | s | 30 | |||
| Program, erase voltage | 2.7 | 5.5 | V | 30 | |||
| Read voltage | 2.2 | 5.5 | V | 30 | |||
| Program, erase temperature | 0 | 60 | °C | 30 | |||
| Data hold time | 20 | year | Ambient temperature = 55°C | 30 | |||
| Resolution | 10 | Bit | Vref = AVCC | 29 | |||
| Absolute accuracy | -3 | 3 | LSB | 10-bit mode, φAD = 10 MHz, Vref = AVCC = 5.0 V | 29 | ||
| Resistor ladder | Rladder | 10 | 40 | kΩ | Vref = AVCC | 29 | |
| Reference voltage | Vref | 2.2 | V | max printed as AVCC | 29 | ||
| Power supply current (high-speed clock mode, 20 MHz) | ICC | 10 | 17 | mA | VCC = 3.3 to 5.5 V; XIN = 20 MHz square wave, no division, HS on-chip oscillator off, LOCO on = 125 kHz | 41 | |
| Power supply current (high-speed clock mode, 16 MHz) | ICC | 9 | 15 | mA | VCC = 3.3 to 5.5 V; XIN = 16 MHz square wave, no division | 41 | |
| Power supply current (high-speed on-chip oscillator mode, 20 MHz) | ICC | 10 | 15 | mA | VCC = 3.3 to 5.5 V; XIN clock off, fOCO = 20 MHz, no division | 41 | |
| Power supply current (low-speed on-chip oscillator mode) | ICC | 130 | 300 | µA | VCC = 3.3 to 5.5 V; LOCO on = 125 kHz, divide-by-8, FMR47 = 1 | 41 | |
| Power supply current (stop mode) | ICC | 0.8 | 3 | µA | XIN clock off, Topr = 25°C, CM10 = 1, peripheral clock off | 42 | |
| Output L voltage | VOL | 2 | V | IOL = 5 mA (except P2_0 to P2_7, XOUT) | 40 | ||
| Output L voltage | VOL | 0.45 | V | IOL = 200 µA (except P2_0 to P2_7, XOUT) | 40 | ||
| Input H current | IIH | 5 | µA | VI = 5 V, VCC = 5 V | 40 | ||
| Input L current | IIL | -5 | µA | VI = 0 V, VCC = 5 V | 40 | ||
| Pull-up resistance | RPULLUP | 30 | 50 | 167 | kΩ | VI = 0 V, VCC = 5 V | 40 |
| Hysteresis (INT0-INT3, KI0-KI3, TRAIO, RXD0, RXD1, CLK0, CLK1, SSI, SCL, SDA, SSO) | VT+-VT- | 0.1 | 0.5 | V | 40 | ||
| Hysteresis (RESET) | VT+-VT- | 0.1 | 1 | V | 40 | ||
| RAM hold voltage | VRAM | 1.8 | V | During stop mode | 40 |
CAD (KiCad official)
- Symbol:
R5F21246SNFP#V2 - Footprint:
Package_QFP:LQFP-52_10x10mm_P0.65mm - 3D model: LQFP-52(10x10) (KiCad packages3D, STEP)
- 3D model files:
r5f21246snfp-v2-etched.step/r5f21246snfp-v2-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);r5f21246snfp-v2.step/r5f21246snfp-v2.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: RENESAS datasheet, copy hosted by LCSC (61 pp, sha256
0e67561c4ef08d1f, retrieved 2026-11-20) - Extractor:
ds2sf(Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate. - CAD: KiCad official libraries (CC-BY-SA 4.0).