Yuqiang Wang e1498cabc9 SDK build (#47) 5 ヶ月 前
..
.settings 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
board 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
figures e9ee0a7ce5 add filesystem project and public v1.2.1 9 ヶ月 前
packages 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
rzn 0e9a0dfdbd fix iar link source 6 ヶ月 前
rzn_cfg 0e9a0dfdbd fix iar link source 6 ヶ月 前
rzn_gen 0e9a0dfdbd fix iar link source 6 ヶ月 前
script 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
src e9ee0a7ce5 add filesystem project and public v1.2.1 9 ヶ月 前
.api_xml e7e2582a7c EtherKit 示例工程添加 1 年間 前
.config 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
.cproject 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
.gitignore 43669c1c97 Fixed some known issues 1 年間 前
.project e7e2582a7c EtherKit 示例工程添加 1 年間 前
.secure_azone e7e2582a7c EtherKit 示例工程添加 1 年間 前
.secure_rzone 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
.secure_xml 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
Kconfig 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
README.md e1498cabc9 SDK build (#47) 5 ヶ月 前
README_zh.md e1498cabc9 SDK build (#47) 5 ヶ月 前
SConscript 0e9a0dfdbd fix iar link source 6 ヶ月 前
SConstruct e7e2582a7c EtherKit 示例工程添加 1 年間 前
buildinfo.ipcf 0e9a0dfdbd fix iar link source 6 ヶ月 前
buildinfo.json 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
configuration.xml 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
envsetup.sh e7e2582a7c EtherKit 示例工程添加 1 年間 前
mklinks.bat e7e2582a7c EtherKit 示例工程添加 1 年間 前
mklinks.sh e7e2582a7c EtherKit 示例工程添加 1 年間 前
ozone_scons.jdebug 384e7a31df 修复scons固件无法运行的问题,添加ozone调试脚本 1 年間 前
project.ewd 0e9a0dfdbd fix iar link source 6 ヶ月 前
project.ewp 0e9a0dfdbd fix iar link source 6 ヶ月 前
project.ewt 0e9a0dfdbd fix iar link source 6 ヶ月 前
project.eww e7e2582a7c EtherKit 示例工程添加 1 年間 前
rtconfig.h 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
rtconfig.py 384e7a31df 修复scons固件无法运行的问题,添加ozone调试脚本 1 年間 前
rzn_cfg.txt 4795f3d206 更新fsp为2.2.0 6 ヶ月 前
template.ewd 0e9a0dfdbd fix iar link source 6 ヶ月 前
template.ewp 0e9a0dfdbd fix iar link source 6 ヶ月 前
template.eww e7e2582a7c EtherKit 示例工程添加 1 年間 前

README.md

RS485 Driver Usage Instructions

English | 中文

Introduction

This example demonstrates how to use an RS485 device on the EtherKit.

Hardware Overview

image-20241126102525956

FSP Configuration

Open the FSP tool, create a new Stack, and select r_sci_uart5. The specific configuration details are as follows:

image-20250421150150683

Example Project Description

The RS485 driver is initialized, and characters received from the RS485 serial terminal are printed to the Finsh terminal, while being echoed back to the RS485 terminal.

Build & Download

  • RT-Thread Studio: Download the EtherKit resource pack from the RT-Thread Studio package manager, then create a new project and compile it.
  • IAR: First, double-click mklinks.bat to generate links for the rt-thread and libraries folders. Then, use Env to generate the IAR project. Finally, double-click project.eww to open the IAR project and compile it.

Once compiled, connect the development board’s JLink interface to the PC, and download the firmware to the development board.

Running Result

Run the rs485_sample command in the serial console, and open the RS485 serial terminal to view the received data:

image-20250421150911150

image-20250421150932481