Init EMAC,
Ethernet Switch,
and UART
Ethernet
thread
UART
thread
Init SYS/BIOS and
setup UART and
Ethernet threads
Start SYS/BIOS
Start
Software Design
36
JAJU324B – March 2015 – Revised July 2017
翻訳版
—
最新の英語版資料
http://www-s.ti.com/sc/techlit/TIDU832
Copyright © 2015–2017, Texas Instruments Incorporated
EMI/EMC
規格準拠、産業用温度範囲のデュアルポート・ギガビット・イーサネットの
リファレンス・デザイン
The TIDA-00204 example application app consists of three major functional blocks.
The first part initializes the AM3359 peripherals like the Ethernet MAC, Ethernet Switch (CPWS), and
UART. Then, the app initializes SYS/BIOS and sets up a UART task thread as well as an Ethernet task
thread. After that, the app starts SYS/BIOS. Then, both the UART thread and the Ethernet thread are
scheduled and run accordingly.
図
図
22. AM3359 Initialization
The Ethernet thread initializes the configuration registers of both DP83867IR Gigabit PHYs through SMI.
For example, set RGMII mode, autonegotiation, indicator LEDs, and more. Then the thread enables the
network layer with fixed IPv4 address 192.168.1.10 and TCP and UDP transport layer. Additionally, a
HTTP web server example application is included.
The UART thread enables communication through virtual COM port and offers and additional option to
read and write to the individual registers of the DP83867 Gigabit PHYs through SMI. For example, the
user can adjust the RGMII Delay Mode according to the specific hardware, if desired.