background image

C 8 0 5 1 T 6 2 0 / 2 - D K

Rev. 0.5

5

6.

Click the 

Connect

 button in the toolbar or select 

Debug

Connect

 from the menu to connect to the 

device.

7.

Download the project to the target by clicking the 

Download

 

Code

 button in the toolbar.

Note:

 To enable automatic downloading if the program build is successful, select 

Enable Automatic Con-

nect/Download after Build

 in the 

Project

Target Build Configuration

 dialog. If errors occur during the 

build process, the IDE will not attempt the download.

8.

Click on the 

Go

 button (green circle) in the toolbar or by selecting 

Debug

Go 

from the menu to start run-

ning the firmware. The LED on the target board will start blinking.

5.2.2. Creating a New Project

Use the following steps to create a new project. Once steps 1–5 in this section are complete, continue with Step 3
from Section 5.2.1.

1.

Select 

Project

New Project

 to open a new project and reset all configuration settings to default.

2.

Select 

File

New File

 to open an editor window. Create your source file(s) and save the file(s) with a rec-

ognized extension, such as .c, .h, or .asm, to enable color syntax highlighting.

3.

Right-click on “New Project” in the Project Window. Select 

Add files to project

. Select files in the file 

browser and click 

Open

. Continue adding files until all project files have been added.

4.

For each of the files in the Project Window that you want assembled, compiled, and linked into the target 
build, right-click on the file name and select 

Add file to build

. Each file will be assembled or compiled as 

appropriate (based on file extension) and linked into the build of the absolute object file.
Note: If a project contains a large number of files, the “Group” feature of the IDE can be used to organize. 
Right-click on “New Project” in the Project Window. Select 

Add Groups to project

. Add predefined groups 

or add customized groups. Right-click on the group name and choose 

Add file to group

. Select files to be 

added. Continue adding files until all project files have been added.

5.

Save the project when finished with the debug session to preserve the current target build configuration, 
editor settings, and the location of all open debug views. To save the project, select 

Project

Save Proj-

ect As...

 from the menu. Create a new name for the project and click on 

Save

.

Not 

Recommended 

for 

New 

Designs

Summary of Contents for C8051T620

Page 1: ...development tools macro assembler linker C compiler Source code examples and register definition files Documentation AC to DC universal power adapter Two USB cables 2 About the Daughter Boards The C8051T620 and C8051T622 Development Kits include an Emulation Daughter Board EDB and a QFN Socket Daughter Board QFN DB The EDB has an installed C8051F34A device which is a Flash based device that can be...

Page 2: ...om the motherboard and remove the USB cable before removing a C8051T62x 32x device from the socket Inserting or removing a device from the socket when the power adapter or USB cable are connected can damage the motherboard the daughter board or the socketed device 4 The above hardware setup instructions configure the development system to be powered through the onboard 3 3 V regulator For other po...

Page 3: ...s a Silicon Laboratories CP2103 USB to UART Bridge Controller Device drivers for the CP2103 need to be installed before PC software such as HyperTerminal can communicate with the board over the USB connection If the Install CP210x Drivers option was selected during installation this will launch a driver unpacker utility 1 Follow the steps to copy the driver files to the desired location The defaul...

Page 4: ...t to open an existing project 3 Browse to the C SiLabs MCU Examples C8051T620_1_6_7_T320_3 Blinky or SiLabs MCU Exam ples C8051T622_3_T326_7 Blinky directory default and select the T620_Blinky_C wsp or T622_Blinky_C wsp project file Click Open 4 Once the project is open build the project by clicking on the Build Make Project button in the toolbar or selecting Project Build Make Project from the me...

Page 5: ... asm to enable color syntax highlighting 3 Right click on New Project in the Project Window Select Add files to project Select files in the file browser and click Open Continue adding files until all project files have been added 4 For each of the files in the Project Window that you want assembled compiled and linked into the target build right click on the file name and select Add file to build ...

Page 6: ...izard 2 or refer to the Configuration Wizard 2 documentation Documentation and software are available from the downloads webpage www silabs com mcudownloads 5 4 Keil uVision2 uVision3 and uVision4 Silicon Laboratories Drivers As an alternative to the Silicon Laboratories IDE the µVision debug driver allows the Keil µVision2 µVision3 and µVision4 IDEs to communicate with Silicon Laboratories on chi...

Page 7: ...tick Terminal The onboard debug circuitry provides both an in system programming and debugging interface and a communications interface to the target microcontroller s UART The ToolStick Terminal software can access the debug hardware s communications path and provides a terminal like interface on the PC Note that for concurrent debugging and UART communications the CP2103 USB to UART bridge is al...

Page 8: ...7_T320_3 or SiLabs MCU Examples C8051T622_3_T326_7 directory during IDE installation The register and bit names are identical to those used in the C8051T620 21 26 27_T320 3 or C8051T622 23_T326 27 data sheet 6 2 Blinking LED Example The example source files T620_Blinky asm and T620_Blinky c or T622_Blinky asm and T622_Blinky c show examples of several basic C8051T62x functions These include disabl...

Page 9: ...P2 Daughter board connection P3 Power connector that accepts input from 7 5 to 15 V dc unregulated power adapter P4 USB connector for UART to USB communications interface P5 USB Debug interface connector J1 Analog I O terminal block J2 Port 0 header J3 Port 1 header J4 Port 2 header J5 Port 3 header with access to VDD and GND J6 Power supply selection header See 7 3 Power Supply Headers J6 and J7 ...

Page 10: ... 1 P1 0 C8051T62x MB LED2 VPP P5 P4 J8 CTS_DEBUG P1 1 P1 2 RTS_COMM CTS_COMM RTS_DEBUG J11 TX_DEBUG P0 4 P0 5 RX_COMM TX_COMM RX_DEBUG P3 SILICON LABS www silabs com RESET J15 J7 USB ACTIVE J5 J14 SW1 J12 J13 J1 DEBUG PWR RUN VDD_PWR VDD_PWR VDD_PWR VDD_PWR 3VD VDD_EXT VDD_DEBUG VDD_COMM J6 P2 P1 J2 SW2 J3 J4 USB ACTIVE LED1 PWR D10 D11 D12 R8 U2 CP2103 U1 F326 STOP LED1 J10 P2 2 P0 6 LED2 P2 3 P1...

Page 11: ...4 Socket Daughter Board U1 F34A VREGIN VREGIN VBUS VDD P3 SILICON LABS www silabs com C8051T62x EDB J1 VBUS VREGIN VDD VREGIN P3 VIO VDD J2 C8051T62x QFN32 SKT DB SILICON LABS www silabs com J3 J1 VBUS VREGIN VDD VREGIN SILICON LABS www silabs com P3 VIO VDD J2 C8051T622 QFN24 SKT DB J3 N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 12: ...QFN28 Socket Daughter Board J1 VBUS VREGIN VDD VREGIN SILICON LABS www silabs com P3 J2 C8051T320 QFP32 SKT DB J1 VBUS VREGIN VDD VREGIN SILICON LABS www silabs com P3 J2 C8051T321 QFN28 SKT DB J1 VBUS VREGIN VDD VREGIN SILICON LABS www silabs com P3 VIO VDD J2 C8051T326 QFN28 SKT DB J3 N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 13: ...1T620 2 DK Rev 0 5 13 Figure 11 C8051T327 QFN28 Socket Daughter Board J1 VBUS VREGIN VDD VREGIN SILICON LABS www silabs com P3 C8051T327 QFN28 SKT DB J3 N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 14: ...nerates a logic low signal on the port pin Remove its shorting block from the J9 header to disconnect the switch from the port pin Seven LEDs are also provided on the motherboard The red LED labeled PWR D4 is used to indicate a power connection to the motherboard The green LED labeled RUN D10 turns on when the debug circuitry is in a running state the red LED labeled STOP D11 turns on when the deb...

Page 15: ...ion for Power Options Table 2 Motherboard I O Descriptions Description Component Name I O Header Switch SW1 Daughter Card s P0 1 Daughter Card s P2 0 J9 2 4 J9 4 6 Switch SW2 Daughter Card s P1 0 Daughter Card s P2 1 J9 1 3 J9 3 5 RESET SW3 Daughter Card s RST C2CK None Green LED labeled LED1 D1 Daughter Card s P0 6 Daughter Card s P2 2 J10 2 4 J10 4 6 Green LED labeled LED2 D2 Daughter Card s P1 ...

Page 16: ...am called ToolStick Terminal which is available for download for free from the Silicon Laboratories website See the ToolStick Terminal help file for information on how to use ToolStick Terminal 7 6 Communications Interface Selector Headers J8 and J11 The C8051T62x Motherboard routes the C8051T62x 32x s P0 4 UART TX and P0 5 UART RX to J11 where those signals can be connected to either the CP2103 U...

Page 17: ...ce During programming the VPP voltage is automatically enabled when needed Header J15 is provided to allow the user to disconnect the programming circuitry from the VPP pin to avoid interfering with the normal application operation of the GPIO pin When programming the device J15 should be shorted with a shorting block When running normal application code J15 can be removed See Table 4 for more inf...

Page 18: ...pport a separate voltage input for the input output voltage of the port pins This Voltage Input Output VIO should be input to J1 on Pin 2 See the C8051T620 21 26 27_T320 3 or C8051T622 23_T326 27 data sheet for more information about VIO usage and constraints Notes 1 When programming a C8051T62x 32x device VDD must be at least 3 3 V VDD can be supplied directly to the device or the on chip 5 V reg...

Page 19: ...C8051T620 2 DK Rev 0 5 19 8 Schematics Figure 14 C8051T62x Motherboard Schematic 1 of 2 N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 20: ...C8051T620 2 DK 20 Rev 0 5 Figure 15 C8051T62x Motherboard Schematic 2 of 2 N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 21: ...C8051T620 2 DK Rev 0 5 21 Figure 16 C8051T62x Emulation Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 22: ...C8051T620 2 DK 22 Rev 0 5 Figure 17 C8051T620 QFN 32 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 23: ...C8051T620 2 DK Rev 0 5 23 Figure 18 C8051T622 QFN 24 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 24: ...C8051T620 2 DK 24 Rev 0 5 Figure 19 C8051T320 QFP 32 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 25: ...C8051T620 2 DK Rev 0 5 25 Figure 20 C8051T321 QFN 28 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 26: ...C8051T620 2 DK 26 Rev 0 5 Figure 21 C8051T326 QFN 28 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 27: ...C8051T620 2 DK Rev 0 5 27 Figure 22 C8051T327 QFN 28 Daughter Board Schematic N o t R e c o m m e n d e d f o r N e w D e s i g n s ...

Page 28: ...t the Daughter Boards on page 1 Updated 6 Example Source Code on page 8 Updated project paths Updated 7 Development Boards on page 9 Updated 8 Schematics on page 19 Added Figures 19 20 21 and 22 Updated C8051T62x references to include C8051T32x devices Updated data sheet references Revision 0 4 to Revision 0 5 Updated 1 Kit Contents on page 1 Updated document to reflect change from CD ROM based in...

Page 29: ... 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 Trademark Information Sili...

Page 30: ...TMDXRM46CNCD DM160216 EV ADUCM350GPIOTHZ EV ADUCM350 BIO3Z ATSTK521 1130 MA160015 MA240013 MA240026 MA320014 MA330014 MA330017 TMDSCNCD28054MISO MIKROE 2152 MIKROE 2154 MIKROE 2381 TSSOP20EV MIKROE 1108 MIKROE 1516 SPS READER GEVK AC244049 AC244050 AC320004 3 2077 ATSMARTCARD XPRO EIC Q600 230 ATZB 212B XPRO SPC560PADPT100S SPC560BADPT64S MA180018 EIC Q600 220 AC164134 1 BOB 12035 BB BONE BATT 01 ...

Reviews: