C8051F540DK Silicon Laboratories Inc, C8051F540DK Datasheet - Page 4

KIT DEVELOPMENT FOR C8051F540

C8051F540DK

Manufacturer Part Number
C8051F540DK
Description
KIT DEVELOPMENT FOR C8051F540
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheet

Specifications of C8051F540DK

Contents
Evaluation Board, Power Supply, USB Cables, Adapter and Documentation
Processor To Be Evaluated
C8051F54x
Processor Series
C8051F54x
Interface Type
USB
Operating Supply Voltage
5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F54x
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1669
C8051F540DK
5.1.2. Getting Started With the Silicon Labs IDE
The following sections discuss how to open an example project in the IDE, build the source code, and download it
to the target device.
5.1.2.1. Running the F540_Blinky example program
The F540_Blinky example program blinks an LED on the target board.
5.1.2.2. Creating a New Project
Use the following steps to create a new projects. Once steps 1-5 in this section are complete, continue at Step 3 in
Section 5.1.2.1.
4
1. Open the Silicon Labs IDE from the Start menu.
2. Select Project
3. Browse to the C:\SiLabs\MCU\Examples\C8051F54x\Blinky directory (default) and select the
4. Once the project is open, build the project by clicking on the Build/Make Project button in the toolbar or
5. Before connecting to the target device, several connection options may need to be set. Open the Connec-
6. Click the Connect button in the toolbar or select Debug
7. Download the project to the target by clicking the Download Code button in the toolbar.
8. Click on the Go button (green circle) in the toolbar or by selecting Debug
1. Select Project
2. Select File
3. Right-click on “New Project” in the Project Window. Select Add files to project. Select files in the file
4. For each of the files in the Project Window that you want assembled, compiled and linked into the target
5. Save the project when finished with the debug session to preserve the current target build configuration,
F540_Blinky_C.wsp project file and click Open.
selecting Project
Note: After the project has been built the first time, the Build/Make Project command will only build the
files that have been changed since the previous build. To rebuild all files and project dependencies, click
on the Rebuild All button in the toolbar or select Project
tion Options window by selecting Options
“USB Debug Adapter” option. Next, the correct “Debug Interface” must be selected. C8051F54x devices
use Silicon Labs “C2” 2-wire debug interface. Once all the selections are made, click the OK button to
close the window.
device.
Note: To enable automatic downloading if the program build is successful select Enable automatic con-
nect/download after build in the Project
build process, the IDE will not attempt the download.
ning the firmware. The LED on the target board will start blinking.
ognized extension, such as .c, .h, or .asm, to enable color syntax highlighting.
browser and click Open. Continue adding files until all project files have been added.
build, right-click on the file name and select Add file to build. Each file will be assembled or compiled as
appropriate (based on file extension) and linked into the build of the absolute object file.
Note: If a project contains a large number of files, the “Group” feature of the IDE can be used to organize.
Right-click on “New Project” in the Project Window. Select Add Groups to project. Add pre-defined
groups or add customized groups. Right-click on the group name and choose Add file to group. Select
files to be added. Continue adding files until all project files have been added.
editor settings and the location of all open debug views. To save the project, select Project
As... from the menu. Create a new name for the project and click on Save.
New File to open an editor window. Create your source file(s) and save the file(s) with a rec-
Open Project to open an existing project.
New Project to open a new project and reset all configuration settings to default.
Build/Make Project from the menu.
Target Build Configuration dialog. If errors occur during the
Rev. 0.1
Connection Options... in the IDE menu. First, select the
Connect from the menu to connect to the
Rebuild All from the menu.
Go from the menu to start run-
Save Project

Related parts for C8051F540DK