Datasheet AS3932 3 D L o w F r e q u e n c y Wa k e u p R e c e i v e r 1 General Description The AS3932 is a 3-channel low power ASK receiver that is able to generate a wakeup upon detection of a data signal which uses a LF carrier frequency between 110 - 150 kHz. The integrated correlator can be used for detection of a programmable 16-bit wakeup pattern. The device can operate using one, two, or three active channels. The AS3932 provides a digital RSSI value for each active channel, it supports a programmable data rate and Manchester decoding with clock recovery. The AS3932 offers a real-time clock (RTC), which is either derived from a crystal oscillator or the internal RC oscillator. The programmable features of AS3932 enable to optimize its settings for achieving a longer distance while retaining a reliable wakeup generation. The sensitivity level of AS3932 can be adjusted in presence of a strong field or in noisy environments. The device is available in 16 pin TSSOP and QFN 4x4 16LD packages. 2 Key Features Wakeup sensitivity 100 VRMS (typ.) Adjustable sensitivity level Highly resistant to false wakeups False wakeup counter Periodical forced wakeup supported (1s - 2h) Low power listening modes Current consumption in 3-channel listening mode 1.7 A (typ.) Data rate adjustable from 0.5- 4 kbps (Manchester) Manchester decoding with clock recovery Digital RSSI values available for each channel Dynamic range 64dB 5 bit RSSI step (2dB per step) RTC based on 32kHz XTAL, RC-OSC, or External Clock Operating temperature range -40 to +85C Operating supply voltage 2.4 - 3.6V (TA = 25C) 3-channel ASK wakeup receiver Bidirectional serial digital interface (SDI) Carrier frequency range 110 - 150 kHz Package option: 16 pin TSSOP, QFN 4x4 16LD One, two, or three channel operation Reliable 1-, 2- or 3-D wakeup pattern detection Programmable wakeup pattern (16bits) Doubling of wakeup pattern supported Wakeup without pattern detection supported www.austriamicrosystems.com/LF-Receiver/AS3932 3 Applications The AS3932 is ideal for Active RFID tags, Real-time location systems, Operator identification, Access control, and Wireless sensors. Revision 1.4 1 - 36 AS3932 Datasheet - A p p l i c a t i o n s Figure 1. AS3932 Typical Application Diagram with Crystal Oscillator VCC CL CBAT CS VCC XIN XOUT LF1P X, Y, and Z Receiving Antennas TX XTAL Transmitting Antenna TRANSMITTER CL_DAT DAT AS3932 WAKE LF2P SCL LF3P SDO LFN SDI VSS GND Figure 2. AS3932 Typical Application Diagram with RC Oscillator VCC CS VCC CBAT XIN CL_DAT LF1P X, Y, and Z Receiving Antennas TX Transmitting Antenna XOUT TRANSMITTER www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 DAT AS3932 WAKE LF2P SCL LF3P SDO LFN SDI VSS GND 2 - 36 AS3932 Datasheet - A p p l i c a t i o n s Figure 3. AS3932 Typical Application Diagram with Clock from External Source VCC CBAT CS VCC EXTERNAL CLOCK R XIN CL_DAT C LF1P X, Y, and Z Receiving Antennas TX Transmitting Antenna XOUT TRANSMITTER www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 DAT AS3932 WAKE LF2P SCL LF3P SDO LFN SDI VSS GND 3 - 36 AS3932 Datasheet - C o n t e n t s Contents 1 General Description .................................................................................................................................................................. 1 2 Key Features............................................................................................................................................................................. 1 3 Applications............................................................................................................................................................................... 1 4 Pin Assignments ....................................................................................................................................................................... 5 4.1 TSSOP Package .................................................................................................................................................................................. 5 4.1.1 Pin Descriptions........................................................................................................................................................................... 5 4.2 QFN Package ....................................................................................................................................................................................... 6 4.2.1 Pin Descriptions........................................................................................................................................................................... 6 5 Absolute Maximum Ratings ...................................................................................................................................................... 7 6 Electrical Characteristics........................................................................................................................................................... 8 7 Typical Operating Characteristics ........................................................................................................................................... 10 8 Detailed Description................................................................................................................................................................ 11 8.1 Operating Modes ................................................................................................................................................................................ 8.1.1 8.1.2 8.1.3 8.1.4 Power Down Mode .................................................................................................................................................................... Listening Mode .......................................................................................................................................................................... Preamble Detection / Pattern Correlation .................................................................................................................................. Data Receiving .......................................................................................................................................................................... 8.2 System and Block Specification ......................................................................................................................................................... 8.2.1 8.2.2 8.2.3 8.2.4 Register Table ........................................................................................................................................................................... Register Table Description and Default Values ......................................................................................................................... Serial Data Interface (SDI)......................................................................................................................................................... SDI Timing ................................................................................................................................................................................. 8.3 Channel Amplifier and Frequency Detector........................................................................................................................................ 12 12 12 13 13 14 14 14 16 19 20 8.3.1 Frequency Detector / AGC ........................................................................................................................................................ 20 8.3.2 Antenna Damper........................................................................................................................................................................ 21 8.4 Channel Selector / Demodulator / Data Slicer.................................................................................................................................... 21 8.5 Correlator............................................................................................................................................................................................ 22 8.6 Wakeup Protocol - Carrier Frequency 125 kHz.................................................................................................................................. 24 8.6.1 Without Pattern Detection (Manchester decoder disabled) ....................................................................................................... 24 8.6.2 Single Pattern Detection (Manchester decoder disabled) ......................................................................................................... 25 8.6.3 Single Pattern Detection (Manchester decoder enabled) .......................................................................................................... 27 8.7 False Wakeup Register ...................................................................................................................................................................... 27 8.8 Real Time Clock (RTC)....................................................................................................................................................................... 28 8.8.1 Crystal Oscillator........................................................................................................................................................................ 29 8.8.2 RC-Oscillator ............................................................................................................................................................................. 29 8.8.3 External Clock Source ............................................................................................................................................................... 30 8.9 Channel Selection in Scanning Mode and ON/OFF Mode ................................................................................................................. 30 9 Package Drawings and Markings ........................................................................................................................................... 31 10 Ordering Information............................................................................................................................................................. 35 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 4 - 36 AS3932 Datasheet - P i n A s s i g n m e n t s 4 Pin Assignments 4.1 TSSOP Package Figure 4. Pin Assignments 16 pin TSSOP Package 4.1.1 CS 1 16 CL_DAT SCL 2 15 DAT SDI 3 14 WAKE SDO 4 13 VSS VCC 5 12 XOUT GND 6 11 XIN LF3P 7 10 LFN LF2P 8 9 LF1P AS3932 Pin Descriptions Table 1. Pin Descriptions 16 pin TSSOP Package Pin Name Pin Number CS 1 SCL 2 SDI 3 SDO 4 Digital output / tristate SDI data output (tristate when CS is low) VCC 5 Supply pad Positive supply voltage GND 6 Supply pad Negative supply voltage LF3P 7 Input antenna channel three LF2P 8 Input antenna channel two LF1P 9 LFN 10 XIN 11 Crystal oscillator input XOUT 12 Crystal oscillator output VSS 13 WAKE 14 DAT 15 CL_DAT 16 Pin Type Description Chip select Digital input SDI interface clock SDI data input Input antenna channel one Analog I/O Common ground for antenna one, two and three Supply pad Substrate Wakeup output IRQ Digital output www.austriamicrosystems.com/LF-Receiver/AS3932 Data output Manchester recovered clock Revision 1.4 5 - 36 AS3932 Datasheet - P i n A s s i g n m e n t s 4.2 QFN Package GND VCC SDO SDI Figure 5. Pin Assignments QFN 4x4 16LD Package 16 15 14 13 LF3P 1 12 SCL LF2P 2 11 CS LF1P 3 10 CL_DAT LFN 4 9 DAT 4.2.1 5 6 7 8 XIN XOUT VSS WAKE AS3932 Pin Descriptions Table 2. Pin Descriptions QFN 4x4 16LD Package Pin Name Pin Number LF3P 1 Input antenna channel three LF2P 2 Input antenna channel two LF1P 3 LFN 4 XIN 5 Crystal oscillator input XOUT 6 Crystal oscillator output VSS 7 WAKE 8 DAT 9 CL_DAT 10 Manchester recovered clock CS 11 Chip select SCL 12 SDI 13 SDO 14 Digital output / tristate SDI data output (tristate when CS is low) VCC 15 Supply pad Positive supply voltage GND 16 Supply pad Negative supply voltage Pin Type Description Input antenna channel one Analog I/O Common ground for antenna one, two and three Supply pad Substrate Wakeup output IRQ Digital output Data output Digital input SDI interface clock SDI data input www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 6 - 36 AS3932 Datasheet - A b s o l u t e M a x i m u m R a t i n g s 5 Absolute Maximum Ratings Stresses beyond those listed in Table 3 may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated in Electrical Characteristics on page 8 is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 3. Absolute Maximum Ratings Parameter Min Max Units DC supply voltage (VDD) -0.5 5 V Input pin voltage (VIN) -0.5 5 V Input current (latch up immunity) (ISOURCE) -100 100 mA Norm: Jedec 78 Electrostatic discharge (ESD) 2 kV Norm: MIL 883 E method 3015 (HBM) Total power dissipation (all supplies and outputs) (Pt) Storage temperature (Tstrg) -65 Package body temperature (Tbody) Humidity non-condensing 5 0.07 mW 150 C 260 C 85 % Notes Norm: IPC/JEDEC J-STD-020C 1 1. The reflow peak soldering temperature (body temperature) is specified according IPC/JEDEC J-STD-020C "Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices". www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 7 - 36 AS3932 Datasheet - E l e c t r i c a l C h a r a c t e r i s t i c s 6 Electrical Characteristics Table 4. Electrical Characteristics Symbol Parameter Conditions Min Typ Max Units Operating Conditions AVDD Positive supply voltage 2.4 3.6 V AVSS Negative supply voltage 0 0 V Tamb Ambient temperature -40 85 C DC/AC Characteristics for Digital Inputs and Outputs CMOS Input VIH High level input voltage 0.58 * VDD 0.7 * VDD 0.83 * VDD V VIL Low level input voltage 0.125 * VDD 0.2 * VDD 0.3 * DVDD V ILEAK Input leakage current 100 nA CMOS Output VDD 0.4 VOH High level output voltage With a load current of 1mA VOL Low level output voltage With a load current of 1mA VSS + 0.4 V CL Capacitive load For a clock frequency of 1 MHz 400 pF VOH High level output voltage With a load current of 1mA VOL Low level output voltage With a load current of 1mA VSS + 0.4 V IOZ Tristate leakage current to DVDD and DVSS 100 nA Max Units V Tristate CMOS Output VDD 0.4 V Table 5. Electrical System Specifications Symbol Parameter Conditions Rin Input Impedance In case no antenna damper is set (R1<4>=0) Fmin Fmax Min Typ Input Characteristics 2 M Ohm Minimum Input Frequency 110 kHz Maximum Input Frequency 150 kHz Current Consumption IPWD Power Down Mode 400 I1CHRC Current Consumption in standard listening mode with one active channel and RCoscillator as RTC 2.7 A I2CHRC Current Consumption in standard listening mode with two active channels and RCoscillator as RTC 4.2 A I3CHRC Current Consumption in standard listening mode with three active channels and RCoscillator as RTC 5.7 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 800 8.3 nA A 8 - 36 AS3932 Datasheet - E l e c t r i c a l C h a r a c t e r i s t i c s Table 5. Electrical System Specifications Symbol Parameter I3CHSCRC Current Consumption in scanning mode with three active channels and RCoscillator as RTC I3CHOORC Current Consumption in ON/ OFF mode with three active channels and RC-oscillator as RTC I3CHXT Current Consumption in standard listening mode with three active channels and crystal oscillator as RTC IDATA Current Consumption in Preamble detection / Pattern correlation / Data receiving mode (RC-oscillator) Input Sensitivity on all channels Conditions Min Typ Max 2.7 11% Duty Cycle 1.7 50% Duty Cycle 3.45 Units A A 6.5 8.9 A With 125 kHz carrier frequency and 1 kbps data-rate. No load on the output pins. 8.3 12 A With 125 kHz carrier frequency, chip in default mode, 4 half bits burst + 4 symbols preamble and single preamble detection 100 Vrms 250 s 32.768 kHz Input Sensitivity SENS Channel Settling Time TSAMP Amplifier settling time Crystal Oscillator FXTAL Frequency Crystal dependent TXTAL Start-up Time Crystal dependent IXTAL Current consumption 1 s 1 A 1 A External Clock Source IEXTCL Current consumption RC Oscillator FRCNCAL Frequency If no calibration is performed 27 32.768 42 kHz FRCCAL32 Frequency If calibration with 32.768 kHz reference signal is performed 31 32.768 34.5 kHz FRCCALMAX Frequency Maximum achievable frequency after calibration 35 FRCCALMIN Frequency Minimum achievable frequency after calibration 30 TCALRC Calibration time IRC Current consumption www.austriamicrosystems.com/LF-Receiver/AS3932 kHz kHz 65 200 Revision 1.4 Periods of reference clock nA 9 - 36 AS3932 Datasheet - Ty p i c a l O p e r a t i n g C h a r a c t e r i s t i c s 7 Typical Operating Characteristics Figure 6. Sensitivity over Voltage and Temperature Figure 7. Sensitivity over RSSI 1000000 120 VIN = 2.4V 95 oC 100000 100 27 oC VIN = 1.5V Input Voltage [Vrms] -40 oC Sensitivity [Vrms] 80 60 40 10000 VIN = 1.0V 1000 100 10 20 1 0 2.4 3 2 3.6 4 6 8 10 12 14 16 18 20 22 24 26 28 30 RSSI [dB] Supply Voltage [V] Figure 8. RC-Osc Frequency over Voltage (calibr.) Figure 9. RC-Osc Frequency over Temperature (calibr.) 34.5 34.5 34 33.5 RC-OSC Frequency [KHz] RC-OSC Frequency [KHz] 34 33 32.5 33.5 33 32.5 32 32 31.5 31.5 31 31 2.4 2.6 2.8 3 3.2 3.4 -36 -30 -20 -10 3.6 www.austriamicrosystems.com/LF-Receiver/AS3932 0 10 20 30 40 50 60 70 80 90 Operating Temperature [oC] Supply Voltage [V] Revision 1.4 10 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8 Detailed Description The AS3932 is a three-dimensional low power low-frequency wakeup receiver. The AS3932 is capable to detect the presence of an inductive coupled carrier and extract the envelope of the On-Off-Keying (OOK) modulated carrier. In case the carrier is Manchester coded the clock is recovered from the transmitted signal and the data can be correlated with a programmed pattern. If the detected pattern corresponds to the stored one a wake-up signal (IRQ) is risen up. The pattern correlation can be bypassed in case and the wake-up detection is based only on the frequency detection. The AS3932 is made up by three independent receiving channels, one envelop detector, one data correlator, one Manchester decoder, 8 programmable registers with the main logic and a real time clock. The digital logic can be accessed by an SPI. The real time clock can be based on a crystal oscillator or on an internal RC one. In case the second is used to improve its accuracy a calibration can be performed. Figure 10. Block Diagram of LF Wakeup Receiver AS3932 AS3932 IRQ Wakeup Amp Out SCL LF1P Channel Amplifier 1 Main Logic RSSI SDI SDI SDO CS Amp Out LF2P Channel Amplifier 2 Channel Selector Envelope Detector / Data Slicer Correlator RSSI Manchester Decoder DAT Amp Out CL_DAT LF3P Channel Amplifier 3 RSSI I/V Bias Xtal RTC RC RTC LFN VCC www.austriamicrosystems.com/LF-Receiver/AS3932 XIN GND Revision 1.4 XOUT 11 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n AS3932 needs the following external components: Power supply capacitor - CBAT - 100 nF 32.768 kHz crystal with its two pulling capacitors - XTAL and CL - (it is possible to omit these components if the internal RC oscillator is used instead of the crystal oscillator). One, two, or three LC resonators according to the number of used channels. In case the internal RC-oscillator is used (no crystal oscillator is mounted), the pin XIN has to be connected to the supply, while pin XOUT should stay floating. Application diagrams with and without crystal are shown in Figure 1 and Figure 2 8.1 Operating Modes 8.1.1 Power Down Mode In Power Down Mode AS3932 is completely switched off. The typical current consumption is 400 nA. 8.1.2 Listening Mode In listening mode only the active channel amplifiers and the RTC are running. In this mode the system detects the presence of a carrier. In case the carrier is detected the RSSI can be displayed. If the three dimensional detection is not required it is possible to deactivate one or more channels. In case only two channels are required the deactivated channel must be the number three, while if only one channel detection is needed the active channel must be the number one. Inside this mode it is possible to distinguish the following three sub modes: Standard Listening mode. All channels are active at the same time Scanning mode (Low Power mode 1). All used channels are active, but only one per time slot, where the time slot T is defined as 1ms. If, for example all three channels are used in the first millisecond the only active channel is the number one, after the first millisecond the channel three will be active for the same period of time and at the end the channel two will be working for one millisecond, handing over to the channel one again. This channel rotation goes on until the presence of the carrier is detected by any of the channels; then immediately all three channels will become active at the same time. Now AS3932 can perform a simultaneous multidirectional evaluation (on all three channels) of the field and evaluate which channel has the strongest RSSI. The channel with the highest RSSI will be put through to the demodulator. In this way it is possible to perform multidirectional monitoring of the field with a current consumption of a single channel, keeping the sensitivity as good as if all channels are active at the same time. Figure 11. Scanning Mode Channel 1 Channel 2 time Channel 3 time Presence of carrier time t0 t0+T t0+2T www.austriamicrosystems.com/LF-Receiver/AS3932 t0+3 T t0+4T Revision 1.4 t0+5T t1 time 12 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n ON/OFF mode (Low Power mode 2). All active channels are on at the same time but not for the whole time (time slot T is defined as 1ms). An on-off duty-ratio is defined. This duty ratio is programmable see R4<7:6>. Figure 12. ON/OFF Mode Channel 1 Channel 2 time Channel 3 time Presence of carrier time t0 t0+T 2 *t 0 2 *t 0 + T 3 *t 0 time For each of these sub modes it is possible to enable a further feature called Artificial Wake-up. The Artificial Wake-up is a counter based on the used RTC. Three bits define a time window see R8<2:0>. If no activity is seen within this time window the chip will produce an interrupt on the WAKE pin that lasts 128 s. With this interrupt the microcontroller (C) can get feedback on the surrounding environment (e.g. read the false wakeup register, see Correlator register R13<7:0>) and/or take actions in order to change the setup. 8.1.3 Preamble Detection / Pattern Correlation The chip can go in to this mode after detecting a LF carrier only if the data correlator function is enabled see R1<1>. The correlator searches first for preamble frequency (constant frequency of Manchester clock defined according to bit-rate transmission) and then for data pattern. If the pattern is matched the wake-up interrupt is displayed on the WAKE output and the chip goes in Data receiving mode. If the pattern fails the internal wake-up (on all active channels) is terminated and no IRQ is produced. 8.1.4 Data Receiving The user can enable this mode allowing the pattern correlation or just on the base of the frequency detection. In this mode the chip can be retained a normal OOK receiver. The data is provided on the DAT pin and in case the Manchester decoder is enabled see R1<3>, the recovered clock is present on the CL_DAT. It is possible to put the chip back to listening mode either with a direct command (CLEAR_WAKE (see Table 12)) or by using the timeout feature. This feature automatically sets the chip back to listening mode after a certain time R7<7:5>. www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 13 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.2 System and Block Specification 8.2.1 Register Table Table 6. Register Table 7 6 R0 n.a. R1 ABS_HY R2 S_ABSH R3 HY_20m R4 AGC_TLIM 5 4 3 2 1 0 ON_OFF MUX_123 EN_A2 EN_A3 EN_A1 PWD AGC_UD ATT_ON EN_MANCH EN_PAT2 EN_WPAT EN_RTC W_PAT_T<1:0> Reserved HY_POS FS_SLC<2:0> T_OFF<1:0> FS_ENV<2:0> R_VAL<1:0> GR<3:0> R5 TS2<7:0> R6 TS1<7:0> R7 S_WU1<1:0> T_OUT<2:0> R8 T_HBIT<4:0> n.a. R9 n.a. T_AUTO<2:0> Reserved R10 n.a. RSSI1<4:0> R11 n.a. RSSI3<4:0> R12 n.a. RSSI2<4:0> R13 8.2.2 F_WAKE Register Table Description and Default Values Table 7. Default Values of Registers Register Name Type Default Value Description R0<5> ON_OFF W 0 On/Off operation mode. (Duty-cycle defined in the register R4<7:6>) R0<4> MUX_123 W 0 Scan mode enable R0<3> EN_A2 W 1 Channel 2 enable R0<2> EN_A3 W 1 Channel 3 enable R0<1> EN_A1 W 1 Channel 1 enable R0<0> PWD W 0 Power down R1<7> ABS_HY W 0 Data slicer absolute reference R1<6> AGC_TLIM W 0 AGC acting only on the first carrier burst R1<5> AGC_UD W 1 AGC operating in both direction (up-down) R1<4> ATT_ON W 0 Antenna damper enable R1<3> EN_MANCH W 0 Manchester decoder enable R1<2> EN_PAT2 W 0 Double wakeup pattern correlation R1<1> EN_WPAT W 1 Data correlation enable R1<0> EN_RTC W 1 Crystal oscillator enable R2<7> S_ABSH W 0 Data slicer threshold reduction R2<6:5> W_PAT W 00 Pattern correlation tolerance (see Table 20) 000 Reserved R2<4:2> www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 14 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Table 7. Default Values of Registers Register Name Type Default Value Description R2<1:0> S_WU1 W 00 Tolerance setting for the stage wakeup (see Table 14) R3<7> HY_20m W 0 Data slicer hysteresis if HY_20m = 0 then comparator hysteresis = 40mV if HY_20m = 1 then comparator hysteresis = 20mV R3<6> HY_POS W 0 Data slicer hysteresis only on positive edges (HY_POS=0, hysteresis on both edges, HY_POS=1, hysteresis only on positive edges) R3<5:3> FS_SCL W 100 Data slices time constant (see Table 18) R3<2:0> FS_ENV W 000 Envelop detector time constant (see Table 17) Off time in ON/OFF operation mode R4<7:6> T_OFF W 00 T_OFF=00 1ms T_OFF=01 2ms T_OFF=10 4ms T_OFF=11 8ms R4<5:4> D_RES W 01 Antenna damping resistor (see Table 16) R4<3:0> GR W 0000 Gain reduction (see Table 15) R5<7:0> TS2 W 01101001 2 Byte of wakeup pattern R6<7:0> TS1 W 10010110 1 Byte of wakeup pattern R7<7:5> T_OUT W 000 Automatic time-out (see Table 21) R7<4:0> T_HBIT W 01011 Bit rate definition (see Table 19) nd st Artificial wake-up R8<2:0> T_AUTO W R9<6:0> 000 T_AUTO=000 No artificial wake-up T_AUTO=001 1 sec T_AUTO=010 5 sec T_AUTO=011 20 sec T_AUTO=100 2 min T_AUTO=101 15min T_AUTO=110 1 hour T_AUTO=111 2 hour 000000 Reserved R10<4:0> RSSI1 R RSSI channel 1 R11<4:0> RSSI2 R RSSI channel 2 R12<4:0> RSSI3 R RSSI channel 3 R13<7:0> F_WAK WR False wakeup register www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 15 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.2.3 Serial Data Interface (SDI) This 4-wires interface is used by the Microcontroller (C) to program the AS3932. The maximum clock frequency of the SDI is 2MHz. Table 8. Serial Data Interface (SDI) pins Name Signal Signal Level Description CS Digital Input with pull down CMOS Chip Select SDI Digital Input with pull down CMOS Serial Data input for writing registers, data to transmit and/or writing addresses to select readable register SDO Digital Output CMOS Serial Data output for received data or read value of selected registers SCLK Digital Input with pull down CMOS Clock for serial data read and write Note: SDO is set to tristate if CS is low. In this way more than one device can communicate on the same SDO bus. SDI Command Structure. To program the SDI the CS signal has to go high. A SDI command is made up by a two bytes serial command and the data is sampled on the falling edge of SCLK. The Table 9 shows how the command looks like, from the MSB (B15) to LSB (B0). The command stream has to be sent to the SDI from the MSB (B15) to the LSB (B0). Table 9. SDI Command Structure Mode B15 Register address / Direct Command B14 B13 B12 B11 B10 B9 Register Data B8 B7 B6 B5 B4 B3 B2 B1 B0 The first two bits (B15 and B14) define the operating mode. There are three modes available (write, read, direct command) plus one spare (not used), as shown in Table 10. Table 10. SDI Command Structure B15 B14 Mode 0 0 WRITE 0 1 READ 1 0 NOT ALLOWED 1 1 DIRECT COMMAND In case a write or read command happens the next 5 bits (B13 to B9) define the register address which has to be written respectively read, as shown in Table 11. Table 11. SDI Command Structure B13 B12 B11 B10 B9 B8 Read/Write register 0 0 0 0 0 0 R0 0 0 0 0 0 1 R1 0 0 0 0 1 0 R2 0 0 0 0 1 1 R3 0 0 0 1 0 0 R4 0 0 0 1 0 1 R5 0 0 0 1 1 0 R6 0 0 0 1 1 1 R7 0 0 1 0 0 0 R8 0 0 1 0 0 1 R9 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 16 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Table 11. SDI Command Structure B13 B12 B11 B10 B9 B8 Read/Write register 0 0 1 0 1 0 R10 0 0 1 0 1 1 R11 0 0 1 1 0 0 R12 0 0 1 1 0 1 R13 The last 8 bits are the data that has to be written respectively read. A CS toggle high-low-high terminates the command mode. If a direct command is sent (B15-B14=11) the bits from B13 to B9 defines the direct command while the last 8 bits are omitted. The Table 12 shows all possible direct commands: Table 12. List of Direct Commands COMMAND_MODE B13 B12 B11 B10 B9 B8 clear_wake 0 0 0 0 0 0 reset_RSSI 0 0 0 0 0 1 trim_osc 0 0 0 0 1 0 clear_false 0 0 0 0 1 1 preset_default 0 0 0 1 0 0 All direct commands are explained below: - clear_wake: clears the wake state of the chip. In case the chip has woken up (WAKE pin is high) the chip is set back to listening mode reset_RSSI: resets the RSSI measurement. trim_osc: starts the trimming procedure of the internal RC oscillator (see Figure 23) clear_false: resets the false wakeup register (R13=00) preset_default: sets all register in the default mode, as shown in Figure 7 Writing of Data to Addressable Registers (WRITE Mode). The SDI is sampled at the falling edge of CLK (as shown in the following diagrams). A CS toggling high-low-high indicates the end of the WRITE command after register has been written. The following example shows a write command. Figure 13. Writing of a Single Byte (falling edge sampling) CS SCLK SDI X 0 0 Two leading Zeros indicate WRITE Mode A5 A4 A3 A2 SCLK raising edge Data is transfered from C www.austriamicrosystems.com/LF-Receiver/AS3932 A1 A0 D7 D6 SCLK falling edge Data is sampled D5 D4 D3 D2 D1 D0 Data is moved to Address A5-A0 Revision 1.4 X CS falling edge signals end of WRITE Mode 17 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Figure 14. Writing of Register Data with Auto-incrementing Address CS SCLK SDI X 0 0 A A A A A A D D D D D D D D D D D D D D D D D D 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 Two leading Zeros indicate WRITE Mode Data is moved to Address Dat a is mov ed to Addres s + 1 D D D D D D D D D D 1 0 7 6 5 4 3 2 1 0 Data is moved to Addres s + (n- 1) X Data is moved to Address + n CS falling edge signals end of WRITE Mode Reading of Data from Addressable Registers (READ Mode). Once the address has been sent through SDI, the data can be fed through the SDO pin out to the microcontroller. A CS LOW toggling high-low-high has to be performed after finishing the read mode session, in order to indicate the end of the READ command and prepare the Interface to the next command control Byte. To transfer bytes from consecutive addresses, SDI master has to keep the CS signal high and the SCLK clock has to be active as long as data need to be read. Figure 15. Reading of Single Register Byte CS SCLK SDI X 0 1 SDO A5 A4 A3 A2 A1 X 01 pattern indicates READ Mode X A0 D7 SCLK raising edge Dat a is transfered from C www.austriamicrosystems.com/LF-Receiver/AS3932 SCLK falling edge Data is sampled D6 SCLK rais ing edge Data is mov ed f rom Address Revision 1.4 D5 D4 D3 SCLK falling edge Data is transfered to C D2 D1 D0 X CS falling edge signals end of READ Mode 18 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Figure 16. Send Direct COMMAND Byte 8.2.4 SDI Timing Table 13. SDI Timing Parameters Symbol Parameter Conditions Min Typ Max Units TCSCL Time CS to Sampling Data 500 ns TDCLK Time Data to Sampling Data 300 ns THCL SCL High Time 200 ns TCL SCL period 1 s TCLKCS Time Sampling Data to CS down 500 ns TCST CS Toggling time 500 ns Figure 17. SDI Timing Diagram TCS T CS SPI SCL t TCSCLK TDCLK t THC L TCLKCS t TCLK www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 19 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.3 Channel Amplifier and Frequency Detector Each of the 3 channels consists of a variable gain amplifier, an automatic gain control and a frequency detector. The latter detects the presence of a carrier. As soon as the carrier is detected the AGC is enabled, the gain of the VGA is reduced and set to the right value and the RSSI can be displayed. It is possible to enable/disable individual channels, in case not all three channels are needed. This enables to reduce the current consumption by 1.5 A (typ.) per channel. 8.3.1 Frequency Detector / AGC The frequency detection uses the RTC as time base. In case the internal RC oscillator is used as RTC, it must be calibrated, but the calibration is guaranteed for a 32.768 kHz crystal oscillator only. The frequency detection criteria can be tighter or more relaxed according to the setup described in R2<1:0>(see Table 14). Table 14. Tolerance Settings for Wakeup R2<1> R2<0> Tolerance 0 0 relaxed 0 1 tighter (medium) 1 0 stringent 1 1 reserved The AGC can operate in two modes: AGC down only (R1<5>=0) AGC up and down (R1<5>=1) As soon as the AGC starts to operate, the gain in the VGA is set to maximum. If the AGC down only mode is selected, the AGC can only decrease the gain. Since the RSSI is directly derived from the VGA gain, the system holds the RSSI peak. When the AGC up and down mode is selected, the RSSI can follow the input signal strength variation in both directions. Regardless which AGC operation mode is used, the AGC needs maximum 35 carrier periods to settle. The RSSI is available for all 3 channels at the same time and it is stored in 3 registers (R10<4:0>, R11<4:0>, R12<4:0>) Both AGC modes (only down or down and up) can also operate with time limitation. This option allows AGC operation only in time slot of 256s following the internal wake-up. Then the AGC (RSSI) is frozen till the wake-up or RSSI reset occurs. The RSSI is reset either with the direct command 'clear_wakeup' or 'reset_RSSI'. The 'reset_RSSI' command resets only the AGC setting but does not terminate wake-up condition. This means that if the signal is still present the new AGC setting (RSSI) will appear not later than 300s (35 LF carrier periods) after the command was received. The AGC setting is reset if for duration of 3 Manchester half symbols no carrier is detected. If the wake-up IRQ is cleared the chip will go back to listening mode. In case the maximum amplification at the beginning is a drawback (e.g. in noisy environment) it is possible to set a smaller starting gain on the amplifier, according to the Table 15. In this way it is possible to reduce the false frequency detection. Table 15. Bit Setting of Gain Reduction R4<3> R4<2> R4<1> R4<0> Gain reduction 0 0 0 0 no gain reduction 0 0 0 1 n.a. 0 0 1 0 or 1 n.a. 0 1 0 0 or 1 -4dB 0 1 1 0 or 1 -8dB 1 0 0 0 or 1 -12dB 1 0 1 0 or 1 -16dB 1 1 0 0 or 1 -20dB 1 1 1 0 or 1 -24dB www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 20 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.3.2 Antenna Damper The antenna damper allows the chip to deal with higher field strength, it is enabled by register R1<4>. It consists of shunt resistors which degrade the quality factor of the resonator by reducing the signal at the input of the amplifier. In this way the resonator sees a smaller parallel resistance (in the band of interest) which degrades its quality factor in order to increase the linear range of the channel amplifier (the amplifier doesn't saturate in presence of bigger signals). Table 16 shows the bit setup. Table 16. Antenna Damper Bit Setup R4<5> R4<4> Shunt resistor (parallel to the resonator at 125 kHz) 0 0 1 k 0 1 3 k 1 0 9 k 1 1 27 k 8.4 Channel Selector / Demodulator / Data Slicer When at least one of three gain channel enters initial wake-up state the channel selector makes a decision which gain channel to connect to the envelope detector. If only one channel is in wake-up state the selection is obvious. If more than one channel enters wake-up state in 256s following the first active channel the channel with highest RSSI value is selected. The output signal (amplified LF carrier) of selected channel is connected to the input of the demodulator. The performance of the demodulator can be optimized according to bit rate and preamble length as described in Table 17 and Table 18. Table 17. Bit Setup for the Envelop Detector for Different Symbol Rates R3<2> R3<1> R3<0> Symbol rate [Manchester symbols/s] 0 0 0 4096 0 0 1 2184 0 1 0 1490 0 1 1 1130 1 0 0 910 1 0 1 762 1 1 0 655 1 1 1 512 If the bit rate gets higher the time constant in the envelop detector must be set to a smaller value, this means that higher noise is injected because of the wider band. The next table is a rough indication of how the envelop detector looks like for different bit rates. By using proper data slicer settings it is possible to improve the noise immunity paying the penalty of a longer preamble. In fact if the data slicer has a bigger time constant it is possible to reject more noise, but every time a transmission occurs, the data slicer need time to settle. This settling time will influence the length of the preamble. Table 18 gives a correlation between data slicer setup and minimum required preamble length. Table 18. Bit Setup for the Data Slicer for Different Preamble Length R3<5> R3<4> R3<3> Minimum preamble length [ms] 0 0 0 0.8 0 0 1 1.15 0 1 0 1.55 0 1 1 1.9 1 0 0 2.3 1 0 1 2.65 1 1 0 3 1 1 1 3.5 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 21 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Note: These times are minimum required, but it is recommended to prolong the preamble. The comparator of the data slicer can work only with positive or with symmetrical threshold (R3<6>). In addition the threshold can be 20 or 40 mV (R3<7>) In case the length of the preamble is an issue the data slicer can also work with an absolute threshold (R1<7>). In this case the bits R3<2:0> would not influence the performance. It is even possible to reduce the absolute threshold in case the environment is not particularly noisy (R2<7>). 8.5 Correlator After frequency detection the data correlation is only performed if the correlator is enabled (R1<1>=1). The data correlation consists of checking the presence of a preamble (ON/OFF modulated carrier) followed by a certain pattern. After the frequency detection the correlator waits 16 bits (see bit rate definition in Table 19) and if no preamble is detected the chip is set back to listening mode and the false-wakeup register (R13<7:0>) is incremented by one. To get started with the pattern correlation the correlator needs to detect at least 4 bits of the preamble (ON/OFF modulated carrier). The bit duration is defined in the register R7<4:0> according to the Table 19 as function of the Real Time Clock (RTC) periods. Table 19. Bit Rate Setup R7<4> R7<3> R7<2> R7<1> R7<0> Bit duration in RTC clock periods Bit rate (bits/s) Symbol rate (Manchester symbols/s) 0 0 0 1 1 4 8192 4096 0 0 1 0 0 5 6552 3276 0 0 1 0 1 6 5460 2730 0 0 1 1 0 7 4680 2340 0 0 1 1 1 8 4096 2048 0 1 0 0 0 9 3640 1820 0 1 0 0 1 10 3276 1638 0 1 0 1 0 11 2978 1489 0 1 0 1 1 12 2730 1365 0 1 1 0 0 13 2520 1260 0 1 1 0 1 14 2340 1170 0 1 1 1 0 15 2184 1092 0 1 1 1 1 16 2048 1024 1 0 0 0 0 17 1926 963 1 0 0 0 1 18 1820 910 1 0 0 1 0 19 1724 862 1 0 0 1 1 20 1638 819 1 0 1 0 0 21 1560 780 1 0 1 0 1 22 1488 744 1 0 1 1 0 23 1424 712 1 0 1 1 1 24 1364 682 1 1 0 0 0 25 1310 655 1 1 0 0 1 26 1260 630 1 1 0 1 0 27 1212 606 1 1 0 1 1 28 1170 585 1 1 1 0 0 29 1128 564 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 22 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Table 19. Bit Rate Setup R7<4> R7<3> R7<2> R7<1> R7<0> Bit duration in RTC clock periods Bit rate (bits/s) Symbol rate (Manchester symbols/s) 1 1 1 0 1 30 1092 546 1 1 1 1 0 31 1056 528 1 1 1 1 1 32 1024 512 If the preamble is detected correctly the correlator keeps searching for a data pattern. The duration of the preamble plus the pattern should not be longer than 40 bits (see bit rate definition in Table 19). The data pattern can be defined by the user and consists of two bytes which are stored in the registers R5<7:0> and R6<7:0>. The two bytes define the pattern consisting of 16 half bit periods. This means the pattern and the bit period can be selected by the user. The only limitation is that the pattern (in combination with preamble) must obey Manchester coding and timing. It must be noted that according to Manchester coding a down-to-up bit transition represents a symbol "0", while a transition up-to-down represents a symbol "1". If the default code is used (96 [hex]) the binary code is (10 01 01 10 01 10 10 01). MSB has to be transmitted first. The user can also select (R1<2>) if single or double data pattern is used for wake-up. In case double pattern detection is set, the same pattern has to be repeated 2 times. Additionally it is possible to set the number of allowed missing zero bits (not symbols) in the received bitstream (R2<6:5>), as shown in the Table 20. Table 20. Allowed Pattern Detection Errors R2<6> R2<5> Maximum allowed error in the pattern detection 0 0 No error allowed 0 1 1 missed zero 1 0 2 missed zeros 1 1 3 missed zeros If the pattern is matched the wake-up interrupt is displayed on the WAKE output. In case the Manchester decoder is enabled (R1<3>) the data coming out from the DAT pin are decoded and the clock is recovered on the pin DAT_CL. The data coming out from the DAT pin are stable (and therefore can be acquired) on the rising edge of the CL_DAT clock, as shown in Figure 18. Figure 18. Synchronization of Data with Recovered Manchester Clock CL_DAT DAT If the pattern detection fails the internal wake-up (on all active channels) is terminated with no signal sent to MCU and the false wakeup register will be incremented (R13<7:0>). www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 23 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.6 Wakeup Protocol - Carrier Frequency 125 kHz The wake-up state is terminated with the direct command `clear_wake' Table 12. This command terminates the MCU activity. The termination can also be automatic in case there is no response from MCU. The time out for automatic termination is set in a register R7<7:5>, as shown in the Table 21. Table 21. Timeout Setup 8.6.1 R7<7> R7<6> R7<5> Time out 0 0 0 0 sec 0 0 1 50 msec 0 1 0 100 msec 0 1 1 150 msec 1 0 0 200 msec 1 0 1 250 msec 1 1 0 300 msec 1 1 1 350 msec Without Pattern Detection (Manchester decoder disabled) Figure 19. Wakeup Protocol Overview without Pattern Detection (only carrier frequency detection, Manchester decoder disabled) www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 24 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n In case the data correlation is disabled (R1<1>=0) the AS3932 wakes up upon detection of the carrier frequency only as shown in Figure 19. In order to ensure that AS3932 wakes up the carrier burst has to last longer than 550 s. To set AS3932 back to listening mode there are two possibilities: either the microcontroller sends the direct command clear_wake via SDI or the time out option is used (R7<7:5>). In case the latter is chosen, AS3932 is automatically set to listening mode after the time defined in T_OUT (R7<7:5>), counting starts at the low-to-high WAKE edge on the WAKE pin. 8.6.2 Single Pattern Detection (Manchester decoder disabled) The Figure 20 shows the wakeup protocol in case the pattern correlation is enabled (R1<1>=1) for a 125 kHz carrier frequency. The initial carrier burst has to be longer than 550 s and can last maximum 16 bits (see bit rate definition in Table 19). If the ON/OFF mode is used (R1<5>=1), the minimum value of the maximum carrier burst duration is limited to 10 ms. This is summarized in Table 22. In case the carrier burst is too long the internal wakeup will be set back to low and the false wakeup counter (R13<7:0>) will be incremented by one. The carrier burst must be followed by a preamble (0101... modulated carrier with a bit duration defined in Table 19) and the wakeup pattern stored in the registers R5<7:0> and R6<7:0>. The preamble must have at least 4 bits and the preamble duration together with the pattern should not be longer than 40 bits. If the wakeup pattern is correct, the signal on the WAKE pin goes high one bit after the end of the pattern and the data transmission can get started. To set the chip back to listening mode the direct command clear_false, as well as the time out option (R7<7:5>) can be used. Figure 20. Wakeup Protocol Overview with Single Pattern Detection (Manchester decoder disabled) Carrier Burst 1 bit Preamble Carrier Burst > 550 s Carrier Burst < 16 bit duration Preamble Pattern Data 1 bit Preamble Preamble > 4 bit duration Preamble + Pattern < 40 bit duration DAT WAKE Clear_wake Table 22. Preamble Requirements in Standard Mode, Scanning Mode and ON/OFF Mode Bit rate (bit/s) Maximum duration of the carrier burst in Standard Mode and Scanning Mode (ms) Maximum duration of the carrier burst in ON/OFF Mode (ms) 8192 1.95 10 6552 2.44 10 5460 2.93 10 4680 3.41 10 4096 3.90 10 3640 4.39 10 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 25 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Table 22. Preamble Requirements in Standard Mode, Scanning Mode and ON/OFF Mode Bit rate (bit/s) Maximum duration of the carrier burst in Standard Mode and Scanning Mode (ms) Maximum duration of the carrier burst in ON/OFF Mode (ms) 3276 4.88 10 2978 5.37 10 2730 5.86 10 2520 6.34 10 2340 6.83 10 2184 7.32 10 2048 7.81 10 1926 8.30 10 1820 8.79 10 1724 9.28 10 1638 9.76 10 1560 10.25 10.25 1488 10.75 10.75 1424 11.23 11.23 1364 11.73 11.73 1310 12.21 12.21 1260 12.69 12.69 1212 13.20 13.20 1170 13.67 13.67 1128 14.18 14.18 1092 14.65 14.65 1056 15.15 15.15 1024 15.62 15.62 www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 26 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.6.3 Single Pattern Detection (Manchester decoder enabled) The Figure shows the wakeup protocol in case both the pattern correlation and the Manchester decoder are enabled (R1<1>=1 and R1<3>=1) for a 125 kHz carrier frequency. The initial carrier burst has to be at least 42 Manchester symbols long and has to be followed by a separation bit (one bit of no-carrier). The carrier burst must be followed by a minimum 4 Manchester symbol preamble (10101010) and the pattern stored in the R5<7:0> and R6<7:0>. The preamble can only be made up by integer Manchester symbol and the preamble duration together with the pattern should not be longer than 40 bits. If the pattern is correct the signal on the WAKE pin is set to high, the data are internally decoded and the Manchester clock is recovered. To set the AS3932 back to listening mode the direct command clear_false or the time out option (R7<7:5>) can be used. In case the On/OFF mode is enabled the Manchester decoder can not be used. Figure 21. Wakeup Protocol Overview with Single Pattern Detection (Manchester decoder enabled) Carrier Burst Preamble Pattern Data Separation bit Carrier Burst > 42 symbols duration Preamble > 4 symbol (8 bits) Preamble + Pattern < 40 bit duration WAKE Clear_wake 8.7 False Wakeup Register The wakeup strategy in the AS3932 is based on 2 steps: 1. Frequency Detection: in this phase the frequency of the received signal is checked. 2. Pattern Correlation: here the pattern is demodulated and checked whether it corresponds to the valid one. If there is a disturber or noise capable to overcome the first step (frequency detection) without producing a valid pattern, then a false wakeup call happens.Each time this event is recognized a counter is incremented by one and the respective counter value is stored in a memory cell (false wakeup register). Thus, the microcontroller can periodically look at the false wakeup register, to get a feeling how noisy the surrounding environment is and can then react accordingly (e.g. reducing the gain of the LNA during frequency detection, set the AS3932 temporarily to power down etc.), as shown in the Figure 22. The false wakeup counter is a useful tool to quickly adapt the system to any changes in the noise environment and thus avoid false wakeup events. Most wakeup receivers have to deal with environments that can rapidly change. By periodically monitoring the number of false wakeup events it is possible to adapt the system setup to the actual characteristics of the environment and enables a better use of the full flexibility of AS3932. Note: If the Manchester decoder is enabled, the false wakeup register is not able anymore to store the false wakeup events. www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 27 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n Figure 22. Concept of the False Wakeup Register together with the system Frequency Detector Wakeup Level 1 Wakeup Level 2 Pattern Correlator WAKE Unsuccessful pattern correlation False wakeup register CHANGE SETUP TO MINIMIZE THE FALSE WAKEUP EVENTS Register Setup READ FALSE WAKEUP REGISTER Microcontroller 8.8 Real Time Clock (RTC) The RTC can be based on a crystal oscillator (R1<0>=1), the internal RC-oscillator (R1<0>=0), or an external clock source (R1<0>=1). The crystal oscillator has higher precision of the frequency with higher current consumption and needs three external components (crystal plus two capacitors). The RC-oscillator is completely integrated and can be calibrated if a reference signal is available for a very short time to improve the frequency accuracy. The calibration gets started with the trim_osc direct command. Since no non-volatile memory is available on the chip, the calibration must be done every time after battery replacement. Since the RTC defines the time base of the frequency detection, the selected frequency (frequency of the crystal oscillator or the reference frequency used for calibration of the RC oscillator) should be about one forth of the carrier frequency: FRTC ~ FCAR * 0.25 (EQ 1) Where: FCAR is the carrier frequency and FRTC is the RTC frequency The third option for the RTC is the use of an external clock source, which must be applied directly to the XIN pin (XOUT floating). www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 28 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.8.1 Crystal Oscillator Table 23. Characteristics of XTAL Symbol Parameter Conditions Crystal accuracy (initial) Overall accuracy Min Typ Crystal motional resistance Units 120 p.p.m. 60 K Frequency 32.768 kHz Contribution of the oscillator to the frequency error 5 p.p.m 1 s Start-up Time Crystal dependent Duty cycle 45 Current consumption 8.8.2 Max 50 55 1 % A RC-Oscillator Table 24. Characteristics of RCO Symbol Parameter Frequency Calibration time Conditions Min Typ Max Units If no calibration is performed 27 32.768 42 kHz If calibration is performed 31 32.768 34.5 kHz 65 cycles Periods of reference clock Current consumption 200 nA To trim the RC-Oscillator, set the chip select (CS) to high before sending the direct command trim_osc over SDI. Then 65 digital clock cycles of the reference clock (e.g. 32.768 kHz) have to be sent on the clock bus (SCL), as shown in Figure 23. After that the signal on the chip select (CS) has to be pulled down. The calibration is effective after the 65th reference clock edge and it will be stored in a volatile memory. In case the RC-oscillator is switched off or a power-on-reset happens (e.g. battery change) the calibration has to be repeated. Figure 23. RC-Oscillator Calibration via SDI www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 29 - 36 AS3932 Datasheet - D e t a i l e d D e s c r i p t i o n 8.8.3 External Clock Source To clock the AS3932 with an external signal the crystal oscillator has to be enabled (R1<1>=1). As shown in the Figure 3 the clock must be applied on the pin XIN while the pin XOUT must stay floating. The RC time constant has to be 15s with a tolerance of 10% (e.g. R=680 k and C=22pF). In the Table 25 the clock characteristics are summarized. Table 25. Characteristics of External Clock Symbol Parameter VI Low level Vh High level Tr Conditions Min Max Units 0 0.1 * VDD V 0.9 * VDD VDD V Rise-time 3 s Tf Fall-time 3 s T = RC RC Time constant 16.5 s 13.5 Typ 15 Note: In power down mode the external clock has to be set to VDD. 8.9 Channel Selection in Scanning Mode and ON/OFF Mode In case only 2 channels are active and one of the Low Power modes is enabled, then the channels 1 and 3 have to be active. If the chip works in On-Off mode and only one channel is active then the active channel has to be the channel 1. Both Low Power modes are not allowed to be enabled at the same time. www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 30 - 36 AS3932 Datasheet - P a c k a g e D r a w i n g s a n d M a r k i n g s 9 Package Drawings and Markings Figure 24. Package Diagram 16 pin TSSOP Table 26. Package Dimensions 16 pin TSSOP Symbol Min Typ A A1 0.05 A2 0.85 aaa 0.90 Max Symbol 1.10 E 0.15 L 0.50 0.60 0.70 0.95 a 0 4 8 0.076 Typ 0.19 - 0.30 b1 0.19 0.22 0.25 0.10 Max 6.40 BSC N, P, P1 b bbb Min See Variations Variations: D P P1 N AA/AAT 2.90 3.00 3.10 1.59 3.2 8 C 0.09 - 0.20 AB-1/ABT-1 4.90 5.00 5.10 3.1 3.0 14 C1 0.09 0.127 0.16 AB/ABT 4.90 5.00 5.10 3.0 3.0 16 AC/ACT 6.40 6.50 6.60 4.2 3.0 20 AD/ADT 7.70 7.80 7.90 5.5 3.2 24 AE/AET 9.60 9.70 9.80 5.5 3.0 28 D E1 e See Variations 4.30 4.40 4.50 0.65 BSC www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 31 - 36 AS3932 Datasheet - P a c k a g e D r a w i n g s a n d M a r k i n g s Note: 1. 2. 3. 4. 5. Die thickness allowable is 0.279 0.0127. Dimensioning and tolerances conform to ASME Y14.5M-1994. Datum plane H located at mold parting line and coincident with lead, where lead exits plastic body at bottom of parting line. Datum A-B and D to BE determined where center line between leads exits plastic body at datum plane H. D & E1 are reference datum and do not include mold flash or protrusions, and are measured at the bottom parting line. Mold lash or protrusions shall not exceed 0.15mm on D and 0.25mm on E per side. 6. Dimension is the length of terminal for soldering to a substrate. 7. Terminal positions are shown for reference only. 8. Formed leads shall be planar with respect to one another within 0.076mm at seating plane. 9. The lead width dimension does not include dambar protrusion. Allowable dambar protrusion shall be 0.07mm total in excess of the lead width dimension at maximum material condition. Dambar cannot be located on the lower radius or the foot. Minimum space between protrusions and an adjacent lead should be 0.07mm for 0.65mm pitch. 10. Section B-B to be determined at 0.10mm to 0.25mm from the lead tip. 11. Dimensions P and P1 are thermally enhanced variations. Values shown are maximum size of exposed pad within lead count and body size. End user should verify available size of exposed pad for specific device application. 12. All dimensions are in millimeters, angle is in degrees. 13. N is the total number of terminals. www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 32 - 36 AS3932 Datasheet - P a c k a g e D r a w i n g s a n d M a r k i n g s Figure 25. Package Diagram QFN 4x4 16LD 5 6 7 8 4 9 3 10 2 11 #1 12 16 15 14 13 Table 27. Package Dimensions QFN 4x4 16LD Symbol Min Typ Max Symbol A 0.75 0.85 0.95 e A1 b 0.203 REF 0.25 0.30 L 0.35 Min Typ 0.40 0.50 L1 4.00 BSC P 45 BSC E 4.00 BSC aaa 0.15 ccc 0.10 2.30 2.40 2.50 E2 2.30 2.40 2.50 0.60 0.10 D D2 Max 0.65 BSC Note: 1. Die thickness allowable is 0.279 0.0127. 2. Dimensioning and tolerances conform to ASME Y14.5M-1994. 3. Dimension b applies to metallized terminal and is measured between 0.25mm and 0.30mm from terminal tip. Dimension L1 represents terminal full back from package edge up to 0.1mm is acceptable. 4. Coplanarity applies to the exposed heat slug as well as the terminal. 5. Radius on terminal is optional www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 33 - 36 AS3932 Datasheet - R e v i s i o n H i s t o r y Revision History Table 28. Revision History Revision Date Owner 1.0 Feb 12, 2009 esn 1.0a Feb 24, 2009 esn Description Table 29 (Ordering information), -Z removed from part numbers New figure inserted Figure 2 on page 2, all subsequent chapters and page numbers are therefore incremented by one 1.1 Apr 2, 2009 esn Default Values of RegistersTable 7, default value of R4<3:0> corrected Bit Setting of Gain ReductionTable 15, stepsize of gain reduction increased to -4dBm 1.11 Apr 22, 2009 esn Description of external components on page 12 updated 1.12 May 25, 2009 esn Update of Section 10 Ordering Information on page 35 1.13 Jul 13, 2009 esn Updated Wakeup Protocol - Carrier Frequency 125 kHz 8.6 and description of Section 8.8.2 RC-Oscillator on page 29 Updated Key Features for External Clock Added Figure 3 AS3932 Typical Application Diagram with Clock from External Source Added External Clock Source in Electrical System SpecificationsTable 5 1.2 Oct 13, 2009 mrh Deleted table Minimum duration of carrier burst in ON/OFF mode (Manchester decoder enabled) Updated Real Time Clock (RTC) 8.8 with External Clock Added External Clock Source 8.8.3 Added a new section SDI Timing 8.2.4 1.3 Mar 25, 2010 mrh Updated R11 and R12 in Table 7 Updated clock frequency of SDI to 2MHz in Serial Data Interface (SDI) 8.2.3 Updated time constant of RC filter in External Clock Source 8.8.3 1.4 Sep 21, 2010 rlc Updated Figure 20 and Figure 21 Note: Typos may not be explicitly mentioned under revision history. www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 34 - 36 AS3932 Datasheet - O r d e r i n g I n f o r m a t i o n 10 Ordering Information The devices are available as the standard products shown in Table 29. Table 29. Ordering Information 1 Ordering Code Type Marking Delivery Form Delivery Quantity AS3932-BTST 16 pin TSSOP AS3932 7 inches Tape&Reel 1000 pcs AS3932-BQFT QFN 4x4 16LD AS3932 7 inches Tape&Reel 1000 pcs 1. Dry Pack Sensitivity Level =3 according to IPC/JEDEC J-STD-033A for full reels. Note: All products are RoHS compliant and austriamicrosystems green. Buy our products or get free samples online at ICdirect: http://www.austriamicrosystems.com/ICdirect Technical Support is found at http://www.austriamicrosystems.com/Technical-Support For further information and requests, please contact us mailto: sales@austriamicrosystems.com or find your local distributor at http://www.austriamicrosystems.com/distributor www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 35 - 36 AS3932 Datasheet - C o p y r i g h t s Copyrights Copyright (c) 1997-2010, austriamicrosystems AG, Tobelbaderstrasse 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. Disclaimer Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification provisions appearing in its Term of Sale. austriamicrosystems 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. austriamicrosystems 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 austriamicrosystems 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 life-sustaining equipment are specifically not recommended without additional processing by austriamicrosystems 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 austriamicrosystems AG is believed to be correct and accurate. However, austriamicrosystems 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 austriamicrosystems AG rendering of technical or other services. Contact Information Headquarters austriamicrosystems AG Tobelbaderstrasse 30 A-8141 Unterpremstaetten, Austria Tel: +43 (0) 3136 500 0 Fax: +43 (0) 3136 525 01 For Sales Offices, Distributors and Representatives, please visit: http://www.austriamicrosystems.com/contact www.austriamicrosystems.com/LF-Receiver/AS3932 Revision 1.4 36 - 36