rt-thread/bsp/renesas/ra6m3-hmi-board
Meco Man 9352624c4e [hmi-board][rtduino] remove switchToPWM 2024-04-08 21:14:24 +08:00
..
.settings [bsp][renesas] fix FSP could not be recognized after being imported into studio 2024-03-27 18:44:44 -04:00
board [hmi-board][rtduino] remove switchToPWM 2024-04-08 21:14:24 +08:00
docs [Renesas]Update README.md 2023-05-05 13:28:24 +08:00
ra [bsp][renesas] add renesas soft spi driver 2024-03-14 11:38:28 +08:00
ra_cfg [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
ra_gen [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
script [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
src [Renesas]Add jpeg and g2d device support 2023-05-05 13:28:24 +08:00
.config [bsp] update projects 2024-03-21 11:23:29 +08:00
.cproject [bsp][renesas] Fixed some problems after importing HMI-Board into studio 2024-03-27 18:44:44 -04:00
.gitignore [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
.ignore_format.yml [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
.project [bsp][renesas]Redundant configuration information is removed 2024-03-24 21:44:59 -04:00
EventRecorderStub.scvd [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
JLinkLog.txt [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
JLinkSettings.ini [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
Kconfig [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
R7FA6M3AH3CFC.pincfg [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
README.md [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
README_ZH.md [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
SConscript [tools] add GetGCCLikePLATFORM 2023-08-21 01:25:52 -04:00
SConstruct [bsp][renesas] Optimize startup check script structure 2024-01-29 17:38:14 +08:00
buildinfo.gpdsc keep necessary file for mdk 2024-03-20 22:43:55 +08:00
configuration.xml [bsp][hmi-board] Optimize hardware driver configuration and trim the project file volume 2024-02-03 16:47:32 +08:00
project.uvguix.RTT [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
project.uvoptx [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
project.uvprojx [bsp] update projects 2024-03-21 11:23:29 +08:00
rasc_version.txt [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
rtconfig.h commit 2024-03-20 22:43:55 +08:00
rtconfig.py [tools\llvm-arm]update bsp rtconfig.py 2023-10-19 12:14:01 -04:00
template.uvguix.RTT [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
template.uvoptx [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
template.uvprojx [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00

README.md

RA6M3-HMI-Board BSP Instruction

中文|English

Introduction

Get ready to dive into the world of the RA6M3-HMI-Board development board! This document provides all the juicy details on the BSP (Board Support Package) instructions. By checking out the Quick Start section, developers can hit the ground running with this BSP and have RT-Thread up and running on the development board in no time.

Heres what you can expect to find inside:

• A comprehensive introduction to the development board

• A handy BSP Quick Start Guide

Lets start with an introduction to the development board. The HMI-Board board, built on the foundation of the Renesas RA6M3 MCU, is a game-changer. With its flexible software package and IDE configuration, users can easily evaluate the features of the RA6M3 MCU group and develop cutting-edge embedded system applications.

Curious about what it looks like? Check out the front view of the development board in the figure below:

The back view:

  • Hardware Framework

img

  • RA6M3(R7FA6M3AH3CFB): Cortex-M4F core, 120Mhz main frequency, with 2MB Flash/640KB RAM, integrated TFT controller, 2D accelerator, and JPEG decoder.
  • 4.3 inch LCD (RGB 888)
  • On-board emulator
  • Ethernet
  • RW007 (SPI high-speed WIFI)
  • USB-Device
  • TF Card
  • CAN
  • 1 microphone, 1 speaker
  • Arduino expansion interface
  • 2 PMOD expansion interfaces
  • 4 buttons: 3 user buttons, one reset button

Peripheral Condition

Each peripheral supporting condition for this BSP is as follows:

On-chip Peripheral Drivers Support Remark
UART Support UART9 is the default log output port.
GPIO Support
LCD Support
SDHI Support
JPEG Support
G2D Support
RW007 Support
ETH Support
SPI Support
I2C Support
CAN Support

Instructions for Use

The instructions for use are divided into the following two sections:

• Quick Start

This section is a user guide for newcomers to RT-Thread. By following simple steps, you can run the RT-Thread operating system on this development board and see the experimental results.

• Advanced Use

This section is for developers who want to enable more development board resources on the RT-Thread operating system. By using the ENV tool to configure the BSP, you can enable more on-board resources and achieve more advanced functions.

Quick Start

This BSP currently only provides an MDK5 project. The following tutorial takes the MDK5 development environment as an example to introduce how to run the system.

Compile and Download

• Compile: Double-click the project.uvprojx file to open the MDK5 project and compile the program.

• Download: Click the Debug button in MDK to download and debug

Running results

After the program is downloaded successfully, the system will automatically run and print system information.

Connect the corresponding serial port of the development board to the PC, open the corresponding serial port (115200-8-1-N) in the terminal tool, reset the device, and you can see RT-Threads output information. Enter the help command can view the commands supported by the system.

 \ | /
- RT -     Thread Operating System
 / | \     5.0.0 build Jan  4 2023 10:14:56
 2006 - 2022 Copyright by RT-Thread team
Hello RT-Thread!
msh >
msh >help
help             - RT-Thread shell help.
ps               - List threads in the system.
free             - Show the memory usage in the system.
clear            - clear the terminal screen
version          - show RT-Thread version information
list             - list objects

msh > 

Application Entry Function

The entry function of the application layer is in bsp\renesas\ra6m3-hmi-board\src\hal_entry.c in void hal_entry(void). Source files that you created can be placed directly in the src directory.

void hal_entry(void)
{
    rt_kprintf("\nHello RT-Thread!\n");

    while (1)
    {
        rt_pin_write(LED3_PIN, PIN_HIGH);
        rt_thread_mdelay(500);
        rt_pin_write(LED3_PIN, PIN_LOW);
        rt_thread_mdelay(500);
    }
}

Advanced Features

Resources & Documents

ENV Configuration

• How to use the ENV tool: RT-Thread env tool user manual.

This BSP only enables the function of UART9 by default. If you're looking for more advanced functions such as components and software packages, ENV tool for configuration is available.

The steps are as follows:

  1. Open the env tool under bsp.
  2. Enter the menuconfig command to configure the project, and save and exit after configuration.
  3. Enter the pkgs --update command to update the software package.
  4. Enter the scons --target=mdk5 command to regenerate the project.

FSP Configuration

The current repository's BSP is configured with the minimum footprint enabled by default. Users can enable peripheral configurations through the following steps:

  1. Open the env tool in the BSP directory and use the scons --target=mdk5 command to generate an MDK project.
  2. Open the project.uvprojx file in the BSP directory, select the Software Components configuration in the top navigation bar, and open the configuration button next to RA Configuration under Flex Software. This operation will automatically detect the installed FSP version on the current computer. After selecting the specified version, enter FSP.
  3. Upon entering FSP, pre-configured peripherals are already present. Click the Generate Project Content button to generate the required driver files.
  4. Return to env, enable the necessary peripheral configurations, save, and exit.

Contribute the Code

If youre interested in the HMI-Board and have some cool projects youd like to share with everyone, wed love for you to contribute your code! You can check out how to contribute to RT-Threads code. Lets make something awesome together!