The R61581 is a high-integration TFT controller produced by RenesasSP (now Renesas Electronics) targeting small to mid-sized portable devices such as mobile phones, tablets, and mobile TV equipment. It drives a-Si TFT panels up to 320 RGB × 480 dots with an internal frame memory and a built-in power supply circuit. If you are working on a project that needs a taller 480-pixel panel without moving to a WVGA resolution chip, the R61581 is a solid choice with good library support in TFT_eSPI.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Marcussacapuces91/doc-TFT_eSPI/llms.txt
Use this file to discover all available pages before exploring further.
Controller Overview
The R61581 is a 262,144-colour single-chip controller LSI with an internal frame memory sized for 320 RGB × 480 dots. It supports the MIPI DBI (Display Bus Interface) Type B parallel interface in 8, 9, 16, and 18-bit widths, as well as the 4-line Type C serial (SPI) interface. An MDDI (Mobile Display Digital Interface) differential high-speed interface is also available, though TFT_eSPI uses the standard parallel or SPI paths. The R61581 also supports the MIPI DPI video interface (VSYNC, HSYNC, PCLK, DE, DB[17:0]) for direct video output, making it versatile across different system architectures.Key Specifications
| Parameter | Value |
|---|---|
| Resolution | 320 RGB × 480 dots (maximum) |
| Colour depth | 262,144 (18-bit), also 8-colour idle mode |
| Internal frame memory | 345,600 bytes |
| Source driver lines | 960 |
| Gate driver lines | 480 |
| System interface | MIPI DBI Type B (8/9/16/18-bit), Type C (SPI) |
| Video interface | MIPI DPI, MDDI, TE/VSYNC synchronisation |
| Internal NVM | 32 bits (user ID), 7 bits (VCOM), 5 bits (VDV) |
| NVM write endurance | Up to 5 rewrites |
| Operating temperature | Refer to module datasheet |
Interface Options
- SPI (Type C)
- Parallel (Type B)
The R61581 Type C interface maps to TFT_eSPI’s standard 4-wire SPI path:
- 4-line, 9-bit (Option 1) — SCLK, SDA, CS, and a 9th bit encodes D/C.
- 4-line, 8-bit (Option 3) — SCLK, MOSI, CS, and a separate DC pin.
Wiring
SPI Wiring (ESP32)
The SPI wiring for the R61581 follows the same pattern as any other 4-wire SPI display in TFT_eSPI:| R61581 Module Pin | Signal | ESP32 GPIO | Notes |
|---|---|---|---|
| VCC | 3.3 V | 3V3 | |
| GND | Ground | GND | |
| CS | Chip Select | GPIO 15 | Active low; define as TFT_CS |
| RESET | Reset | GPIO 4 | Define as TFT_RST |
| DC / RS | Data/Command | GPIO 2 | Define as TFT_DC |
| MOSI / SDA | SPI Data | GPIO 23 | VSPI MOSI |
| SCLK | SPI Clock | GPIO 18 | VSPI SCLK |
| LED / BL | Backlight | 3V3 or PWM |
8-bit Parallel Wiring (ESP32)
For parallel mode you will need 8 data lines plus control signals. Connect the R61581’s DB[7:0] bus to eight consecutive GPIO pins, then defineTFT_PARALLEL_8_BIT and the individual data pins in User_Setup.h.
8-bit parallel mode is not available on the ESP8266 — insufficient GPIO pins. Use SPI mode on that platform.
Configuration
Select the R61581 driver
In Ensure no other driver define is active at the same time.
User_Setup.h, uncomment the R61581 driver line:Complete User_Setup.h Example (ESP32 SPI)
Power Supply Architecture
The R61581 contains an internal step-up and voltage follower circuit that generates all drive voltages needed for the a-Si TFT panel from a single VCI supply input. The power supply rails generated internally include:| Rail | Function |
|---|---|
| DDVDH | Source driver / VCOM supply |
| VREG | Reference voltage |
| VCL | Negative LCD drive |
| VGH | Gate-on drive voltage |
| VGL | Gate-off drive voltage |
| VCOMH/L | VCOM drive (common electrode) |
Dynamic Backlight Control
A notable feature of the R61581 is its built-in dynamic backlight control function, which adjusts backlight brightness based on image content. This reduces power consumption at the backlight with minimal perceptible impact on display quality. On most modules this is accessible via a PWM-capable backlight pin connected to the driver IC.Power-Saving Modes
Deep Standby
Lowest power state. Display output off and internal circuits powered down.
Sleep Mode
Display controller halted. GRAM retained. Fast resume to active mode.
8-Color Idle Mode
Reduced colour depth (8 colours) to cut power while keeping the display visible.
Basic Usage
MDDI Licensing Note
The MDDI interface supported by the R61581 is designed and produced under licensing from Qualcomm. MDDI must be adopted only in modules that incorporate a Qualcomm CDMA ASIC. TFT_eSPI does not use the MDDI path — it uses the standard DBI or SPI interface — so this licensing requirement does not apply to typical TFT_eSPI projects.