aerobotics

[6 electrical + 2 optical] 8-port 100M switch RTL8309N

 
Overview

Preface:
I drew two versions of the 8-port 100M switch RTL8309N before:
1.0: https://oshwhub.com/ay08/8-kou-bai-zhao-jiao-huan-ji
2.0: https://oshwhub.com/ay08/2-0-8-kou-bai-zhao-jiao-huan-ji-rtl8309n
I need a switch with more than two optical ports. At this time, I re-read the RTL8309N datasheet.
 
 
The working principle:
power supply circuit, LED light pin configuration, network port differential configuration, VLAN (virtual local area network) are all omitted and not explained. They are not the focus of my discussion. The focus is to configure it as an SFP port.
I re-read the RTL8309N datasheet (as shown below), and I found that this RTL8309N chip can support configuring all ports as SFP ports.
 
This configuration requires register configuration, which is not written in this datasheet. (Find another method or have internal information)
But I have already written a firmware (attached), which can be used or referenced.
 
Through CH341A programmer, write to eeprom (24c02 chip and above can be used normally)
 
The firmware I edited only changes two places:
1. Configure the 6th and 7th ports as SFP ports, and keep the other 0-5 ports as they are.
2. Configure the 6th and 7th ports as Uplink ports, which are also called uplink ports.
 
At present, the optical port cannot be used, but the electrical port can be used normally. At
present, the optical port cannot be used, but the electrical port can be used normally.
At present, the optical port cannot be used, but the electrical port can be used normally.
(Important things are said three times!!!)
 
I am very sure that there is no problem with my firmware writing. There should be an unknown problem on the circuit board (there was not much time when I adjusted this optical port, so I gave up due to delays)
After configuring it as an SFP port, polarity correction cannot be used. (I made a mistake on this point, and the subsequent flying line still cannot solve the problem of the SFP port) (The schematic diagram and PCB have been repaired)
 
Actual photos:
 
Written to those who come later:
If you happen to need an SFP port, then please join the QQ group, and we will have a friendly discussion together to solve this legacy problem.
QQ group: 362898144 (The love-hate relationship between Fat House and Luo Tie).
To join the QQ group, you need to follow AY08 (that is, me).
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-20 20:39:38

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号