Renesas R5F21336GJFP#X4
- Part No.:
- R5F21336GJFP#X4
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
R5F21336GJFP#X4.pdf
- Description:
- R8C/TINY(AUTO) F5F21336GJS-FLS A
- Quantity:
- Payment:

- Shipping:

Inventory:1,226
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F21336GJFP#X4 from Renesas Electronics is a 16-bit R8C/27 Group single-chip microcontroller with 32 KB flash program memory, 1.5 KB RAM, and dual 1 KB data flash blocks. It operates at up to 20 MHz (50 ns min instruction time), supports 12-channel 10-bit A/D conversion, hardware LIN bus via UART0+TimerRA, and runs across -40°C to +85°C. It targets embedded control in industrial sensors and appliance motor interfaces.
For engineers reviewing the R5F21336GJFP#X4 datasheet, R5F21336GJFP#X4 pinout, R5F21336GJFP#X4 application, or R5F21336GJFP#X4 equivalent, key selection criteria include its J-version industrial temperature grade, integrated LIN transceiver capability, 32-pin LQFP package with 25 I/O pins, and dual-block data flash for reliable firmware parameter storage.
Technical Context
The R5F21336GJFP#X4 implements the R8C CPU core with 89 instructions and 1 Mbyte address space. It integrates three clock generation circuits: XIN-based crystal oscillator, high-speed/low-speed on-chip oscillators (with frequency adjustment), and XCIN/XCOUT 32 kHz RTC support - though XCIN/XCOUT is disabled in J version per documentation.
Peripheral integration includes two UARTs (UART0 used for hardware LIN), one I²C interface, one clock-synchronous serial I/O with chip select, Timer RA–RE (including real-time clock in RE), 15 internal + 4 external interrupt sources, and on-chip voltage detection and power-on reset. The device lacks data flash erase/write endurance specification in J-version tables but inherits 10,000-cycle rating from R8C/27 Group baseline.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | R8C 16-bit CISC core with 89 instructions and 20-bit PC; enables compact code and deterministic timing for real-time control loops. |
| Flash Memory | 32 KB program flash + 2 × 1 KB data flash blocks; supports field firmware updates and nonvolatile parameter storage without external EEPROM. |
| A/D Converter | 10-bit resolution, 12 input channels (AN0–AN11); sufficient for multi-sensor monitoring in HVAC or motor drive feedback systems. |
| Operating Temperature | -40°C to +85°C (J version); qualified for industrial environments including factory automation and outdoor equipment enclosures. |
| Supply Voltage | 2.7 V to 5.5 V; compatible with both 3.3 V and 5 V system rails, simplifying power design in mixed-voltage applications. |
| Package | 32-pin LQFP (PLQP0032GB-A); surface-mount footprint with 0.8 mm pitch, suitable for automated PCB assembly and thermal management. |
| Hardware LIN | Integrated LIN 2.0-capable module using UART0 + TimerRA; eliminates need for external LIN transceiver in automotive body electronics nodes. |
Pinout & Package
Package: 32-pin molded-plastic LQFP (PLQP0032GB-A), 7 mm × 7 mm, 0.8 mm pitch, exposed pad not specified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VCC / VSS | Power supply inputs | Core logic supply (2.7–5.5 V) and ground; decoupling required within 10 mm of pins for noise immunity in motor-control environments. |
| RESET | Active-low reset input | Asynchronous reset assertion halts CPU and initializes peripherals; requires external pull-up and debouncing for robust operation. |
| XIN / XOUT | Crystal oscillator interface | Supports 1–20 MHz crystals; enables precise timing for UART baud rates and LIN synchronization without external clock source. |
| P0_0–P0_7, P1_0–P1_7, etc. | General-purpose I/O ports | 25 configurable CMOS I/O pins with individual direction registers and optional pull-ups; usable for GPIO, LED drive (N/D only), or peripheral multiplexing. |
| AN0–AN11 | Analog inputs | Dedicated 12-channel ADC inputs with shared pins (e.g., P0_0 = AN7); require analog layout separation from digital traces to maintain 10-bit accuracy. |
| UART0 / UART1 | Serial communication interfaces | Full-duplex UARTs; UART0 paired with TimerRA forms hardware LIN physical layer, reducing software overhead in networked nodes. |
| SCL / SDA | I²C bus interface | Standard-compliant I²C master/slave interface (up to 400 kHz); enables connection to temperature sensors, EEPROMs, or display controllers. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware LIN Module | UART0 + TimerRA implements LIN 2.0 physical layer with automatic sync-break detection and checksum handling - reduces CPU load by >30% vs. bit-banged LIN. |
| Dual Data Flash Blocks | Two independent 1 KB data flash blocks allow atomic write/erase operations; enables safe parameter storage with rollback capability during firmware updates. |
| Real-Time Clock (RTC) | Timer RE provides calendar-mode RTC with compare-match interrupt; supports time-stamped logging in industrial data recorders without external RTC IC. |
| On-Chip Oscillators | High-speed (adjustable 1–20 MHz) and low-speed (32 kHz) on-chip oscillators eliminate need for external crystals in cost-sensitive designs where ±1% timing tolerance is acceptable. |
| 12-Channel 10-Bit ADC | Simultaneous sampling not supported, but 12-channel scan mode achieves ≤10 µs conversion time; adequate for closed-loop motor current and voltage sensing. |
Applications
| Industrial Sensor Node | Appliance Motor Control |
|---|---|
Use Scenario: Standalone temperature/humidity sensor with LIN output in HVAC duct networks. IC Role / Device Role / Timing Role: Primary controller executing sensor acquisition, calibration, LIN message framing, and fault reporting. Use Value: Integrated LIN hardware and 12-channel ADC reduce BOM count by two ICs versus discrete UART+transceiver+ADC solution. |
Use Scenario: Brushless DC motor driver in washing machine drum control. IC Role / Device Role / Timing Role: Real-time commutation sequencer using Timer RC for PWM generation and ADC for current sensing. Use Value: 50 ns instruction timing ensures sub-microsecond loop jitter, critical for maintaining torque stability at 3000 RPM. |
| Automotive Body Controller | Smart Power Outlet |
Use Scenario: Door module managing window lift, mirror fold, and interior lighting via LIN cluster. IC Role / Device Role / Timing Role: LIN slave node with wake-on-LIN capability and GPIO-controlled MOSFET drivers. Use Value: J-version temperature rating (-40°C to +85°C) and on-chip voltage detector ensure reliable operation in vehicle cabin environments. |
Use Scenario: Energy-monitoring outlet with current/voltage measurement and Bluetooth LE reporting. IC Role / Device Role / Timing Role: System-on-chip managing AC sensing, energy calculation, and UART-to-BLE bridge. Use Value: Dual data flash blocks store calibrated CT shunt coefficients and usage history independently, preventing corruption during power loss. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 16-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F21276JFP | Same R8C/27 Group, 32 KB flash, but no factory-programmed user ROM; requires full firmware load at first boot. | Lacks preloaded bootloader or calibration data; suited for custom firmware-only deployments. | Select R5F21276JFP when full control over initial ROM content is required and factory programming is unnecessary. |
| R5F21336GDFP | D-version variant with identical specs except extended -40°C to +85°C qualification and XCIN/XCOUT RTC support enabled. | XCIN/XCOUT allows external 32.768 kHz crystal for higher RTC accuracy; D version has same temp range but different test screening. | Choose R5F21336GDFP if precise RTC timing (<±20 ppm) is mandatory and external crystal layout is feasible. |
Compared with R5F21336GJFP#X4, R5F21276JFP offers identical peripheral set but no factory programming, while R5F21336GDFP adds XCIN/XCOUT RTC capability at same temperature grade - making the JFP#X4 optimal for cost-sensitive, drop-in LIN node replacements requiring guaranteed factory firmware.
Availability
R5F21336GJFP#X4 is available at Aetrix Electronics and suitable for industrial sensor nodes, appliance motor control systems, and automotive body electronics requiring stable component supply throughout production lifecycles.
Supply support for R5F21336GJFP#X4 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, and power solutions for industrial, automotive, and infrastructure markets.
The R8C/27 Group, including R5F21336GJFP#X4, was designed for cost-optimized, real-time embedded control in resource-constrained applications requiring integrated communication (LIN/I²C) and analog sensing.
FAQ
What is the maximum operating frequency and corresponding supply voltage range for R5F21336GJFP#X4?
R5F21336GJFP#X4 supports a maximum operating frequency of 20 MHz at VCC = 3.0 V to 5.5 V. This rating applies to all versions except K (16 MHz) and N/D (10 MHz or 5 MHz at lower voltages). The J version's -40°C to +85°C range is fully validated at 20 MHz within this voltage window, enabling high-speed UART and LIN communication without derating.
Does R5F21336GJFP#X4 include hardware LIN functionality, and how is it implemented?
Yes, R5F21336GJFP#X4 integrates hardware LIN 2.0 support using UART0 combined with TimerRA for sync-break generation and detection. This offloads LIN protocol timing from firmware, ensuring deterministic frame transmission and reducing CPU utilization by up to 35% compared to software-implemented LIN stacks.
What are the data flash endurance and block structure of R5F21336GJFP#X4?
R5F21336GJFP#X4 contains two independent 1 KB data flash blocks, each rated for 10,000 erase/write cycles. These blocks support atomic sector erase and byte-wise programming, enabling safe storage of calibration data, device configuration, or runtime parameters with built-in wear-leveling in application firmware.
Is XCIN/XCOUT functionality available on R5F21336GJFP#X4 for real-time clock operation?
No, XCIN/XCOUT is explicitly disabled in the J version per Renesas documentation. R5F21336GJFP#X4 relies on its internal low-speed oscillator or XIN-based clock for Timer RE real-time clock operation. For external 32.768 kHz crystal support, the D or N version (e.g., R5F21336GDFP) must be selected.
How many general-purpose I/O pins does R5F21336GJFP#X4 provide, and what are their key electrical characteristics?
R5F21336GJFP#X4 provides 25 programmable I/O pins (P0_0–P0_7, P1_0–P1_7, P3_1, P3_3–P3_7, P4_5, P5_3, P5_4) plus 3 dedicated input-only pins (P4_2, P4_6, P4_7). All I/Os support CMOS levels, individual direction control, and optional weak pull-ups - enabling direct interface with switches, LEDs, and digital sensors without external components.
R5F21336GJFP#X4 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 32-LQFP
- Series:
- R8C/3x/33G
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- R8C
- Core Size:
- 16-Bit
- Speed:
- 20MHz
- Connectivity:
- I2C, LINbus, SIO, SSU, UART/USART
- Peripherals:
- POR, PWM, Voltage Detect, WDT
- Number of I/O:
- 27
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 4K x 8
- RAM Size:
- 2.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.7V ~ 5.5V
- Data Converters:
- A/D 12x10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F21336GJFP#X4 FAQ
1.How can I place an order for R5F21336GJFP#X4 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F21336GJFP#X4 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 R5F21336GJFP#X4 reliable?
The price and inventory of R5F21336GJFP#X4 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F21336GJFP#X4 is usually 5 days.
3.What payment methods are accepted for R5F21336GJFP#X4?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F21336GJFP#X4 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F21336GJFP#X4?
R5F21336GJFP#X4 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F21336GJFP#X4 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 R5F21336GJFP#X4?
For technical support, including R5F21336GJFP#X4 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F21336GJFP#X4 requirements.
6.How does Aetrix verify that R5F21336GJFP#X4 is sourced from the original manufacturer or authorized distributors?
All R5F21336GJFP#X4 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 R5F21336GJFP#X4 meets industry standards.
7.What is the process for return or replacement of R5F21336GJFP#X4?
All R5F21336GJFP#X4 units undergo pre-shipment inspection (PSI). If there is an issue with R5F21336GJFP#X4, 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 R5F21336GJFP#X4 part is unused and in its original packaging.
Return procedure for R5F21336GJFP#X4:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F21336GJFP#X4 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…

