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

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