background image

C8051F064-EK

Rev. 0.4

5

6.  Software Overview

6.1.  Silicon Laboratories IDE

The Silicon Laboratories IDE integrates a source-code editor, a source-level debugger, and an in-system Flash
programmer. See Section "7. Using the Keil Software 8051 Tools with the Silicon Laboratories IDE" on page 7 for
detailed information on how to use the IDE. The Keil Evaluation Toolset includes a compiler, linker, and assembler
and easily integrates into the IDE. The use of third-party compilers and assemblers is also supported.

6.1.1. IDE System Requirements

The Silicon Laboratories IDE requirements:

Pentium-class host PC running Microsoft Windows 2000 or newer.

One available USB port.

64 MB RAM and 40 MB free HD space recommended.

6.1.2. 3rd Party Toolsets

The Silicon Laboratories IDE has native support for many 8051 compilers. The full list of natively supported tools is
as follows:

Keil

IAR

Raisonance

Tasking

Hi-Tech

SDCC

The demo applications for the C8051F064 evaluation board are written to work with the Keil and SDCC toolsets.

6.2.  Keil Evaluation Toolset

6.2.1. Keil Assembler and Linker

The assembler and linker that are part of the Keil Demonstration Toolset are the same versions that are found in
the full Keil Toolset. The complete assembler and linker reference manual can be found on-line under the 

Help

menu in the IDE or in the “

SiLabs\MCU\hlp

” directory (A51.chm).

6.2.2. Keil Evaluation C51 C Compiler

The evaluation version of the C51 compiler is the same as the full version with the following limitation: (1) Maximum
4 kB code generation. When installed from the CD-ROM, the C51 compiler is initially limited to a code size of 2 kB,
and programs start at code address 0x0800. Refer to the Application Note “AN104: Integrating Keil Tools into the
Silicon Labs IDE" for instructions to change the limitation to 4 kB, and have the programs start at code address
0x0000.

Summary of Contents for C8051F064-EK

Page 1: ...les and register definition files Documentation Evaluation Kit Demos C8051F064 ADC Demo USB Cable C8051F064 Evaluation Kit User s Guide 3 Kit Overview Figure 1 illustrates the block diagram of the C8051F064 Evaluation Kit The board includes an analog front end to signal condition and digitize through the C8051F064 analog input signals The board also includes two USB ports to transfer conversions t...

Page 2: ... sampled standard deviation and dynamic range are displayed To run the ADC Demo first configure the evaluation board and install the PC application 4 1 ADC Demo Hardware Setup Configure the evaluation board according to the instructions below A diagram of the final configuration is shown in Figure 2 Configuration shorting blocks may already be installed 1 Place a shorting block on the J2 header co...

Page 3: ...unning the ADC Demo Software To run the demo run the installed application When executed the following occurs automatically 1 Firmware is downloaded to the C8051F064 FLASH code memory 2 The C8051F064 s 8051 MCU executes the firmware to configure the 16 bit ADC direct memory access DMA interface and parallel interface to store samples in the onboard SRAM 3 The ADCs sample a dc voltage 32 768 sample...

Page 4: ... Follow the steps to copy the driver files to the desired location The default directory is C SiLabs MCU CP210x 2 The final window will give an option to install the driver on the target system Select the Launch the CP210x VCP Driver Installer option if you are ready to install the driver 3 If selected the driver installer will now launch providing an option to specify the driver installation loca...

Page 5: ...atively supported tools is as follows Keil IAR Raisonance Tasking Hi Tech SDCC The demo applications for the C8051F064 evaluation board are written to work with the Keil and SDCC toolsets 6 2 Keil Evaluation Toolset 6 2 1 Keil Assembler and Linker The assembler and linker that are part of the Keil Demonstration Toolset are the same versions that are found in the full Keil Toolset The complete asse...

Page 6: ...specific Silicon Laboratories MCU The program is configurable to provide the output in C or assembly For more information refer to the Configuration Wizard 2 help available under the Help menu in Config Wizard 2 6 4 Keil uVision2 and uVision3 Silicon Laboratories Drivers As an alternative to the Silicon Laboratories IDE the uVision debug driver allows the Keil uVision IDE to communicate with Silic...

Page 7: ...ompiled 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 Grou...

Page 8: ...r and bit names are identical to those used in the C8051F06x data sheet Both register definition files are also installed in the default search path used by the Keil Software 8051 tools Therefore when using the Keil 8051 tools included with the evaluation kit A51 C51 it is not necessary to copy a register definition file to each project s file directory 8 2 Blinking LED Example The example source ...

Page 9: ...ctions J2 Evaluation board power supply selector J3 Analog I O terminal block J4 External voltage reference supply selector J5 External conversion start header J7 DATA USB port connector for data communications with the PC J6 J8 Op amp supply voltage headers J11 J14 External memory interface connectors J12 J13 ADC1 ADC0 BNC connectors for analog inputs J15 Port 0 header J16 ADC differential input ...

Page 10: ...n the port pin Four LEDs are also provided on the evaluation board D1 The bi color LED labeled Run Stop indicates communications between the PC and the DEBUG USB port D2 The red LED D2 reflects the state of the SUSPEND signal of the DATA port device D3 The green LED labeled P1 6 is connected to the C8051F064 s GPIO pin P1 6 D4 The red LED labeled PWR indicates a power connection to the evaluation ...

Page 11: ...block on J6 to connect the V op amp supply to AV Additionally place a shorting block on J8 to connect the V op amp supply to GND Provide a dual supply voltage to the op amps for optimal performance by removing the shorting blocks on headers J6 and J8 To supply the voltages 5 V and 5 V signals will need to be provided at the J3 terminal block Pin 1 and Pin 2 Note Remove shorting blocks from J6 and ...

Page 12: ...fer to Table 4 for the external memory interface signal descriptions 9 8 PORT I O Connectors J15 The Port 0 signals on the C8051F064 have their own 10 pin header J15 This header provides a pin for each of the corresponding port pins 0 7 3 3 V and digital ground See Table 5 for the J15 pin connections Table 4 External Memory Interface Signal Descriptions SRAM Signal C8051F060 Signal Description WE ...

Page 13: ...ween these ports Each configuration includes an on board voltage regulator to supply 3 3 V to the board To power the 3 3 V supply from the DATA port place a shorting block on J2 Pin 1 and Pin 2 To supply the 3 3 V supply from the DEBUG port place a shorting block on J2 Pin 2 and Pin 3 Note If supplying the 3 3 V supply from an off board source via the J3 terminal block do not place a shorting bloc...

Page 14: ...C8051F064 EK 14 Rev 0 4 10 Schematics Figure 5 C8051F064 Evaluation Board Schematic Page 1 ...

Page 15: ...C8051F064 EK Rev 0 4 15 Figure 6 C8051F064 Evaluation Board Schematic Page 2 ...

Page 16: ...C8051F064 EK 16 Rev 0 4 Figure 7 C8051F064 Evaluation Board Schematic Page 3 ...

Page 17: ... to Revision 0 4 Added Relevant Devices section Changed Section 3 to Getting Started Updated Section 4 to include latest VCP driver installation instructions Changed Section 6 to Software Overview Updated Evaluation Compiler restrictions in Section 6 2 2 Added overview of Configuration Wizard 2 and Keil uVision Drivers to section 6 Created new Section 7 ...

Page 18: ...or health which if it fails 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...

Reviews: