background image

C80 51 F 91 x/9 0x

Rev. 0.2

3

4.  Software Setup

Simplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU
products by providing a high-powered IDE, tools for hardware configuration, and links to helpful resources, all in
one place.

Once Simplicity Studio is installed, the application itself can be used to install additional software and
documentation components to aid in the development and evaluation process.

Figure 3. Simplicity Studio

The following Simplicity Studio components are required for the C8051F912 Development Kit:



8051 Products Part Support



Simplicity Developer Platform

Download and install Simplicity Studio from 

www.silabs.com/8bit-software

 or 

www.silabs.com/simplicity-studio

.

Once installed, run Simplicity Studio by selecting 

Start

Silicon Labs

Simplicity Studio

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, select from the list of installed parts only the parts to use during

development. Choosing parts and families in this step affects the displayed or filtered parts in the later device
selection menus. Choose the C8051F91x family by checking the 

C8051F91x/90x 

check box. Modify the part

selection at any time by accessing the 

Part Management

 dialog from the 

Window

Preferences

Simplicity

Studio

Part Management

 menu item.

Simplicity Studio can detect if certain toolchains are not activated. If the 

Licensing Helper

 is displayed after

completing the 

Setup Environment

 wizard, follow the instructions to activate the toolchain.

Summary of Contents for C8051F90 Series

Page 1: ...get 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 D...

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: ...e Part drop down select C8051F912 and in the SDK drop down select the desired SDK Click Next 4 Select Example and click Next 5 Under C8051F912 Development Kit in the Blinky folder select F912 902 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...

Page 5: ...ing 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 B...

Page 6: ...drivers 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 ...

Page 7: ...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 8: ...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 9: ...timated 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 i...

Page 10: ...nector 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 ...

Page 11: ...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 9 Bottom of C8051F912 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 12: ...gure 10 C8051F912 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 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 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 ...

Page 13: ...VBAT supply net is powered directly from the 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 C8051F912 Target Board may be powered from a single AAA battery inserted in BT1 or from the series combination of the ...

Page 14: ... 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 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 appropri...

Page 15: ...o the USB connector 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 als...

Page 16: ...escription 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 6 13 P1 5 14 P1 4 14 P1 3 14 P1 2 15 P1 1 15 P1 0 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 nc 2...

Page 17: ...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 6 5 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 f...

Page 18: ...e capacitors are connected to P0 0 VREF when a shorting block is installed on J13 Using the Precision Voltage Reference is optional since F91x F90x 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 19: ...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 20: ...d On C8051F91x C8051F90x 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 21: ... 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 22: ...C8051F91x 90x 22 Rev 0 2 7 Schematics Figure 11 C8051F912 Target Board Schematic Page 1 of 3 ...

Page 23: ...C8051F91x 90x Rev 0 2 23 Figure 12 C8051F912 Target Board Schematic Page 2 of 3 ...

Page 24: ...C8051F91x 90x 24 Rev 0 2 Figure 13 C8051F912 Target Board Schematic Page 3 of 3 ...

Page 25: ...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 26: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Silicon Laboratories C8051F912DK ...

Reviews: