Specifications

1 2 3 4 5 6 7 8 9 10
Application Report
SLAA137A February 2004
1
MSP430 Internet Connectivity
Andreas Dannenberg MSP430
ABSTRACT
Computer communication systems and especially the Internet are playing a rapidly
increasingly important role in our everyday environment. But today this is not only a
domain of personal computers or workstations. More and more, it makes its way to
smaller network nodes, too. Imagine applications that are able to control hardware via a
standard Internet browser, to transmit and visualize the state of sensors or automatically
generate and send E-mails on the occurrence of special events (for example, for security
purposes).
This application report describes in detail the implementation of an embedded Web server
based on the MSP430 ultralow-power microcontroller series from Texas Instruments. The
solution consists of both hardware (schematic, parts list) and software (C source). An
ethernet LAN controller offers the physical connection to the Internet. A downsized
TCP/IP protocol stack is used. Its functionality is encapsulated by an easy-to-use
application programming interface (API). By using this API, creating new applications or
modifying existing ones becomes an easy task. As an application example, a dynamic
HTTP server is implemented.
Contents
1 Introduction........................................................................................................................................3
2 Important Protocol Basics................................................................................................................3
2.1 Ethernet........................................................................................................................................4
2.2 Address Resolution Protocol .......................................................................................................5
2.3 Internet Protocol...........................................................................................................................5
2.4 Internet Control Message Protocol..............................................................................................6
2.5 Transmission Control Protocol ....................................................................................................6
2.6 Hypertext Transfer Protocol.........................................................................................................7
3 Hardware Description........................................................................................................................7
3.1 Interfacing to the LAN Controller .................................................................................................8
3.2 Circuit Description........................................................................................................................9
3.3 Connection to the Network ........................................................................................................10
4 Software Description.......................................................................................................................11
Amiga is a trademark of Amiga, Inc.
Apple and Macintosh are trademarks of Apple Computer, Inc.
Athlon is a trademark of Advanced Micro Devices, Inc.
Cassiopeia is a trademark of Casio Keisanki Kabushiki Kaisha DBA Casio Computer Co., Ltd., Japan
Crystal is a trademark of Crystal Semiconductor Corporation.
Cirrus is a trademark of Cirrus Logic, Inc.
Microsoft and Internet Explorer are a trademarks of Microsoft Corporation.
Netmon is a trademark of Systems Enhancement Corporation.
Netscape Navigator is a trademark of Netscape Communications Corporation.
Open Transport is a trademark of Information Management Company.
Pentium is a trademark of Intel Corporation.
Other trademarks are the property of their respective owners.
ZIP file: http://www.ti.com/lit/zip/slaa137

Summary of content (32 pages)