Download Print this page

Advertisement

Quick Links

C8051F04
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.
Rev. 0.6 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 0 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
C8051F04x-DK

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Silicon Laboratories C8051F040DK

  • 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 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 C8051F04x-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

    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: Debug Windows

    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

    C8051F04x-DK 6. Target Board The C8051F04x Development Kit includes a target board with a C8051F040 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. Power connector (accepts input from 7 to 15 VDC unregulated power adapter) Connects SW2 to P3.7 pin Connects LED D3 to P1.6 pin...
  • 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 C8051F04x-DK 6.4. Serial Interface (J5) A RS232 transceiver circuit and DB-9 (J5) connector are provided on the target board to facilitate serial connec- tions to UART0 of the C8051F040. The TX, RX, RTS and CTS signals of UART0 may be connected to the DB-9 connector and transceiver by installing shorting blocks on headers J6, J8, J9 and J10.
  • 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 C8051F04x-DK 6.9. Expansion I/O Connector (J24) The 96-pin expansion I/O connector J24 is used to connect daughter boards to the main target board. J24 provides access to many C8051F040 signal pins. Pins for +3 V, digital ground, analog ground and the unregulated power supply (VUNREG) are also available.
  • 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: 1-2 to connect VREF to VREFD 3-4 to connect VREF to VREF0 5-6 to connect VREF to VREF2...
  • Page 13 C8051F04x-DK 7. Schematic Rev. 0.6 Downloaded from Elcodis.com electronic components distributor...
  • 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. Added Section 3, "Hardware Setup using a USB Debug Adapter".
  • Page 15 C8051F04x-DK OTES Rev. 0.6 Downloaded from Elcodis.com electronic components distributor...
  • 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.

This manual is also suitable for:

C8051f04 dk series