Silicon Laboratories F321DC manual Additional Demo Example, Information Locations, C2 Pin Sharing

Page 13

ToolStick-F321DC

7. Additional Demo Example

In addition to the F321DC_FeaturesDemo example firmware, the ToolStick download package also includes a demo project named F321DC_HIDMouse.wsp. The instructions for running this demo can be found at the top of the source file. The project and source files for these demos can be found in the folder, C:\SiLabs\MCU\ToolStick\F321DC\Firmware\.

8. Using the C8051F321 Daughter Card as a Development Platform

The prototyping area on the ToolStick C8051F321 Daughter Card makes it easy to interface to external hardware. All of the digital I/O pins are available so it possible to create a complete system.

8.1. C8051F321 Pin Connections

It is important to note that if external hardware is being added, some of the existing components on the board can interfere with the signaling. The following is a list of port pins on the C8051F321 that are connected to other components:

„P0.0, P0.1—These pins are connected directly to the ToolStick Base Adapter's GPIO pins. By default, these GPIO pins on the Base Adapter are high-impedance pins so they will not affect any signaling. Configuring these pins on the Base Adapter to output pin or handshaking pins could affect signaling.

„P0.4, P0.5—These pins are connected directly to the ToolStick Base Adapter for UART communication.

„P1.7—This pin is connected to the output of the potentiometer. R5 (a 0 Ω resistor) can be removed to disconnect the potentiometer from the pin.

„P2.0—This pin is connected to the "S1" switch. The switch can be removed to disconnect it from the pin.

„P2.2—This pin is connected to the cathode of the green LED on the daughter card. The LED or the R2 resistor can be removed to disconnect the LED from the pin.

8.2. C2 Pin Sharing

On the C8051F321, the debug pins, C2CK, and C2D, are shared with the pins /RST and P3.0 respectively. The daughter card includes the resistors necessary to enable pin sharing which allow the /RST and P3.0 pins to be used normally while simultaneously debugging the device. See "AN124: Pin Sharing Techniques for the C2 Interface" at www.silabs.com for more information regarding pin sharing.

9. Information Locations

Example source code is installed by default in the C:\SiLabs\MCU\ToolStick\F321DC\Firmware directory during ToolStick installation.

Documentation for the ToolStick kit, including this User's Guide, can be found by default in the

C:\SiLabs\MCU\ToolStick\Documentation and C:\SiLabs\MCU\ToolStick\F321DC\Documentation directories.

The installer for the ToolStick software is available at www.silabs.com/toolstick.

Rev. 0.1

13

Image 13
Contents Handling Recommendations ToolStick-F321DCToolStick Overview ContentsSoftware Overview Getting StartedSilicon Laboratories IDE IDE System RequirementsKeil Demonstration Toolset Configuration WizardKeil Assembler and Linker Keil Demonstration C51 C CompilerToolStick Terminal Keil uVision2 and uVision3 Silicon Laboratories DriversHardware Setup ToolStick C8051F321 Daughter Card Features DemoRunning and Stopping Code Execution Connecting to the Device and Downloading FirmwareIDE, go to Project → Open Project Go to Debug → ConnectViewing and Modifying Registers Enabling and Using Watch Windows Setting and Running to Breakpoints Single-Stepping Through Firmware Go to the ToolStick → Settings menu Using ToolStick TerminalAdditional Demo Example Using the C8051F321 Daughter Card as a Development PlatformInformation Locations C8051F321 Pin ConnectionsC8051F321 Daughter Card Schematic 10. C8051F321 Daughter Card SchematicToolStick-F321DC Contact Information