background image

C8051F326/7

Rev. 0.3

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 

Software Examples 

tile from the Simplicity Studio home screen.

2.  In the 

Kit

 drop-down, select 

C8051F326 Development Kit

, in the 

Part

 drop-down, select 

C8051F326

, and 

in the 

SDK

 drop-down, select the desired SDK. Click 

Next

.

3.  Select 

Example

 and click 

Next

.

4.  Under 

C8051F326 Development Kit

 in the 

Blinky

 folder, select 

F326-7 BlinkyC 

and click 

Next

, then

 

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.

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 C8051F326/7

Page 1: ...e 2 Connect one end of the USB cable to the USB connector on the USB Debug Adapter 3 Connect 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 ...

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: ...own select the desired SDK Click Next 3 Select Example and click Next 4 Under C8051F326 Development Kit in the Blinky folder select F326 7 BlinkyC and click Next then 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 th...

Page 4: ...rom 7 to 15 VDC unregulated power adapter J122 pin Expansion I O connector J2Power Target Board from power adapter at P1 J3Port I O Configuration connector J4DEBUG connector for Debug Adapter interface J5DB 9 connector for UART0 RS232 interface J7VIO to VDD connector J8USB Debug Adapter target board power connector J9USB connector for USB interface J10External CMOS oscillator connector J11Power Ta...

Page 5: ...state Switches S2 and S3 are connected to the C8051F326 s gen eral purpose I O GPIO pins through headers Pressing S2 or S3 generates a logic low signal on the port pin Remove the shorting blocks from the header to disconnect S2 and S3 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 ...

Page 6: ...USB cable at J9 instead of the ac dc adapter 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 P1 J2 OFF J11 ON Target Board is p...

Page 7: ...X P0 4 to the transceiver J3 11 12 Install shorting block to connect UART0 RX P0 5 to the transceiver J3 13 14 Install shorting block to connect UART0 RTS P2 4 to the transceiver J3 15 16 Install shorting block to connect UART0 CTS P2 5 to the transceiver 4 8 USB Debug Adapter Target Board Power Connector J8 The USB Debug Adapter includes a connection to provide power to the target board This conn...

Page 8: ...C8051F326 7 8 Rev 0 3 5 Schematics Figure 4 C8051F326 Target Board Schematic Page 1 ...

Page 9: ...C8051F326 7 Rev 0 3 9 Figure 5 C8051F326 Target Board Schematic Page 2 ...

Page 10: ...ts Removed Section 2 Hardware Setup using an EC2 Serial Adapter See RS232 Serial Adapter EC2 User s Guide Removed Section 8 EC2 Serial Adapter See RS232 Serial Adapter EC2 User s Guide Removed Section 9 USB Debug Adapter See USB Debug Adapter User s Guide Revision 0 2 to Revision 0 3 Updated Software Setup on page 2 ...

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