How to use the internal EMAC+PHY of V3s to debug and develop Ethernet functions on SC3807VS EVB
This article shows you how to use the internal EMAC+PHY of V3s to debug and develop Ethernet functions on SC3807VS EVB. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
V3s is a member of Quan Zhi SoC, which can be used to do CDR, IPCAMERA, SportDV and other coding products. This time, I need to use the Ethernet function on the V3s. From the V3s datasheet, I can confirm that the V3s has EMAC and 10max 100m PHY.
After looking at the SPEC of the Suozhi SC3807VS EVB board, the Ethernet has been designed on the hardware, so I chose to carry out pre-research and development on TA.
The first step is to connect the flying line to the RJ45 interface. You can choose to use a transformer on the EVB, a RJ45 without a transformer, or a RJ45 with a transformer, without using the one on the board.
The second step is to open the configuration using menuconfig:
Device Driver- >
-Network device support- >
-Ethernet driver support- >
-SUNXI Platform Network devices drivers
-Sunxi platform Gigabit Ethernet driver
-Use sunxi platform script
-Clock use system interface
-External PHY power control
Save the configuration and recompile the kernel as shown below.
The third step is to modify sys_config.fex as follows:
[gmac0]
Gmac_used = 2
Gmac_power1 =
The fourth step is to rebuild firmware and burn it to SC3807VS EVB. After burning, enter shell to test:
So far, the pre-research of V3s using Ethernet has been successfully completed.
The above is how to use the internal EMAC+PHY of V3s to debug and develop Ethernet functions on SC3807VS EVB. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.