Silicon Laboratories C8051F04 DK Series User Manual

Silicon Laboratories C8051F04 DK Series User Manual

Hide thumbs Also See for C8051F04 DK Series:

Advertisement

Quick Links

C8051F04
D
X
1. Kit Contents
The C8051F04x Development Kit contains the following items:
Two C8051F040 Target Boards
Serial Adapter (RS232 to Target Board Debug Interface Protocol Converter)
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)
Installation Utility (SETUP.EXE)
Source code examples and register definition files
Documentation
Two AC to DC Power Adapters
RS232 Serial Cable
CAN Cable (DB-9 connectors)
7" Ribbon Cable
Quick-start Guide
C8051F04x Development Kit User's Guide (this document)
2. Hardware Setup
The target board is connected 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 JTAG connector on the target board with the10-pin ribbon cable.
4. Connect the AC/DC power adapter to power jack P1 on the target board.
PC
Serial Port
Note: The Reset switch on the target board is disabled when the serial adapter is connected to the
target board. Use the Reset button in the Silicon Laboratories IDE toolbar to reset the target when
connected to the Serial Adapter.
Rev. 0.4 1/04
E V E L O P M E N T
Serial
Serial
Adpater
Cable
Figure 1. Hardware Setup
Copyright © 2004 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
Ribbon Cable
U I D E
Target Board
C8051F04x-DK

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Silicon Laboratories C8051F04 DK Series

  • Page 1 C8051F04x Development Kit User’s Guide (this document) 2. Hardware Setup The target board is connected 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: 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

    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 5 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 CAN SFRs, click View->Debug Windows->SFRs->CAN0.
  • Page 6: 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 7: System Clock Sources

    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 8 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 jumpers J6, J8, J9 and J10.
  • Page 9 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 jumper J7, writing a logic 'high' to port pin P4.2 will place the CAN trans- ceiver in low-current standby mode.
  • Page 10 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 11 10-pin connector on the Serial Adapter labeled “JTAG”, see Figure 5. (The Serial Adapter supports both Silicon Laboratories JTAG and C2 debug interfaces.). All Serial Adapters may be powered from the target board, but the EC1 and EC2 Serial Adapter units cannot provide power to the target board. Table 8 shows the pin definitions for the Serial Adapter’s JTAG connector.
  • Page 12 C8051F04x-DK 8. Schematic Rev. 0.4...
  • Page 13 C8051F04x-DK Notes: Rev. 0.4...
  • 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.

This manual is also suitable for:

C8051f040dk-j

Table of Contents