rt-thread/bsp/renesas/ra6m3-hmi-board
Yuqiang Wang ebc9582c07
[bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205)
2023-11-01 06:07:46 +08:00
..
.settings [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
board [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
docs [Renesas]Update README.md 2023-05-05 13:28:24 +08:00
ra [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
ra_cfg [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
ra_gen [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +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 [tools\llvm-arm]update bsp rtconfig.py 2023-10-19 12:14:01 -04:00
.cproject [bsp][Renesas]Modify some drivers and configuration files (#7590) 2023-06-02 15:47:09 +08: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 [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08: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/ra6m3-hmi-board]add english README.md 2023-06-06 22:48:21 -04:00
README_ZH.md [bsp/ra6m3-hmi-board]add english README.md 2023-06-06 22:48:21 -04:00
SConscript [tools] add GetGCCLikePLATFORM 2023-08-21 01:25:52 -04:00
SConstruct 更新瑞萨相关 bsp (#7858) 2023-07-25 14:55:11 +08:00
buildinfo.gpdsc [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +08:00
configuration.xml [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +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 [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
rasc_version.txt [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
rtconfig.h [bsp][rtduino] 新增HMI-Board对RTduino支持、HMI-Board支持C++特性、修复一些驱动问题 (#8205) 2023-11-01 06:07:46 +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 UART7 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.

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!