background image

C8051F32x

Rev. 0.9

3

3.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 

Simplicity IDE

 tile from the Simplicity Studio home screen.

2.  Click the 

Create new project

 link from the welcome screen or go to

 File

New

Silicon Labs MCU 

Project

.

3.  In the 

Kit

 drop-down, select 

C8051F320 Development Kit

, in the 

Part

 drop-down, select 

C8051F320

, and 

in the 

SDK

 drop-down, select the desired SDK. Click 

Next

.

4.  Select 

Example

 and click 

Next

.

5.  Under 

C8051F320 Development Kit

 in the 

Blinky

 folder, select 

F320-1 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 hardware and start a debug session.

8.  Press the 

Resume 

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

9.  Press the 

Suspend

 button to stop the code.

10.  Press the 

Reset the device

 button to reset the target MCU.

11.  Press the 

Disconnect

 button to return to the development perspective.

3.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 C8051F32x

Page 1: ... the other end of the USB cable to a USB Port on the PC 4 Connect the ac dc power adapter to power jack P1 on the target board Notes Use the Reset 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 w...

Page 2: ...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 3: ... Part drop down select C8051F320 and in the SDK drop down select the desired SDK Click Next 4 Select Example and click Next 5 Under C8051F320 Development Kit in the Blinky folder select F320 1 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 ha...

Page 4: ...ww 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 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 Aft...

Page 5: ...with the license activation code 8 Copy the License ID Code LIC from the email 9 Paste the LIC into the New License ID Code LIC text box at the bottom of the License Management window in µVision4 10 Press the Add LIC button The window should now list the PK51 Prof Developers Kit for Silabs as a licensed product 11 Click the Close button ...

Page 6: ...Board from power adapter J3 Port I O Configuration Connector J4 DEBUG connector for Debug Adapter interface J5 DB 9 connector for UART0 RS232 interface J6 Analog I O terminal block J7 Low pass filter connector J8 USB Debug Adapter target board power connector J9 J10 External crystal enable connectors J11 Power Target Board from USB J12 Connects external capacitance to P0 7 J13 Connects R14 Potenti...

Page 7: ...W2 and SW3 are connected to the C8051F320 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 blocks from the header to disconnect SW2 and SW3 from the port pins The port pin signals are also routed to pins on the J1 I O connector See Table 1 for the port pins and headers corresponding to each switch Three LEDs are al...

Page 8: ...apter connected at P1 To configure the target boards as a self powered USB device remove the shorting block from J2 and install on J11 A shorting block should only be installed on J2 or J11 never both at the same time Install shorting blocks in the following manner J2 ON J11 OFF Target Board is powered from the ac dc Adapter at P1 J2 OFF J11 ON Target Board is powered from the USB connection Note ...

Page 9: ...ug Adapter includes a connection to provide power to the target board This connection is routed from J4 10 to J8 1 Place a shorting block at header J8 2 3 to power the board directly from an ac dc power adapter Place a shorting block at header J8 1 2 to power the board from the USB Debug Adapter Please note that the second option is not supported with either the EC1 or EC2 Serial Adapters 4 10 Low...

Page 10: ...C8051F32x 10 Rev 0 9 5 Schematic Figure 5 C8051F320 Target Board Schematic ...

Page 11: ...mper to header EC2 Serial Adapter section added EC2 to the section title table title and figure title EC2 Serial Adapter section changed JTAG to DEBUG Added USB Debug Adapter section Section 7 J8 changed Serial Adapter to USB Debug Adapter DEBUG Connector Pin Descriptions Table changed pin 10 to USB Power USB Debug Adapter Target Board Power Connector J8 Section changed Serial to USB Debug Revisio...

Page 12: ...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...

Reviews: