Advertisement

Quick Links

C8051F34
1. Kit Contents
The C8051F34x Development Kit contains the following items:
• C8051F340 Target Board
• C8051Fxxx Development Kit Quick-start Guide
• Silicon Laboratories IDE and Product Information CD-ROM. CD content includes:
• Silicon Laboratories Integrated Development Environment (IDE)
• Keil 8051 Development Tools (macro assembler, linker, evaluation 'C' compiler)
• Source code examples and register definition files
• Documentation
• C8051F34x Development Kit User's Guide (this document)
• AC to DC Power Adapter
• USB Debug Adapter (USB to Debug Interface)
• USB Cable
2. Hardware Setup using a USB Debug Adapter
The target board is connected to a PC running the Silicon Laboratories IDE via the USB Debug Adapter as shown
in Figure 1.
1. Connect the USB Debug Adapter to the DEBUG 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. Connect the other end of the USB cable to a USB Port on the PC.
4. Connect the ac/dc power adapter to power jack P1 on the target board.
Notes:
• Use the Reset button in the IDE to reset the target when connected using a USB Debug Adapter.
• Remove power from the target board before removing 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.2 9/06
Downloaded from
Elcodis.com
electronic components distributor
D
X
E V E L O P M E N T
PC
USB
Cable
Figure 1. Hardware Setup using a USB Debug Adapter
Copyright © 2006 by Silicon Laboratories
C 8 0 5 1 F 3 4 x - D K
K
U
'
G
I T
S E R
S
AC/DC
Adapter
USB Debug Adapter
PWR
SILICON LABORATORIES
P1.6
Port 2
Port 1
U I D E
Target Board
MCU
Port 0
Port 3
Port 4
C8051F34x-DK

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F34-DK Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Silicon Laboratories C8051F34-DK Series

  • Page 1 • USB Cable 2. Hardware Setup using a USB Debug Adapter The target board is connected to a PC running the Silicon Laboratories IDE via the USB Debug Adapter as shown in Figure 1. 1. Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10-pin ribbon cable.
  • Page 2: Software Setup

    ROM for additional information on using the Keil 8051 tools with the Silicon Laboratories IDE. To build an absolute object file using the Silicon Laboratories IDE project manager, you must first create a project. A project consists of a set of files, IDE configuration, debug views, and a target build configuration (list of files and tool configurations used as input to the assembler, compiler, and linker when building an output object file).
  • Page 3 C8051F34x-DK 4.4.1. Creating a New Project → 1. Select Project New Project to open a new project and reset all configuration settings to default. → 2. Select File New File to open an editor window. Create your source file(s) and save the file(s) with a rec- ognized extension, such as .c, .h, or .asm, to enable color syntax highlighting.
  • Page 4: Example Source Code

    LEDs, Potentiometer, and logic levels of various port pins on the target board. Accessing the USB core (i.e., accessing the USB registers and moving data to and from the Endpoint FIFOs on the target board) is documented in Silicon Laboratories’ C8051F34x datasheet. Rev. 0.2 Downloaded from Elcodis.com...
  • Page 5 5.3.1. Setting-up the Firmware 1. Set up the hardware on the C8051F340 target board according to the instructions in Section 2. 2. Create a project using the following steps. a. Open the Silicon Laboratories IDE. → b. Click on the Project Open Project...
  • Page 6: Target Board

    J16Jumper connection for potentiometer source to VDD J17Jumper connection for potentiometer to pin 2.5 J19Serial Adapter target board power connector P2.0 RESET P2.1 RS232 SILICON LABORATORIES C8051F340-TB Figure 2. C8051F340 Target Board Rev. 0.2 Downloaded from Elcodis.com electronic components distributor...
  • Page 7 C8051F34x-DK 6.1. System Clock Sources The C8051F340 device installed on the target board features a calibrated programmable internal oscillator which is enabled as the system clock source on reset. After reset, the internal oscillator operates at a frequency of 1.5 MHz (±1.5%) by default but may be configured by software to operate at other frequencies.
  • Page 8 C8051F34x-DK 6.3. Universal Serial Bus (USB) Interface (J14) A Universal Serial Bus (USB) connector (P3) is provided to facilitate connections to the USB interface on the C8051F340. Table 2 shows the J14 pin definitions. Table 2. USB Connector Pin Descriptions Pin # Description VBUS...
  • Page 9 C8051F34x-DK 6.6. Target Board DEBUG Interface (J9) The DEBUG connector (J9) provides access to the DEBUG (C2) pins of the C8051F340. It is used to connect the Serial Adapter or the USB Debug Adapter to the target board for in-circuit debugging and Flash programming. Table 4 shows the DEBUG pin definitions.
  • Page 10 C8051F34x-DK 7. Schematics Rev. 0.2 Downloaded from Elcodis.com electronic components distributor...
  • Page 11 C8051F34x-DK Rev. 0.2 Downloaded from Elcodis.com electronic components distributor...
  • Page 12: Document Change List

    C8051F34x-DK OCUMENT HANGE Revision 0.1 to Revision 0.2 Removed EC2 Serial Adapter from Kit Contents. Removed Section 2. Hardware Setup using an EC2 Serial Adapter. See RS232 Serial Adapter (EC2) User's Guide. Removed Section 8. EC2 Serial Adapter. See RS232 Serial Adapter (EC2) User's Guide. Removed Section 9.
  • Page 13 C8051F34x-DK OTES Rev. 0.2 Downloaded from Elcodis.com electronic components distributor...
  • Page 14: 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