sakumisu ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
..
.settings 7703dea25f feat: add cherryecat demo 3 месяцев назад
board ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
figures 7703dea25f feat: add cherryecat demo 3 месяцев назад
packages ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
rzn 7703dea25f feat: add cherryecat demo 3 месяцев назад
rzn_cfg 7703dea25f feat: add cherryecat demo 3 месяцев назад
rzn_gen ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
script 7703dea25f feat: add cherryecat demo 3 месяцев назад
src 7703dea25f feat: add cherryecat demo 3 месяцев назад
.api_xml 7703dea25f feat: add cherryecat demo 3 месяцев назад
.config 7703dea25f feat: add cherryecat demo 3 месяцев назад
.cproject 7703dea25f feat: add cherryecat demo 3 месяцев назад
.gitignore 7703dea25f feat: add cherryecat demo 3 месяцев назад
.project 7703dea25f feat: add cherryecat demo 3 месяцев назад
.secure_azone 7703dea25f feat: add cherryecat demo 3 месяцев назад
.secure_rzone 7703dea25f feat: add cherryecat demo 3 месяцев назад
.secure_xml 7703dea25f feat: add cherryecat demo 3 месяцев назад
Kconfig 7703dea25f feat: add cherryecat demo 3 месяцев назад
README.md 7703dea25f feat: add cherryecat demo 3 месяцев назад
README_zh.md 7703dea25f feat: add cherryecat demo 3 месяцев назад
SConscript 7703dea25f feat: add cherryecat demo 3 месяцев назад
SConstruct 7703dea25f feat: add cherryecat demo 3 месяцев назад
buildinfo.ipcf 7703dea25f feat: add cherryecat demo 3 месяцев назад
buildinfo.json 7703dea25f feat: add cherryecat demo 3 месяцев назад
configuration.xml ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
envsetup.sh 7703dea25f feat: add cherryecat demo 3 месяцев назад
memory_regions.ld 7703dea25f feat: add cherryecat demo 3 месяцев назад
mklinks.bat 7703dea25f feat: add cherryecat demo 3 месяцев назад
mklinks.sh 7703dea25f feat: add cherryecat demo 3 месяцев назад
ozone_scons.jdebug 7703dea25f feat: add cherryecat demo 3 месяцев назад
project.ewd 7703dea25f feat: add cherryecat demo 3 месяцев назад
project.ewp ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
project.ewt ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
project.eww 7703dea25f feat: add cherryecat demo 3 месяцев назад
rtconfig.h 7703dea25f feat: add cherryecat demo 3 месяцев назад
rtconfig.py 7703dea25f feat: add cherryecat demo 3 месяцев назад
rzn_cfg.txt ddb703182e update(cherryecat): remove timer1 and bump cherryecat version to v1.0.0 2 месяцев назад
template.ewd 7703dea25f feat: add cherryecat demo 3 месяцев назад
template.ewp 7703dea25f feat: add cherryecat demo 3 месяцев назад
template.eww 7703dea25f feat: add cherryecat demo 3 месяцев назад

README.md

CherryECAT Driver Usage Instructions

English | 中文

Introduction

This project provides cherryecat demo.

Hardware Connection

To use Ethernet, connect the development board to any one of the three network ports using an Ethernet cable, and the other end should be connected to a network switch that has internet access.

FSP Configuration Instructions

Open the project configuration file configuration.xml and add the r_gamc stack:

image-20241126104408737

Next, click on g_ether0 Ethernet, and configure the interrupt callback function to user_ether0_callback:

image-20241126104422910

Now configure the PHY settings. Select g_ether_phy0, set the common configuration to "User Own Target", change the PHY LSI address to 1 (refer to the schematic for the exact address), and set the PHY initialization callback function to ether_phy_targets_initialize_rtl8211_rgmii(). Also, set the MDIO to GMAC.

image-20241126104437432

Next, configure g_ether_selector0, set the Ethernet mode to "Switch Mode", set the PHY link to "Default Active-Low", and choose "RGMII" for the PHY interface mode.

image-20241126104519290

Configure the Ethernet pin parameters and select the operating mode to RGMII:

image-20241126104533098

Finally, configure ETHER_GMAC:

image-20241126104603633

RT-Thread Studio Configuration

Return to the Studio project, and configure RT-Thread Settings. Click on "Hardware", find the chip device driver, and enable Ethernet:

image-20241126104852383

Running Results

cherryecat cherryecat cherryecat cherryecat cherryecat