Silicon Laboratories C8051F04X-DK User Manual

Silicon Laboratories C8051F04X-DK User Manual

Development kit

Advertisement

Quick Links

C8051F04
D
X

1. Kit Contents

The C8051F04x Development Kit contains the following items:
• Two C8051F040 Target Boards
• 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
• C8051F04x Development Kit User's Guide (this document)
• Two AC to DC Power Adapters
• CAN Cable (DB-9 connectors)
• 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 JTAG 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 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.
PC
Rev. 0.6 9/06
E V E L O P M E N T
USB
Cable
Figure 1. Hardware Setup using a USB Debug Adapter
Copyright © 2006 by Silicon Laboratories
C 8 0 5 1 F 0 4 x - D K
K
U
'
I T
S E R
S
AC/DC
Adapter
USB Debug Adapter
SILICON LABORATORIES
P1.6
Port 2
Port 1
G
U I D E
Target Board
PWR
MCU
Port 0
Port 3
Port 4
C8051F04x-DK

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Silicon Laboratories C8051F04X-DK

  • Page 1: Kit Contents

    • 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 JTAG connector on the target board with the 10-pin ribbon cable.
  • Page 2: Software Setup

    CD-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 5. Save the project when finished with the debug session to preserve the current target build configuration, editor settings and the location of all open debug views. To save the project, select Project->Save Project As... from the menu. Create a new name for the project and click on Save. C8051F04x-DK → Build/Make Project from the menu.
  • Page 4 C8051F04x-DK 5. Example Source Code Example source code and register definition files are provided in the “SiLabs\MCU\Examples\C8051F04x” 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 Controller Area Network (CAN) application example is also included with the C8051F04x development kit.
  • Page 5 CD-ROM. Accessing the CAN controller (i.e., accessing the CAN RAM, CAN registers, and moving data to and from the CAN controller) is documented in Silicon Laboratories’ C8051F04x data sheet. An example CAN application is included in the “Examples\C8051F04x” directory. Each C8051F040 target board fea- tures a push button (labeled P3.7) and a LED (labeled P1.6).
  • Page 6 CAN RAM. While connected to one target board, run the code. Depress the RESET button on the other target board. You may use debug and view features of the Silicon Laboratories IDE and on-chip debug logic. To view the →...
  • Page 7: Target Board

    Port 1 Port 2 Port 3 Pin 1 C8051 Port 0 F04X Port 7 Pin 2 Pin 1 Port 6 Pin 2 Pin 1 Port 5 Port 4 Pin 1 C8051F040 Target Board Figure 3. Rev. 0.6 C8051F04x-DK Pin 1...
  • Page 8: Switches And Leds

    C8051F04x-DK 6.1. System Clock Sources The C8051F040 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 3.0625 MHz (±2%) by default but may be configured by software to operate at other frequencies. Therefore, in many applications an external oscillator is not required.
  • Page 9 Table 4 for J11 pin definitions. Table 3. J20 Terminal Block Pin Descriptions Table 4. J11 Connector Pin Descriptions Pin # Description HVAIN+ HVAIN- HVREF DAC1 AIN0.0 AIN0.1 VREF0 ADND (Analog Ground) Pin # Description AIN0.0 AIN0.1 DAC0 DAC1 AIN0.2 AIN0.3 Rev. 0.6 C8051F04x-DK...
  • Page 10 C8051F04x-DK 6.6. Controller Area Network (CAN) Interface (J25) A DB-9 (J25) connector is provided to facilitate serial connections to the CAN interface on the C8051040. In addi- tion, when a shorting block is installed on header J7, writing a logic 'high' to port pin P4.2 will place the CAN trans- ceiver in low-current standby mode.
  • Page 11 B-24 B-25 DGND (Digital Gnd) B-26 DAC1 B-27 CANTX B-28 VREF B-29 VREF2 B-30 HVCAP B-31 AIN0.2 B-32 AGND (Analog Gnd) Rev. 0.6 C8051F04x-DK Pin # Description XTAL1 P1.6 P1.3 P1.0 P2.5 P2.2 P3.7 P3.4 P3.1 C-10 P0.6 C-11 P0.3 C-12 P0.0...
  • Page 12 C8051F04x-DK 6.10. VREF Connector (J22) The VREF connector (J22) can be used to connect the VREF (Voltage Reference) output of the C8051F040 to any (or all) of its voltage reference inputs. Install shorting blocks on J22 in the following manner:...
  • Page 13 C8051F04x-DK 7. Schematic Rev. 0.6...
  • Page 14 C8051F04x-DK OCUMENT HANGE Revision 0.4 to Revision 0.5 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 15 C8051F04x-DK OTES Rev. 0.6...
  • Page 16: 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