Skip to main content

Overview

Description

The Renesas Flexible Software Package (FSP) is an enhanced software package designed to deliver user-friendly, scalable, high-quality software for embedded system designs using the Renesas RA family of Arm Microcontrollers, ensuring software compatibility across the RA family, from entry-level to high-performance microcontrollers. With the support of new Arm® TrustZone® and other advanced security features, FSP provides a quick and versatile way to build secure, connected IoT devices using production-ready drivers, Azure® RTOS, FreeRTOS™, and other middleware stacks.

download Download Latest FSP (v5.9.0):

FSP Platform Installer (Includes e² studio IDE, toolchain, and FSP packs):

RA Smart Configurator (RASC) Installer (FSP packages to use with 3rd party IDEs with IAR Embedded Workbench, Arm Keil MDK):

FSP Standalone Installer (FSP packs for the users who only update the FSP and no e² studio update):

  • Download from the Assets section of the GitHub

The installation instructions can be found here. All the FSP Releases and Patches can be found on GitHub.

FSP includes best-in-class HAL drivers with high performance and low memory footprint. Middleware stacks with Azure RTOS and FreeRTOS integration are included to ease the implementation of complex modules like communication and security. The e² studio IDE provides support with intuitive configurators and intelligent code generation to make programming and debugging easier and faster.

FSP uses an open software ecosystem and provides flexibility in using bare-metal programming, including Azure RTOS or FreeRTOS, your preferred RTOS, legacy code, and third-party ecosystem solutions. FSP and e² studio can be used free of charge on any Renesas device.

Features

  • Small memory footprint HAL drivers
  • Intuitive configurator and code generator
  • Static and dynamic analysis using industry-standard tools
  • Application support using RTOS and non-RTOS environments
  • Azure RTOS and its middleware stacks with Flexible Software Package
    • Azure RTOS ThreadX, NetX Duo & Add-ons, USBX, GUIX & GUIX Studio, FileX, TraceX, exFAT, LevelX, NetX Duo Secure & NetX Crypto (HW acceleration)
  • FreeRTOS support – Includes Kernel and set of software libraries
    • FreeRTOS Kernel, FreeRTOS-Plus-TCP, Core MQTT, Core HTTP/HTTPS, Task pool, Secure Sockets, Cellular Interface
  • Tool configurable RTOS resources (Threads, mutexes, etc.)
  • Middleware stacks from Renesas and third parties.
    • TCP/IP and other connectivity protocol stacks including MQTT
    • USB middleware support for CDC, HID, and MSC
    • Wireless connectivity through Cellular (Cat-M1), Wi-Fi, and Bluetooth Low Energy LE 5.0 (BLE Mesh)
    • File System support with FreeRTOS+FAT and LittleFS
    • Storage (Block Media) support for SDMMC, SPI, and USB.
    • Virtual EEPROM on Flash
    • Capacitive touch middleware to implement widgets like Button, Slider, and Wheels.
    • Motor control algorithms
    • Secure Bootloader through MCUboot
    • Sensor Module APIs
  • TrustZone support (for applications on CM33-based MCUs)
    • TrustZone enabled drivers and middleware
    • Easy-to-use tool support for TrustZone configuration
  • PSA Level 2 Certified
  • AWS qualified for FreeRTOS
  • Easy connectivity options to major cloud providers
  • Secure connections through NetX Duo Secure and Mbed TLS
  • Cryptographic APIs and integrated Hardware Acceleration support
    • Arm PSA Cryptographic APIs
    • Azure RTOS NetX Crypto APIs
    • Ultimate security with FSP Crypto APIs (SCE9 protected mode)
    • TinyCrypt targeting constrained devices
  • Graphics interface support and tools
    • Segger emWin (RA customers can use Segger emWin graphic tools and libraries for free from Downloads below)
    • Azure RTOS GUIX and GUIX Studio (available free on Microsoft Apps Store)
  • Secure debugging capabilities
  • Extensive tool support from Renesas and leading third-party solutions
  • Integrated package with all required components for easy setup and starting development (single installer with e2 studio, CMSIS packs, toolchain, and Segger J-Link drivers)
  • Complete source code available through GitHub

Release Information

For additional information and links, go to GitHub.

v5.9.0

Release Notes

Flexible Software Package (FSP) for Renesas RA MCU Family, version 5.9.0

Minimum e2 studio version for FSP 5.9.0 is e2 studio 2025-04

Refer to Installing e² studio in a Linux PC | Renesas Customer Hub for information on installing e2 studio and related software components on a Linux PC.

If using IAR or Keil MDK, download the Renesas Advanced Smart Configurator (RASC) for this release.

All installers are available in the Assets section of this release.

Refer to the README.md in the FSP root folder for setup instructions, hardware details, and related links.

New Features

  • Device
    • Added support for RA0E2 devices
      • Includes FPB-RA0E2 board support
    • Added support for RA2L2 devices
      • Includes EK-RA2L2 board support
      • Support USB Type-C driver for RA2L2
    • Added support for RA8E2 devices
      • Includes EK-RA8E2 board support
    • Supports RA6M5 BGA-100pin
    • Add new 64 and 36 BGA part numbers with operating temperatures of -40 °C to +105 °C for RA6E2 and RA4E2
  • HAL modules
    • Added support for SCI LIN (r_sci_lin)
    • Doubled maximum bitrate in r_sci_b_spi
  • Crypto
    • Added Ed25519/EdDSA feature to the RSIP PM driver for RSIP-E51A
    • Added FW Update for FSBL feature for RSIP-E51A
    • Added ECDH secp256r1 and KDF-SHA 256 features for RA4L1 device
    • Added HMAC Suspend/Resume features to the RSIP PM driver for RSIP-E11A (RA4L1)
      Added macro definitions that indicate the byte size of the encryption key, which can be referenced when using encryption keys
    • Added Oberon Ocrypto support on RA2E1 devices
      • Includes MCUboot integration
      • Add H/W Acceleration for Ocrypto ECB, CBC, and CTR
  • Added NFC IoT Reader driver for PTX105R module
  • Release assets now use SHA-256 checksums instead of MD5
  • Tools
    • Platform installer updated to include e2 studio 2025-04
    • IAR compiler updated to version 9.60.4

Fixes and Improvements

  • Fixed potential race condition in R_GPT_DutyCycleSet parameter checking when calling immediately after R_GPT_PeriodSetR
  • Resized the interrupt vector table based on the number of ICU slots allocated
  • Updated the board URL for FPB-RA4T1 and FPB-RA6T3
  • Constraint logic is updated for 'Update area block erase size' in rm_mcuboot_ext_memory_ospi_b module
  • The display name for the SAU SPI 'Operation Clock' option has been updated as per HWM
  • Module constraints have been added to check for dependent rm_littefs_flash and rm_littlefs_spi_flash modules
  • Updated module URL for rm_comms_spi
  • Fixed issue where the I3C peripheral could pull SCL low during initialization of the driver
  • Segger JLink version updated to v8.12f
  • Correct value of BSP_FEATURE_SCI_UART_FIFO_CHANNELS to 0x219 for RA6E1
  • Sector Erase Size and Block Erase Size properties upper limit is added in OSPI module
  • Added parameter checking to r_sci_b_lin and r_sau_lin to return an error when a read API is called in slave mode, but the slave has not successfully received a header yet to enable data reception
  • Remove HOCO from USBCLK source option in RA4L1
  • Removed extra semicolons in the example code of I2C modules
  • Fixed issue with GPT functions assigned to P815 and P814 not being output for RA6E2 and RA4E2 36-pin devices
  • Improved constraints and default values in LwIP module properties
  • Updated FSBLCLK clock options as per RA8x1 hardware manual
  • Fixed addresses for P8014PFS and P8015PFS
  • Changed RA2L2 USB_CC1 and USB_CC2 pins to Analog pins
  • Fix potential race condition in R_GPT_DutyCycleSet parameter checking when calling immediately after R_GPT_PeriodSet
  • Fixed the higher 8-bit period calculation of r_tau module
  • Fixed enums lpm_snooze_request_t and lpm_snooze_end_t for RA4L1
  • FSP Common API updated to v1.11.0
  • MCUboot documentation is updated to use the SmartBundle for project linkage
  • Canceled deprecation of SAU SPI continuous mode and optimized code size for single transfer mode
  • Updates to the r_i3c module include the following:
    • Added ability to enable clock stall during read transitions for devices that support the SCSTLCTL.TRAPE bit
    • Fixed HDR_DDR selection for RA4L1
  • Add BSP overrides for LVD enumerations for devices that did not already have them
  • Fixed error in RSIP-E11A Protected Mode SHA and HMAC single part operation APIs when inputting a message longer than 128 bytes

Deprecations

  • The following modules/features have been deprecated and will be removed in FSP v6.0.0:
    • FS2012 and OB1203 sensor modules
    • RYZ cellular modules
    • ZMOD4410 Odor mode
    • ZMOD4510 OAQ 1st Gen mod

Known Issues

  • RA0E1:
    • e2 studio projects automatically reset compiler optimization to a Size setting on every generate or build operation
    • Add optimization flags (e.g. -O0) manually to 'Other optimization flags' to override the -Oz setting
    • HS400x, ZMOD4xxx, and OB1203 sensors cannot be used on RA0E1
    • FS1015 and FS3000 sensors do not support SAU-I2C driver
  • Selecting 'Safely Remove Hardware and Eject Media' on Windows and eject the mass storage (PMSC), when using USBX composite device (PCDC+PMSC), the Windows Explorer for PMSC does not disappear.
  • PMSC may not work properly when USBX Composite Device (PCDC+PMSC) is connected to a specific Linux OS (USB Host).
  • EWARM support for RA0E2 and RA2L2
    • EWARM version 9.60.4 does not contain support for RA0E2 and RA2L2. To develop with IAR for these devices, it is necessary to install the support patch file for RA0E2 (arm_Renesas_RA0E2_20240715_1.zip) and RA2L2 (arm_Renesas_RA2L2_patch_20240510_1.zip), which can be downloaded by EWARM v9.60.4 users from the IAR MyPages system
  • For known issues in the tools, please refer to the respective tool's release notes e2 studio RN
  • rm_rrh62000 does not support r_iic_master on RA8 series MCU

Note

  • Updated lwIP HTTP Server usage notes to clarify HTTPS is not currently supported

Visit GitHub Issues for this project.

Target Devices

Downloads

Type Title Date
Software & Tools - Software 简体中文
Software & Tools - Software 简体中文
Software & Tools - Software 简体中文
Software & Tools - Software 简体中文
Software & Tools - Software 简体中文
Software & Tools - Software 简体中文
6 items

Documentation

Design & Development

Sample Code

Related Boards & Kits

Videos & Training

e² studio Tips - How to Import Example Project in e² studio for RA

This video shows how to import the Renesas RA Flat project and TrustZone project in e² studio.

e² studio Tips - How to Import Example Project in e² studio for RA
0:00:00 Opening
0:00:14 Flat Project and TrustZone Project
0:00:34 Set up IDE
0:00:54 Download Example Project
0:01:07 Import Flat Project
0:02:44 Import TrustZone Project
0:04:30 e² studio User Guide

Additional Details

Components

  • CMSIS compliant pack files for e2 studio integrated development environment
  • BSPs for RA MCUs and boards
  • HAL drivers to access peripherals
  • Real Time Operating Systems (RTOS)
  • Middleware stacks and protocols
  • Module configurators and code generators
  • Source files to integrate with any development environment and third-party tools

Supported Toolchains

Software components in the FSP support following toolchains:

  • e2 studio Integrated Development Environment, with toolchain supports of GCC Arm Embedded and LLVM Embedded Toolchain for Arm
  • IAR Embedded Workbench
  • Arm Keil MDK

Software Installation Instructions

Refer to the FSP GitHub page for installation and usage instructions: FSP GitHub Instructions

e2 studio Integrated Development Environment

The FSP provides a host of efficiency-enhancing tools for developing projects targeting the Renesas RA series of MCU devices. The e2 studio Integrated Development Environment provides a familiar development cockpit from which the key steps of project creation, module selection and configuration, code development, code generation, and debugging are all managed. FSP uses a Graphical User Interface (GUI) to simplify the selection, configuration, code generation and code development of high level modules and their associated Application Program Interfaces (APIs) to dramatically accelerate the development process.

e2 studio is equipped with set of options to configure various aspects of your application project. Some of these options include:

BSP configuration

Configure or change MCU and board-specific parameters from the initial project selection.

Clock Configuration

Configure the MCU clock settings for your project. The Clock Configuration presents a graphical view of the MCU's clock tree, allowing the various clock dividers and sources to be modified.

Pin Configuration

The Pin Configuration provides flexible configuration of the MCU's pins. This configures the electrical characteristics and functions of each port pin. As many pins are able to provide multiple functions, the pin configurator makes it easy to configure the pins on a peripheral basis. The Pin Configuration tool simplifies the configuration of large packages with highly multiplexed pins by highlighting errors and presenting the options for each pin or for each peripheral.

Module Configuration

The Module Configuration provides options to add FSP modules (HAL drivers, Middleware stacks and RTOS) for RTOS and non-RTOS based applications and configure various parameters of the modules. For each module selected, the Properties window provides access to the configuration parameters, interrupt priorities, pin selections etc.

Interrupt Configuration

Interrupt Configuration allows to add new user interrupts or events and set interrupt priorities. This will also allow the user to bypass a peripheral interrupt and have user-defined ISRs for the peripheral interrupts.

Components Configuration

The Components configuration enables the individual modules required by the application to be included or excluded. All modules that are necessary for the modules added to the application are included automatically. You can easily include or exclude additional modules by ticking the box next to the required component.

QE Tools

QE for Capacitive Touch is an assistance tool for applications which operate under the e2 studio. For the development of embedded systems that work with capacitive touch sensors, this tool simplifies the initial settings of the touch user interface and the tuning of the sensitivity, thus shortening developing times.

The QE for BLE is a dedicated tool for developing embedded software in systems which support the Bluetooth®low energy protocol stack. This solution toolkit runs in the e2 studio integrated development environment. The combination of the e2 studio and QE for BLE makes it easy to test the communications features of Bluetooth®low energy.

Other Tool Features

  • Context-sensitive Autocomplete feature that provides intelligent options for completing a programming element
  • Developer Assistance tool for selection of and drag and drop placement of API functions directly in application code
  • Smart Manual that provides driver and device documentation in the form of tooltips right in the code
  • Edit Hover feature to show detailed descriptions of code elements while editing
  • Welcome Window with links to example projects, application notes and a variety of other self-help support resources
  • Information Icon for each module is provided in the graphic configuration viewer that links to specific design resources for that module in the user manual.

Third Party Tool Support

In addition to the Renesas e2 studio IDE, FSP supports third party tools and IDEs as well. This support is provided through RA Smart configurators (RASC) application. The Renesas RA Smart Configurator is a desktop application that allows you to configure the software system (BSP, drivers, RTOS and middleware) for a Renesas RA microcontroller when using a 3rd-party IDE and toolchain. The RA Smart Configurator can currently be used with IAR Embedded Workbench, Keil MDK and the Arm compiler 6 toolchains.