Skip to main content

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

Documentation

Design & Development

Sample Code

Additional Details

System Configuration

For systems on which the following devices are mounted, you can use it to control the each devices:

Slave DeviceSerial Flash Memory (SPI/QSPI), Serial Phase Change Memory (QSPI)
Master DeviceRenesas 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)  RL78 Family (SIS module)  Other

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)

Image
RX Family FIT Block Diagram
Sample Program list
Slave Device Control Software (Higher-level layer of the software)
Target MemoryApplication 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)
Target MCUApplication Note Title
RX-family MCUs that support FIT modulesRX Family SCI Module Using Firmware Integration Technology Rev.5.40 - Sample Code (ZIP)
RX Family RSCI Module Firmware Integration Technology Rev.2.70 - Sample Code (ZIP)
RX Family QSPIX Module Using Firmware Integration Technology Rev.1.41 - Sample Code (ZIP)
RX Family RSPI Module Using Firmware Integration Technology Rev.3.50 - Sample Code (ZIP)
RX Family QSPI Clock Synchronous Single Master Control Module Using Firmware Integration Technology Rev.1.21 - Sample Code (ZIP)
RX Family DMAC Module Using Firmware Integration Technology Rev.3.40 - Sample Code (ZIP)
RX Family DTC Module Using Firmware Integration Technology Rev.4.50 - Sample Code (ZIP)
RX Family CMT Module Using Firmware Integration Technology Rev.5.70 - Sample Code (ZIP)

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.

Image
RL78 Family SIS Block Diagram

* Refer to the application note RL78 Family Serial NOR Flash Memory Control Module Software Integration System.

Target MemoryApplication Note Title
AT25QF SPI FlashRenesas ElectronicsRL78 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 memoryMacronix International
MX25R family serial NOR flash memory

Other

Sample Program list

RX (except FIT module), RL78(except SIS module)Family

Image
Block Diagram
Slave Device Control Software (Higher-level layer of the software)
Target MemoryApplication Note Title
MX25/66L family serial NOR flash memoryMacronix InternationalRX 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 memoryMicron TechnologyRX 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 memoryRX 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 memoryRX 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 memoryRX 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)
Target MCUApplication Note Title
RX Family:
RX210, RX21A, RX220, RX63N, RX63T, RX111, RX64M
RX210, RX21A, RX220, RX63N, RX63T, RX111, RX64M Group Clock Synchronous Single Master Control Software Using the SCI Rev.1.07 - Sample Code (ZIP | English, 日本語)
RX Family Clock Synchronous Single Master Control Software Using the RSPI Rev.1.11 - Sample Code (ZIP | English, 日本語)
RX62NRX62N Group Clock Synchronous Single Master Control Software Using the SCI Rev.1.01 - Sample Code (ZIP | English, 日本語)
RX62N Group Clock Synchronous Single Master Control Software Using the RSPI Rev.1.04 - Sample Code (ZIP | English, 日本語)
RX610RX610 Group Clock Synchronous Single Master Control Software Using the SCI - Sample Code (ZIP | English, 日本語)
RL78 Family:
RL78/G14, RL78/G1C, RL78/L12, RL78/L13, RL78/L1C
RL78/G14, RL78/G1C, RL78/L12, RL78/L13, RL78/L1C, RL78/G23 Group Clock Synchronous Single Master Control Software Using CSI Mode of Serial Array Unit Rev.1.07 - Sample Code (ZIP)
78K Family
78K0R/Kx3
78K0R/Kx3-L Clock Synchronous Single Master Control Software Using CSI Mode of Serial Array Unit Ver.2.02 (ZIP | English, 日本語)

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 MCUApplication Note Title
R8C and M16C FamilySerial Flash Driver Sample Program (ZIP)