如果库文件中的驱动不支持LM3S9B96,可以把LM3S9B90的驱动库移植过来,LM3S9B90的驱动库支持IEEE1588
StellarisWare\boards\ek-lm3s9b90\enet_ptpd
LM3S9B96 的例程enet_ptpd可以参考一下(网络太慢,附件先不传了).下文是他的例程说明.
Ethernet with PTP
This example application demonstrates the operation of the Stellaris
Ethernet controller using the lwIP TCP/IP Stack. DHCP is used to obtain
an Ethernet address. If DHCP times out without obtaining an address,
AutoIP will be used to obtain a link-local address. The address that is
selected will be shown on the QVGA display and output to the UART.
A default set of pages will be served up by an internal file system and
the httpd server.
The IEEE 1588 (PTP) software has been enabled in this code to synchronize
the internal clock to a network master clock source.
UART0, connected to the FTDI virtual COM port and running at 115,200,
8-N-1, is used to display messages from this application.
For additional details on lwIP, refer to the lwIP web page at:
For additional details on the PTPd software, refer to the PTPd web page at: