Renesas R5F104MJAFB#50
- Part No.:
- R5F104MJAFB#50
- Manufacturer:
- Renesas
- Category:
- Microcontrollers
- Package:
- 80-LQFP
- Datasheet:
-
R5F104MJAFB#50.pdf
- Description:
- IC MCU 16BIT 256KB FLASH 80LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:2,396
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
R5F104MJAFB#50 from Renesas is an RL78/G14 8-bit microcontroller with 192 KB flash, 8 KB data flash, and 20 KB RAM, operating at up to 32 MHz (44 DMIPS), featuring ultra-low power consumption (66 μA/MHz active, 0.60 μA RTC+LVD mode), integrated 10-bit ADC (20 channels), dual UART/LIN, I²C, SPI, RTC, and 12-bit interval timer - deployed in battery-powered industrial sensors and smart metering endpoints.
For engineers reviewing the R5F104MJAFB#50 datasheet, R5F104MJAFB#50 pinout, R5F104MJAFB#50 application, or R5F104MJAFB#50 equivalent, key selection considerations include its 80-pin LFQFP-0.5 mm package, -40°C to +105°C industrial temperature grade (G), on-chip debug support, BGO-capable data flash rewrite, and hardware event linking via ELC for deterministic peripheral coordination.
Technical Context
The R5F104MJAFB#50 implements the RL78 CPU core with 3-stage pipeline CISC architecture, supporting instruction execution times from 0.03125 µs (32 MHz) to 30.5 µs (32.768 kHz), multiply/divide/accumulate instructions, and 1 MB address space. It integrates a Data Transfer Controller (DTC) with chain transfer and block modes, activated by 19–26 configurable event sources routed through the Event Link Controller (ELC).
Its analog subsystem includes a 10-bit A/D converter with internal 1.45 V reference and temperature sensor, dual 8-bit D/A outputs (0–VDD), and two comparators with selectable internal/external reference. Power management features HALT, STOP, and SNOOZE low-power modes, on-chip POR and 14-level LVD, and high-accuracy ±1.0% on-chip oscillator (1–64 MHz).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | RL78 8-bit CISC with 3-stage pipeline, 1 MB address space, 44 DMIPS @ 32 MHz |
| Memory | 192 KB code flash (1 KB blocks), 8 KB data flash (1M rewrite cycles), 20 KB RAM |
| Operating Voltage | 1.6 V to 5.5 V - enables direct interface with 1.8/2.5/3.3 V peripherals without level shifters |
| Power Consumption | 66 μA/MHz active; 0.60 μA in STOP mode with RTC + LVD enabled |
| ADC | 10-bit resolution, 20 input channels, internal 1.45 V reference, integrated temperature sensor |
| Timers & Clock | Real-time clock (calendar, alarm, correction), 12-bit interval timer, 16-bit TAU/Timer RJ/RD/RG units (12 total) |
| Serial Interfaces | 3–4 UART/LIN channels, 4–10 I²C/simplified I²C channels, 3–8 CSI (SPI-compatible) channels |
Pinout & Package
Package: 80-pin LFQFP, 12 mm × 12 mm, 0.5 mm pitch, lead-free, RoHS compliant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| P00 | TxD1 / TI00 / TRGCLKA | Primary UART transmit; timer input; trace clock source for debugging |
| P01 | RxD1 / TO00 / TRGCLKB | Primary UART receive; timer output; secondary trace clock |
| P10–P17 | CSI/I²C/UART/SPI multi-function ports | Configurable serial interfaces with peripheral I/O redirection (PIOR0/1) |
| P30 | INTP3 / RTC1HZ / SCK00 / SCL00 | RTC interrupt output (1 Hz), I²C master clock for external sensor sync |
| P50/P51 | Tool interface (TOOLRxD/TOOLTxD) | Dedicated on-chip debug communication pins, no external transceiver required |
| P121/P122 | X1 / X2 crystal inputs | Supports 32.768 kHz RTC crystal and up to 20 MHz main system crystal |
| REGC | Regulator bypass capacitor terminal | Requires 0.47–1 µF capacitor to VSS for internal LDO stability |
| VDD/VSS | Power supply pins | Single 1.6–5.5 V supply; VSS must connect to exposed die pad on QFP variant |
Key Features
| Feature | Design Value |
|---|---|
| Background Operation (BGO) | Execute code from flash while rewriting data flash - enables zero-interrupt-latency firmware updates |
| Event Link Controller (ELC) | Hardware-triggered peripheral chaining (e.g., ADC conversion → DMA transfer → UART TX) without CPU intervention |
| SNOOZE mode | Peripheral operation (ADC, UART, RTC) continues during low-power sleep - ideal for periodic sensor polling |
| On-chip debug & self-programming | Full flash shield window, boot swapping, and flash library support (RAM start address F9F00H) |
| Dual voltage detection | 14-level LVD with selectable interrupt/reset behavior - supports brown-out protection across multiple rail thresholds |
| Multi-voltage I/O | N-ch open-drain ports tolerate 6 V; TTL input buffers enable interfacing with 1.8/2.5/3.3 V logic without external bias |
Applications
| Smart Utility Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with pulse counting, pressure sensing, and RF telemetry. IC Role / Device Role / Timing Role: Main controller managing sensor acquisition (ADC), real-time billing timestamp (RTC), LIN bus communication to display module, and low-power wake-up scheduling. Use Value: 0.60 μA STOP mode extends 10-year battery life; BGO allows secure OTA firmware updates without interrupting metering accuracy. |
Use Scenario: Wireless vibration/temperature node in predictive maintenance systems. IC Role / Device Role / Timing Role: Signal conditioner and edge processor - digitizing analog sensor outputs, applying digital filtering, and triggering BLE transmission on threshold events. Use Value: ELC links accelerometer interrupt → ADC sampling → DTC transfer → UART TX, reducing CPU load by >70% vs. polling-based design. |
| Home Appliance Control | Building Automation Panel |
Use Scenario: Washing machine main control board requiring motor drive timing, user interface, and safety monitoring. IC Role / Device Role / Timing Role: System orchestrator handling PWM generation (TAU), keypad scanning (key interrupt), door lock status (GPIO), and fault logging (data flash). Use Value: Integrated 12-bit interval timer provides precise motor phase timing; 8 KB data flash stores 10,000+ error logs with wear leveling. |
Use Scenario: HVAC zone controller with temperature/humidity sensing, valve actuation, and Modbus RTU communication. IC Role / Device Role / Timing Role: Protocol gateway - converting analog sensor inputs to Modbus registers, managing RS-485 half-duplex timing, and executing PID loops. Use Value: Dual UARTs support simultaneous Modbus RTU (RS-485) and debug console; 10-bit ADC achieves ±0.5°C thermal measurement accuracy. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| R5F104MLAFB#50 | 384 KB flash, 32 KB RAM, same 80-pin LFQFP-0.5 mm package and peripheral set | Required for larger firmware images or extended data buffering (e.g., firmware update staging area) | Select when >192 KB code space or >20 KB RAM is needed; pin-compatible upgrade path |
| R5F104MJGFB#50 | Identical flash/RAM/peripherals; differs only in packaging spec (#50 = embossed tape, #70 = tray) and temperature grade (G = -40°C to +105°C for both) | No functional difference - solely packaging and logistics variation | Choose #70 for manual prototyping or small-batch assembly; #50 optimized for automated SMT feeders |
Compared with R5F104MJAFB#50, R5F104MLAFB#50 provides scalable memory headroom for feature-rich firmware, while R5F104MJGFB#50 offers identical electrical and thermal performance in tray packaging - enabling seamless transition between production and evaluation workflows.
Availability
R5F104MJAFB#50 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart utility meters, and building automation controllers requiring stable component supply, long-term lifecycle support, and guaranteed RoHS-compliant sourcing.
Supply support for R5F104MJAFB#50 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 is a global semiconductor leader specializing in microcontrollers, analog, power, and SoC solutions for automotive, industrial, and IoT markets.
The RL78/G14 product line delivers true low-power 8-bit MCUs targeting cost-sensitive, battery-operated industrial and consumer devices requiring robust peripheral integration and certified functional safety support.
FAQ
What is the maximum operating frequency and corresponding DMIPS rating for the R5F104MJAFB#50?
The R5F104MJAFB#50 operates at up to 32 MHz with a measured performance of 44 DMIPS. This rating is achieved using the RL78 CPU core's 3-stage pipeline and optimized instruction set, including hardware multiply/divide. The high-speed on-chip oscillator supports ±1.0% accuracy across 1.8–5.5 V and -20°C to +85°C, ensuring deterministic timing without external crystals in many applications.
Does the R5F104MJAFB#50 support background data flash rewriting while executing application code?
Yes, the R5F104MJAFB#50 supports Background Operation (BGO) for data flash. During BGO, the CPU can execute instructions from program memory while the data flash is being rewritten - critical for secure over-the-air updates and nonvolatile parameter storage without halting real-time tasks. The data flash endurance is rated at 1,000,000 write cycles (typical) at VDD = 1.8–5.5 V.
What are the supported serial communication interfaces on the R5F104MJAFB#50?
The R5F104MJAFB#50 integrates three UART/LIN channels (with automatic LIN break detection), up to ten I²C/simplified I²C channels (supporting standard/fast-mode), and three to eight CSI channels (SPI-compatible with master/slave modes). All interfaces are configurable via peripheral I/O redirection registers (PIOR0/1), enabling flexible pin assignment without PCB redesign.
How does the Event Link Controller (ELC) enhance real-time responsiveness in the R5F104MJAFB#50?
The ELC in the R5F104MJAFB#50 enables hardware-level chaining of up to 26 peripheral events - for example, triggering an ADC conversion upon a timer match, then automatically transferring the result via DTC to a UART buffer, all without CPU involvement. This reduces interrupt latency to sub-microsecond levels and frees the CPU for higher-layer tasks, improving determinism in time-critical sensor fusion or motor control loops.
What is the flash library RAM usage requirement for self-programming on the R5F104MJAFB#50?
The R5F104MJAFB#50 requires 256 bytes of RAM starting at address F9F00H for the Flash Self-Programming Library (FSL). This RAM area is reserved exclusively for flash operations - including erase, write, and verification - and must not be used by application code. The FSL supports boot swapping and flash shield window protection to prevent unauthorized access during firmware updates.
R5F104MJAFB#50 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- Renesas
- Package/Case:
- 80-LQFP
- Series:
- RL78/G14
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- RL78
- Core Size:
- 16-Bit
- Speed:
- 32MHz
- Connectivity:
- CSI, I2C, LINbus, UART/USART
- Peripherals:
- DMA, LVD, POR, PWM, WDT
- Number of I/O:
- 64
- Program Memory Size:
- 256KB (256K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 8K x 8
- RAM Size:
- 24K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.6V ~ 5.5V
- Data Converters:
- A/D 17x8/10b; D/A 2x8b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
R5F104MJAFB#50 FAQ
1.How can I place an order for R5F104MJAFB#50 through Aetrix?
Please submit a Request for Quotation (RFQ) for R5F104MJAFB#50 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 R5F104MJAFB#50 reliable?
The price and inventory of R5F104MJAFB#50 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for R5F104MJAFB#50 is usually 5 days.
3.What payment methods are accepted for R5F104MJAFB#50?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for R5F104MJAFB#50 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for R5F104MJAFB#50?
R5F104MJAFB#50 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your R5F104MJAFB#50 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 R5F104MJAFB#50?
For technical support, including R5F104MJAFB#50 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your R5F104MJAFB#50 requirements.
6.How does Aetrix verify that R5F104MJAFB#50 is sourced from the original manufacturer or authorized distributors?
All R5F104MJAFB#50 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 R5F104MJAFB#50 meets industry standards.
7.What is the process for return or replacement of R5F104MJAFB#50?
All R5F104MJAFB#50 units undergo pre-shipment inspection (PSI). If there is an issue with R5F104MJAFB#50, 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 R5F104MJAFB#50 part is unused and in its original packaging.
Return procedure for R5F104MJAFB#50:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
R5F104MJAFB#50 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…

