RK3588网口拓展:8口千兆傻瓜式交换机RTL8370N

本方案来源于实际项目实践可用,仅供各位看官参考。

1、项目规划

        项目规划soc(gmac)->rtl8211(可选型号较多根据需求选择)->rtl8370n。傻瓜式网口拓展,rk3588一个网口直接与rtl8370相连,与8370其他网口建立通信以达到拓展网口的目的。废话不多说直接上操作

2、硬件连接配置

        

        傻瓜式交换机不需要我们嵌软做驱动配置的,硬件接通即可使用。

        首先查阅芯片数据手册:

        我们这里只看一下关键配置引脚:当STRP_DISAUTOLOAD拉低rtl8370将会从rom或外部flash中读取驱动,显然这不是我们所需要的。傻瓜式交换机只需把STRP_DISAUTOLOAD拉高即可。

另外对于其他开机配置引脚根据项目需求选择:

配置引脚尽量打板配置成可选择上下拉型的方便后续调试工作(下图为例)

检查供电正常、晶振正常,rtl8370n正常工作便可使用了。

2、遇到问题

        调试过程中遇到网口灯异常的情况,且网口功能正常(网口灯引脚一直保持高电平状态)。思来想去会不会是傻瓜式模式的问题,然后我们尝试把配置引脚做了一下简单改动,果然网口灯正常了。这样看来在STRP_DISAUTOLOAD拉高时,网口灯程序不会被配置。

3、资源分享

给大家分享一个立创开源资源:【星火计划】8口千兆交换机RTL8370N - 嘉立创EDA开源硬件平台

3、需要原理图和芯片数据手册的哥们到主页自行下载

芯片数据手册:https://download.csdn.net/download/zhyzhy_/89055987

原理图:https://download.csdn.net/download/zhyzhy_/89030428

点个关注不迷路,后续会继续记录rk3588以及单片机相关文章

RTL8370N-VB: Single-chip 8-port gigabit non-blocking switch architecture  Embedded 8-port 10/100/1000Base-T PHY  Each port supports full duplex 10/100/1000M connectivity (half duplex only supported in 10/100M mode)  Full-duplex and half-duplex operation with IEEE 802.3x flow control and backpressure  Supports 9216-byte jumbo packet length forwarding at wire speed  Supports Realtek Cable Test (RTCT) function  Supports 96-entry ACL Rules  Search keys support physical port, Layer2, Layer3, and Layer4 information  Actions support mirror, redirect, dropping, priority adjustment, traffic policing, CVLAN decision, and SVLAN assignment  Supports 5 types of user defined ACL rule format for 64 ACL rules  Optional per-port enable/disable of ACL function  Optional setting of per-port action to take when ACL mismatch  Supports IEEE 802.1Q VLAN  Supports 4K VLANs and 32 Extra Enhanced VLANs  Supports Un-tag definition in each VLAN  Supports VLAN policing and VLAN forwarding decision  Supports Port-based, Tag-based, and Protocol-based VLAN  Up to 4 Protocol-based VLAN entries  Supports per-port and per-VLAN egress VLAN tagging and un-tagging  Supports IVL, SVL, and IVL/SVL  Supports 4096-entry MAC address table with 4-way hash algorithm  Up to 4096 L2/L3 Filtering Database  Supports Spanning Tree port behavior configuration  IEEE 802.1w Rapid Spanning Tree  IEEE 802.1s Multiple Spanning Tree with up to 16 Spanning Tree instances  Supports IEEE 802.1x Access Control Protocol  Port-Based Access Control  MAC-Based Access Control  Guest VLAN  Supports Quality of Service (QoS)  Supports per port Input Bandwidth Control  Traffic classification based on IEEE 802.1p/Q priority definition, physical Port, IP DSCP field, ACL definition, VLAN based priority, MAC based priority, and SVLAN based priority  Eight Priority Queues per port  Per queue flow control  Min-Max Scheduling  Strict Priority and Weighted Fair Queue (WFQ) to provide minimum bandwidth  One leaky bucket to constrain the average packet rate of each queue  Supports rate limiting (64 shared meters, with 8kpbs granulation)  Supports RFC MIB Counter  MIB-II (RFC 1213)  Ethernet-Like MIB (RFC 3635)  Interface Group MIB (RFC 2863)  RMON (RFC 2819)  Bridge MIB (RFC 1493)  Bridge MIB Extension (RFC 2674)  Supports Stacking VLAN and Port Isolation with 8 Enhanced Filtering Databases  Supports IEEE 802.1ad Stacking VLAN  Supports 64 SVLANs  Supports 32 L2/IPv4 Multicast mappings to SVLAN  Supports 4 IEEE 802.3ad Link aggregation port groups  Supports OAM and EEE LLDP (Energy Efficient Ethernet Link Layer Discovery Protocol  Supports Loop Detection  Security Filtering  Disable learning for each port  Disable learning-table aging for each port  Drop unknown DA for each port  Broadcast/Multicast/Unknown DA storm control protects system from attack by hackers  Supports Realtek Green Ethernet features  Link-On Cable Length Power Saving  Link-Down Power Saving  Each port supports 3 parallel LED or scan LED or serial shift LED outputs  Supports I 2 C-like Slave interface or Slave MII Management interface to access configuration register  Supports 16K-byte EEPROM space for configuration  Integrated 8051 microprocessor  Supports SPI Flash Interface  25MHz crystal input  RTL8370N-VB: LQFP 128-pin E-PAD package
RTL8370N是一种高性能的管理交换机。它是一款采用硬件交换机芯片设计的网络设备,具有强大的功能和稳定的性能。 首先,RTL8370N支持高达48个端的接入,可以满足中小型企业或家庭网络的需求。它支持LAN端的自动协商和自适应,能够根据设备的网络速度自动选择合适的传输速率,确保网络的稳定运行。 其次,RTL8370N具有丰富的管理功能。借助其提供的Web界面,用户可以轻松地对交换机进行配置和管理。通过这个界面,用户可以对端进行配置、监控和管理,包括配置端的速率、限制端的带宽、设置端的虚拟局域网(VLAN)、进行端的镜像等操作。此外,RTL8370N还提供静态路由和IGMP Snooping等高级功能,进一步增强了网络的安全性和可靠性。 RTL8370N还支持QoS(Quality of Service)功能,可以对数据流进行优先级的划分和调度,确保关键数据的传输质量和带宽的分配优化。这一功能尤其对需要保证实时传输的应用(如VoIP和视频会议)非常重要。 最后,RTL8370N还支持802.1x认证功能,可实现网络的安全接入。通过认证服务器,用户需要提供有效的身份凭证才能访问网络,提高网络的安全性,防止未授权的访问。 总之,RTL8370N是一款功能强大、性能稳定的管理交换机,可满足中小型网络的需求。它提供了丰富的管理功能和高级功能,如VLAN、静态路由、IGMP Snooping、QoS和802.1x认证等,能够提供可靠的网络服务和安全的网络接入。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值