跳转到主要内容
瑞萨电子 (Renesas Electronics Corporation) - June is Pride Month, a month to raise awareness of the rights and the culture of the LGBTQ+ community

描述

This driver (sample program) uses the clock-synchronous serial I/O functions of a Renesas microcontroller to control reading, writing, and erasing of data.

特性

  • 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

目标设备

类型 文档标题 日期
应用说明 PDF 1.23 MB 日本語
This application note explains how to control and use serial flash memory with microcontrollers manufactured by Renesas Electronics.The control software accompanying this application note is upper-layer software that controls the serial flash memory as a slave device.
应用说明 PDF 1.10 MB 日本語
This application note describes a clock synchronous single master control module using Firmware Integration Technology (FIT), which uses clock synchronous serial communication over the quad serial peripheral interface (QSPI) on RX Family microcontrollers, and explains its use. SPI/QSPI mode single master control can be enabled by adding slave device selection control by means of port control. The QSPI FIT module implements single master basic control. Use the QSPI FIT module to create software for controlling slave devices.
应用说明 PDF 1.04 MB 日本語
应用说明 PDF 1.37 MB 日本語
AI 生成的摘要: Audio playback of ADPCM data stored in NOR FLASH is achieved using the I2S master function on the RL78/G23 microcontroller. The system integrates NOR FLASH control via the Serial NOR Flash Memory Control Module Software Integration System (SIS) and uses M3S-S2-Tiny middleware for ADPCM encoding and decoding. The I2S communication supports PCM format with sampling frequencies of 8 kHz to 22.05 kHz and 16-bit data size. The document details hardware and software configurations, including pin usage, commands for writing and reading NOR FLASH, error handling, and flow charts for key functions. It also covers audio playback methods, middleware integration, and sample code for implementation.
应用说明 PDF 665 KB 日本語
AI 生成的摘要: The software controls clock synchronous communication using the 3-wire serial I/O (CSI mode) of the RL78 microcontroller's serial array unit as a single master. It supports MSB-first transfer and CPU-driven data transfer but lacks chip-select control and DMA or interrupt-driven transfer. The software operates under specified conditions with RL78/G14 and Renesas R1EX25xxx SPI EEPROM, using CS+ development environments and standard compiler settings.
应用说明 PDF 890 KB 日本語
AI 生成的摘要: The document details control software for Macronix MX25/66L serial NOR flash memory using Renesas RX, RL78, and 78KOR/Kx3-L MCUs. It covers configuration register read/write, security settings, write protection, quad mode enable/disable, data read/write, erase, ID read, busy wait, and 4-byte address mode. The software operates in clock synchronous single master mode via SPI, supporting single, dual, and quad SPI. It supports one communication channel, controls up to two identical flash devices, and allows user-defined communication speed and endian mode. Operation confirmation conditions for RX111 MCU with RSPI and SCI interfaces are provided.
应用说明 PDF 736 KB 日本語
AI 生成的摘要: The SCIFA FIT module enables easy integration of clock synchronous single master control into RX Family microcontrollers through APIs. It supports initialization, control, transmit/receive, interrupt handling, and error logging functions. Operation is confirmed on RX64M and RX71M groups with specified memory sizes, compiler settings, and development environments. Memory requirements vary by compiler version and endian mode.
应用说明 PDF 802 KB 日本語
AI 生成的摘要: The document details a sample program for RX family microcontrollers using RSPI for clock synchronous single master control via a three-wire serial communication method. It supports single-channel operation with MSB-first data transfer in both big and little endian formats. The code excludes chip select control and DMA transfers and allows normal or high-speed receive modes. Supervisor mode operation is required for high-speed mode, while normal mode supports both user and supervisor modes. The RSPI module's features and peripheral usage are outlined, including port requirements for slave device selection.
应用说明 PDF 2.46 MB 日本語
AI 生成的摘要: The SPI Serial Flash memory control software manages Micron Technology M25P series SPI Serial Flash memory devices using Renesas MCUs. It operates in SPI mode with clock synchronous communication, supporting up to two devices and configurable communication rates. The software supports both big and little endian modes and requires specific MCU internal serial communication functions and ports for device selection. Evaluation confirms compatibility with RX610 and RX62N groups under specified operating conditions, including voltage, frequency, and development environments.
应用说明 PDF 2.02 MB 日本語
AI 生成的摘要: The SPI Serial Flash memory control software manages Micron Technology M45PE series SPI Serial Flash memory devices using Renesas MCUs in clock synchronous single-master mode. It supports up to two devices, configurable communication rates, and both endian modes. The software operates via the MCU's internal serial communication function and requires specific ports for device selection. Evaluation confirms compatibility with RX610 and RX62N groups under specified operating conditions, including voltage, frequency, and development environments.
应用说明 PDF 775 KB 日本語
AI 生成的摘要: The document details control software for Renesas MCUs managing Micron Technology's N25Q Serial NOR Flash Memory. It describes the software's role as a device driver using the MCU's on-chip serial communication in single, dual, or quad SPI modes. Users can specify communication speed and select one serial communication channel. The software supports controlling up to two identical flash memory devices and both big-endian and little-endian operations. Operation confirmation conditions for the RX63N MCU family include hardware specs, development environment, and software versions.
应用说明 PDF 732 KB 日本語
AI 生成的摘要: The document details control software for Micron Technology's P5Q serial phase change memory using Renesas RX and RL78 family MCUs. It explains the software's role as a device driver operating in clock synchronous SPI modes (single, dual, quad), supporting one communication channel and up to two memory devices. The software accommodates user-specified communication speeds and endian modes. Operation confirmation conditions for RX63N MCU, including hardware specs and software versions, are also provided.
应用说明 PDF 1.15 MB 日本語
AI 生成的摘要: This document details the implementation of clock synchronous single master control using the SCI interface on RX family microcontrollers. It supports SPI mode with software-based MSB-first data transfer and both big and little endian formats. The sample code handles single master transmit, receive, and transmit/receive operations using CPU transfers only, without support for DMAC, EXDMAC, DTC, or interrupt-driven transfers. Chip select control is not included and must be implemented separately if needed.
应用说明 PDF 241 KB 日本語
应用说明 PDF 257 KB 日本語
AI 生成的摘要: The document details verified operating conditions for RX62N microcontrollers interfacing with various serial EEPROM and flash memory devices, specifying clock frequencies, voltages, development environments, and compiler settings. It explains RSPI module operation modes, focusing on clock synchronous (three-wire) operation, and describes hardware connections including pin functions and the need for external pull-up resistors and circuit matching components for high-speed operation.
15 项目

样例程序

样例程序

筛选
类型 文档标题 日期 日期
示例代码
[Software=RX Driver Package|V1.50],[Toolchains=CC-RX|V3.07.00;GNURX|14.02.00.202511;CCRX|5.20.01]
登录后下载 ZIP 10.82 MB
应用: 工业
Compiler: CC-RX, GNURX, ICCRX Function: Communication Interface, Driver or Library IDE: e2 studio, IAR EWRX
示例代码
[Toolchains=CC-RL|V1.15.00;LLVM for Renesas RL78|17.0.0.202506;IAR Compiler for RL78|v.5.20.1]
登录后下载 ZIP 26.83 MB Compiler: CC-RL, ICCRL78, LLVM for Renesas RL78 Function: Driver or Library, Memory IDE: e2 studio, IAR EWRL78
示例代码
登录后下载 ZIP 26.76 MB
应用: 消费电子产品
Compiler: CC-RL, ICCRL78 Function: Application Example, Memory, Other peripherals IDE: CS+ for CC, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|v1.10.00;ICCRL78|4.21.1.2409;LLVM for Renesas RL78|10.0.0.202203]
登录后下载 ZIP 1.61 MB
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78, LLVM Function: Application Example IDE: CS+, e2 studio, IAR EWRL78
示例代码
[Toolchains=CC-RL|v1.10.00;ICCRL78|4.21.1.2409;LLVM for Renesas RL78|10.0.0.202203]
登录后下载 ZIP 2.00 MB
应用: 工业, 消费电子产品
Compiler: CC-RL, ICCRL78, LLVM Function: Driver or Library IDE: CS+, e2 studio, IAR EWRL78
示例代码
登录后下载 ZIP 5.22 MB 日本語 Compiler: CC-RX IDE: e2 studio
示例代码
登录后下载 ZIP 871 KB 日本語 Compiler: CC-RX IDE: CS+ for CC, e2 studio
示例代码
登录后下载 ZIP 2.47 MB 日本語 Compiler: CA78K0R, CC-RL, ICCRL78 IDE: CS+ for CA, CX, CS+ for CC, IAR EWRL78
示例代码
登录后下载 ZIP 2.03 MB 日本語 Compiler: CA78K0R, CC-RL, ICCRL78 IDE: CS+ for CA, CX, CS+ for CC, IAR EWRL78
示例代码
登录后下载 ZIP 789 KB 日本語 Compiler: CA78K0R, CC-RL, ICCRL78 IDE: CS+ for CA, CX, CS+ for CC, IAR EWRL78
示例代码
登录后下载 ZIP 744 KB 日本語 Compiler: CA78K0R, CC-RL, ICCRL78 IDE: CS+ for CA, CX, CS+ for CC, IAR EWRL78
示例代码
登录后下载 ZIP 698 KB 日本語
示例代码
登录后下载 ZIP 270 KB 日本語
示例代码
登录后下载 ZIP 284 KB 日本語
14 项目

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)

图像
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.61 - 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.

图像
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.01 - 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

图像
Block Diagram
Slave Device Control Software (Higher-level layer of the software)
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 MCUApplication Note Title
R8C and M16C FamilySerial Flash Driver Sample Program (ZIP)

 

支持社区

支持社区

在线询问瑞萨电子工程社群的技术人员,快速获得技术支持。
浏览文章

知识库

浏览我们的知识库,获取文章、常见问题解答及其他实用资源。
提交工单

提交工单

需要咨询技术性问题或提供非公开信息吗?