Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Recently, in collaboration with engineers from Renesas and RT-Thread, we have completed the framework and tutorial for creating the RT-Thread BSP for the Renesas Cortex-M RA series MCUs. This means that developers using the RA series MCUs (RA2 series, RA4 series, RA6 series) can quickly create their own BSPs based on the tutorial and develop product applications using the rich components and packages from RT-Thread, thereby improving development efficiency.

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

The RT-Thread BSP for the RA series integrates Renesas’ Flexible Software Package (FSP) configuration tool, which allows users to visually select the chip used and configure any pin or peripheral, reducing the workload of low-level development and saving time.

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

The RA series MCU RT-Thread BSP framework not only greatly improves code reuse and reduces BSP maintenance costs, but also provides developers with richer driver files, making it easier for developers to find the resources they need. Its main features are as follows:

  • Using the RA template project generated by FSP, it reduces the difficulty of adding new BSPs.

  • Universal driver files, allowing developers to easily use all drivers.

  • Graphical configuration of chip peripherals using the FSP configuration tool.

Each BSP mainly consists of two parts: the universal driver library and the specific development board BSP. The table below takes the ra6m4-cpk BSP as an example:

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

The RA series MCU RT-Thread BSP tutorial can be found at:

https://github.com/RT-Thread/rt-thread/tree/master/bsp/renesas

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

To help developers better understand the RA series MCU RT-Thread BSP tutorial and usage process, this Thursday at 8 PM, RT-Thread engineers will live stream an explanation of the related porting, using the RA2L1 development board as an example.

Bilibili live room:

https://live.bilibili.com/21644795

WeChat Video Account:

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Below is a brief introduction to the RA series products to help developers better understand the RA series MCUs and choose the appropriate model for use.

RA Series MCUs

The Renesas Advanced (RA) 32-bit MCUs are based on the Arm® Cortex®-M33, Arm® Cortex®-M23, and Arm® Cortex®-M4 processor cores. The Renesas RA product family includes four series—already released RA2, RA4, and RA6 series, and the planned RA8 series. The new RA product family includes: RA2 series, suitable for low-power applications; RA4 series, suitable for devices requiring low power, high performance, and high security; RA6 series, which has excellent connectivity and security features. For the roadmap of Renesas RA MCU products, please refer to the following:

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Features of the released RA2, RA4, and RA6 series are as follows:

  • RA2 Series – Low Power: Based on Arm Cortex-M23 core, with a maximum frequency of 48 MHz, up to 512 KB of flash memory and 64 KB of SRAM. Power supply voltage range is 1.6 V to 5.5 V. Peripherals include full-speed USB, CAN, 24-bit Σ-Δ analog-to-digital converter (ADC), 12-bit digital-to-analog converter (DAC), capacitive touch sensing, and security features.

  • RA4 Series – High Performance and Excellent Power Efficiency: Built on the Arm Cortex-M33 core with TrustZone support or Arm Cortex-M4F core, with a maximum frequency of 100 MHz. Up to 1 MB of flash memory and 128 KB of SRAM. Voltage range is 1.6 V to 5.5 V. Peripherals include capacitive touch sensing, segment LCD controller, full-speed USB, CAN, security features, as well as data converters and timers. The RA4W1 series devices additionally come with Bluetooth® Low Energy (BLE) 5.0.

  • RA6 Series – High Performance: Based on the Arm Cortex-M33 core with TrustZone support or Arm Cortex-M4F core. Maximum frequency of 240 MHz. Up to 2 MB of flash memory and 640 KB of SRAM. Voltage range is 2.7 V to 3.6 V. Peripherals include data converters, timers, external memory bus, Ethernet, full-speed and high-speed USB, CAN, security features, capacitive touch sensing, and graphics LCD controller for TFT displays, as well as a 2D graphics acceleration engine. The RA6Tx series devices come with enhanced peripherals for motor control, such as high-resolution PWM timers or advanced analog modules.

Related Articles:

Renesas officially becomes a gold member of RT-Thread

Guide to building a development environment based on RT-Thread Studio for CPK-RA6M4

How to use RA6M4 ADC to collect potentiometer voltage

【Review】 IoT cloud connection solution based on Renesas RA MCU

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Follow us

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

For teacher training registration, add WeChat account 13632716562!

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Creating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Click to read the original text and enter the official website

If you love me, please give me a lookCreating RT-Thread BSP for Renesas Cortex-M RA Series MCUs

Leave a Comment