Silicon Laboratories C8051T620/2-DK quick start Configuration Wizard, Creating a New Project

Page 5

C8051T620/2-DK

6.Click the Connect button in the toolbar or select DebugConnect 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 ProjectTarget 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 DebugGo 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 ProjectNew Project to open a new project and reset all configuration settings to default.

2.Select FileNew 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 ProjectSave Proj- ect As... from the menu. Create a new name for the project and click on Save.

5.3.Configuration Wizard 2

Configuration Wizard 2 is a code generation tool for all Silicon Laboratories devices. Code is generated through the use of dialog boxes for each device peripheral as shown in Figure 2.

Figure 2. Configuration Wizard 2 Utility

Rev. 0.4

5

Image 5
Contents About the Daughter Boards Kit ContentsC8051T620/2-DK Hardware SetupDevelopment Tools Installation Software InstallationCP210x USB to Uart VCP Driver Installation System RequirementsSilicon Labs IDE Software OverviewEvaluation Toolset Creating a New Project Configuration WizardToolStick Terminal Programming UtilitiesBlinking LED Example Example Source CodeRegister Definition Files Development Boards C8051T62x Motherboard C8051T62x EDB C8051T320 QFP32 Socket Daughter Board C8051T327 QFN28 Socket Daughter Board System Clock Sources Switches, LEDs, and Potentiometer J9, J10, and J12Motherboard I/O Descriptions Power Supply Headers J6 and J7USB Debug Adapter DEBUG/P5 Port I/O Connectors J2, J3, J4, and J5Uart to USB Communications Interfaces COMM/P4 Communications Interface Selector Headers J8 and J11VPP Connection J15 Analog I/O J1 and J14Using Alternate Supplies with the C8051T62x Development Kit C8051T62x Motherboard Schematic 1 SchematicsC8051T62x Motherboard Schematic 2 C8051T62x Emulation Daughter Board Schematic C8051T620 QFN-32 Daughter Board Schematic C8051T622 QFN-24 Daughter Board Schematic C8051T320 QFP-32 Daughter Board Schematic C8051T321 QFN-28 Daughter Board Schematic C8051T326 QFN-28 Daughter Board Schematic C8051T327 QFN-28 Daughter Board Schematic Revision 0.3 to Revision Revision 0.2 to RevisionContact Information

C8051T620/2-DK specifications

Silicon Laboratories C8051T620/2-DK is an advanced single-chip microcontroller designed for high-performance embedded applications. Built around the robust C8051 architecture, this microcontroller integrates a powerful 8051 core with advanced peripherals, providing developers with a versatile platform for a range of application needs.

One of the standout features of the C8051T620/2-DK is its high-speed performance. The microcontroller can operate at clock speeds up to 100 MHz, significantly faster than standard 8051 microcontrollers. This capability enables the execution of complex algorithms and real-time processing tasks with ease. Moreover, the architecture boasts a 16-bit timer/counter that enhances the ability to manage timing-critical applications effectively.

The C8051T620/2-DK comes equipped with up to 64 KB of on-chip Flash memory, facilitating the storage of essential program code and data. This generous memory allocation allows developers to implement larger, more sophisticated programs without relying on external memory, thereby simplifying design and improving reliability. Additionally, the on-chip RAM can be up to 4 KB, providing ample space for executing variables and stack operations.

In terms of connectivity, the C8051T620/2-DK supports a slew of communication protocols, including UART, SPI, and I2C. This versatile communication capability enables seamless integration into various systems, allowing for easy data exchange with other devices, sensors, and peripherals.

Furthermore, the microcontroller includes an extensive range of integrated analog peripherals, such as a 12-bit ADC, which enhances the device’s ability to interface with analog signals in automotive, industrial, and consumer applications. The presence of PWM outputs also allows for precise control of motors and other actuators, making it an excellent choice for complex control systems.

Silicon Laboratories has designed the C8051T620/2-DK with energy efficiency in mind. The microcontroller supports multiple power-saving modes, enabling developers to optimize their designs for low power consumption. This feature is particularly valuable in battery-operated devices, where maintaining power is crucial for extending operational life.

Overall, the Silicon Laboratories C8051T620/2-DK provides a powerful, flexible, and energy-efficient solution for embedded systems. Its high-speed performance, large memory, extensive connectivity options, and robust analog capabilities make it an ideal choice for engineers and developers looking to create innovative embedded applications in diverse industries.