Si1120-EK
Raisonance
Tasking
SDCC
4.2.3. Downloading the Example Firmware Image
Example firmware source code as well as a pre-built .HEX image are available from the Si1120-EK web page at
http://www.silabs.com/products/sensors/infraredsensors/Pages/si1120ek.aspx. The prebuilt .HEX image can be
downloaded directly into the C8051F930 target board. The firmware source code and an example IDE project are
configured to use a default path of C:\SiLabs\Optical_Sensors/Si1120/Firmware. Follow the steps below to update
or refresh the .HEX image in the C8051F930-TB:
1. Connect the hardware as described in "3.2. Hardware Setup" on page 2.
2. Launch the Silicon Labs IDE, and click on Options->Connection Options.
3. Select "USB Debug Adapter" and then select the connected adapter from the list (it should show up as "EC3"
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.
There are three different types of measurements available from the example firmware:
1. Raw infrared proximity and ambient light measurements. The infrared channels are indicated by the check
boxes near the infrared emitters (D1-D7), while the ambient light channel is the check box over the Si1120 (U1).
6
Figure 7. Channel Selection
Rev. 0.3
Need help?
Do you have a question about the Si1120-EK and is the answer not in the manual?