Si10xx-DK
6. Example Source Code
Example source code and register definition files are provided in the “ SiLabs\MCU\Examples\Si100x ” or the
“ SiLabs\MCU\Examples\Si101x ” default directory during IDE installation. These files may be used as a template
for code development. Example applications include a blinking LED example which configures the LED on the
motherboard to blink at a fixed rate.
6.1. Register Definition Files
Register definition files Si1000_defs.h and Si1010_defs.h define all SFR registers and bit-addressable control/
status bits. A macro definition header file compiler_defs.h is also included, and is required to be able to use the
Si1000 and Si1010_defs.h header file with various tool chains. These files are installed into the
“ SiLabs\MCU\Examples\Si100x\Header_Files ” and “ SiLabs\MCU\Examples\Si101x\Header_Files ” directories
during IDE installation by default. The register and bit names are identical to those used in the Si100x and Si101x
data sheets. These 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 development kit (A51, C51), it is not
necessary to copy a register definition file to each project’s file directory.
6.2. Blinking LED Example
The example source files Si100x_Blinky.asm and Si101x_Blinky.c installed in the default directories
“ SiLabs\MCU\Examples\Si100x\Blinky ” and “ SiLabs\MCU\Examples\Si101x\Blinky ” show examples of several
basic MCU functions. These include disabling the watchdog timer (WDT), configuring the Port I/O crossbar,
configuring a timer for an interrupt routine, initializing the system clock, and configuring a GPIO port pin. When
compiled/assembled and linked this program flashes the LED on the Si1000 Motherboard about five times a
second using the interrupt handler with an on-chip timer.
6.3. RF Examples
The Si100x and Si101x MCUs support RF communication. Examples of RF communication using the Si100x and
Si101x products are described in Application Note AN474. The source code for the RF examples is installed into
the “ SiLabs\MCU\Examples\Si100x\EZRadioPRO ” and “ SiLabs\MCU\Examples\Si101x\EZRadioPRO ” during
IDE installation. The most basic example is the TxTone example. When downloaded and run on the MCU, a
915 MHz tone will be generated from the EZRadioPRO peripheral output.
Rev. 0.1
9
相关PDF资料
SI1021R-T1-GE3 MOSFET P-CH 60V 190MA SC-75A
SI1022R-T1-GE3 MOSFET N-CH 60V 330MA SC-75A
SI1024X-T1-GE3 MOSFET DL N-CH 20V 485MA SC89-6
SI1025X-T1-GE3 MOSFET P-CH 60V 190MA SC-89
SI1029X-T1-GE3 MOSFET N/P-CH 60V SC89-6
SI1031X-T1-E3 MOSFET P-CH 20V 155MA SC-75A
SI1033X-T1-GE3 MOSFET 2P-CH 20V 145MA SC89
SI1037X-T1-E3 MOSFET P-CH 20V 770MA SC-75A
相关代理商/技术参数
SI1011 制造商:SILABS 制造商全称:SILABS 功能描述:Ultra Low Power, 16/8 kB, 12/10-Bit ADC MCU with Integrated 240-960 MHz EZRadioPRO Transceiver
Si1011-A-GM 功能描述:射频微控制器 - MCU 8kB 768B RAM programmable XCVR RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
SI1011-A-GMR 功能描述:射频微控制器 - MCU 8kB 768B RAM +20 dBm programmable XCVR RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
Si1011-C-GM2 制造商:Silicon Laboratories Inc 功能描述:8KB 768B RAM 20DB XCVR QFN42 制造商:Silicon Laboratories Inc 功能描述:RF Microcontrollers - MCU 8kB, 768B RAM +20 dBm
SI1011-C-GM2R 制造商:Silicon Laboratories Inc 功能描述:8KB, 768B RAM, +20 DBM, PROGRAMMABLE XCVR - Tape and Reel 制造商:Silicon Laboratories Inc 功能描述:IC MCU 8KB FLASH EZ PRO 42LGA 制造商:Silicon Laboratories Inc 功能描述:RF Microcontrollers - MCU 8kB 768B RAM +20 dBm programmable XCVR
SI1012 制造商:SILABS 制造商全称:SILABS 功能描述:Ultra Low Power, 16/8 kB, 12/10-Bit ADC MCU with Integrated 240-960 MHz EZRadioPRO Transceiver
Si1012-A-GM 功能描述:射频微控制器 - MCU 16kB 768B RAM programmable XCVR RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube
SI1012-A-GMR 功能描述:射频微控制器 - MCU 16kB 768B RAM +13 dBm Prog XCVR RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:Si100x 数据总线宽度:8 bit 最大时钟频率:24 MHz 程序存储器大小:64 KB 数据 RAM 大小:4 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 85 C 封装 / 箱体:LGA-42 安装风格:SMD/SMT 封装:Tube