Silicon Laboratories F321DC manual ToolStick C8051F321 Daughter Card Features Demo, Hardware Setup

Page 6

ToolStick-F321DC

6. ToolStick C8051F321 Daughter Card Features Demo

The ToolStick kit includes a few simple code examples. The example described in this section is titled F321DC_FeaturesDemo. The purpose of this example is to guide a new user through the features and capabilities of the IDE and demonstrate the microcontroller’s on-chip debug capabilities. The F321DC_FeaturesDemo example code uses the potentiometer on the daughter card to vary the blinking rate of the LED. The first part of this demo shows how to use the IDE to connect and download the firmware, view and modify registers, use watch windows, use breakpoints, and single step through code. The second part of the demo shows how to use ToolStick Terminal to receive UART data from the daughter card and how to use the GPIO pins.

6.1. Hardware Setup

Connect the ToolStick hardware to the PC using the steps below while taking note of the recommendations in Section 1:

1.Connect the ToolStick Base Adapter to the ToolStick C8051F321 Daughter Card.

2.If available, connect the USB extension cable to the ToolStick Base Adapter.

3.Connect the ToolStick to a USB port on a PC.

See Figure 5 below for an example hardware setup using the C8051F330 ToolStick Daughter Card.

Figure 5. Hardware Setup Example

6

Rev. 0.1

Image 6
Contents ToolStick-F321DC Handling RecommendationsContents ToolStick OverviewSilicon Laboratories IDE Getting StartedSoftware Overview IDE System RequirementsKeil Assembler and Linker Configuration WizardKeil Demonstration Toolset Keil Demonstration C51 C CompilerKeil uVision2 and uVision3 Silicon Laboratories Drivers ToolStick TerminalToolStick C8051F321 Daughter Card Features Demo Hardware SetupIDE, go to Project → Open Project Connecting to the Device and Downloading FirmwareRunning and Stopping Code Execution Go to Debug → ConnectViewing and Modifying Registers Enabling and Using Watch Windows Setting and Running to Breakpoints Single-Stepping Through Firmware Using ToolStick Terminal Go to the ToolStick → Settings menuInformation Locations Using the C8051F321 Daughter Card as a Development PlatformAdditional Demo Example C8051F321 Pin Connections10. C8051F321 Daughter Card Schematic C8051F321 Daughter Card SchematicToolStick-F321DC Contact Information