R5F104BCAFP RENESAS MCU 16BIT 32KB FLASH 32LQFP
The R5F104BCAFP is a 16-bit microcontroller (MCU) manufactured by Renesas Electronics. It belongs to the high-performance, low-power RL78/G14 family. This chip is commonly used for home appliances, motor control, industrial machinery, and smart metering systems.
Technical SpecificationsCore
Processor: RL78 (16-Bit core running up to 32 MHz)
Memory Config: 32 KB Flash (Program Memory), 4 KB RAM, and 4 KB Data Flash (EEPROM)
Operating Voltage: 1.6V to 5.5V, making it highly adaptable for battery-operated gear
Peripherals: 8-channel 10-bit Analog-to-Digital Converter (ADC),
Direct Memory Access (DMA), and advanced hardware timers for motor control
Connectivity: Supports CSI, I2C, LINbus, and UART/USART serial protocols
Package Type: 32-LQFP (Low-profile Quad Flat Package), measuring 7×7 mm
Features
Ultra-Low Power Consumption Technology
•VDD = single power supply voltage of 1.6 to 5.5 V which can operate a 1.8 V device at a low voltage
•HALT mode
• STOP mode
• SNOOZE mode
RL78 CPU Core
• CISC architecture with 3-stage pipeline
• Minimum instruction execution time: Can be changed from high speed (0.03125 µs: @ 32 MHz operation with high-speed on-chip oscillator) to ultra-low speed (30.5 µs: @ 32.768 kHz operation with subsystem clock)
• Multiply/divide/multiply & accumulate instructions are supported.
• Address space: 1 MB
• General-purpose registers: (8-bit register × 8) × 4 banks
• On-chip RAM: 2.5 to 48 KB Code
Flash Memory
• Code flash memory: 16 to 512 KB
• Block size: 1 KB
• Prohibition of block erase and rewriting (security function)
• On-chip debug function
• Self-programming with boot swapping and flash shield window
Data Flash Memory
• Data flash memory: 4 KB and 8 KB
• Back ground operation (BGO): Instructions can be executed from the program memory while rewriting the data flash memory.
• Number of rewrites: 1,000,000 times (TYP.)
• Voltage of rewrites: VDD = 1.8 to 5.5 V
High-speed On-chip Oscillator
• Select from 64 MHz, 48 MHz, 32 MHz, 24 MHz, 16 MHz, 12 MHz, 8 MHz, 6 MHz, 4 MHz, 3 MHz, 2 MHz, and 1 MHz
• High accuracy: ±1.0% (VDD = 1.8 to 5.5 V, TA = -20 to +85°C)
Operating Ambient Temperature
•TA = -40 to +85°C (A: Consumer applications, D: Industrial applications)
•TA = -40 to +105°C (G: Industrial applications)
Power Management and Reset Function
• On-chip power-on-reset (POR) circuit
• On-chip voltage detector (LVD) (Select interrupt and reset from 14 levels)
Data Transfer Controller (DTC)
• Transfer modes: Normal transfer mode, repeat transfer mode, block transfer mode
• Activation sources: Activated by interrupt sources.
• Chain transfer function
Event Link Controller (ELC)
• Event signals of 19 to 26 types can be linked to the specified peripheral function.
Serial Interfaces
• Simplified SPI (CSI Note): 3 to 8 channels
• UART/UART (LIN-bus supported): 3 or 4 channels
• I2C/simplified I2C: 4 to 10 channels
Timer
• 16-bit timer: 8 to 12 channels (Timer Array Unit (TAU): 4 to 8 channels, Timer RJ: 1 channel, Timer RD: 2 channels, Timer RG: 1 channel)
• 12-bit interval timer: 1 channel
• Real-time clock: 1 channel (calendar for 99 years, alarm function, and clock correction function)
• Watchdog timer: 1 channel (operable with the dedicated low-speed on-chip oscillator)
A/D Converter
• 8/10-bit resolution A/D converter (VDD = 1.6 to 5.5 V)
• Analog input: 8 to 20 channels
• Internal reference voltage (1.45 V) and temperature sensor
D/A Converter
• 8-bit resolution D/A converter (VDD = 1.6 to 5.5 V)
• Analog output: None or up to two channels
• Output voltage: 0 V to VDD
• Real-time output function
Comparator
• None or up to two channels
• Operating modes: Comparator high-speed mode,
comparator low-speed mode, window mode
• The external reference voltage or internal reference voltage can be selected as the reference voltage.
I/O Port
• I/O port: 26 to 92 (N-ch open drain I/O [withstand voltage of 6 V]: 2 to 4, N-ch open drain I/O [VDD withstand voltage/EVDD withstand voltage]: 10 to 28)
• Can be set to N-ch open drain, TTL input buffer, and on-chip pull-up resistor
• Different potential interface: Can connect to a 1.8/2.5/3 V device
• On-chip key interrupt function
• On-chip clock output/buzzer output controller
Others
• On-chip BCD (binary-coded decimal) correction circuit

