Loads when you scroll to it. Unloads after 5 minutes in the background.

Symbol & Footprint

Schematic Symbol

Open full view ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.

PCB Footprint

Open full view ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Loads when you scroll to it. Unloads after 5 minutes in the background.
Download PDF
Contents

README

markdown

R5F21276SNFP#X6

RENESAS · RENESAS · LQFP-32(7x7)

R5F21276SNFP#X6 from RENESAS, in a LQFP-32(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 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as TRCIOD, SSCK, or SCL (I2C clock I/O).
2 P3_7 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as TRAO, RXD1, (TXD1), or SSO.
3 RESET input An input 'L' on this pin resets the MCU.
4 XOUT/XCOUT/P4_7 output XIN clock output (XOUT); for the N version it is the XCIN clock output (XCOUT), and it may alternatively be used as input-only port P4_7; leave XOUT open when an external clock is applied to XIN.
5 VSS/AVSS power_in Ground pin: apply 0 V to VSS; AVSS is the analog ground for the A/D converter, with a capacitor connected between AVCC and AVSS.
6 XIN/XCIN/P4_6 input XIN clock input (connect a ceramic resonator or crystal between XIN and XOUT, or drive an external clock into XIN); for the N version XCIN is also available, and P4_6 is an input-only port.
7 VCC/AVCC power_in Power supply: apply 2.2 to 5.5 V to VCC for the N version (J and K versions are 2.7 to 5.5 V); AVCC supplies the A/D converter.
8 MODE input Connect this pin to VCC via a resistor.
9 P4_5/INT0/(RXD1) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as INT0 interrupt input or RXD1.
10 P1_7/TRAIO/INT1 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as INT1 interrupt input or TRAIO (Timer RA I/O); P1_x pins also serve as LED drive ports in the N version.
11 P3_6/(TXD1)/(RXD1)/(INT1) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that can alternatively be assigned to INT1, TXD1, or RXD1 by program.
12 P3_1/TRBO bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as the Timer RB output TRBO.
13 P5_4/TRCIOD bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as Timer RC I/O TRCIOD.
14 P5_3/TRCIOC bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as Timer RC I/O TRCIOC.
15 P1_6/CLK0/(SSI) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as serial clock I/O CLK0 or, by program, SSI.
16 P1_5/RXD0/(TRAIO)/(INT1) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as serial receive data input RXD0, or by program TRAIO or INT1.
17 P1_4/TXD0 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as serial transmit data output TXD0.
18 P1_3/KI3/AN11/(TRBO) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as key input interrupt KI3, A/D analog input AN11, or by program TRBO.
19 P1_2/KI2/AN10/TRCIOB bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as key input interrupt KI2, Timer RC I/O TRCIOB, or A/D analog input AN10.
20 VREF/P4_2 power_in Reference voltage input to the A/D converter; P4_2 is an input-only port on this pin.
21 P1_1/KI1/AN9/TRCIOA/TRCTRG bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as key input interrupt KI1, Timer RC I/O TRCIOA, Timer RC external trigger TRCTRG, or A/D analog input AN9.
22 P1_0/KI0/AN8 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as key input interrupt KI0 or A/D analog input AN8.
23 P3_3/INT3/SSI/TRCCLK bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as INT3 interrupt input, Timer RC external clock input TRCCLK, or SSI data I/O.
24 P3_4/SDA/SCS/(TRCIOC) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as SCS chip-select I/O, SDA (I2C data I/O), or by program TRCIOC.
25 P0_7/AN0 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN0.
26 P0_6/AN1 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN1.
27 P0_5/AN2/CLK1 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as serial clock I/O CLK1 or A/D analog input AN2.
28 P0_4/AN3/TREO bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as Timer RE output TREO or A/D analog input AN3.
29 P0_3/AN4 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN4.
30 P0_2/AN5 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN5.
31 P0_1/AN6 bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN6.
32 P0_0/AN7/(TXD1) bidirectional CMOS I/O port pin (direction set per pin by a register, optional pull-up when input) that alternately serves as A/D analog input AN7 or, by program, TXD1.

Key specifications

Parameter Value
Manufacturer RENESAS
Package LQFP-32(7x7)
Category Embedded Processors & Controllers
Pins 32

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 26
Input voltage VI -0.3 V 26
Output voltage VO -0.3 V 26
Power dissipation Pd 500 mW Topr = 25°C 26
Operating ambient temperature Topr -20 85 °C N version 26
Storage temperature Tstg -65 150 °C 26
Supply voltage VCC/AVCC 2.2 5.5 V 26
Input 'L' voltage VIL 0 V 26
Peak sum output 'H' current IOH(sum) -160 mA Sum of all pins IOH(peak) 26
Average sum output 'H' current IOH(sum) -80 mA Sum of all pins IOH(avg) 26
Peak output 'H' current IOH(peak) -10 mA Except P1_0 to P1_7 26
Peak output 'H' current IOH(peak) -40 mA P1_0 to P1_7 26
Average output 'H' current IOH(avg) -5 mA Except P1_0 to P1_7 26
Average output 'H' current IOH(avg) -20 mA P1_0 to P1_7 26
Peak sum output 'L' currents IOL(sum) 160 mA Sum of all pins IOL(peak) 26
Average sum output 'L' currents IOL(sum) 80 mA Sum of all pins IOL(avg) 26
Peak output 'L' current IOL(peak) 10 mA Except P1_0 to P1_7 26
Peak output 'L' current IOL(peak) 40 mA P1_0 to P1_7 26
Average output 'L' current IOL(avg) 5 mA Except P1_0 to P1_7 26
Average output 'L' current IOL(avg) 20 mA P1_0 to P1_7 26
XIN clock input oscillation frequency f(XIN) 0 20 MHz 3.0 V ≤ VCC ≤ 5.5 V 26
XIN clock input oscillation frequency f(XIN) 0 10 MHz 2.7 V ≤ VCC < 3.0 V 26
XIN clock input oscillation frequency f(XIN) 0 5 MHz 2.2 V ≤ VCC < 2.7 V 26
XCIN clock input oscillation frequency f(XCIN) 0 70 kHz 2.2 V ≤ VCC ≤ 5.5 V 26
High-speed on-chip oscillator clock frequency 20 MHz OCD2 = 1, FRA01 = 1, 3.0 V ≤ VCC ≤ 5.5 V 26
High-speed on-chip oscillator clock frequency 10 MHz OCD2 = 1, FRA01 = 1, 2.7 V ≤ VCC ≤ 5.5 V 26
High-speed on-chip oscillator clock frequency 5 MHz OCD2 = 1, FRA01 = 1, 2.2 V ≤ VCC ≤ 5.5 V 26
Output 'L' voltage VOL 2 V Except P1_0 to P1_7, XOUT; IOL = 5 mA; VCC = 5 V 38
Output 'L' voltage VOL 0.45 V Except P1_0 to P1_7, XOUT; IOL = 200 µA; VCC = 5 V 38
Output 'L' voltage (drive capacity HIGH) VOL 2 V P1_0 to P1_7; IOL = 20 mA; VCC = 5 V 38
Output 'L' voltage (drive capacity LOW) VOL 2 V P1_0 to P1_7; IOL = 5 mA; VCC = 5 V 38
Output 'L' voltage (XOUT drive capacity HIGH) VOL 2 V XOUT; IOL = 1 mA; VCC = 5 V 38
Output 'L' voltage (XOUT drive capacity LOW) VOL 2 V XOUT; IOL = 500 µA; VCC = 5 V 38
Hysteresis VT+-VT- 0.1 0.5 V INT0, INT1, INT3, KI0, KI1, KI2, KI3, TRAIO, RXD0, RXD1, CLK0, CLK1, SSI, SCL, SDA, SSO; VCC = 5 V 38
Hysteresis VT+-VT- 0.1 1 V RESET; VCC = 5 V 38
Input 'H' current IIH 5 µA VI = 5 V, VCC = 5 V 38
Input 'L' current IIL -5 µA VI = 0 V, VCC = 5 V 38
Pull-up resistance RPULLUP 30 50 167 kΩ VI = 0 V, VCC = 5 V 38
RAM hold voltage VRAM 1.8 V During stop mode 38
Power supply current, high-speed clock mode, XIN = 20 MHz, no division ICC 10 17 mA VCC = 3.3 to 5.5 V; single-chip mode; XIN square wave; HS OCO off; LS OCO on = 125 kHz 39
Power supply current, high-speed clock mode, XIN = 16 MHz, no division ICC 9 15 mA VCC = 3.3 to 5.5 V; single-chip mode; XIN square wave; HS OCO off; LS OCO on = 125 kHz 39
Power supply current, high-speed on-chip oscillator mode, fOCO = 20 MHz, no division ICC 10 15 mA VCC = 3.3 to 5.5 V; XIN clock off; fOCO = 20 MHz (J version); LS OCO on = 125 kHz 39
Power supply current, low-speed on-chip oscillator mode, divide-by-8 ICC 130 300 µA VCC = 3.3 to 5.5 V; XIN clock off; HS OCO off; LS OCO on = 125 kHz; FMR47 = 1 39
Power supply current, low-speed clock mode, XCIN = 32 kHz ICC 130 300 µA VCC = 3.3 to 5.5 V; XIN clock off; HS OCO off; LS OCO off; FMR47 = 1 39
Power supply current, wait mode, peripheral clock operation ICC 25 75 µA VCC = 3.3 to 5.5 V; WAIT executed; VCA27 = VCA26 = VCA25 = 0; VCA20 = 1 40
Power supply current, wait mode, peripheral clock off ICC 23 60 µA VCC = 3.3 to 5.5 V; WAIT executed; VCA27 = VCA26 = VCA25 = 0; VCA20 = 1 40
Power supply current, stop mode ICC 0.8 3 µA VCC = 3.3 to 5.5 V; Topr = 25°C; XIN clock off; peripheral clock off; CM10 = 1 40
Voltage detection level (Vdet0) Vdet0 2.2 2.3 2.4 V 30
Voltage detection level (Vdet1) Vdet1 2.7 2.85 3 V 30
Voltage detection level (Vdet2) Vdet2 3.3 3.6 3.9 V 30
Power-on reset valid voltage Vpor1 0.1 V 31
External power VCC rise gradient trth 20 mV/msec External power VCC rise gradient 31
Program/erase endurance (program ROM) 1000 times R8C/27 Group 28
Byte program time 50 400 µs 28
Block erase time 0.4 9 s 28
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 32
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 32
Low-speed on-chip oscillator frequency fOCO-S 30 125 250 kHz 32
Resistor ladder Rladder 10 40 kΩ Vref = AVCC 27
XIN input cycle time tc(XIN) 50 ns VCC = 5 V 41

CAD (KiCad official)

  • Symbol: R5F21276SNFP#X6
  • Footprint: Package_QFP:LQFP-32_7x7mm_P0.8mm
  • 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)
  • 3D model files: r5f21276snfp-x6-etched.step / r5f21276snfp-x6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); r5f21276snfp-x6.step / r5f21276snfp-x6.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: RENESAS datasheet (75 pp, sha256 056b994dab86c87a, retrieved 2026-11-13, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-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).

Datasheet PDF