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, 78K 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.
  • R8C Family, M16C Family
    • Data can be read, written, and erased simply by calling user API functions.
    • The clock-synchronous serial I/O function of the microcontroller 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 Device Serial Flash Memory (SPI/QSPI), Serial Phase Change Memory (QSPI)
Master Device Renesas MCU
(RX, RL78, 78K, R8C and M16C Family)

Please refer to Supported Memory for detaild Memory Information, Target Devices and Product Lineup for detailed MCU information.

Image
Modular composition

Application Configuration

Support Memory

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)

Spansion

  • 128Mbit S25FL128S MirrorBit®Flash Non-Volatile Memory (SPI/QSPI)
  • 256Mbit S25FL256S MirrorBit®Flash Non-Volatile 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 following software is a FIT module, i.e. within our FIT range, so it can easily be combined with other FIT modules. For example, transfer by a DMAC or DTC can easily be handled by combining this module with a DMAC or DTC module, both of which are currently available within our FIT range. (About FIT)

Image

Block Diagram

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.40 - Sample Code (ZIP)
Clock Synchronous Single Master Control Software (Lower-level layer of the software)
Target MCU Application Note Title
RX72T, RX71M, RX66T, RX64M, RX231, RX113, RX111, RX110 RX Family RSPI Module Using Firmware Integration Technology Rev.3.40 - 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.20 - Sample Code (ZIP)
RX Family DTC Module Using Firmware Integration Technology Rev.4.40 - Sample Code (ZIP)
RX Family CMT Module Using Firmware Integration Technology Rev.5.60 - Sample Code (ZIP)

RX (except FIT module), RL78 and 78K Family

Image

Block Diagram

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
(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)
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
(Micron Technology)
RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology M45PE Series Serial Flash memory Control Software Rev.1.06 - Sample Code (ZIP | English, 日本語)
P5Q serial phase change memory
(Micron Technology)
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
(Micron Technology)
RX Family, RL78 Family, 78K0R/Kx3-L Micron Technology N25Q Serial NOR Flash Memory Control Software Rev.1.04 - Sample Code (ZIP | English, 日本語)
S25FLxxxS MirrorBit®flash non-volatile memory(Spansion) RX Family, RL78 Family, 78K0R/Kx3-L Spansion S25FLxxxS MirrorBit® Flash Non-Volatile Memory Control Software Rev.1.04 - Sample Code (ZIP | English, 日本語)

1. MirrorBit is a registered trademark of Spansion LLC.

Clock Synchronous Single Master Control Software (Lower-level layer of the software)
Target MCU Application 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, 日本語)
RX62N RX62N 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)
RX610 RX610 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 MCU Application Note Title
R8C and M16C Family Serial Flash Driver Sample Program (ZIP)