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

Title Type Date
PDF665 KB日本語
Related Files:
Application Note
PDF890 KB日本語
Related Files:
Application Note
PDF776 KB日本語
Related Files:
Application Note
PDF975 KB日本語
Related Files:
Application Note
PDF736 KB日本語
Related Files:
Application Note
PDF802 KB日本語
Related Files:
Application Note
PDF2.46 MB日本語
Related Files:
Application Note
PDF2.02 MB日本語
Related Files:
Application Note
PDF775 KB日本語
Related Files:
Application Note
PDF732 KB日本語
Related Files:
Application Note
PDF801 KB日本語
Related Files:
Application Note
PDF1.15 MB日本語
Related Files:
Application Note
PDF241 KB日本語
Related Files:
Application Note
PDF257 KB日本語
Application Note
PDF252 KB日本語
Related Files:
Application Note
PDF202 KB日本語
Application Note
PDF236 KB
Application Note
PDF318 KB日本語
Tool News - Release
PDF366 KB日本語
Tool News - Release
PDF314 KB
Tool News - Release
PDF480 KB
Tool News - Release
PDF524 KB
Tool News - Release
PDF372 KB日本語
Tool News - Release
PDF370 KB
Tool News - Release
PDF629 KB
Tool News - Release
PDF571 KB
Tool News - Release
PDF716 KB
Tool News - Release
PDF420 KB
Tool News - Release
PDF318 KB
Tool News - Release
PDF202 KB日本語
Tool News - Release
PDF202 KB日本語
Tool News - Release

Design & Development

Sample Code

Sample Code

Title Type Date
[Toolchains=CC-RL|v1.10.00;ICCRL78|4.21.1.2409;LLVM for Renesas RL78|10.0.0.202203]
ZIP1.61 MB
Related Files:
Application: Industrial, Consumer Electronics
Compiler: CC-RL, LLVM, ICCRL78
Function: Application Example
IDE: CS+, e2 studio, IAR EWRL78
Sample Code
[Toolchains=CC-RL|v1.10.00;ICCRL78|4.21.1.2409;LLVM for Renesas RL78|10.0.0.202203]
ZIP2.00 MB
Related Files:
Application: Industrial, Consumer Electronics
Compiler: CC-RL, LLVM, ICCRL78
Function: Driver or Library
IDE: CS+, e2 studio, IAR EWRL78
Sample Code
[Software=RX Driver Package],[Toolchains=CC-RX|v3.04.00;GNURX|8.3.0.202104;ICCRX|4.20.3]
ZIP11.99 MB
Related Files:
Sample Code
ZIP5.22 MB日本語
Related Files:
Compiler: CC-RX
IDE: e2 studio
Sample Code
ZIP871 KB日本語
Related Files:
Compiler: CC-RX
IDE: CS+ for CC, e2 studio
Sample Code
ZIP812 KB日本語
Related Files:
Compiler: CC-RL, CA78K0R, ICCRL78
IDE: CS+ for CA,CX, CS+ for CC, IAR EWRL78
Sample Code
ZIP2.47 MB日本語
Related Files:
Compiler: CC-RL, CA78K0R, ICCRL78
IDE: CS+ for CA,CX, CS+ for CC, IAR EWRL78
Sample Code
ZIP2.03 MB日本語
Related Files:
Compiler: CC-RL, CA78K0R, ICCRL78
IDE: CS+ for CA,CX, CS+ for CC, IAR EWRL78
Sample Code
ZIP789 KB日本語
Related Files:
Compiler: CC-RL, CA78K0R, ICCRL78
IDE: CS+ for CA,CX, CS+ for CC, IAR EWRL78
Sample Code
ZIP744 KB日本語
Related Files:
Compiler: CC-RL, CA78K0R, ICCRL78
IDE: CS+ for CA,CX, CS+ for CC, IAR EWRL78
Sample Code
ZIP698 KB日本語
Related Files:
Sample Code
ZIP270 KB日本語
Related Files:
Sample Code
ZIP284 KB
Related Files:
Sample Code
ZIP236 KB日本語
Related Files:
Sample Code
ZIP203 KB日本語
Sample Code
ZIP270 KB
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

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 Flash Memory Access Firmware Integration Technology Rev.3.10 - 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.04 - Sample Code (ZIP)
RX Family QSPI Clock Synchronous Single Master Control Module Using Firmware Integration Technology Rev.1.15 - Sample Code (ZIP)
RX Family DMAC Module Using Firmware Integration Technology Rev.3.00 - Sample Code (ZIP)
RX Family DTC Module Using Firmware Integration Technology Rev.4.20 - Sample Code (ZIP)
RX Family CMT Module Using Firmware Integration Technology Rev.5.30 - Sample Code (ZIP)

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

Image
Block Diagram

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)