Application Note: AS3930-AN01 - Demo Kit Manual AS3930 Low Frequency Wake-up Receiver www.ams.com Revision 1.1 / 09/03/13 page 1/18 AS3930-AN01 Demo Kit Manual Table of Contents 1 General Description ............................................................................................................. 4 1.1 Kit Content ........................................................................................................................... 4 2 Getting Started ..................................................................................................................... 4 3 Hardware .............................................................................................................................. 5 3.1 AS3930 Demoboard Description ......................................................................................... 5 3.2 125 kHz Wakeup Transmitter Board .................................................................................... 6 4 Software ............................................................................................................................... 7 4.1 Install the GUI ...................................................................................................................... 7 4.2 Description of the GUI of the Receiver ................................................................................ 8 4.2.1 Settings Descriptions ........................................................................................................... 8 4.2.1.1 Low Power Mode ................................................................................................................. 8 4.2.1.2 Clock Generator ................................................................................................................... 9 4.2.1.3 Calibrate RC Oscillator ........................................................................................................ 9 4.2.1.4 Antenna Damper .................................................................................................................. 9 4.2.1.5 Gain Reduction .................................................................................................................... 9 4.2.1.6 Automatic Time-Out ............................................................................................................. 9 4.2.1.7 Envelope Detector Time Constant ....................................................................................... 9 4.2.1.8 Data Slicer ............................................................................................................................ 9 4.2.1.9 Comparator Hysteresis ........................................................................................................ 9 4.2.1.10 Frequency Detection Tolerance ......................................................................................... 10 4.2.1.11 Wakeup Pattern (Manchester) ........................................................................................... 10 4.2.1.12 General Settings ................................................................................................................ 10 4.2.1.13 Correlator ........................................................................................................................... 10 4.2.1.14 Symbol Rate ....................................................................................................................... 10 4.2.1.15 Artificial Wakeup ................................................................................................................ 10 4.2.1.16 Clear Wake ........................................................................................................................ 10 4.2.1.17 Reset RSSI ........................................................................................................................ 10 4.3 Clear False Wakeup........................................................................................................... 10 4.4 Description of the GUI for the Wake-up Transmitter Board ............................................... 11 4.4.1 Settings Description ........................................................................................................... 11 4.4.1.1 Duration of Carrier Burst .................................................................................................... 11 4.4.1.2 Number of Preamble Symbols ........................................................................................... 11 4.4.1.3 Symbol Rate ....................................................................................................................... 12 www.ams.com Revision 1.1 / 09/03/13 page 2/18 AS3930-AN01 Demo Kit Manual 4.4.1.4 Enable Buzzer .................................................................................................................... 12 4.4.1.5 Wake-up Pattern (Manchester) .......................................................................................... 12 4.4.1.6 Manchester Pattern Length ................................................................................................ 12 4.4.1.7 Correlator ........................................................................................................................... 12 5 Schematics, BOM and Layouts of Demo Kit ...................................................................... 13 5.1 AS3930 Demoboard Schematic......................................................................................... 13 5.2 AS3930 Demoboard Layout - Top and Bottom Layer ....................................................... 14 5.3 AS3930 Demoboard BOM ................................................................................................. 15 5.4 125 kHz Wake-up Transmitter Board Schematics ............................................................. 16 5.5 125 kHz Wake-up Transmitter Board Layout ................................................................... 16 5.6 125 kHz Wake-up Transmitter Board BOM ....................................................................... 17 6 Ordering Information .......................................................................................................... 17 Revision History Revision Date Owner Description 1.0 18.04.2011 JPE Initial Release 1.1 11.03.2013 JRY Update to Corporate Format www.ams.com Revision 1.1 / 09/03/13 page 3/18 AS3930-AN01 Demo Kit Manual 1 General Description The AS3930 Demo Board demonstrates the main features of the AS3930. These include 1D wake-up pattern detection, readout of false wake-ups, possibility to measure current consumption in different operating modes, and measurement access to SPI communication and data output. Additional features are accessible via USB through the GUI that was developed for easy access to the register map. Features such as the programmable wake-up pattern, adjustable sensitivity level, low power listening modes and several more can be programmed via the GUI. The influence different settings have on the detection efficiency can be observed right away by using the 125 kHz Wake-up Transmitter Board. 1.1 Kit Content The AS3930 Demo Kit contains the following items: 2 - - - - - * 1x AS3930 Demo Board * 1x 125kHz Wake-up Transmitter Board * 1x 9V power supply * 2x CR2032 Coin Cell * 1x USB stick * 1x USB Cable Getting Started Connect the +9V DC Power Supply at "F" on the 125 kHz Wake-up Transmitter Board. Start to transmit Wake-up Patterns via AUTO "C" or PATTERN "B". Insert the +3V Battery at "H" of the AS3930 Demo Board. Turn on the AS3930 Demo Board via the ON/OFF - switch "C". When turning on the boards all indication-LEDs flash up once. As soon as the AS3930 Demo Board receives a Wake-up Pattern, the RSSI LEDs flash up for 0.5s and show the actual Received Signal Strength. www.ams.com Revision 1.1 / 09/03/13 page 4/18 AS3930-AN01 Demo Kit Manual 3 Hardware 3.1 AS3930 Demoboard Description Figure 1: AS3930 Demoboard Description Top and Bottom E H D F C G A Figure 2: User Interface Description Label Name Description Info A BUTTON 1x short press reads the false wake-ups The number of false wake-ups can be read out and are displayed via the RSSI - LEDs. 2x short press (double click) clears the false wakeups Pressing FALSE WAKEUP two times resets the number of false wake-ups. Each RSSI - LED is turned on shortly. C ON/OFF ON/OFF - Switch Power on/off the demoboard. Source (Battery or USB) is automatically detected. G USB - Mini USB 5-pin connector USB Interface for the GUI Battery Holder Insert CR2032 here. Connector H CR2032 BATTERY Figure 3: Jumper Description Jumper Name Description Info F IDD Supply Current The supply current of the AS3930 can be measured. Set this jumper for normal operation. www.ams.com Revision 1.1 / 09/03/13 page 5/18 AS3930-AN01 Demo Kit Manual Jumper Name D Description Info AS3930 specific outputs D1 WAKE Wake Output Interrupt D2 DAT Data Output D3 CL_DAT Manchester Recovered Clock Microcontroller - Interface The SDI -Interface from the microcontroller can be replaced by a proprietary solution E1 CS Serial Digital Interface Chip Select E2 SCL Serial Digital Interface Clock E3 SDI Serial Digital Interface Input E4 SDO Serial Digital Interface Output E E5 GND Ground (0V) Note: To establish a connection between the GUI and the AS3930 the board must be RESET by switching the power OFF and ON via "C". Alternatively, the buttons "A" and "B" can be pressed simultaneously before connecting the USB cable. 3.2 125 kHz Wakeup Transmitter Board Figure 4: Transceiver Board Description F E A B C D Figure 5: User Interface Description Label Name Description Info A PATT+DATA Pattern+Data - Button Pressing this button the transmitter sends continuously the wake-up pattern plus data (01010101). B PATT Single Pattern - Button Pressing this button the transmitter sends a single wake-up pattern. www.ams.com Revision 1.1 / 09/03/13 page 6/18 AS3930-AN01 Demo Kit Manual Label Name Description Info C AUTO Automatic Pattern - Button Pressing this button the transmitter automatically sends a wake-up pattern every 1s D STOP Stop Pattern - Button This button stops sending the continuous wake-up pattern E USB-Connector Mini USB 5-pin Connector USB Interface for the GUI F Power Supply +9V DC Power Supply (2A) Insert power adapter here. Figure 6: Indication LEDs/Buzzer LEDs Blinking Color Info G Buzzer Whenever a wake-up pattern is transmitted the buzzer signals shortly. The buzzer can be disabled via the GUI. STANDBY Red LED Transmitter is on standby. No wake-up pattern is sent. Pattern Red LED Wake-up pattern is transmitted Pattern+Data Red LED Wake-up pattern plus data is transmitted Note: Before the 125 kHz Wake-up Transmitter is connected to the GUI via USB it is necessary to stop transmitting Wake-up Patterns by pressing the button "D". 4 Software 4.1 Install the GUI - - - - - Execute the AS393x_EvalSW_v2.1.6b.msi which can be found on the USB stick in the folder `Software_Firmware' Follow the installation guide Run the GUI AS393x_EvalSW.exe Attach the respective board ( Demo Board or Transmitter Board ) with the USB cable From the pop up window `Choose Plugin' choose the `AS3932_plugin.dll' Figure 7: Plugin selection Note: Before connecting the 125 kHz Wake-up Transmitter Board with the USB cable press "D" to stop transmitting wake-up patterns. www.ams.com Revision 1.1 / 09/03/13 page 7/18 AS3930-AN01 Demo Kit Manual 4.2 Description of the GUI of the Receiver Adjustments can be saved with Store Settings in the lower right hand corner of the Receiver tab. The default settings can be restored with Preset Default. All configurations that are set by the GUI correspond to the Register Map of the AS3930 which can be viewed via View/Register Map (Ctrl+M). The Register Map can be updated manually (File/Readout Registers (Ctrl+R)) or automatically (File/Automatic Update (Ctrl+U)). Figure 8: AS3930 GUI -- Receiver Tab Note: Firmware updates can be done via Help/Firmware Update (Ctrl+F). Load the latest *.bin file to update the firmware. 4.2.1 Settings Descriptions 4.2.1.1 Low Power Mode The AS3930 features two low power modes which can be selected here. By default no power saving mode is enabled. Thus, the receiver channel is active all the time. For the On\Off mode the channel is activated only part of the time to minimize current consumption. For details please see the AS3930 datasheet. www.ams.com Revision 1.1 / 09/03/13 page 8/18 AS3930-AN01 Demo Kit Manual 4.2.1.2 Clock Generator The clock source for the AS3930 can be selected here. The AS3930 demoboard has an on-board crystal oscillator that is used by default. When the RC oscillator is selected as clock source, its precision can be improved by calibrating the oscillator. 4.2.1.3 Calibrate RC Oscillator The RC oscillator can be calibrated via the microcontroller or the LC antenna. 4.2.1.4 Antenna Damper The antenna can be damped in order to limit the range. Therefore, a resistor inside the AS3930 is switched parallel to the antenna. The value of the resistor can be chosen between 1k to 27k. 4.2.1.5 Gain Reduction The Gain Reduction of the channel amplifier can be selected between 0dB up to -24dB. 4.2.1.6 Automatic Time-Out The Automatic Time-Out resets the WAKE pin automatically after a designated time which can be set between 0ms and 350ms. 4.2.1.7 Envelope Detector Time Constant The performance of the demodulator can be optimized according to the bit rate and preamble length. If the bit rate increases the time constant has to decrease. Adjust this ED time constant according to your symbol rate. The recommended time constants for different symbol rates are listed in the datasheet. 4.2.1.8 Data Slicer The threshold of the data slicer can be set to a fixed level by setting the `hard threshold enable' bit. This hard threshold can be reduced by setting the `hard threshold reduction' bit. Otherwise, the threshold will be dynamically set according to the incoming data signal. In case the dynamic threshold is used (i.e. the `hard threshold enable' bit is not set), the data slicer's noise immunity can be adjusted via the data slicer's time constant. The bigger this time constant is, the better its noise immunity will be. However, increasing the time constant is only effective if also the preamble length is increased. Otherwise, the threshold will not have enough time to settle to the correct value. Therefore, the data slicer's time constant is linked to the minimum preamble length. The recommended minimum preamble lengths for different data slicer time constants are listed in the datasheet. 4.2.1.9 Comparator Hysteresis The comparator hysteresis of the data slicer can be set to either 20mV or 40mV. Furthermore, the data slicer hysteresis can be selected for only positive edges or both positive and negative edges. www.ams.com Revision 1.1 / 09/03/13 page 9/18 AS3930-AN01 Demo Kit Manual 4.2.1.10 Frequency Detection Tolerance The Frequency Detection Tolerance can be tighter or more relaxed. For details please see the datasheet. 4.2.1.11 Wakeup Pattern (Manchester) Select a wakeup pattern here. Each field defines 4 bit. If the transmitted pattern matches the selected pattern, a wakeup interrupt is generated at the WAKE pin. The WAKE pin goes high. 4.2.1.12 - - AGC only on carrier burst: The automatic gain control is active only on the first carrier burst. AGC UP-DOWN: The automatic gain control is operating in both directions (up and down). At the beginning the gain of the channel amplifier is set to the maximum and the AGC reduces it according to the received signal input level. If AGC UP-DOWN is disabled the AGC can only decrease the gain for the whole duration of the data reception. In this mode the system holds the RSSI peak. 4.2.1.13 - - - General Settings Correlator Enable correlator: If the correlator is enabled the chip searches first for the preamble bits and then for the data pattern (Manchester encoded Wakeup Pattern). Should the pattern correlation be disabled, the AS3930 goes directly in data receiving mode. Single pattern: The wakeup pattern is sent as single string. Double pattern: The wakeup pattern is doubled. 4.2.1.14 Symbol Rate The Symbol Rate can be adjusted between 512 Symbols/s and 4096 Symbols/s. The symbol rate defines the duration of one bit via the 32.768 kHz Clock in order to recover the data. 4.2.1.15 Artificial Wakeup It is possible to enable the artificial wakeup with a period between 1s and 2 hours. 4.2.1.16 Clear Wake The Clear Wake Button resets the WAKE pin manually. 4.2.1.17 Reset RSSI Reset the current RSSI measurement. 4.2.1.18 Clear False Wakeup The False Wakeup register counts the number of frequency detections that do not match the wakeup pattern. The accumulated number of false wakeups can be reset via the Clear False Wakeup button. www.ams.com Revision 1.1 / 09/03/13 page 10/18 AS3930-AN01 Demo Kit Manual 4.3 Description of the GUI for the Wake-up Transmitter Board All adjustments that are made to the settings can be saved via "Store Settings" in the lower right corner of the `Transmitter' tab. The settings can be reset to the default configuration by pushing the button "Restore Default Settings". Note: A possible Firmware Update can be done via Help/Firmware Update (Ctrl+F). Load the latest *.bin file for the transmitter and update the firmware. Figure 9: Graphical User Interface (GUI) for the 125 kHz Wake-up Transmitter Board 4.3.1 Settings Description 4.3.1.1 Duration of Carrier Burst The duration of the carrier burst can be set in multiples of carrier cycles (0-500 x 8s) or in milliseconds (1-3). 4.3.1.2 Number of Preamble Symbols The carrier burst must be followed by a separation bit and at least 3 symbols preamble. The number of preamble symbols that are sent can be adjusted here. www.ams.com Revision 1.1 / 09/03/13 page 11/18 AS3930-AN01 Demo Kit Manual 4.3.1.3 Symbol Rate The symbol rate can be adjusted between 512 symbols/s and 4096 symbols/s. The symbol rate must be the same as the symbol rate set for the AS3932. 4.3.1.4 Enable Buzzer The Wake-up Transmitter Board sends out an acoustic signal whenever a packet is transmitted. This signal can be disabled. 4.3.1.5 Wake-up Pattern (Manchester) The wake-up pattern of the transmitter must be the same as the pattern defined for the receiver in order to generate a successful wake-up at the receiver. 4.3.1.6 Manchester Pattern Length This setting must also be the same as defined for the receiver to generate a successful wake-up. 4.3.1.7 Correlator This setting must also be the same as defined for the receiver to generate a successful wake-up. www.ams.com Revision 1.1 / 09/03/13 page 12/18 AS3930-AN01 Demo Kit Manual 5 Schematics, BOM and Layouts of Demo Kit 5.1 AS3930 Demoboard Schematic 1 2 3 4 5 6 7 8 U1 VBUS 2 3 D+ A 1 3 DD13 Zener D+ D10 24V 4 BUS_GND D11 24V IN AS1362 SHDNN C3 1u D12 24V AS1362 5 GND GND OUT BYPASS POK 6 C1 5 4 C4 1u 10n R1 100k GND POK 9 8 7 6 Shield C2 10u R17 100k GND 1 D- 2 U2 BUS_PWR A GND GND GND GND GND BATT C5 GND USB_MINI_B 100n GND 1 11 EP VDD GND NO1 6 GND NO2 10 3 COM1 COM2 9 4 IN1 IN2 8 5 NC1 2 BATT NC2 7 - 2 S1 ON 1 U? Batterie B 1 AS1746 GND B 3 + AS1746 C20 4.7u VDD_UC C7 GND R20 3k9 100n ICP SDI 5 4 3 2 1 8 SDO 27 4 CL_DAT 28 DAT 13 WAKE 14 16 15 1 2 3 14 Y1 GND RP3 RP4 25 RP5 RP14 RP13 RP8 RP9 C14 J5 DAT GND C 23 22 LEDX 21 LEDY 15 POK D2 RS0 R10 680 D3 RS1 R11 680 D4 RS2 R12 680 D7 RS4 D8 RS3 R15 680 R16 680 100n CC7V-T1A VDD_UC C15 12p BUTTON GND RP15 RP7 11 C6 10n GND 6 RA2 RP6 BUTTON S2 Mode 7 RA3 PIC24FJ64GB C10 10u D+ SDI 16 9 RA4 D- 3 RP2 18 4 12 11 XIN XOUT DAT WAKE 3 SCL 19 CL_DAT LFN GND D+ SDO 1 D- AS3930 PGEC1 RB5 CS 2 EP 150p 33p LF1P DISVREG 10 ANTZ 9 2 U4 PIC27FJ64GB002 17 VCAP PGED1 29 SDI R8 240k 10 LEDY MCLR VSS 6 13 VSS GND 5 VCC SCL C13 C19 1 U5 AS3930 CS C L1 LEDX VBUS J4 12 20 26 GND 100n VDD VDD_RF VDD R5 10k VUSB GND 24 VBUS GND C9 VSS J3 D9 ON 5 1 2 5 4 3 2 1 J2 IDD_AS GND GND C16 12p VDD_UC VDD_RF VDD_RF D D Size Project Title A3 AS3930 Demo Board Date 15/02/2013 Originator JRY 1 www.ams.com 2 3 4 5 Revision 1.1 / 09/03/13 6 Revision 1.1 Sheet 3 7 of 3 8 page 13/18 AS3930-AN01 Demo Kit Manual 5.2 AS3930 Demoboard Layout - Top and Bottom Layer Figure 10: AS3930 Demoboard Layout - Top Layer Figure 11: AS3930 Demoboard Layout - Bottom Layer www.ams.com Revision 1.1 / 09/03/13 page 14/18 AS3930-AN01 Demo Kit Manual 5.3 AS3930 Demoboard BOM www.ams.com Revision 1.1 / 09/03/13 page 15/18 AS3930-AN01 Demo Kit Manual 5.4 125 kHz Wake-up Transmitter Board Schematics 1 2 3 H2961CT-ND DD+ BUS_GND A 6 7 8 1 2 D- 3 D+ D10 24V 4 D11 24V C1 10u D13 6.8V D12 24V R1 100k AUTO C2 10n S1 Mode 5 GND GND 6 7 8 9 GND GND A D1 PMEG4010 GND nc nc nc nc Shield 5 VBUS U1 BUS_PWR 4 GND GND GND USB_SMD PATT GND D2 J1 +12V 3 SK310A VIN C3 1u C6 220u DC_Socket_THMD C7 10n 2 VOUT 1 C5 220u 3 S2 Mode GND 1 2 +3.3V U2 C4 1u AS1360 GND GND GND GND GND GND GND PATT+DATA GND C8 10n +3.3V C9 S3 Mode GND B B 100n ICP VBUS 5 4 3 2 1 26 1 2 2 D6 PMEG4010 G 1 1 N-MOS IRF7389 C12 S N-MOS IRF7389 2 PMOS1 27 NMOS1 28 STOP 13 J3 14 24 RA3 RA2 RP5 RP15 RP6 RP14 RP7 RP13 RP8 RP9 Pad TC4426ACOA +12V C14 C13 D+ D5 PMEG4010 G 7 D- D RA4 18 D 7 8 RP4 PIC24FJ64GB 19 5 6 RP3 C11 10u 16 11 AUTO 9 C10 10n PATT S4 Mode GND C17 GND GND 7 Y1 8MHz 6 GND 18p C18 GND 23 18p 22 21 C 15 R11 1k5 D7 PATTD X1 D8 PATT D9 STANDBY p R16 680 R17 680 R18 680 n 100n 100n STOP 17 D+ 18 18 18 18 RP2 D- GND 8 EP R7 R8 R9 R10 2 S 4 VSS A1 VCC 7 8 4 GND 5 6 D KGEA-BFCR TC4426ACOA 3 NMOS2 29 6 +12V D 5 6 7 G 3 2 VCC NMOS2 PMOS2 PATT+DATA 4 D4 PMEG4010 VDD U7 3 C 12 RB5 P-MOS S G 5 PGEC1 5 3 D3 PMEG4010 4 4 DISVREG U5 3 S U6 PMOS2 GND U3 PIC27FJ64GB002 VCAP PGED1 10 U4 P-MOS MCLR VBUS R5 10k +12V VUSB GND +12V VDD 20 25 GND VSS J2 100n GND GND GND +3.3V GND Piezo GND +3.3V GND D D Size Project Title A3 125kHz Wakeup Transmitter Board Date 07/02/2013 Originator JRY 1 5.5 2 3 4 5 6 Revision 2.0 Sheet 3 7 of 3 8 125 kHz Wake-up Transmitter Board Layout Figure 12: 125 kHz Wake-up Transmitter Board Layout - Top Layer Figure 13: 125 kHz Wake-up Transmitter Board Layout - Bottom Layer www.ams.com Revision 1.1 / 09/03/13 page 16/18 AS3930-AN01 Demo Kit Manual 5.6 6 125 kHz Wake-up Transmitter Board BOM Ordering Information Figure 14: Ordering Information 1 Ordering Code Type Marking Delivery Form Delivery Quantity AS3930-BTST 16-pin TSSOP AS3930 7 inches Tape & Reel 1000 pcs AS3930-BQFT QFN 4x4 16LD AS3930 7 inches Tape & Reel 1000 pcs 1. Dry Pack: Moisture Sensitivity Level (MSL) = 3, according to IPC/JEDEC J-STD-033A. Note: All products are RoHS compliant and ams green. Buy our products or get free samples online at ICdirect: http://www.ams.com/ICdirect Technical Support is available at http://www.ams.com/Technical-Support For further information and requests, please contact us mailto: sales@ams.com or find your local distributor at http://www.ams.com/distributor www.ams.com Revision 1.1 / 09/03/13 page 17/18 AS3930-AN01 Demo Kit Manual Disclaimer Devices sold by ams AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. ams AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. ams AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with ams AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or lifesustaining equipment are specifically not recommended without additional processing by ams AG for each application. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. The information furnished here by ams AG is believed to be correct and accurate. However, ams AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of ams AG rendering of technical or other services. Copyright Copyright (c) 1997-2012, ams AG, Tobelbader Strasse 30, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered (R). All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. All products and companies mentioned are trademarks or registered trademarks of their respective companies. www.ams.com Revision 1.1 / 09/03/13 page 18/18