background image

C 8 0 5 1 F 9 3 x / 9 2 x

4

Rev 0.7

4.1.  Running Blinky

Each project has its own source files, target configuration, SDK configuration, and build configurations such as the

Debug

 and 

Release

 build configurations. The IDE can be used to manage multiple projects in a collection called a

workspace. Workspace settings are applied globally to all projects within the workspace. This can include settings
such as key bindings, window preferences, and code style and formatting options. Project actions, such as build
and debug are context sensitive. For example, the user must select a project in the 

Project Explorer

 view in order

to build that project.

To create a project based on the Blinky example:

1.  Click the 

Software Examples 

tile from the Simplicity Studio home screen.

2.  In the 

Kit

 drop-down, select 

C8051F930 Development Kit

, in the 

Part

 drop-down, select 

C8051F930

, and 

in the 

SDK

 drop-down, select the desired SDK. Click 

Next

.

3.  Select 

Example

 and click 

Next

.

4.  Under 

C8051F930 Development Kit

 in the 

Blinky

 folder, select 

F93x-92x Blinky 

and click 

Finish

.

5.  Click on the project in the 

Project Explorer

 and click 

Build

, the hammer icon in the top bar. Alternatively, 

go to 

Project

Build Project

.

6.  Click 

Debug

 to download the project to the hardware and start a debug session.

7.  Press the 

Resume 

button to start the code running. The LED should blink. 

8.  Press the 

Suspend

 button to stop the code.

9.  Press the 

Reset the device

 button to reset the target MCU.

10.  Press the 

Disconnect

 button to return to the development perspective.

4.2.  Simplicity Studio Help

Simplicity Studio includes detailed help information and device documentation within the tool. The help contains
descriptions for each dialog window. To view the documentation for a dialog, click the question mark icon in the
window:

This will open a pane specific to the dialog with additional details.

The documentation within the tool can also be viewed by going to 

Help

Help Contents

 or 

Help

Search

.

Summary of Contents for C8051F92 Series

Page 1: ...ded with a pre soldered C8051F930 MCU LQFP32 package 2 Code developed on the C8051F930 can be easily ported to the other members of this MCU family 3 Refer to the C8051F93x C8051F92x data sheet for the differences between the members of this MCU family 2 Kit Contents The C8051F930 Development Kit contains the following items C8051F930 Target Board C8051Fxxx Development Kit Quick Start Guide AC to ...

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

Page 3: ...io 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 sel...

Page 4: ...rop down select the desired SDK Click Next 3 Select Example and click Next 4 Under C8051F930 Development Kit in the Blinky folder select F93x 92x Blinky and click Finish 5 Click on the project in the Project Explorer and click Build the hammer icon in the top bar Alternatively go to Project Build Project 6 Click Debug to download the project to the hardware and start a debug session 7 Press the Re...

Page 5: ...t or None in the Part drop down select C8051F930 and in the SDK drop down select the desired SDK Click Next 3 Select Simplicity Configurator Program and click Next 4 Fill in the Project name and select the desired device The C8051F930 G GQ LQFP device is on the C8051F930 Target Board Click Finish The Simplicity Configurator project displays properties for each peripheral To configure a peripheral ...

Page 6: ...diagram displays the configured peripherals on the pins including non crossbar signals i e ADC inputs Code generation updates every time the configuration project saves After configuring the device add any non initialization code build and debug the same as with any other project More information on Simplicity Configurator can be found in AN0823 Simplicity Configurator User s Guide and AN0821 Simp...

Page 7: ...les to a location and run the appropriate installer for the system x86 or x64 2 Accept the license agreement and follow the steps to install the driver on the system The installer will let you know when your system is up to date The driver files included in this installation have been certified by Microsoft 3 To complete the installation process connect the included USB cable between the host comp...

Page 8: ...rge 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 com...

Page 9: ...r 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 ...

Page 10: ...timated battery life when using one single cell battery two single cell batteries in series and two single cell batteries in parallel Figure 8 shows the simulation output window Figure 8 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 i...

Page 11: ...tor 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 R14 terminal to pin P1 4 or to GND J16 Connects the potentiometer R14 wiper to P0 6 CNVSTR J17 Creates an open in ...

Page 12: ...AAA Use for one cell or two cell mode BT2 Battery Holder for 1 5 V AAA Use for two cell mode only BT3 Battery Holder for 3 V Coin Cell CR2032 BT4 Battery Holder for 1 5 V Button Cell A76 or 357 Figure 10 Bottom of C8051F930 Target Board NEG POS NEG POS BT4 BT2 BT1 BT3 CR2032 A76 or 357 AAA AAA Note BT2 is only used in two cell mode ...

Page 13: ... 11 C8051F930 Target Board Shorting Blocks Factory Defaults P0 2 P0 3 Pin 1 Pin 2 J3 J4 J2 P3 CP 2103 U3 P2 DEBUG J9 USB POWER RESET P1 6 P1 5 POWER OFF BEFORE SW4 SWITCHING MODE 2 CELL 1 CELL J17 IMEASURE H2 SILICON LABS www silabs com H1 Pin 1 J6 VDD DC J5 J7 J13 F930 U1 J14 J11 J10 VBAT WALL_PWR AAA_BAT COIN_CELL TOUCH SENSE SWITCH P2 0 TOUCH SENSE SWITCH P2 1 P1 4 J15 GND J16 R15 J12 J8 3VD 1V...

Page 14: ... 1 VD This power supply net takes 3 VD and passes it through a 1 65 V LDO The LDO s output voltage is variable and can be set by changing the value of resistor R32 5 2 2 AAA Battery When the J10 J11 three way header is set to AAA_BAT the C8051F930 Target Board may be powered from a single AAA battery inserted in BT1 or from the series combination of the AAA batteries inserted in BT1 and BT2 A sing...

Page 15: ...e internal oscillators an external crystal may be used Refer to the C8051F93x C8051F92x 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 R9 and install capacitors at C20 and C21 using values appropriate for the crystal you select I...

Page 16: ...or P3 One power LED is also added to each of the two primary supply nets powering the MCU VDD DC and VBAT 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 6 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...

Page 17: ...c 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 P1 7 AD7 13 P1 6 AD6 13 P1 5 AD5 14 P1 4 AD4 14 P1 3 AD3 14 P1 2 AD2 15 P1 1 AD1 15 P1 0 AD0 15 A7 Latch 16 A6 Latch 16 A5 Latch 16 A4 Latch 17 A3 Latch 17 A2 Latch 17 A1 Latch 18 A0 Latch 18 P2 3 A11 18 nc 19 nc 1...

Page 18: ...cks on header 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 Section 4 4 CP210x USB to UART VCP Driver Installation on page 7 5 9 Analog I O H1 Several of the C8051F930 target device s port pins are connected to the H1 terminal block Refer to Table 5 f...

Page 19: ...e capacitors are connected to P0 0 VREF when a shorting block is installed on J13 Using the Precision Voltage Reference is optional since F93x F92x devices have an on chip High Speed Voltage Reference The shorting block 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 ...

Page 20: ...OW When the potentiometer enable is under software control be sure to set P1 4 to logic HIGH prior to placing the device in Sleep Mode e Verify that J7 J13 and J14 do not have shorting blocks installed 3 I have been measuring the sleep mode current using the µA setting on my multimeter Why am I no longer able to connect to the IDE When most multimeters are placed in µA mode a large resistance is p...

Page 21: ...d On C8051F93x C8051F92x devices configuring a Port pin to analog mode using PnMDIN disables the digital input path and the weak pull up It does not explicitly disable the output drivers Software can ensure that the output drivers are disabled by configuring the Port pin to open drain output mode using PnMDOUT and writing 1 to the port latch 9 Why does power consumption increase when an analog sig...

Page 22: ... 128 cycles of the undivided clock source This causes the missing clock detector to time out and reset the MCU The proper way of changing the system clock when both the clock source and the clock divide value are being changed is as follows If switching from a fast undivided clock to a slower undivided clock a Change the clock divide value b Poll for CLKRDY 1 c Change the clock source If switching...

Page 23: ...C8051F93x 92x Rev 0 7 23 7 Schematics Figure 12 C8051F930 Target Board Schematic Page 1 of 3 ...

Page 24: ...C8051F93x 92x 24 Rev 0 7 Figure 13 C8051F930 Target Board Schematic Page 2 of 3 ...

Page 25: ...C8051F93x 92x Rev 0 7 25 Figure 14 C8051F930 Target Board Schematic Page 3 of 3 ...

Page 26: ...or health which if it fails can be reasonably expected to result in significant personal injury or death Silicon Laboratories products are generally not intended for military applications Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including but not limited to nuclear biological or chemical weapons or missiles capable of delivering such weapons...

Page 27: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Silicon Laboratories C8051F930DK ...

Reviews: