Advertisement

Quick Links

C8051F540 D
1. Relevant Devices
The C8051F540 Development Kit is intended as a development platform for the microcontrollers in the C8051F54x
MCU family. The members of this MCU family are: C8051F540, C8051F541, C8051F542, C8051F543,
C8051F544, C8051F545, C8051F546, and C8051F547.
The target board included in this kit is provided with a pre-soldered C8051F540 MCU (QFN32 package) and a
C8051F542 (QFN24 package).
Code developed on the C8051F540 can be easily ported to the other members of this MCU family.
Refer to the C8051F54x data sheet for the differences between the members of this MCU family.
2. Kit Contents
The C8051F540 Development Kit contains the following items:
C8051F540 Target Board
C8051Fxxx Development Kit Quick-Start Guide
Silicon Laboratories IDE and Product Information CD-ROM. CD content includes the following:
Silicon Laboratories Integrated Development Environment (IDE)

Keil 8051 Development Tools (macro assembler, linker, evaluation C compiler)

Source code examples and register definition files

Documentation

C8051F540 Development Kit User's Guide (this document)

Optional Third Party Tools CD
AC to DC Power Adapter
USB Debug Adapter (USB to Debug Interface)
Two USB Cables
3. Hardware Setup
Refer to Figure 1 for a diagram of the hardware configuration.
1. Connect the USB Debug Adapter to the DEBUG A connector on the target board with the 10-pin ribbon cable.
2. Connect one end of the USB cable to the USB connector on the USB Debug Adapter.
3. Verify that shorting blocks are installed on the target board as shown in Figure 4 on page 9.
4. Connect the other end of the USB cable to a USB Port on the PC.
5. Connect the ac/dc power adapter to power jack P1 on the target board.
Notes:
• Use the Reset icon in the IDE to reset the target when connected during a debug session.
• Remove power from the target board and the USB Debug Adapter before connecting or disconnecting the
ribbon cable from the target board. Connecting or disconnecting the cable when the devices have power can
damage the device and/or the USB Debug Adapter.
Rev. 0.1 4/09
E V E L O P M E N T
Copyright © 2009 by Silicon Laboratories
C 8 0 5 1 F 5 4 0 D K
K
U
'
G
I T
SER
S
UIDE
C8051F540DK

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F540DK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Silicon Laboratories C8051F540DK

  • Page 1 C8051F540 Target Board  C8051Fxxx Development Kit Quick-Start Guide  Silicon Laboratories IDE and Product Information CD-ROM. CD content includes the following: Silicon Laboratories Integrated Development Environment (IDE)  Keil 8051 Development Tools (macro assembler, linker, evaluation C compiler) ...
  • Page 2: Software Installation

    1. Click on the "Install Development Tools" button on the installation utility's startup screen. 2. In the Kit Selection box that appears, choose the C8051F540DK development kit from the list of options. 3. In the next screen, choose “Components to be Installed”. The programs necessary to download and debug on the MCU are the Silicon Labs IDE and the Keil 8051 Evaluation Toolset.
  • Page 3: Software Overview

    (P5) on the C8051F540 Target Board. Windows will automatically finish the driver installation. Information windows will pop up from the taskbar to show the installation progress. 6. If needed, the driver files can be uninstalled by selecting “Silicon Laboratories CP210x USB to UART Bridge Driver Removal” option in the “Add or Remove Programs” window.
  • Page 4 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.
  • Page 5 C8051F540DK 5.2. Configuration Wizard 2 The Configuration Wizard 2 is a code generation tool for all of the Silicon Laboratories devices. Code is generated through the use of dialog boxes for each of the device's peripherals. Figure 2. Configuration Wizard 2 Utility The Configuration Wizard 2 utility helps accelerate development by automatically generating initialization source code to configure and enable the on-chip resources needed by most design projects.
  • Page 6: Example Source Code

    C8051F540DK 5.4. Programming Utilities The Silicon Labs IDE is the primary tool for downloading firmware to the MCU during development. There are two software programming tools that are intended for use during prototyping or in the field: The MCU Production Programmer and the Flash Programming Utilities.
  • Page 7: Target Board

    C8051F540DK 7. Target Board The C8051F540 Development Kit includes a target board with a C8051F540 (Side A) and C8051F542 (Side B) device pre-installed for evaluation and preliminary software development. Numerous input/output (I/O) connections are provided to facilitate prototyping using the target board. Refer to Figure 3 for the locations of the various I/O connectors.
  • Page 8 C8051F540DK DEBUG_A DEBUG_B RESET_B RESET_A SIDE “B” 2102 SIDE “A” Port 2 “A” COMM P1.3_B P1.4_B P1.3_A C8051 P1.4_A Port 1 “A” F540 Port 1 “B” Port 0 “B” Port 0 “A” J10 J9 PWR LED F542 Port 2 “B”...
  • Page 9 C8051F540DK 7.1. Target Board Shorting Blocks: Factory Defaults The C8051F540 Target Board comes from the factory with pre-installed shorting blocks on many headers. Figure 4 shows the positions of the factory default shorting blocks. DEBUG_A DEBUG_B RESET_B RESET_A SIDE “B”...
  • Page 10 C8051F540DK 7.2. Target Board Power Options and Current Measurement (J4, J8, J24, P1, TB1) The MCUs on the C8051F540 Target Board are powered from a +5 V net. The +5 V net is connected to the headers J8 (Side A) and J4 (Side B). Shorting blocks can be put on each header to connect the +5 V net to the VREGIN and VIO pins on the two MCUs.
  • Page 11 C8051F540DK 7.4. Switches and LEDs (J11, J16) Two push-button switches are provided on the target board for each MCU. Switch RESET_A is connected to the RST pin of the C8051F540. Switch RESET_B is connected to the RST pin of the C8051F542. Pressing RESET_A puts the C8051F540 device into its hardware-reset state, and similarly for RESET_B and the C8051F542 MCU.
  • Page 12 C8051F540DK 7.6. Serial Interface (P5, J14) A USB-to-UART bridge device (U3) and USB connector (P5) are provided on the target board to facilitate serial connections to UART0 of the C8051F540 (Side A). The Silicon Labs CP2102 USB-to-UART bridge provides data connectivity between the C8051F540 and the PC via a USB port.
  • Page 13 C8051F540DK 7.8. Port I/O Connectors (J1-J3 and J5-J7) Each of the parallel ports of the C8051F540 (Side A) and C8051F542 (Side B) has its own 10-pin header connector. Each connector provides a pin for the corresponding port pins 0–7, +5 V VIO, and digital ground. The same pin-out is used for all of the port connectors.
  • Page 14 C8051F540DK 7.11. Power Supply I/O (Side A) (TB3) All of the C8051F540 target device’s supply pins are connected to the TB3 terminal block. Refer to Table 8 for the TB3 terminal block connections. Table 8. TB3 Terminal Block Pin Descriptions...
  • Page 15 C8051F540DK 7.14. Target Board Pin Assignment Summary Some GPIO pins of the C8051F540 MCU can have an alternate fixed function. For example, pin 30 on the C8051F540 MCU is designated P0.4, and can be used as a GPIO pin. Also, if the UART0 peripheral on the MCU is enabled using the crossbar registers, the TX signal is routed to this pin.
  • Page 16 C8051F540DK Table 9. C8051F540 Target Board Pin Assignments and Headers (Continued) MCU Pin Name Pin# Primary Alternate Fixed Target Board Relevant Headers Function Function Function P3.0 P3.0 Test Point near P2 RST/C2CK C2CK RST/C2CK P2[7], P2[5]* J8[1], J15[2], TB3[1] J1-J3[2]...
  • Page 17 C8051F540DK 8. Schematics Rev. 0.1...
  • Page 18 C8051F540DK Rev. 0.1...
  • Page 19 C8051F540DK Rev. 0.1...
  • Page 20 C8051F540DK Rev. 0.1...
  • Page 21 C8051F540DK OTES Rev. 0.1...
  • Page 22: Contact Information

    Silicon Laboratories products are not designed, intended, or authorized for use in applications intended to support or sustain life, or for any other application in which the failure of the Silicon Laboratories product could create a situation where per- sonal injury or death may occur.

Table of Contents