AB4 Silicon Laboratories Inc, AB4 Datasheet

BOARD ETHERNET DEVELOPMENT

AB4

Manufacturer Part Number
AB4
Description
BOARD ETHERNET DEVELOPMENT
Manufacturer
Silicon Laboratories Inc
Datasheet

Specifications of AB4

Main Purpose
Interface, Ethernet
Utilized Ic / Part
C8051F020-TB, C8051F120-TB, C8051F340-TB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AB41902A
Manufacturer:
ALI
Quantity:
2 793
Part Number:
AB41902A
Manufacturer:
PANASONIC
Quantity:
1 000
Part Number:
AB44A1A
Manufacturer:
NRTEL
Quantity:
20 000
Part Number:
AB45S-R1
Manufacturer:
TOWARD
Quantity:
20 000
Part Number:
AB47S
Manufacturer:
OKITA
Quantity:
20 000
Part Number:
AB4R7UK
Quantity:
366
E t h e r n e t - D K
E
E
D
K
U
G
MBEDDED
THERN ET
EVELOPMENT
I T
SER
S
UIDE
1. Overview
The Embedded Ethernet Development Kit (Ethernet-DK) provides all the hardware and software required to
develop real-world embedded Ethernet applications using the industry proven CMX Micronet™ protocol stack and
high-performance Silicon Laboratories microcontrollers. The TCP/IP protocol stack is developed specifically for
embedded processors and is freely distributed in an easy-to-use library. A TCP/IP Configuration Wizard is provided
to generate a highly customized library optimized for user selected protocols. It also generates the framework code
required to use the library and a project file that can be managed in the Silicon Laboratories Integrated
Development Environment (IDE). Additional information about the TCP/IP library and Configuration Wizard,
including a detailed API description, can be found in application note “AN237: TCP/IP Library Programmer’s
Guide”.
The Embedded Ethernet Development Kit hardware includes a C8051F120 Target Board, AB4 Ethernet
Development Board, USB Debug Adapter, and all necessary cables to debug the MCU and connect it to an
Ethernet network. The C8051F120 Target Board features the 100 MIPS, 128 kB Flash, 8 kB RAM, 8051-based
C8051F120 MCU. The MCU network interface provided by the AB4 board consists of the CP2200 Ethernet
controller and an RJ-45 connector with integrated magnetics and LEDs. The TCP/IP Library includes a built-in
driver for the CP2200 and has a custom driver interface with auto-generated templates to allow drivers for any
Ethernet controller to be written.
The Silicon Labs IDE supports full-speed, non-intrusive MCU debugging and is bundled with an evaluation version
of the Keil C51 Toolchain allowing immediate application code evaluation in C. Projects with up to 4 kB of object
code and unlimited library code can be developed using the included toolset. Numerous application code examples
are included in the development kit and a walkthrough of an embedded web server demo is included in Section 6
on page 9.
Figure 1. C8051F120TB Target Board and AB4 Ethernet Development Board
Rev. 0.6 1/11
Copyright © 2011 by Silicon Laboratories
Ethernet-DK

Related parts for AB4

AB4 Summary of contents

Page 1

... Ethernet network. The C8051F120 Target Board features the 100 MIPS, 128 kB Flash RAM, 8051-based C8051F120 MCU. The MCU network interface provided by the AB4 board consists of the CP2200 Ethernet controller and an RJ-45 connector with integrated magnetics and LEDs. The TCP/IP Library includes a built-in driver for the CP2200 and has a custom driver interface with auto-generated templates to allow drivers for any Ethernet controller to be written ...

Page 2

... Kit Contents The Embedded Ethernet Development Kit contains the following items:  C8051F120 Target Board  AB4 Ethernet Development Board  CAT5e Ethernet Cable  Silicon Laboratories Evaluation Kit IDE and Product Information CD-ROM. CD content includes the following: Silicon Laboratories Integrated Development Environment (IDE)  ...

Page 3

... Power is indicated by the "PWR" LED on the C8051F120 TB. Note: The 'F120TB places a 2  resistor in series with the power supply net powering the AB4 Board. We recom- mend replacing this resistor with a 0  resistor to prevent large voltage drops, possibly triggering a V Monitor reset, when current demand increases ...

Page 4

... Crossover cable must be purchased separately. Ethernet Router/ Switch Or Ethernet Ethernet Wall Outlet Cable Cable Ethernet Crossover Cable Rev. 0.6 Crossover Cable Embedded Ethernet Development Kit ‘F120TB + AB4 Ethernet Connector Embedded Ethernet Development Kit ‘F120TB + AB4 Ethernet Connector ...

Page 5

... Network Setup Procedure If using a standard cable: 1. Connect the AB4 Ethernet Development Board to an Ethernet wall outlet router/switch using a standard Ethernet cable. 2. Connect the same Ethernet network using a standard Ethernet cable. If using a crossover cable: 1. Connect the AB4 Ethernet Development Board directly using an Ethernet crossover cable. ...

Page 6

Ethernet-DK 4.2. Selecting an IP Address for the Embedded System For recognize an embedded system on a network, its IP address and subnet mask need to be configured. Below are a few guidelines to follow when choosing ...

Page 7

Software Setup The included CD-ROM contains the Silicon Laboratories IDE, Keil C51 toolset, and documentation including datasheets, application notes, and an electronic version of this user’s guide. The instructions below describe how to install the Embedded Ethernet Development Kit ...

Page 8

Ethernet-DK 4. Unselect the “Install Raisonance Evaluation 8051 Toolset” option and select “Install Keil Evaluation 8051 Toolset”. Then press the Install button. 5. Follow the installation prompts to install the development tools. The following applications will be installed: The Silicon ...

Page 9

Embedded Ethernet Tutorial Now that the Embedded Ethernet Development Kit hardware has been set up, the software installed, and the embedded system connected to a network time to download firmware into the MCU and test its network ...

Page 10

Ethernet- the System Settings section of the left window, select IP Addresses the right window, set the Source IP Address to the IP address of the embedded system the Gateway IP Address and Subnet ...

Page 11

Save the selected configuration using the FileSave As menu. 10. Generate a new project with supporting firmware by selecting Generate Project from the File menu (see Figure 9). 11. When prompted for a folder to save the project, browse ...

Page 12

Ethernet-DK 6.1.2. Programming the MCU We will now build the project created by the TCP/IP Configuration Wizard and download the firmware to the MCU using the Silicon Laboratories IDE. 1. From the Windows Start menu, start the Silicon Laboratories IDE. ...

Page 13

Verify the Compiler and Linker tabs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:\Keil\C51\BIN in the Executable field. 6. Press the Compiler tab's Customize button. Under the Variable Location drop down box, select Large: XDATA ...

Page 14

Ethernet-DK 8. Click the Connect button in the toolbar or select DebugConnect from the menu. Note: If you receive the error message “Communication could not be established with the specified serial adapter”, open the Connection Options Dialog by selecting OptionsConnection ...

Page 15

Testing Connectivity Using PING After pressing GO, the MCU will be executing the TCP/IP stack firmware. The LEDs on the RJ-45 Ethernet connector should light up if the MCU is connected to a network. Once the network router detects ...

Page 16

Ethernet-DK 6.2. Stage 2—Basic Web Server with DHCP and Netfinder Capability In the first stage of the demo, we learned how to generate firmware for an embedded web server using the TCP/IP Configuration Wizard and access the embedded server from ...

Page 17

Save the selected configuration using the FileSave As menu. 6. Generate a new project with supporting firmware by selecting Generate Project from the File menu (see Figure 13). 7. When prompted for a folder to save the project, browse ...

Page 18

Ethernet-DK 6.2.2. Programming the MCU We will now build the project created by the TCP/IP Configuration Wizard and download the firmware to the MCU using the Silicon Laboratories IDE. 1. From the Windows Start menu, start the Silicon Laboratories IDE. ...

Page 19

Verify the Compiler and Linker tabs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:\Keil\C51\BIN in the Executable field. 6. Press the Compiler tab's Customize button. Under the Variable Location drop down box, select Large: XDATA ...

Page 20

Ethernet-DK 8. Click the Connect button in the toolbar or select DebugConnect from the menu. Note: If you receive the error message “Communication could not be established with the specified serial adapter”, open the Connection Options Dialog by selecting OptionsConnection ...

Page 21

Finding the Embedded System We will now search for embedded systems on the network. Note: The Netfinder utility v1.0 is not compatible with Windows Vista or Windows 7. 1. Open the Netfinder utility found in C:\SiLabs\MCU\Utilities\Netfinder. 2. Press the ...

Page 22

Ethernet-DK 5. The default web browser should launch and display the home page served by the embedded web server. The same result can be achieved by typing the IP address of the embedded web server into the address bar of ...

Page 23

Enter the IP address, subnet mask, and default gateway (if known) into the ‘Assign IP Address’ dialog and press OK. See Appendix A for information on how to configure the PC with a static IP address and how to ...

Page 24

Ethernet-DK 10. The default web browser should launch and display the home page served by the embedded web server. The same result can be achieved by typing the IP address of the embedded web server into the address bar of ...

Page 25

Stage 3—Configuring MAC and IP Addresses over the Serial Port In the first two stages of the demo, we learned how to generate firmware for an embedded web server using the TCP/IP Configuration Wizard and access the embedded server ...

Page 26

Ethernet-DK 6.3.3. Programming the IP Address Now the MCU will be running the new firmware and blinking the green LED (P1.6) to indicate that the IP address has not been programmed. In this mode, the MCU is waiting for the ...

Page 27

Stage 4—Adding Web Server Content In the first three stages of the demo, we learned how to make an embedded web server, find it on the network using Netfinder, and program its IP over the serial port. In this ...

Page 28

Ethernet-DK 6.4.3. Re-Building the Project and Viewing Results Once the file arrays are updated time to re-build the project and view the results. 1. Open and re-build the project. This can be done by selecting ProjectOpen Project and ...

Page 29

Figure 26. µWeb Embedded Web Server Rev. 0.6 Ethernet-DK 29 ...

Page 30

Ethernet-DK 7. Example Source Code The Embedded Ethernet Development Kit includes example source code, libraries, and register definition files for all MCU devices. These examples are installed by default in the “C:\SiLabs\MCU\Examples” directory during IDE installation. Inside this directory, an ...

Page 31

... Analog I/O terminal block J22 VREF connector J23 VDD Monitor Disable J24 96-pin Expansion I/O connector R1 Current Limiting Resistor For 96-pin Interface. Note: R1 should be shorted with a zero ohm resistor if the 'F120TB is providing power to the AB4. J24 Port 5 Port 4 Pin 2 Pin 1 Pin 2 Pin 1 J20 ...

Page 32

Ethernet-DK 8.1. C8051F120 Target Board Schematic 32 Rev. 0.6 ...

Page 33

... Disconnects LED2 from P1 Figure 29. AB4 Ethernet Development Board The AB4 Ethernet development board is compatible with multiple MCU development boards that contain a 96-pin connector. Table 2 maps select signals on the AB4 board to the corresponding MCU port pin(s). AB4 Signal Name F020, F040, & F120 ...

Page 34

... Ethernet-DK 9.1. Expansion I/O Connector (J1) The 96-pin expansion I/O connector J1 is used to connect the AB4 Ethernet Development Board to the C8051F120 Target Board. J1 provides access to many C8051F120 signal pins. Pins for +3 V, digital ground, analog ground and the unregulated power supply (VUNREG) are also available. The VUNREG pin is connected directly to the unregulated +V pin of the P1 power connector on the C8051F120 Target Board ...

Page 35

... AB4 Board Schematic Ethernet-DK Rev. 0.6 35 ...

Page 36

Ethernet-DK 10. Silicon Laboratories IDE (Integrated Development Environment) The Silicon Laboratories IDE integrates a source-code editor, source-level debugger and in-system Flash programmer. The use of third-party compilers and assemblers is also supported. This development kit includes the Keil Software A51 ...

Page 37

A —S PPENDIX UPPORTED Link/Physical Layer: Ethernet (IEEE802.3)—Widely installed local area network link/physical layer. Internet Layer: IP (Internet Protocol)—IP specifies the format of packets and manages the addressing of all devices on the network included in all builds ...

Page 38

Ethernet- OCUMENT HANGE IST Revision 0.3 to Revision 0.4  Added Netfinder Example.  Added note that R1 should be shorted with a zero ohm resistor on the 'F12x Target Board.  Updated the supported protocols in ...

Page 39

N : OTES Ethernet-DK Rev. 0.6 39 ...

Page 40

... Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized ap- plication, Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages. Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc. Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. ...

Related keywords