Si4010-RC-DEMO Si4010/Si4355 EZR ADIO ® R EMOTE C ON TROL D EMO K IT U SER ’ S G UIDE 1. Purpose Thank you for your interest in Silicon Laboratories’ EZRadio Remote Control Demo Kit. The Silicon Laboratories EZRadio Remote Control Demo Kit (P/N EZR-LEDK1W-XXX) contains everything you need to familiarize yourself with and evaluate the Si4010 RF SoC transmitter and the Si4355 receiver. The kit has three versions: one for the 434 MHz band, one for the 868 MHz band, and one for the 915 MHz band. The key features of the demo kit are as follows: The key fob demo board has five push buttons and one LED output. receiver demo board has four LEDs to display received key fob commands. The provided software pack contains all the documentation and files needed to develop a user application. The kit supports the use of the Silicon Laboratories Integrated Development Environment (IDE) for software debugging and the use of the Keil C compiler, assembler, and linker toolchain. Contains demo applications using API functions and the key fob demo application. The 1.1. Kit Content Table 1. Kit Content Qty Part Number Description EZR-LEDK1W-434 EZRadio Remote Control Demo Kit 434 MHz 1 4010-KFOB-434 Si4010 Universal Key Fob 434 MHz 1 4355-LED-434-SRX Si4355 RFStick 434 MHz EZRadio receiver board 1 MSC-PLPB_1 Key Fob Plastic Case (translucent gray) 2 AAA AAA alkaline battery 1 CRD2032 CR2032 3 V coin battery EZR-LEDK1W-868 EZRadio Remote Control Demo Kit 868 MHz 1 4010-KFOB-868 Si4010 Universal Key Fob 868 MHz 1 4355-LED-868-SRX Si435 RFStick 868 MHz EZRadio receiver board 1 MSC-PLPB_2 Key Fob Plastic Case (translucent red) 2 AAA AAA alkaline battery 1 CRD2032 CR2032 3 V coin battery EZR-LEDK1W-915 EZRadio Remote Control Demo Kit 915 MHz 1 4010-KFOB-915 Si4010 Universal Key Fob 915 MHz 1 4355-LED-915-SRX Si4355 RFStick 915 MHz EZRadio receiver board 1 MSC-PLPB_2 Key Fob Plastic Case (translucent red) 2 AAA AAA alkaline battery 1 CRD2032 CR2032 3 V coin battery Rev. 0.3 4/14 Copyright © 2014 by Silicon Laboratories Si4010-RC-DEMO Si4010-RC-DEMO Figure 1. Si4010 Universal Key Fob Board and Plastic Case (P/N 4010-KFOB-434 and MSC-PLPB_1) Figure 2. Si4355 RFStick 434 MHz Receiver Board (P/N 4355-LED-434-SRX) 2. Operating the Demo The Si4010 key fob transmitter and the Si4355 RFStick receiver are the transmitter and receiver devices used in the one way link demo. This transmitter/receiver pair can be used to evaluate the capabilities of the Si4010 transmitter and the Si4355 receiver. The first step is to insert the CR2032 battery in the battery holder on the 4010-KFOB-XXX demo board and then place the board into the plastic key fob case. Next, insert the two AAA batteries in the battery holder on the 4355LED-XXX receiver board and turn it on by setting the S6 switch to the “Battery” position. LED4 will light continuously indicating that power is on and the SRX firmware is running. When a button is pressed on the key fob, LEDs flash on the receiver board according to which button was pressed. In the next table, buttons are named according to their position when the key fob is held with its LED facing forward. Table 2. Key Fob Buttons and Resulting LEDs 2 Key Fob Button Pressed RF Stick LED Flashed Left Button LED1 Middle Button LED2 Right Button LED3 Rear Button LED1 + LED3 Front Button LED1 + LED2 + LED3 Rev. 0.3 Si4010-RC-DEMO 3. RF Parameters The demo kit uses the following RF parameters according to the kit’s frequency band. Kit Part Number Center Frequency Deviation EZR-LEDK1W-434 433.92 MHz 59 kHz EZR-LEDK1W-868 868.30 MHz 119 kHz EZR-LEDK1W-917 917.00 MHz 120 kHz The modulation is FSK. 4. Transmitter Side Program The Si4010 in the key fob is factory programmed with the rke_demo_2 program. Since the program is burned in the NVM (OTP) memory of the Si4010, it cannot be changed. The whole rke_demo_2 software project can be found in the example programs package of the Si4010. It is available at the web page http://www.silabs.com/products/wireless/EZRadio/Pages/Si4010.aspx on the Tools tab. The key fob transmits an RF packet three times each time a button is pressed, and it also blinks the LED on the key fob. The packet structure is as follows: Number of Bytes Field Name Description 13 Preamble 0xaa 2 Sync 0x2d, 0xd4 4 Chip ID Unique, factory-burned chip ID 1 Status Lower 5 bits are the button information 2 Packet count Rolling counter for PER measurement 2 CRC-16 Generator X16+X15+X2+1, start value 0xFFFF Symbol rate is 9.6 kBd. Each packet contains 18 additional bytes that are not received by the receiver of this demo. These additional bytes are AES-encrypted and are used by the AES demo kit. See details in the user’s guide of the AES demo kit (P/N 4010-AESK1W-434). In the key fob program the frequency and deviation is pin-selected by the PCB layout. This operating frequency is indicated on a label on the back of the key fob PCB. GPIO8 GPIO9 Center Frequency Deviation High Low 316.66 MHz 43 kHz High High 433.92 MHz 59 kHz Low High 868.30 MHz 119 kHz Low Low 917.00 MHz 120 kHz The 316.667 MHz key fob is available in the 4010-AESK1W-315 demo kit or separately from Silicon Labs. The key fob’s default modulation is FSK but if the middle button is pressed and held during battery insertion, the modulation will be OOK until the next powerdown (battery removal). Rev. 0.3 3 Si4010-RC-DEMO 5. Receiver Side Program The 8051F930 MCU on the RFStick receiver board is factory-programmed with the Si4355 Remote Control Demo Receiver program. Since the program is programmed in flash memory, it can be overwritten using a Silicon Labs Toolstick Base Adapter that is part of the Si4010 development kit or can be ordered separately as well (P/N Toolstick_BA). The complete demo software project can be found on the Tools tab of the following web page: http://www.silabs.com/products/wireless/EZRadio/Pages/Si4355.aspx. The file name is Si4355_RCdemo_SW.zip. The receiver program configures and controls the Si4355 receiver chip via the SPI bus. The Si4355 receives the packets transmitted by the keyfob, checks the preamble, the syn bytes and the CRC. If the packet is OK, the program flashes the LEDs according to the button information in the status byte of the received packet. 6. Schematics Schematics of the transmitter and receiver boards of the kit can be seen on the following pages. Complete manufacturing file pack with CAD/CAM files and BOMs can be found at http://www.silabs.com. 4 Rev. 0.3 CA Rev. 0.3 TRX R19 N.F. 0R R18 2 1 2 1 VPP 270pF CC1 VPP U3 A0 VCC A1 WP A2 SCL VSS SDA 8 7 6 EBID_SCL 5 EBID_SDA 100nF 24AA64T-I/MNY 1 2 3 4 C11 RF EBID CM2 15pF 8.2pF 18nH LM CM3 18nH LM1 Antenna matching for 434MHz with multilayer inductors PCB antenna 10pF CM 6.2pF C0 100pF 100nF 2.2uF RF_SDN 33pF C4 1 2 3 4 5 100nF C5 GND SDN RXP RXN TX U1 RF_GPIO_3 RF_GPIO_2 Figure 3. RF Section C3 4R7 R7 LC 220nH C2 56nH L0 270pF C9 RFVDD CR1 5.1pF LR1 56nH C1 RFVDD 56nH LR2 2.7pF Q1 SDI SDO SCLK NIRQ GPIO_1 Si4455 30MHz RF_NSEL 20 19 18 17 16 GPIO_3 GPIO_2 XIN XOUT NSEL CR2 EP EP GND VDD VDD GND GPIO_0 6 7 8 9 10 RF Section R Size A3 TITLE: DATE: 1 3 5 7 9 11 13 15 17 19 1 3 5 7 9 11 13 15 17 19 J3 RFP2 RFP1 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 2 4 6 8 10 12 14 16 18 20 2 4 6 8 10 12 14 16 18 20 2 VDD 1 J2 2 MCU_SDN MCU_GPIO_3 MCU_GPIO_2 MCU_NSEL MCU_SDI MCU_SDO MCU_SCLK MCU_NIRQ MCU_GPIO_1 MCU_GPIO_0 MCU_SDA MCU_SCL GND 1 J6 VDD To MCU Section EBID_SDA VPP RFVDD RF_GPIO_1 RF_GPIO_3 RF_MISO RF_NSEL RF_SDN REV: 1V3 4455-LED-434 SHEET: 1 OF 2 SILICON LABORATORIES 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 RFVDD RF_SDN RF_GPIO_3 RF_GPIO_2 RF_NSEL RF_MOSI RF_MISO RF_SCLK RF_NIRQ RF_GPIO_1 RF_GPIO_0 EBID_SDA EBID_SCL VPP Mar/09/2012 SILICON LABS RF_GPIO_0 15 RF_MOSI 14 RF_MISO 13 RF_SCLK 12 RF_NIRQ 11 RF_GPIO_1 VPP EBID_SCL RFVDD RF_GPIO_0 RF_GPIO_2 RF_MOSI RF_SCLK RF_NIRQ Si4010-RC-DEMO 5 R1 LED1 R9 MCU_GPIO_0 C10 VDD 100nF MCU_SDA MCU_SCL PB1 330R Yellow 1k 330R Green 4 R4 R3 5 C2CK/RST 6 P2.7/C2D 9 P1.5 8 P1.6/XTAL3 7 P1.7/XTAL4 14 P1.0/CP0+ 13 P1.1/CP011 P1.2 10 P1.3 MCU_GPIO_3 C8051F981-GM P0.0/VREF P0.1/AGND P0.2/XTAL1 P0.3/XTAL2 P0.4/TX P0.5/RX P0.6 P0.7/IREF0 VDD U4 MCU EBID MCU_GPIO_2 3 12 GND GND 2 1 20 19 18 17 16 15 1k 330R Yellow 1k 330R Red 1k R2 LED2 R10 PB2 R13 BZ1 VDD VDD EBID_C2CK 3 Y0 MCU_C2D Z 4 2 GND Z 4 2 GND 74LVC1G3157GW 3 Y0 1 U6 VCC 5 S 6 Y1 74LVC1G3157GW 1 MCU_C2CK U5 VCC 5 S 6 Y1 EBID_C2CK EBID_C2D 24 23 22 21 20 19 18 17 32 31 30 29 28 27 26 25 10 XTAL3 9 XTAL4 P1.0/AD0 P1.1/AD1 P1.2/AD2 P1.3/AD3 P1.4/AD4 P1.5/AD5 P1.6/AD6 P1.7/AD7 C8051F930 RST/C2CK P2.0/A8 P2.1/A9 P2.2/A10 P2.3/A11 P2.4/ALE P2.5/RD P2.6/WR P2.7/C2D GND P0.0/VREF P0.1/AGND P0.2/XTAL1 P0.3/XTAL2 P0.4/TX P0.5/RX P0.6/CNVSTR P0.7/IREF0 SW1-C MCU_SCLK MCU_SDO MCU_SDI MCU_NSEL MCU_NIRQ MCU_SDN MCU_SDA MCU_SCL MCU_GPIO_0 MCU_GPIO_1 MCU_GPIO_2 MCU_GPIO_3 TCK_C2DAT VDD TDI_C2CK VDD Figure 4. MCU Section 6 16 15 14 13 12 11 8 7 2 4 DCEN 5 VBAT 100pF 100nF R6 3 VDD/DC+ 1 GND/DC- SW1-A LED3 R11 PB3 1 2 C8 SW1-B LED4 R12 PB4 3 4 10uF 6.3V 0R R8 R16 1k R5 5 6 C7 4.7k SW1-D C6 4.7k 7 8 U2 Q3 R Size A3 DATE: MEC-8 J1 1 1 GPIO0_RTS 1 GPIO1_CTS 1 1 TS_TX TS_RX VDD 4 6 TCK_C2DAT 8 10 TS_RX 12 GPIO1_CTS 14 2 2 VDD S6 3 1 2 REV: 1V3 4455-LED-434 SHEET: 2 OF 2 SILICON LABORATORIES TP_GND TP_GP1 TP_GP0 TP_TS_RX TP_TS_TX Toolstick Connector Mar/09/2012 SILICON LABS TITLE: 1 3 5 7 TS_TX 9 GPIO0_RTS 11 13 TDI_C2CK To RF Section 32.768kHz TZ1006A MCU Section 10k VDD R17 Rev. 0.3 N.F. BAT 6 1 VDD Si4010-RC-DEMO MCU_GPIO_1 SW3 GPIO3 SW2 SW1 GPIO2 GPIO1 SW4 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0 GPIO4 Red LED GPIO0 GPIO9 GPIO2 GPIO1 GPIO8 Si4010-C2-GS TXP TXM GND GPIO3 VDD GPIO5 GPIO4 GPIO7 GPIO6 IC1 1nF C3 1 2 3 4 5 6 7 270pF C4 VDD GPIO8 & GPIO9 NC = 434MHz FW setup 14 13 12 11 10 9 8 2.2uF C2 VDD VPP VCC C2D C2CK GND R 220nH Size A4 DATE: VDD Printed Capacitor 04/27/2012 REV: V1.1 SHEET: 1 OF1 SILICON LABORATORIES 3.0pF C5 L1 4010-KFOB-434 TITLE: SILICON LABS 1 1 1 1 1 N.F. C_TX For C2 debugging cut s.c. and use 470Ohms instead! Shortcircuit Figure 5. Key Fob VDD 1 2 Rev. 0.3 3 GPIO0 CR2032 SW0 BAT R1 VDD Si4010-RC-DEMO 7 Si4010-RC-DEMO DOCUMENT CHANGE LIST Revision 0.1 to Revision 0.2 Updated "2. Operating the Demo" on page 2. Updated Table 2 on page 2. Revision 0.2 to Revision 0.3 Updated Table 1, “Kit Content,” on page 1. Updated name and filename of receiver-side program. 8 Rev. 0.3 Si4010-RC-DEMO NOTES: Rev. 0.3 9 Simplicity Studio One-click access to MCU tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! www.silabs.com/simplicity MCU Portfolio www.silabs.com/mcu SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products must not be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/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. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, CMEMS®, EFM, EFM32, EFR, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZMac®, EZRadio®, EZRadioPRO®, DSPLL®, ISOmodem ®, Precision32®, ProSLIC®, SiPHY®, USBXpress® and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com