background image

To o l St i c k - C a p To u c h S e n s e D C

Rev. 0.3

11

9.  Using the CapTouchSense Daughter Card as a Development Platform

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

9.1.  C8051F931 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 C8051F931 that are connected to other
components:

P0.2—This pin is connected to the P0.2 switch. The switch and R10 can be safely removed from the daughter 
card if they are not needed.

P0.0, P0.1, P0.3, P1.2—These pins are connected to capacitive touch sense switches. The 0

 resistors R15, 

R17, R18, and R19 be safely removed from the daughter card if the capacitive touch sense switches are not 
needed.

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

P1.0, P1.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.

P1.3—This pin is connected to the power source detect signal.

P1.0—This pin is connected to the cathode (-) of the blue LED on the daughter card. The LED or R23 resistor 
can be removed to disconnect the LED from the pin.

P1.1—This pin is connected to the cathode (-) of the green LED on the daughter card. The LED or R24 resistor 
can be removed to disconnect the LED from the pin.

P1.5—This pin is connected to the cathode (-) of the red LED on the daughter card. The LED or R5 resistor can 
be removed to disconnect the LED from the pin.

P1.6—This pin is connected to the cathode (-) of the yellow LED on the daughter card. The LED or R4 resistor 
can be removed to disconnect the LED from the pin.

See the daughter card schematic in Section 12 for more information. 

9.2.  VREF Capacitor

On the C8051F931 devices, if VREF is generated using the High-Speed Internal Reference, no output capacitor is
required. If using the on-chip Precision Voltage Reference, it is highly recommended to place a capacitor on the
VREF output pin. On the ToolStick CapTouchSense Daughter Card, there are pads on the board (C5) to populate a
0603 surface mount capacitor. There are also pads on the board (R14) to facilitate shorting P0.1 to the ground
plane for use as an analog ground reference (AGND). The firmware examples for the daughter card use the High-
Speed Internal Reference as VREF and the GND pin as a ground reference, so no external capacitor on P0.0 is
necessary for proper operation. Also, P0.1 may be used for general purpose I/O.

9.3.  C2 Pin Sharing

On the C8051F931, the debug pins, C2CK, and C2D, are shared with the pins /RST and P2.7 respectively. The
daughter card includes the resistors necessary to enable pin sharing which allow the /RST and P2.7 pins to be
used normally while simultaneously debugging the device. See Application Note “AN124: Pin Sharing Techniques
for the C2 Interface” at 

www.silabs.com

 for more information regarding pin sharing.

Содержание ToolStick-CapTouchSenseDC

Страница 1: ...commendations when using the ToolStick Never connect or disconnect a daughter card to or from the ToolStick Base Adapter while the Base Adapter is connected to a PC Always connect and disconnect the T...

Страница 2: ...Some daughter cards such as the CapTouchSense Daughter Card are used to demonstrate a specific feature or application and some are used as general purpose development platforms for the target microcon...

Страница 3: ...package includes example code documentation including user s guides and data sheets and the ToolStick Terminal application The IDE Keil Demonstration Tools Configuration Wizard 2 and the Keil Vision D...

Страница 4: ...nd have the programs start at code address 0x0000 5 3 Configuration Wizard 2 The Configuration Wizard 2 is a code generation tool for all of the Silicon Laboratories devices Code is generated through...

Страница 5: ...ion please refer to the Vision driver documentation The documentation and software are available from the Downloads webpage www silabs com mcudownloads 5 5 ToolStick Terminal The ToolStick Terminal pr...

Страница 6: ...ry into the battery holder BAT1 ensuring that the terminal is on the top side as marked on the battery holder 2 Set the Power Select Switch S1 to select Battery Power BAT PWR The yellow power source i...

Страница 7: ...and green LEDs blinking alternately If you press a switch in the wrong sequence an error will be indicated by the red LED blinking four times The game will then restart at the same level and you will...

Страница 8: ...DE from the Start Programs Silicon Laboratories menu 2 In the IDE go to Project Open Project 3 Browse to the default installation location C SiLabs MCU ToolStick CapTouchSenseDC Firmware 4 Select CapT...

Страница 9: ...hSenseDC_SwitchSensitivity example includes code that allows the configuration of the capacitive touch sense switches This code is executed the first time firmware is run or when the code constants ar...

Страница 10: ...ll light up to indicate that the calibration is complete and the game is ready to be played 8 Additional Demo Examples In addition to the CapTouchSenseDC_SwitchSensitivity example firmware the ToolSti...

Страница 11: ...connect the LED from the pin P1 1 This pin is connected to the cathode of the green LED on the daughter card The LED or R24 resistor can be removed to disconnect the LED from the pin P1 5 This pin is...

Страница 12: ...le switches to be operated using one comparator 11 Information Locations Example source code is installed by default in the C SiLabs MCU ToolStick CapTouchSenseDC Firmware directory during the ToolSti...

Страница 13: ...X7R L1 680nH R3 330 D2 1 8V YELLOW R4 1k2 R5 1k2 D3 1 8V YELLOW D4 1 8V RED R6 1K R7 1K S2 R10 1K TP3 TP6 TP7 TP8 TP9 TP10 TP11 TP12 TP13 TP14 TP15 TP16 TP17 TP18 TP19 TP20 TP21 1 GND DC 2 GND 3 VDD D...

Страница 14: ...ndescribed features or parameters Silicon Laboratories reserves the right to make changes without further notice Silicon Laboratories makes no warranty rep resentation or guarantee regarding the suita...

Отзывы: