UVIRSLIDER2EK

Si1146 UVIRSlider2EK
4 Rev. 0.1
4.2. Si114x Programmers Toolkit
4.2.1. Software API
The Si114x Programmer’s Toolkit API enables rapid development of Si114x software in a PC environment using
the Si1146 UVIRSlider2EK Demo Board. By emulating an I
2
C interface over USB, the Si114x Programmer’s Toolkit
API allows source code to be developed on a PC and then migrated quickly and easily to an MCU environment
once target hardware is available. Either commercially-available or free PC-based C compilers can be used for
software development with the Si114x Programmer’s Toolkit API.
The Si114x Programmer’s Toolkit API also includes the Si114x UDP Waveform Viewer Application. This tool runs in
conjunction with user applications to display and debug the measurements taken from the Si1146 UVIRSlider2EK
Demo Board.
Note: The Si114x Programmer’s Toolkit and IDE cannot connect to the Si1146 UVIRSlider2EK Demo Board at the same time.
Be certain to disconnect from the board in one software package before trying to connect in the other.
4.2.2. Command Line Utilities
For evaluation of the Si1146 UVIRSlider2EK Demo Board without the need to develop and compile source code, a
flexible set of command line utilities is also provided with the Si114x Programmer’s Toolkit. These utilities can be
used to configure and read samples from the Si1146 UVIRSlider2EK Demo Board. For automated configuration
and scripting, the command line utilities can be embedded into .bat files.
4.2.3. Sample Source Code
For faster application development, the Si114x Programmers Toolkit contains example source code for the Si1146
UVIRSlider2EK Demo Board and for each of the command line utilities. Developers can get started quickly by
using the Si114x example source code and then tailoring it to their needs.
4.2.4. Downloading the Si114x Programmer’s Toolkit
The Si114x Programmer’s Toolkit and associated documentation is available from the web at the following URL:
http://www.silabs.com/products/sensors/pages/optical-sensor-software.aspx.
Si1146 UVIRSlider2EK
Rev. 0.1 5
4.3. Silicon Laboratories IDE
The Silicon Laboratories IDE integrates a source-code editor, a source-level debugger, and an in-system Flash
programmer. This tool can be used to develop and debug code for the C8051F800 MCU, which is included on the
Si1146 UVIRSlider2EK Demo Board. The use of several third-party compilers and assemblers is supported by the
IDE.
4.3.1. IDE System Requirements
The Silicon Laboratories IDE requirements are:
Pentium-class host PC running Microsoft Windows 2000 or newer
One available USB port
4.3.2. Third 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
SDCC
4.3.3. Downloading the Example Firmware Image
Source code that has been developed and compiled for the C8051F800 MCU on the Si1146 UVIRSlider2EK Demo
Board may be downloaded to the board using the Silicon Laboratories IDE. Follow the instructions below to update
or refresh the .HEX image in the Si1146 UVIRSlider2EK Demo Board.
1. Connect the Si1146 UVIRSlider2EK Demo Board to the PC using a USB cable.
2. Launch the Silicon Labs IDE, and click on Options->Connection Options.
3. Select “USB Debug Adapter”, and then select the board from the list (it should show up as “TS” followed by
a serial number).
4. Select “C2” as the debug interface, and press “OK”.
5. Connect to the board by pressing the “Connect” icon, or using the keyboard shortcut Alt+C.
6. Click on the “Download” icon, or use the keyboard shortcut Alt+D.
7. In the download dialog window, click “Browse”.
8. Change to Files of Type “Intel Hex (*.hex)” and then browse to select the file.
9. Click “Open” then “Download”.
10. To run the new image, either press “Run” or “Disconnect” in the IDE.
Note: The Si114x Programmer’s Toolkit and the IDE cannot connect to the Si1146 UVIRSlider2EK Demo Board at the same
time. Be certain to disconnect from the board in one software package before trying to connect in the other.
Si1146 UVIRSlider2EK
6 Rev. 0.1
5. Schematic
Figure 3. Si1146 UVIRSlider2EK Demo Board Schematic

UVIRSLIDER2EK

Mfr. #:
Manufacturer:
Silicon Labs
Description:
Sensor Development Tools Multiple Function Sensor Development Tools UV Index/IR Slider EvlKit Si114x/Si1132
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet