Silicon Laboratories C8051F912 User Manual
Hide thumbs Also See for C8051F912:

Advertisement

Quick Links

C8051F912 D
1. Relevant Devices
The C8051F912 Development Kit is intended as a development platform for the microcontrollers in the
C8051F91x-C8051F90x MCU family. The members of this MCU family are C8051F912, C8051F911, C8051F902,
and C8051F901.
Notes:
1. The target board included in this kit is provided with a pre-soldered C8051F912 MCU (QSOP24 package).
2. Code developed on the C8051F912 can be easily ported to the other members of this MCU family.
3. Refer to the C8051F91x-C8051F90x data sheet for the differences between the members of this MCU family.
2. Kit Contents
The C8051F912 Development Kit contains the following items:
C8051F912 Target Board
C8051Fxxx Development Kit Quick-Start Guide
Silicon Laboratories IDE and Product Information CD-ROM. CD content includes the following:
Silicon Laboratories Integrated Development Environment (IDE)

Keil 8051 Development Tools (macro assembler, linker, evaluation C compiler)

Source code examples and register definition files

Documentation

C8051F912 Development Kit User's Guide (this document)

AC to DC Power Adapter
USB Debug Adapter (USB to Debug Interface)
2 USB Cables
2 AAA Batteries
Rev. 0.1 8/09
Downloaded from
Elcodis.com
electronic components distributor
E V E L O P M E N T
Figure 1. C8051F912 Target Board
Copyright © 2009 by Silicon Laboratories
C 8 0 5 1 F 9 1 2 - D K
K
U
'
G
I T
SER
S
UIDE
C8051F912-DK

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Silicon Laboratories C8051F912

  • Page 1 1. The target board included in this kit is provided with a pre-soldered C8051F912 MCU (QSOP24 package). 2. Code developed on the C8051F912 can be easily ported to the other members of this MCU family. 3. Refer to the C8051F91x-C8051F90x data sheet for the differences between the members of this MCU family.
  • Page 2: Software Overview

    The Silicon Laboratories IDE integrates a source-code editor, a source-level debugger, and an in-system Flash programmer. See Section 5. "Using the Keil Software 8051 Tools with the Silicon Laboratories IDE‚" on page 9 for detailed information on how to use the IDE. The Keil Evaluation Toolset includes a compiler, linker, and assembler and easily integrates into the IDE.
  • Page 3 C8051F912-DK 3.3.2. 3rd Party Toolsets The Silicon Laboratories IDE has native support for many 8051 compilers. The full list of natively supported tools is as follows:  Keil   Raisonance  Tasking  Hi-Tech  SDCC The demo applications for the C8051F912 target board are written to work with the Keil and SDCC toolsets.
  • Page 4 C8051F912-DK 3.5. Configuration Wizard 2 The Configuration Wizard 2 is a code generation tool for all of the Silicon Laboratories devices. Code is generated through the use of dialog boxes for each of the device's peripherals. Figure 2. Configuration Wizard 2 Utility The Configuration Wizard utility helps accelerate development by automatically generating initialization source code to configure and enable the on-chip resources needed by most design projects.
  • Page 5 C8051F912-DK 3.6. Silicon Labs Battery Life Estimator The Battery Life Estimator is a system design tool for battery operated devices. It allows the user to select the type of battery they are using in the system and enter the supply current profile of their application. Using this information, it performs a simulation and provides an estimated system operating time.
  • Page 6 C8051F912-DK Figure 4. Battery Life Estimator Discharge Profile Editor The Discharge Profile Editor allows the user to modify the profile name and description. The four text entry boxes on the left hand side of the form allow the user to specify the amount of time the system spends in each power mode.
  • Page 7 C8051F912-DK The wakeup frequency box calculates the period of a single iteration through the four power modes and displays the system wake up frequency. This is typically the "sample rate" in low power analog sensors. Once the battery type and discharge profile is specified, the user can click the "Simulate" button to start a new simulation.
  • Page 8: Hardware Setup Using A Usb Debug Adapter

    4. 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 6. 1. Connect the USB Debug Adapter to the DEBUG connector on the target board with the 10-pin ribbon cable.
  • Page 9: Using The Keil Software 8051 Tools With The Silicon Laboratories Ide

    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 10 C8051F912-DK 5.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 11: Example Source Code

    (WDT), configuring the Port I/O crossbar, configuring a timer for an interrupt routine, initializing the system clock, and configuring a GPIO port pin. When compiled/assembled and linked this program flashes the green LED on the C8051F912 Target Board about five times a second using the interrupt handler with a C8051F912 timer.
  • Page 12: Target Board

    C8051F912-DK 7. Target Board The C8051F912 Development Kit includes a target board with a C8051F912 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 7 for the locations of the various I/O connectors. Figure 9 on page 14 shows the factory default shorting block positions.
  • Page 13 Battery Holder for 3 V Coin Cell (CR2032). Battery Holder for 1.5 V Button Cell (A76 or 357). Note: BT2 is only used in two-cell mode. (CR2032) (AAA) (AAA) (A76 or 357) Figure 8. Bottom of C8051F912 Target Board Rev. 0.1 Downloaded from Elcodis.com electronic components distributor...
  • Page 14 C8051F912-DK 7.1. Target Board Shorting Blocks: Factory Defaults The C8051F912 Target Board comes from the factory with pre-installed shorting blocks on many headers. Figure 9 shows the positions of the factory default shorting blocks. P1.6 P0.2 P0.3 P1.5 P1.4 USB POWER...
  • Page 15 OFF position prior to switching between one-cell and two-cell mode using SW4. The power options are described in the paragraphs below. 7.2.1. Wall Power When the J10/J11 three-way header is set to WALL_PWR, the C8051F912 Target Board may be powered from the following power sources: ...
  • Page 16 For low-frequency operation, the C8051F912 features a smaRTClock real time clock. A 32.768 kHz Watch crystal (Y2) is included on the target board. If you wish to operate the C8051F912 device at a frequency not available with the internal oscillators, an external crystal may be used. Refer to the C8051F91x-C8051F90x data sheet for more information on configuring the system clock source.
  • Page 17 Two touch sensitive (contactless) switches are provided on the target board. The operation of these switches require appropriate firmware running on the C8051F912 MCU that can sense the state of the switch. See Section 6.3. "Touch Sensitive Switch Example‚" on page 11 for details about example source code.
  • Page 18 7.6. Expansion I/O Connector (P1) The 96-pin Expansion I/O connector P1 provides access to all signal pins of the C8051F912 device (except the C2 debug interface signals). In addition, power supply and ground pins are included. A small through-hole prototyping area is also provided.
  • Page 19 J12[1–2] CTS (P0.7) 7.9. Analog I/O (H1) Several of the C8051F912 target device’s port pins are connected to the H1 terminal block. Refer to Table 5 for the H1 terminal block connections. Table 5. H1 Terminal Block Pin Descriptions Pin # Description P0.6/CNVSTR...
  • Page 20 7.11. VREF and AGND Connector (J13, J14) The C8051F912 Target Board also features 4.7 µF capacitor in parallel with a 0.1 µF that can be connected to P0.0/VREF when using the Precision Voltage Reference. The capacitors are connected to P0.0/VREF when a shorting block is installed on J13.
  • Page 21: Frequently Asked Questions

    4. Where can I find a schematic of the C8051F912 Target Board? A target board schematic can be found in the C8051F912-DK User’s Guide which is available on the Development Tools CD and is installed in the following folder (by default): C:\SiLabs\MCU\Documentation\UsersGuides 5.
  • Page 22 C8051F912-DK 6. What can I do to reduce active supply current? Below are some suggestions for reducing the active supply current: a. Clear all wake-up sources in the PCU0CF register. This will allow the low power oscillator to be disabled when it is not being used as the system clock.
  • Page 23 C8051F912-DK 11. When the missing clock detector is enabled, why does the MCU reset if I switch from the default system clock (Low Power Oscillator divided by 8) to smaRTClock divided by 1? Background: —The missing clock detector will trigger a reset if the system clock period exceeds 100 µs.
  • Page 24 C8051F912-DK 9. Schematics Rev. 0.1 Downloaded from Elcodis.com electronic components distributor...
  • Page 25 C8051F912-DK Rev. 0.1 Downloaded from Elcodis.com electronic components distributor...
  • Page 26 C8051F912-DK Rev. 0.1 Downloaded from Elcodis.com electronic components distributor...
  • Page 27 C8051F912-DK OTES Rev. 0.1 Downloaded from Elcodis.com electronic components distributor...
  • Page 28 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:

C8051f912-dk

Table of Contents