background image

C8051F99x

Rev. 0.2

5

4.3.  Legacy 8-bit IDE

Note:

Using the Simplicity Studio tools with the C8051F996 Development Kit is recommended. See section 4. "Software
Setup‚" on page 3 for mo
re information.

Download the 8-bit software from the website (

www.silabs.com/8bit-software

) or use the provided installer on the

CD-ROM to install the software tools for the C8051F99x devices. After installation, examples can be found in

...\Examples\C8051F99x_98x 

in the installation directory. At a minimum, the C8051F996 DK requires:



Silicon Labs IDE

—Software enabling initial evaluation, development, and debugging.



Configuration Wizard 2

—Initialization code generation software for the C8051F99x devices.



Keil C51 Tools

—Keil 8051 Compiler/Assembler/Linker toolchain.



CP210x Drivers

—Virtual COM Port (VCP) drivers for the CP210x COM interface. More information on this 

installation process can be found in Section 4.4.

Other software available includes:



Keil µVision Driver

—Driver for the Keil µVision IDE that enables development and debugging on 

C8051Fxxx MCUs.



Flash Programming Utilities

 and 

MCU Production Programmer

—Programming utilities for the 

production line. More information on the available programming options can be found on the website:

http://www.silabs.com/products/mcu/Pages/ProgrammingOptions.aspx

.



ToolStick Development Tools

—Software and examples for the ToolStick development platform. More 

information on this platform can be found at 

www.silabs.com/toolstick

.

Also available on the 8-bit software webpage is the Battery Life Estimator, which gives designers a quick and easy
way to understand the discharge characteristics of different system configurations to help optimize low-power
applications.

The development kit includes the latest version of the C51 Keil 8051 toolset. This toolset is initially limited to a code
size of 2 kB and programs start at code address 0x0800. After registration, the code size limit is removed entirely
and programs will start at code address 0x0000.

To register the Keil toolset:

1.  Find the 

Product Serial Number

 printed on the CD-ROM. If you no longer have this serial number, 

register on the Silicon Labs website (

www.silabs.com/8bit-software

) to obtain the serial number.

2.  Open the Keil µVision4 IDE from the installation directory with administrative privileges.

3.  Select 

File

License Management 

to open the License Management window.

Figure 4. Keil µVision4 IDE License Management Window

Summary of Contents for C8051F983-GM

Page 1: ... soldered C8051F996 MCU QSOP24 package Code developed on the C8051F996 can be easily ported to the other members of this MCU family Refer to the C8051F99x 98x data sheet for the differences between the members of this MCU family 2 Kit Contents The C8051F996 Development Kit contains the following items C8051F996 Target Board C8051Fxxx Development Kit Quick Start Guide Third Party Tools CD AC to DC ...

Page 2: ... 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 Figure 2 Hardware Setup Using a USB Debug Adapter PC USB Cable AC DC Adapter Target Board...

Page 3: ... Simplicity Studio from the start menu or clicking the Simplicity Studio shortcut on the desktop Follow the instructions to install the software and click Simplicity IDE to launch the IDE The first time the project creation wizard runs the Setup Environment wizard will guide the user through the process of configuring the build tools and SDK selection In the Part Selection step of the wizard selec...

Page 4: ...Part drop down select C8051F996 and in the SDK drop down select the desired SDK Click Next 4 Select Example and click Next 5 Under C8051F996 Development Kit in the Blinky folder select F99x 98x Blinky and click Finish 6 Click on the project in the Project Explorer and click Build the hammer icon in the top bar Alternatively go to Project Build Project 7 Click Debug to download the project to the h...

Page 5: ...ilities for the production line More information on the available programming options can be found on the website http www silabs com products mcu Pages ProgrammingOptions aspx ToolStick Development Tools Software and examples for the ToolStick development platform More information on this platform can be found at www silabs com toolstick Also available on the 8 bit software webpage is the Battery...

Page 6: ...ivers for the CP210x need to be installed before the PC software can communicate with the MCU through the UART interface Use the drivers included CD ROM or download the latest drivers from the website www silabs com interface software 1 If using the CD ROM the CP210x Drivers option will launch the appropriate driver installer If downloading the driver package from the website unzip the files to a ...

Page 7: ...e profile The utility includes battery profiles for common battery types such as AAA AA A76 Button Cell and CR2032 coin cell The discharge profile is application specific and describes the supply current requirements of the system under various supply voltages and battery configurations The discharge profile is independent of the selected power source Several read only discharge profiles for commo...

Page 8: ...provides two columns for supply current The V2 and V1 voltages at the top of the two columns specify the voltages at which the current measurements were taken The Battery Life Estimator creates a linear approximation based on the input data and is able to feed the simulation engine with an approximate supply current demand for every input voltage The minimum system operating voltage input field al...

Page 9: ...mated battery life when using one single cell battery two single cell batteries in series and two single cell batteries in parallel Figure 7 shows the simulation output window Figure 7 Battery Life Estimator Utility Simulation Results Form The primary outputs of the Battery Life Estimator are an estimated system operating time and a simulated graph of battery voltage vs time Additional outputs inc...

Page 10: ... 2 and P0 3 to switches and P1 5 and P1 3 to LEDs J9 DEBUG connector for Debug Adapter interface J10 J11 Selects the power supply source Wall Power AAA Battery or Coin Cell J12 Connects Port I O to UART0 interface J13 Connects external VREF capacitor to the P0 0 VREF J14 Connects the PCB ground plane to P0 1 AGND J15 Connects negative potentiometer R15 terminal to pin P1 4 or to GND J16 Connects t...

Page 11: ...located on the bottom side of the board See Figure 9 BH1 Battery Holder for 1 5 V AAA BH2 Battery Holder for 1 5 V AAA BH3 Battery Holder for 3 V Coin Cell CR2032 Figure 9 Bottom of C8051F996 Target Board NEG POS NEG POS BH2 BH1 BH3 CR2032 AAA AAA ...

Page 12: ...shorting blocks Figure 10 C8051F996 Target Board Shorting Blocks Factory Defaults P0 2 P0 3 Pin 1 Pin 2 J3 J2 P3 CP 2103 U3 P2 DEBUG J9 USB POWER RESET P1 3 P1 5 J17 IMEASURE H2 SILICON LABS www silabs com H1 Pin 1 J6 VDD DC J5 J7 J13 J14 J11 J10 VBAT WALL_PWR AAA_BAT COIN_CELL TOUCH SENSE SWITCH P1 0 TOUCH SENSE SWITCH P1 1 P1 4 J15 GND J16 R15 J12 J8 3VD 1VD VBAT J1 SW5 ON OFF P1 SW2 SW3 PORT1 S...

Page 13: ...g a LDO regulator U2 The output of the regulator powers the 3 VD net on the target board The VBAT supply net on the target board is powered directly from the 3 VD net 5 2 2 AAA Battery When the J10 J11 three way header is set to AAA_BAT the C8051F996 Target Board is powered from the series combination of the AAA batteries inserted in BH1 and BH2 5 2 3 Coin Cell Battery When the J10 J11 three way h...

Page 14: ... the internal oscillators an external crystal may be used Refer to the C8051F99x 98x data sheet for more information on configuring the system clock source 5 3 2 External Oscillator Options The target board is designed to facilitate the installation of an external crystal Y1 Install a 10 M resistor at R17 and install capacitors at C20 and C21 using values appropriate for the crystal you select If ...

Page 15: ...One power LED is also added to each of the two primary supply nets powering the MCU VDD and PWR The PWR net is before the power measurement header and the VDD net is after the power measurement header The LEDs connected to the supply nets may be disabled by removing the shorting blocks from J1 and J5 Two LEDs are connected to GPIO pins P1 5 and P1 3 for use by application software See Table 1 for ...

Page 16: ...tion 1 3 VD 1 GND 1 nc 2 nc 2 nc 2 nc 3 nc 3 nc 3 nc 4 nc 4 nc 4 nc 5 nc 5 nc 5 nc 6 nc 6 nc 6 nc 7 nc 7 nc 7 nc 8 nc 8 nc 8 nc 9 nc 9 nc 9 nc 10 nc 10 P0 7 IREF0 10 P0 6 CNVSTR 11 P0 5 RX 11 P0 4 TX 11 P0 3H 12 P0 2H 12 P0 1 AGND 12 P0 0 VREF 13 P2 7H 13 P1 6H 13 P1 5 14 P1 4 14 P1 3 14 P1 2 15 P1 1 CP0 15 P1 0 CP0 15 nc 16 nc 16 nc 16 nc 17 nc 17 nc 17 nc 18 nc 18 nc 18 nc 19 nc 19 nc 19 nc 20 n...

Page 17: ...eader J12 The shorting block positions for connecting each of these signals to the CP2103 are listed in Table 4 To use this interface the USB to UART device drivers should be installed as described in 4 4 CP210x USB to UART VCP Driver Installation on page 6 5 9 Analog I O H1 Several of the C8051F996 target device s port pins are connected to the H1 terminal block Refer to Table 5 for the H1 termin...

Page 18: ...pacitors are connected to P0 0 VREF when a shorting block is installed on J13 Using an external reference is optional since C8051F99x 98x devices have an on chip High Speed Voltage Reference A shorting block on J14 allows P0 1 AGND to be connected to ground This provides a noise free ground reference to the analog to digital Converter The use of this dedicated analog ground is optional 5 12 C2 Pin...

Page 19: ...C8051F99x Rev 0 2 19 6 Schematics Figure 11 C8051F996 Target Board Schematic 1 of 3 ...

Page 20: ...C8051F99x 20 Rev 0 2 Figure 12 C8051F996 Target Board Schematic 2 of 3 ...

Page 21: ...C8051F99x Rev 0 2 21 Figure 13 C8051F996 Target Board Schematic 3 of 3 ...

Page 22: ...C8051F99x 22 Rev 0 2 NOTES ...

Page 23: ...nd disclaims responsibility for any consequences resulting from the use of information included herein Additionally Silicon Laboratories assumes no responsibility for the functioning of undescribed features or parameters Silicon Laboratories reserves the right to make changes without further notice Silicon Laboratories makes no warranty rep resentation or guarantee regarding the suitability of its...

Reviews: