跳转到主要内容
瑞萨电子 (Renesas Electronics Corporation)

概览

描述

瑞萨电子灵活配置软件包 (FSP) 是用于嵌入式系统设计的高质量增强型软件包,支持瑞萨电子 RA 产品家族 Arm 微控制器,提供用户友好的界面且可灵活扩展,确保从入门级到高性能的整个 RA 微控制器的软件兼容性。 在全新 Arm® TrustZone® 和其他高级安全功能的支持下,FSP 提供一种快速、通用的方式,使用量产级驱动程序、Azure RTOS、FreeRTOS™ 和其他中间件协议栈来构建安全、互联的物联网设备。

download 下载最新FSP (v6.5.0):

FSP 平台安装程序(包含 e² studio 集成开发环境、工具链和 FSP 软件包):

RA 智能配置(RASC)安装程序(FSP 软件包,可与 IAR Embedded WorkbenchArm Keil MDK 这些第三方集成开发环境一起使用):

FSP 独立安装程序(FSP 软件包,适用于只更新 FSP 而不更新 e² studio 的用户):

  • 可从 GitHub 的 Assets 模块下载

安装说明可在此处找到。所有 FSP 发行版和补丁均可在 GitHub 上找到。

FSP 包括高性能、低内存占用的业界一流的 HAL 驱动程序。 还包含集成了 Azure RTOS 和 FreeRTOS 的中间件协议栈,能够简化通信和安全等复杂模块的实现。 e² studio IDE 提供了对图形化配置工具和智能代码生成器的支持,从而使编程和调试变得更加轻松快捷。

FSP 使用开放式软件生态系统,并且也为裸机编程提供了灵活性,客户可以选择使用 Azure RTOS 或 FreeRTOS、其他自选 RTOS、现有代码和第三方生态系统解决方案。 FSP和e² studio可以在任何瑞萨的设备上免费使用。

特性

  • 支持基于 Arm® Cortex®-M 架构的 RA 系列微控制器的多核与单核方案
  • HAL 驱动程序只占用少量内存
  • 图形化配置工具和代码生成器
  • 行业标准工具的静态和动态分析工具
  • 支持使用 RTOS 和 非 RTOS 环境的应用程序
  • Azure RTOS 及其配备了 Flexible Software Package 的中间件堆栈
    • Azure RTOS ThreadX、NetX Duo & Add-ons、USBX、GUIX & GUIX Studio、FileX、TraceX、exFAT、LevelX、NetX Duo Secure & NetX Crypto(硬件加速)
  • 支持 FreeRTOS – 包括 Kernel 和一组软件库
    • FreeRTOS Kernel、FreeRTOS Plus TCP、核心 MQTT、核心 HTTP/HTTPS、任务池、安全套接、蜂窝接口
  • 可使用工具配置的 RTOS 资源(Thread、mutexex 等)
  • 来自瑞萨电子和第三方的中间件协议栈
    • 针对基于 CM85 的微控制器,支持 Ethos-U55 以实现高效的 AI/ML 集成
    • 包含 MQTT 的 TCP/IP 及其他连接协议栈
    • USB 中间件,支持 CDC、HID 和 MSC
    • 通过蜂窝(Cat-M1)、Wi-Fi 和 BLE 5.0(BLE 网络)进行无线连接
    • 支持 FreeRTOS+FAT 和 LittleFS 文件系统
    • 支持 SDMMC 和 USB 存储(块媒体)
    • 闪存虚拟 EEPROM
    • 电容式触摸中间件,用来实现触摸按键,滑条和转盘
    • 电机控制算法
    • 通过 MCUboot 保护引导加载程序
    • 传感器模块 API
  • TrustZone 支持(适用于基于 CM33 的 MCU )
    • 支持 TrustZone 的驱动程序和中间件
    • 简单易用的 TrustZone 配置工具
  • 通过 PSA Level2 认证
  • AWS 验证合格的 FreeRTOS
  • 可以连接到主要的云提供商
  • 通过 NetX Duo Secure 和 Mbed TLS 保护连接
  • Cryptographic API,支持集成硬件加速
    • Arm PSA Cryptographic APIs
    • Azure RTOS NetX Crypto APIs
    • FSP Crypto API 提供终极安全性(SCE9 保护模式)
    • Oberon Ocrypto 支持面向低端 RA2E1 器件的安全加密应用
    • 适用于资源受限器件的 TinyCrypt
  • 图形界面支持和工具
    • 提供 RA 器件的 LVGL 图形库集成支持
    • Segger emWin(RA 客户可以从下面的下载中免费获取 Segger emWin 图形工具和图形库)
    • Azure RTOS GUIX 和GUIX Studio(在微软应用商店中免费提供)
  • 安全调试功能
  • 由瑞萨电子及其他领先的第三方解决方案提供完善的工具支持s
  • 包含所有必要组件的集成式开发软件包,能够快速配置并启动开发(带有 e2 studio 的安装程序、CMSIS 包、工具链和 Segger J-Link 驱动程序)
  • 可在 GitHub 上找到完整的源代码

发布信息

For additional information and links, go to GitHub.

v6.5.0

Release Notes

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

Minimum e2 studio version for FSP 6.5.0 is e2 studio 2026-04.2

Download the FSP with e2 studio Windows installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.exe, from here.

Download the FSP with e2 studio Linux installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.xz.run, from here. Refer to installation steps for information on installing e2 studio and related software components in a Linux PC.

Download the FSP with e2 studio macOS (Apple Silicon) installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.pkg, from here. Refer to installation steps for information on installing e2 studio and related software components in a macOS PC.

If you are using IAR or Keil MDK, download the Renesas Advanced Smart Configurator for your operating system.

Post - FSP v6.5.0 changes to toolchain support

Future releases of FSP will no longer ship with the GCC toolchain integrated within the combined e2 studio/FSP platform installer. The use of the GCC toolchain with FSP will still be supported, and an option in the platform installer will allow GCC to be downloaded from the internet and installed as part of the overall install process. Alternatively, it is possible to link e2 studio to an installation of the GCC toolchain already on the user's computer.

Note: The LLVM toolchain/Arm Toolchain for Embedded (ATfE) will continue to be integrated within the e2 studio/FSP platform installer.

With FSP 6.3.0 and later, when using the LLVM toolchain the compiler optimization level is set to -Os by default for RA4/RA6/RA8 MCUs, whereas previous FSP's would use -O2. This has been done as with LLVM, -Os causes a balance of optimizations similar to GCC's -O2 option.

Note that for RA0/RA2 MCUs, where keeping memory size to a minimum is typically of primary importance, the -Oz optimization level is selected by default.

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

Refer to the https://github.com/renesas/fsp/blob/master/README.md "README.md" in the FSP root folder for setup instructions, hardware details, and related links.

New Features

  • MCUboot Solution Template Enhancements:
    • Single‑Image MCUboot Templates:
      • Added MCUboot single image solution template for RA6 CM4 devices (RA6M1, RA6T1, RA6M2, RA6M3) using mbedtls
      • Added MCUboot single image solution template for cm33 devices (RA6M4, RA6M5, RA4M2, RA4M3) using mbedtls with crypto accelerator
      • Added MCUboot single image solution template for cm33 devices (RA6M4, RA6M5, RA6E1, RA4M2, RA4M3, RA4E1) using mbedtls with crypto accelerator
      • Added MCUboot single image solution template for CM85 devices using mbedtls with crypto accelerator
    • MCUboot with MMF (Mirrored Memory Flash) Support:
      • Added MCUboot single image solution template in MMF mode for RA6 CM4 devices (RA6M1, RA6T1, RA6M2, RA6M3) using mbedtls
      • Added MCUboot single image solution template in MMF mode for RA2A2 using mbedtls
    • Multi‑Image MCUboot Templates:
      • Added MCUboot multi-image image solution template in Overwrite mode for CM85 devices (RA8P1, RA8D2, RA8M2, RA8T2) using mbedtls
  • Middleware and Feature Additions:
    • Added support for Host USB Video Class (HUVC) driver
    • Updated LVGL graphic library to version v9.5.0
    • Added support for LwIP SNMP application
    • Added link detection support for all RMAC port from r_layer3_switch
  • New Board and Package Support:
    • Added support for EK-RA8P1, EK-RA8M2, EK-RA8D2 V2 board
    • Updated FSP pin configuration support for:
      • RA8M1, RA8M2 and RA8T1 (169‑BGA package)
      • RA4L1 (72-WLCSP package)
      • RA0E1 (20-TSSOP package):
        • Removed the sub-clock and its pins from FSP clock configuration and pin configuration
        • Initialized the sub-clock related registers per TU
  • Cryptography and Security Updates:
    • Added HMAC-SHA3 224/256/384/512 feature for RSIP-E50D
    • Added xDLMS InitiateRequest message decryption feature for RSIP-E11A
  • Updated to MbedTLS version 3.6.6

Fixes and Improvements

  • Added support to disable the TAU_PWM master-channel interrupt
  • OFS register ZHUK is placed after PBPS
  • Fixed the issue where the IPV settings are not applied to the VLAN and Layer 3 entries
  • Support MAC table searches by source MAC address, destination MAC address, or both
  • Added support of lwIP PPP configuration
  • Updated the CCD setting description in r_ioport to notify users to enable CCD support when using CCD pins
  • Improved CTSU2 diagnosis feature in r_ctsu
  • Fixed issues in CTSU2 CCO correction for devices with certain characteristics (announced in R20TS1229EJ0100), and CTSU1 CCO correction for RA4M2 and RA4M3
  • Fixed MPU region size check to avoid configuring zero size regions when D-Cache is enabled for RA8 devices
  • RSIP Protected Mode driver improvements:
    • Reduced code size for RSIP-E51A and RSIP-E50D PM drivers
    • Updated control procedures for RSIP-E11A PM driver to code size reduction version
    • Updated CAVP certified module for RSIP-E31A PM driver due to re-acquisition of CAVP certification
    • Bugs fixed:
      • Buffer size of cert info and wrapped secret was not defined correctly when using brainpool curve
      • Buffer size of input message was not defined correctly when using KDF-SHA 512
  • Updated PQC-Lib V2.00 with stack overflow bug fix
  • Fixed incorrect bit length for SCE9 PSA Crypto wrapped keys
  • Updated description for RAMP in MDF
  • Fixed link bug r_ether with ICS1894 PHY
  • Updated IAR toolchain to v9.70.4
  • Fixed build error when user custom PHY function is used on ESWM
  • Fixed rm_motor_control callback issue when 2 motors are enabled
  • rm_motor_pm_foc module:
    • Fixed a unit typo where degree values were assigned to variables intended to be in radians
    • Optimized the sine and cosine calculations in the transform function within the current control loop of rm_motor_pm_foc_inner
    • Fixed typos in rm_motor_pm_foc.h:
      • Renamed p_to_outer_active to p_to_inner_active in the outer module
      • Renamed p_to_outer_copy to p_to_inner_copy in the outer module
  • rm_motor_sensor module:
    • Fixed a unit typo where degree values were stored in variables intended for radians
    • Fixed an issue where the sign of e_q inverted during deceleration, causing a loss of value continuity and resulting in incorrect angle integration
  • Added D-Cache enabled support for RA8 devices for below modules:
    • DTC: Review DTC documentation for details
    • SPI_B: Review SPI_B documentation for details
    • SCI_B_SPI: Review SCI_B_SPI documentation for details
    • SCI_B_UART: Review SCI_B_UART documentation for details
  • Corrected the copyright notice errors in the CAVP module source files for RSIP-E31A
  • Improved rm_psa_crypto SHA-256 code to handle message lengths that are multiples of 128 bytes
  • Updated workaround document for e2 studio 2026-04 pin configuration tooling
  • Updated the BSP usage notes and Cortex-M85 cache document with information relevant to DTC driver D-Cache support
  • Fixed an error in the macro definitions that specify the sizes of the key buffer for SCE9 Key Injection
  • Fixed pin output support enable when using the compare match feature
  • LVGL updates:
    • Enabled runtime control of the GPU (enable/disable)
    • Fixed the screen lock issue when using Dave2D
    • Set LV_USE_OBJ_NAME to enabled by default
  • Fixed D-Cache enable and warmstart post-initialization call sequence in SystemInit()
  • Corrected maximum configurable bitrate for R_SPI_B
  • Updated procedures for RSIP-E51A
  • ThreadX projects no longer globally disable GCC sign conversion warnings
  • Fixed WDT security attribution not set in secure project in RA8x2

Known Issues

  • Solution Projects (TrustZone, Multicore):
    • There are issues related to pin configuration in e2 studio 2026-04.2. Refer to this document for workarounds
  • RA0x devices:
    • HS400x and ZMOD4xxx sensors cannot be used on RA0E1
    • FS3000 sensor does 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 version 9.70.4 does not contain support for RA0E3. To develop with IAR for these devices, it is necessary to install a support patch file, which can be downloaded by EWARM v9.70.4 users from the IAR MyPages system
    • RA0E3 (arm_Renesas_RA0E3_20260106_1.zip)
  • When importing projects in e2 studio that were created using a previous toolchain version, be sure that the version specified in the project is integrated (Window->Preferences->Renesas->Renesas Toolchain Integration) or select the appropriate toolchain version if upgrading the project to a later FSP version.
  • When upgrading RA6T2 projects to FSP 6.4.0, the GTETRGx pin assignments might be lost. Please re-assign the pins manually.
  • When upgrading RA0E1/E2/L1 projects to FSP 6.4.0, the SAU_SPI00 pin group might be changed; please restore the pin group manually.
  • For known issues in the tools, please refer to the respective tool's release notes e2 studio RN.
  • Updated rm_psa_cryto header to allow using the functions in a CPP project

Visit GitHub Issues for this project.

目标设备

下载

文档

设计和开发

样例程序

相关评估板和套件

视频和培训

额外细节

组件

  • CMSIS 兼容包文件适用于 e2 studio 集成开发环境
  • BSP 适用于 RA MCU 及板
  • HAL 驱动程序可访问外围设备
  • 中间件堆栈及协议
  • 模块配置器和代码生成器
  • 源文件可以与任何开发环境及第三方工具集成

支持的工具链

FSP 中的软件组件支持以下工具链。

  • e2 studio集成开发环境,支持GCC Arm Embedded 和 LLVM Embedded Toolchain for Arm 工具链。
  • IAR Embedded Workbench
  • Arm Keil MDK

软件安装说明

请参考 FSP GitHub 页面上的安装和使用说明:FSP GitHub 说明

e2 studio 集成开发环境

FSP 提供了众多可提高效率的工具,用于开发针对瑞萨电子RA 系列 MCU 设备的项目。 e2 studio 集成系统开发环境提供一个熟悉的开发控制台,从该控制台中,可以管理项目创建、模块选择和配置、代码开发、代码生成以及调试等关键步骤。FSP 使用图形用户界面 (GUI) 来简化高级模块及其关联应用程序接口 (API) 的选择、配置、代码生成和代码开发,从而显著加速开发过程。

e2 studio IDE 配备了一组选项,用于配置应用程序项目的各个方面。其中一些选项包括:

BSP 配置

从初始项目选择中配置或更改 MCU 和板的特定参数

时钟配置

为您的项目配置 MCU 时钟设置。时钟配置显示 MCU 时钟树的图形视图,允许修改各种时钟分频器和时钟脉冲源。

引脚配置

引脚配置提供 MCU 引脚的灵活配置。这样可以配置每个端口引脚的电气特性和功能。由于许多引脚能够提供多种功能,引脚配置器使您可以轻松地在外围设备上配置引脚。引脚配置工具通过突出显示错误并为每个引脚或每个外围设备提供选项,简化了带有高度复用引脚的大型封装的配置。

模块配置

模块配置为基于 RTOS 和非基于 RTOS 的应用程序添加 FSP 模块(HAL 驱动程序、中间件堆栈和 RTOS)提供了选项,并配置了模块的各种参数。对于每个所选的模块,属性窗口提供对配置参数、中断优先权、引脚选择等的访问。

中断配置

中断配置允许添加新的用户中断或事件,并设置中断优先权。它还将允许用户绕过外围设备中断,并为外围设备中断提供用户定义的 ISR。

组件配置

组件配置允许选择或删除应用程序所需的单个模块。针对添加到应用程序中的模块,会自动选择所有必要的模块。您可以勾选所需组件旁的方框,轻松选择或删除其他模块。

QE 工具

电容式触摸 QE是一款在e2 studio集成开发环境下运行应用程序的辅助工具。对于使用电容式触控传感器的嵌入式系统的开发,此工具简化了触摸用户界面的初始设置和灵敏度的调整,从而缩短了开发时间。

"QE for BLE" 是用于在支持低功耗蓝⽛协议栈的系统中,开发嵌入式软件的专用工具。 该解工具可以在e2 studio集成开发环境中运行。e2和“QE for BLE”结合可以轻松地测试低功耗蓝⽛的通信功能。

其他工具功能

  • 上下文有关的自动完成功能,能够为完成编程元素提供智能选项
  • 开发人员协助工具,用于直接在应用程序代码中选择和拖放 API 函数的位置
  • 智能手册,在代码中以正确的工具提示形式提供驱动程序和设备文档
  • 编辑悬停功能,在编辑时显示代码元素的详细说明
  • 欢迎窗口,显示示例项目、应用程序说明和各种其他自助支持资源的链接
  • 信息图标,图形配置查看器提供每个模型的信息图标,该查看器在用户手册中可链接到该模块的特定设计资源。

第三方工具支持

除了瑞萨电子 e2 studio, FSP 还支持第三方工具和 IDE。这些支持工具支持均通过 RA 智能配置器 (RASC) 应用程序提供。瑞萨电子 RA 智能配置器是一个桌面应用程序,让您能够在使用第三方 IDE 和工具链时为瑞萨电子 RA 微控制器配置软件系统(BSP、驱动程序、RTOS 和中间件)。RA 智能配置器目前可与 IAR Embedded Workbench、Keil MDK 和 Arm 编译器 6 工具链一起使用。

支持

支持社区

支持社区

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

知识库

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

提交工单

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