Silicon Laboratories C8051F32x-DK User Manual
Silicon Laboratories C8051F32x-DK User Manual

Silicon Laboratories C8051F32x-DK User Manual

C8051f32x development kit

Advertisement

Quick Links

C8051F32
D
X
1. Kit Contents
The C8051F32x Development Kit contains the following items:
• C8051F320 Target Board
• C8051Fxxx Development Kit Quick-Start Guide
• C8051F32x Development Kit User's Guide (this document)
• 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
• AC to DC Power Adapter
• 6' USB Cable
• Debug Adapter. Items include:
• EC2 Serial Adapter (RS232 to Debug Interface)
• RS232 Serial Cable
• 7" Ribbon Cable
OR
• USB Debug Adapter (USB to Debug Interface)
• USB Cable
2. Hardware Setup using an EC2 Serial Adapter
Connect the target board to a PC running the Silicon Laboratories IDE via the Serial Adapter as shown in Figure 1.
1. Connect one end of the RS232 serial cable to a serial (COM) port on the PC.
2. Connect the other end of the RS232 serial cable to the DB-9 connector on the Serial Adapter.
3. Connect the Serial Adapter to the DEBUG connector on the target board using the 10-pin ribbon cable.
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 an EC2 Serial Adapter.
• Remove power from the target board and the EC2 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 EC2.
PC
Serial Port
Figure 1. Hardware Setup using an EC2 Serial Adapter
Rev. 0.7 5/05
E V E L O P M E N T
Serial
Serial
Adapter
Cable
Copyright © 2005 by Silicon Laboratories
C 8 0 5 1 F 3 2 x - D K
K
U
'
G
I T
S E R
S
AC/DC
Adapter
Ribbon
Cable
U I D E
Target
Board
C8051F32x-DK

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Silicon Laboratories C8051F32x-DK

  • Page 1 2. Hardware Setup using an EC2 Serial Adapter Connect the target board to a PC running the Silicon Laboratories IDE via the Serial Adapter as shown in Figure 1. 1. Connect one end of the RS232 serial cable to a serial (COM) port on the PC.
  • Page 2: Hardware Setup Using A Usb Debug Adapter

    C8051F32x-DK 3. 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 2. 1. Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10-pin ribbon cable.
  • Page 3 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 4 C8051F32x-DK 5.4.2. Building and Downloading the Program for Debugging 1. Once all source files have been added to the target build, build the project by clicking on the Build/Make Project button in the toolbar or selecting Project->Build/Make Project from the menu.
  • Page 5: Example Source Code

    C8051F32x-DK 6. Example Source Code Example source code and register definition files are provided in the “SiLabs\MCU\Examples\C8051F32x” directory during IDE installation. These files may be used as a template for code development. Example applications include a blinking LED example which configures the green LED on the target board to blink at a fixed rate. A Universal Serial Bus (USB) application example is also included with the C8051F32x development kit.
  • Page 6 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’ C8051F32x datasheet. 6.3.1. Setting-up the Firmware 1.
  • Page 7 C8051F32x-DK 6.3.2. Installing the USB Driver 1. Connect the USB cable between the host computer and the C8051F320 target board, as shown in Figure 3. See Figure 4 on page 8 for the location of the USB connector. 2. At this point, Windows should notify you it has found new hardware and prompt you with a Found New Hardware wizard.
  • Page 8: Target Board

    C8051F32x-DK 7. Target Board The C8051F32x Development Kit includes a target board with a C8051F320 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 4 for the locations of the various I/O connectors.
  • Page 9 C8051F32x-DK 7.1. System Clock Sources The C8051F320 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 10 C8051F32x-DK 7.3. Universal Serial Bus (USB) Interface (J14) A Universal Serial Bus (USB) connector (J14) is provided to facilitate connections to the USB interface on the C8051F320. Table 2 shows the J14 pin definitions. Pin # Description VBUS GND (Ground) Table 2.
  • Page 11 C8051F32x-DK 7.6. Target Board DEBUG Interface (J4) The DEBUG connector (J4) provides access to the DEBUG (C2) pins of the C8051F320. It is used to connect the Serial Adapter or the USB Debug Adapter to the target board for in-circuit debugging and Flash programming.
  • Page 12: Ec2 Serial Adapter

    10-pin connector on the Serial Adapter labeled “DEBUG”, see Figure 5. (The Serial Adapter sup- ports both Silicon Laboratories JTAG and C2 debug interfaces.). All Serial Adapters may be powered from the tar- get board, but the EC1 and EC2 Serial Adapter units cannot provide power to the target board. Table 6 shows the pin definitions for the Serial Adapter’s DEBUG connector.
  • Page 13: Usb Debug Adapter

    The attached 10-pin DEBUG ribbon cable connects the adapter to the target board and the target device’s debug interface signals. (The USB Debug Adapter supports both Silicon Laboratories JTAG and C2 debug interfaces.) Power is provided to the adapter from the USB connection to the PC. The USB Debug Adapter is capable of providing power to a circuit board via pin 10 of the DEBUG connector.
  • Page 14 C8051F32x-DK 10. Schematic Rev. 0.7...
  • Page 15 C8051F32x-DK OCUMENT HANGE Revision 0.6 to Revision 0.7 Section 1, added USB Debug Adapter and USB Cable. Section 2, changed name from "Hardware Setup" to "Hardware Setup using an EC2 Serial Adapter". Section 2, added 2 Notes bullets. Section 2, removed Note from bottom of page.
  • Page 16 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