background image

C8051F99x

Rev. 0.2

15

5.5.  Switches and LEDs (J1, J5, J8, J15, J16, SW1, SW2, SW3)

Three push-button switches are provided on the target board. Switch SW1 (RESET) is connected to the reset pin
of the C8051F996. Pressing SW1 puts the device into its hardware-reset state. Switches SW2 (P0.2) and SW3
(P0.3) are connected to the C8051F996’s general purpose I/O (GPIO) pins through headers. Pressing SW2 or
SW3 generates a logic low signal on the port pin. Remove the shorting block from the header (J8) to disconnect the
switches from the port pins. The port pin signal is also routed to pins on the J2 and P1 I/O connectors. See Table 1 
for the port pins and headers corresponding to each switch.

Two touch sensitive (contactless) switches are provided on the target board. The operation of these switches
require appropriate firmware running on the C8051F996 MCU that can sense the state of the switch. 

Four power LEDs are provided on the target board to serve as indicators. The 3.3 V regulator has a red LED used
to indicate the presence of power at the output of the regulator. A red USB Power LED turns on when a USB cable
is plugged into the USB connector P3. 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 the port pins
and headers corresponding to each LED.

A potentiometer (R15) is also provided on the target board for generating analog signals. Place a shorting block on
J16 to connect the wiper to P0.6/CNVSTR. The header J15 allows the negative terminal of the potentiometer to be
tied to GND or to P1.4. When tied to GND, the potentiometer is always enabled and will draw a measurable
amount of supply current. When tied to P1.4, it only draws current when P1.4 is driving a logic 0 and draws no
current when P1.4 is driving a logic 1. 

Table 1. Target Board I/O Descriptions

Description

I/O

Header(s)

SW1

Reset

none

SW2

P0.2

J8[5–6]

SW3

P0.3

J8[7–8]

P1.0 (Touch Sense Switch)

P1.0

none

P1.1 (Touch Sense Switch)

P1.1

none

Red LED (P1.5)

P1.5

J8[1–2]

Yellow LED (P1.3)

P1.3

J8[3–4]

Red LED (VDD)

VDD Supply Net

J5

Red LED (PWR)

PWR Supply Net

J1

Red LED (USB Power)

USB VBUS

none

Red LED (+3 VD Power)

+3 VD Regulator Output

none

Potentiometer (R15) 

P0.6/P1.4 

J15, J16

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: