Overview
Description
This driver (sample program) uses the clock-synchronous serial I/O functions of a Renesas microcontroller to control reading, writing, and erasing of data.
Features
- RX Family
- Data can be read, written, and erased simply by calling user API functions.
- Control is possible using the following serial interfaces of the microcontroller:
- The clock-synchronous mode of the serial communication interface (SCI) and a single port are used for control.
- Clock-synchronous operation (three-wire) of the serial peripheral interface (RSPI) and a single port are used for control.
- The quad serial peripheral interface (QSPI) which is set to clock-synchronous operation and a single port are used for control.
- RL78 Family
- Data can be read, written, and erased simply by calling user API functions.
- The SCI mode of the serial array unit (SAU) and a single port are used for control.
- Learn More
Target Devices
Design & Development
Additional Details
System Configuration
For systems on which the following devices are mounted, you can use it to control the each devices:
Slave Device | Serial Flash Memory (SPI/QSPI), Serial Phase Change Memory (QSPI) |
---|---|
Master Device | Renesas MCU (RX, RL78 Family) |
Please refer to Supported Memory for detaild Memory Information, Target Devices and Product Lineup for detailed MCU information.
Support Memory
Renesas Electronics
Macronix International
Micron Technology
- M25P Series SPI Serial Flash memory (SPI)
- M45PE Series SPI Serial Flash memory (SPI)
- P5Q Serial Phase Change Memory (SPI/QSPI)
- N25Q Serial NOR Flash memory (SPI/QSPI)
Target Devices and Product Lineup
Here we present each software lineup by MCU. Please refer to each application note for a corresponding Integrated Development Environment.
RX Family (FIT module)
The software components shown in the figure below are FIT modules based on the Renesas Firmware Integration Technology (FIT). You can easily embed sample code in user applications by combining the required FIT modules. For example, you can use the DMAC or DTC FIT module to handle transfer by the DMAC or DTC. (About FIT)

Sample Program list
Slave Device Control Software (Higher-level layer of the software)
Target Memory | Application Note Title |
---|---|
MX25/66L family serial NOR flash memory MX25R family serial NOR flash memory (by Macronix International) | RX Family Clock Synchronous Control Module for Serial NOR Flash Memory Access Firmware Integration Technology Rev.3.50 - Sample Code (ZIP) |
Clock Synchronous Single Master Control Software (Lower-level layer of the software)
RL78 Family (SIS module)
The RL78 family serial NOR flash memory control modules shown in the figure below are SIS modules based on the Software Integration System (SIS) approach. You can easily embed sample code in user applications by using such SIS modules with the Code Generator included in the Smart Configurator. For example, you can use the Code Generator to produce code for handling transfer by the RL78 family data transfer controller.

* Refer to the application note RL78 Family Serial NOR Flash Memory Control Module Software Integration System.
Target Memory | Application Note Title | |
---|---|---|
AT25QF SPI Flash | Renesas Electronics | RL78 Family Serial NOR Flash Memory Control Module Software Integration System Rev.1.00 - Sample Code (ZIP) |
QT25SF SPI Flash | ||
MX25/66L family serial NOR flash memory | Macronix International | |
MX25R family serial NOR flash memory |
Other
Sample Program list
RX (except FIT module), RL78(except SIS module)Family

Slave Device Control Software (Higher-level layer of the software)
Target Memory | Application Note Title | |
---|---|---|
MX25/66L family serial NOR flash memory | Macronix International | RX Family, RL78 Family, 78K0R/Kx3-L Macronix International MX25/66L Family Serial NOR Flash Memory Control Software Rev.1.04 - Sample Code (ZIP) |
MX25R family serial NOR flash memory | ||
M25P series serial flash memory | Micron Technology | RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology M25P Series Serial Flash memory Control Software Rev.1.06 - Sample Code (ZIP | English, 日本語) |
M45PE series serial flash memory | RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology M45PE Series Serial Flash memory Control Software Rev.1.06 - Sample Code (ZIP | English, 日本語) | |
N25Q serial NOR flash memory | RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology P5Q Serial Phase Change Memory Control Software Rev.1.04 - Sample Code (ZIP | English, 日本語) | |
N25Q serial NOR flash memory | RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology N25Q Serial NOR Flash Memory Control Software Rev.1.04 - Sample Code (ZIP | English, 日本語) |
Clock Synchronous Single Master Control Software (Lower-level layer of the software)
R8C and M16C Family
The following software controls the slave device and master device in systems that include M16C or R8C Family MCUs.
Slave Device and Master Device Control Software (Common Software)
Target MCU | Application Note Title |
---|---|
R8C and M16C Family | Serial Flash Driver Sample Program (ZIP) |