Generated by kicad-footprint-generator · KiCad file format 20260206
R5F2123AKFP#U0
RENESAS · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-48(7x7)
R5F2123AKFP#U0 from RENESAS, in a LQFP-48(7x7). 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 | P3_5/SCL/SSCK | bidirectional | CMOS I/O port P3_5 with alternate functions SCL (I2C clock I/O) and SSCK (clock synchronous serial clock I/O). |
| 2 | P3_3/SSI | bidirectional | CMOS I/O port P3_3 with alternate function SSI, the clock synchronous serial I/O data pin. |
| 3 | P3_4/SDA/SCS | bidirectional | CMOS I/O port P3_4 with alternate functions SDA (I2C data I/O) and SCS (chip-select I/O). |
| 4 | MODE | input | Connect this pin to VCC via a resistor. |
| 5 | P4_3 | bidirectional | CMOS I/O port P4_3 with per-pin direction register and program-selectable pull-up when used as input. |
| 6 | P4_4 | bidirectional | CMOS I/O port P4_4 with per-pin direction register and program-selectable pull-up when used as input. |
| 7 | RESET | input | An input of L on this pin resets the MCU. |
| 8 | P4_7/XOUT | input | Input-only port P4_7; the XOUT pin is the XIN clock output, connected to a ceramic resonator or crystal oscillator with XIN. |
| 9 | VSS/AVSS | power_in | Apply 0 V to the VSS pin; AVSS is the analog ground for the A/D converter, with a capacitor connected between AVCC and AVSS. |
| 10 | P4_6/XIN | input | Input-only port P4_6; the XIN pin is the clock input for the ceramic resonator or crystal oscillator, or an externally derived clock may be input here. |
| 11 | VCC/AVCC | power_in | Apply 2.7 V to 5.5 V to the VCC pin; AVCC supplies the A/D converter. |
| 12 | P2_7/TRDIOD1 | bidirectional | CMOS I/O port P2_7 with alternate function TRDIOD1, the Timer RD I/O port. |
| 13 | P2_6/TRDIOC1 | bidirectional | CMOS I/O port P2_6 with alternate function TRDIOC1, the Timer RD I/O port. |
| 14 | P2_5/TRDIOB1 | bidirectional | CMOS I/O port P2_5 with alternate function TRDIOB1, the Timer RD I/O port. |
| 15 | P2_4/TRDIOA1 | bidirectional | CMOS I/O port P2_4 with alternate function TRDIOA1, the Timer RD I/O port. |
| 16 | P2_3/TRDIOD0 | bidirectional | CMOS I/O port P2_3 with alternate function TRDIOD0, the Timer RD I/O port. |
| 17 | P2_2/TRDIOC0 | bidirectional | CMOS I/O port P2_2 with alternate function TRDIOC0, the Timer RD I/O port. |
| 18 | P2_1/TRDIOB0 | bidirectional | CMOS I/O port P2_1 with alternate function TRDIOB0, the Timer RD I/O port. |
| 19 | P2_0/TRDIOA0/TRDCLK | bidirectional | CMOS I/O port P2_0 with alternate functions TRDIOA0 (Timer RD I/O) and TRDCLK (Timer RD external clock input). |
| 20 | P1_7/TRAIO/INT1 | bidirectional | CMOS I/O port P1_7 with alternate functions TRAIO (Timer RA I/O) and INT1 (interrupt input). |
| 21 | P1_6/CLK0 | bidirectional | CMOS I/O port P1_6 with alternate function CLK0, the serial transfer clock I/O pin. |
| 22 | P1_5/RXD0/(TRAIO)/(INT1) | bidirectional | CMOS I/O port P1_5 with alternate function RXD0 (serial data input); TRAIO and INT1 can be assigned to this pin by a program. |
| 23 | P1_4/TXD0 | bidirectional | CMOS I/O port P1_4 with alternate function TXD0, the serial data output pin. |
| 24 | P1_3/KI3/AN11 | bidirectional | CMOS I/O port P1_3 with alternate functions KI3 (key input interrupt) and AN11 (A/D analog input). |
| 25 | P4_5/INT0 | bidirectional | CMOS I/O port P4_5 with alternate function INT0, the interrupt input and Timer RD input pin. |
| 26 | P6_6/INT2/TXD1 | bidirectional | CMOS I/O port P6_6 with alternate functions INT2 (interrupt input) and TXD1 (serial data output). |
| 27 | P6_7/INT3/RXD1 | bidirectional | CMOS I/O port P6_7 with alternate functions INT3 (interrupt input) and RXD1 (serial data input). |
| 28 | P1_2/KI2/AN10 | bidirectional | CMOS I/O port P1_2 with alternate functions KI2 (key input interrupt) and AN10 (A/D analog input). |
| 29 | P1_1/KI1/AN9 | bidirectional | CMOS I/O port P1_1 with alternate functions KI1 (key input interrupt) and AN9 (A/D analog input). |
| 30 | P1_0/KI0/AN8 | bidirectional | CMOS I/O port P1_0 with alternate functions KI0 (key input interrupt) and AN8 (A/D analog input). |
| 31 | P3_1/TRBO | bidirectional | CMOS I/O port P3_1 with alternate function TRBO, the Timer RB output pin. |
| 32 | P3_0/TRAO | bidirectional | CMOS I/O port P3_0 with alternate function TRAO, the Timer RA output pin. |
| 33 | P6_5 | bidirectional | CMOS I/O port P6_5, direction set per bit with program-selectable pull-up when used as input. |
| 34 | P6_4 | bidirectional | CMOS I/O port P6_4, direction set per bit with program-selectable pull-up when used as input. |
| 35 | P6_3 | bidirectional | CMOS I/O port P6_3, direction set per bit with program-selectable pull-up when used as input. |
| 36 | P0_7/AN0 | bidirectional | CMOS I/O port P0_7 with alternate function AN0, an analog input to the A/D converter. |
| 37 | P0_6/AN1 | bidirectional | CMOS I/O port P0_6 with alternate function AN1, an analog input to the A/D converter. |
| 38 | P0_5/AN2 | bidirectional | CMOS I/O port P0_5 with alternate function AN2, an analog input to the A/D converter. |
| 39 | P0_4/AN3 | bidirectional | CMOS I/O port P0_4 with alternate function AN3, an analog input to the A/D converter. |
| 40 | P4_2/VREF | input | Input-only port P4_2; the VREF pin is the reference voltage input to the A/D converter. |
| 41 | P6_0/TREO | bidirectional | CMOS I/O port P6_0 with alternate function TREO, the Timer RE divided clock output pin. |
| 42 | P6_2/CRX0 | bidirectional | CMOS I/O port P6_2 with alternate function CRX0, the CAN data input pin. |
| 43 | P6_1/CTX0 | bidirectional | CMOS I/O port P6_1 with alternate function CTX0, the CAN data output pin. |
| 44 | P0_3/AN4 | bidirectional | CMOS I/O port P0_3 with alternate function AN4, an analog input to the A/D converter. |
| 45 | P0_2/AN5 | bidirectional | CMOS I/O port P0_2 with alternate function AN5, an analog input to the A/D converter. |
| 46 | P0_1/AN6 | bidirectional | CMOS I/O port P0_1 with alternate function AN6, an analog input to the A/D converter. |
| 47 | P0_0/AN7 | bidirectional | CMOS I/O port P0_0 with alternate function AN7, an analog input to the A/D converter. |
| 48 | P3_7/SSO | bidirectional | CMOS I/O port P3_7 with alternate function SSO, the clock synchronous serial I/O data pin. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | RENESAS |
| Package | LQFP-48(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 48 |
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 | 30 | ||
| Input voltage | VI | -0.3 | V | upper limit printed as VCC+0.3 | 30 | ||
| Power dissipation | Pd | 300 | mW | -40°C ≤ Topr ≤ 85°C | 30 | ||
| Power dissipation | Pd | 125 | mW | 85°C < Topr ≤ 125°C | 30 | ||
| Operating ambient temperature | Topr | -40 | 125 | °C | K version | 30 | |
| Storage temperature | Tstg | -65 | 150 | °C | 30 | ||
| Supply voltage | VCC/AVCC | 2.7 | 5.5 | V | 30 | ||
| Peak sum output H current | IOH(sum) | -60 | mA | Sum of all pins IOH (peak) | 30 | ||
| Peak output H current | IOH(peak) | -10 | mA | 30 | |||
| Average output H current | IOH(avg) | -5 | mA | 30 | |||
| Peak sum output L currents | IOL(sum) | 60 | mA | Sum of all pins IOL (peak) | 30 | ||
| Peak output L currents | IOL(peak) | 10 | mA | 30 | |||
| Average output L current | IOL(avg) | 5 | mA | 30 | |||
| XIN clock input oscillation frequency | f(XIN) | 0 | 16 | MHz | 3.0 V ≤ VCC ≤ 5.5 V, -40°C ≤ Topr ≤ 125°C | 30 | |
| XIN clock input oscillation frequency | f(XIN) | 0 | 10 | MHz | 2.7 V ≤ VCC < 3.0 V | 30 | |
| Hysteresis | VT+-VT- | 0.1 | 0.5 | V | INT0, INT1, INT2, INT3, KI0, KI1, KI2, KI3, TRAIO, RXD0, RXD1, CLK0, SSI, SCL, SDA, SSO | 42 | |
| Hysteresis | VT+-VT- | 0.1 | 1 | V | RESET | 42 | |
| Input H current | IIH | 5 | µA | VI = 5 V, Vcc = 5 V | 42 | ||
| Input L current | IIL | -5 | µA | VI = 0 V, Vcc = 5 V | 42 | ||
| Pull-Up Resistance | RPULLUP | 30 | 50 | 167 | kΩ | VI = 0 V, Vcc = 5 V | 42 |
| RAM Hold Voltage | VRAM | 2 | V | During stop mode | 42 | ||
| Output L voltage | VOL | 2 | V | IOL = 5 mA, except XOUT | 42 | ||
| Output L voltage | VOL | 0.45 | V | IOL = 200 µA, except XOUT | 42 | ||
| Power supply current | ICC | 12.5 | 25 | mA | High-clock mode, XIN = 20 MHz (square wave), no division | 43 | |
| Power supply current | ICC | 10 | 20 | mA | High-clock mode, XIN = 16 MHz (square wave), no division | 43 | |
| Power supply current | ICC | 6.5 | 13 | mA | High-speed on-chip oscillator mode, fOCO = 10 MHz, no division | 43 | |
| Power supply current | ICC | 150 | 300 | µA | Low-speed on-chip oscillator mode, FMR47 = 1 | 43 | |
| Power supply current | ICC | 60 | 120 | µA | Wait mode, peripheral clock operation, VCA20 = 0, VCA26 = VCA27 = 0 | 43 | |
| Power supply current | ICC | 38 | 76 | µA | Wait mode, peripheral clock off, VCA20 = 0, VCA26 = VCA27 = 0 | 43 | |
| Power supply current | ICC | 0.8 | 3 | µA | Stop mode, Topr = 25°C, CM10 = 1 | 43 | |
| XIN input cycle time | tc(XIN) | 50 | ns | VCC = 5 V | 44 | ||
| XIN input H width | tWH(XIN) | 25 | ns | VCC = 5 V | 44 | ||
| XIN input L width | tWL(XIN) | 25 | ns | VCC = 5 V | 44 | ||
| TRAIO input cycle time | tc(TRAIO) | 100 | ns | VCC = 5 V | 44 | ||
| TRAIO input H width | tWH(TRAIO) | 40 | ns | VCC = 5 V | 44 | ||
| TRAIO input L width | tWL(TRAIO) | 40 | ns | VCC = 5 V | 44 | ||
| High-speed on-chip oscillator frequency | fOCO40M | 38 | 40 | 42 | MHz | VCC = 3.0 V to 5.5 V, -40°C ≤ Topr ≤ 125°C | 36 |
| High-speed on-chip oscillator frequency | fOCO40M | 37.6 | 40 | 42.4 | MHz | VCC = 2.7 V to 5.5 V, -40°C ≤ Topr ≤ 125°C | 36 |
| Low-speed on-chip oscillator frequency | fOCO-S | 40 | 125 | 250 | kHz | 36 | |
| Time for internal power supply stabilization during power-on | td(P-R) | 1 | 2000 | µs | 36 | ||
| STOP exit time | td(R-S) | 150 | µs | 36 | |||
| Power-on reset valid voltage | Vpor1 | 0.1 | V | 35 | |||
| External power VCC rise gradient | trth | 20 | mV/msec | VCC ≤ 3.6 V | 35 | ||
| External power VCC rise gradient | trth | 20 | 2000 | mV/msec | VCC > 3.6 V | 35 | |
| Voltage detection level | Vdet1 | 2.7 | 2.85 | 3 | V | 34 | |
| Voltage detection level | Vdet2 | 3.3 | 3.6 | 3.9 | V | 34 | |
| MCU operating voltage minimum value | Vccmin | 2.7 | V | 34 | |||
| Absolute accuracy | -3 | 3 | LSB | 10-bit mode, φAD = 10 MHz, Vref = AVCC = 5.0 V | 31 | ||
| Resistor ladder | Rladder | 10 | 40 | kΩ | Vref = AVCC | 31 | |
| Program/erase endurance | 1000 | times | R8C/23 Group | 32 | |||
| Byte program time | 50 | 400 | µs | 32 | |||
| Block erase time | 0.4 | 9 | s | 32 | |||
| Data hold time | 20 | year | Ambient temperature = 55°C | 32 | |||
| Program/erase endurance | 10000 | times | Data flash block A, block B | 33 | |||
| Byte program time | 50 | 400 | µs | Program/erase endurance ≤ 1,000 times | 33 | ||
| Program, erase temperature | -40 | 85 | °C | Note 8: 125°C for K version | 33 |
CAD (KiCad official)
- Symbol:
R5F2123AKFP#U0 - Footprint:
Package_QFP:LQFP-48_7x7mm_P0.5mm - 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)
- 3D model files:
r5f2123akfp-u0-etched.step/r5f2123akfp-u0-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);r5f2123akfp-u0.step/r5f2123akfp-u0.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: RENESAS datasheet (54 pp, sha256
b79f4d256615f067, retrieved 2026-11-02, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).