TDA523x - Protocol Examples for ISM Band Applications

November 2008
Protocol Examples for ISM Band
Applications
Standard Configuration Set for the SmartLEWIS™
Receiver TDA5230
Preliminary
Application Note
V1.0
Wireless Control
Edition 2008-11-01
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2008 Infineon Technologies AG
All Rights Reserved.
Legal Disclaimer
The information given in this document shall in no event be regarded as a guarantee of conditions or
characteristics. With respect to any examples or hints given herein, any typical values stated herein and/or any
information regarding the application of the device, Infineon Technologies hereby disclaims any and all
warranties and liabilities of any kind, including without limitation, warranties of non-infringement of intellectual
property rights of any third party.
Information
For further information on technology, delivery terms and conditions and prices, please contact the nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements, components may contain dangerous substances. For information on the types in
question, please contact the nearest Infineon Technologies Office.
Infineon Technologies components may be used in life-support devices or systems only with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the
failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life
support devices or systems are intended to be implanted in the human body or to support and/or maintain and
sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other
persons may be endangered.
TDA523x
Protocol Examples
Protocol Examples for ISM Band Applications
Revision History: 2008-11-01, V1.0
Previous Version: none
Page
Subjects (major changes since last revision)
Trademarks of Infineon Technologies AG
SmartLEWIS™, A-GOLD™, AOP™, BlueMoon™, ConverGate™, Converpath™, COSIC™, C166™,
DUALFALC™, DuSLIC™, E-GOLD™, ELASTec™, Epic™, FALC™, FlexiSLIC™, GEMINAX™, GIGAFLOW™,
GOLDMOS™, INCA™, IOM™, IPVD™, Isac™, IWE™, IWORX™, LEDFET™, M GOLD™, MuSLIC™,
OCTALFALC™, OCTAT™, OmniTune™, OmniVia™, OPTIVERSE™, PASi™, PROSOC™, QUADFALC™,
SCEPTRE™, SCOUT™, SEROCCO™, S-GOLD™, SICOFI™, SIEGET™, SLIC™, SMARTI™, SMARTiPM™,
SMARTiPM+™, SMARTiUE™, SMARTi3G™, SMARTi3G+™, SMINT™, SOCRATES™, TrueNTRY™,
VINAX™, VINETIC™, VIONTIC™, VOIPRO™, WDCT™, WildPass™, X-GOLD™, XMM™, X-PMU™.
Other Trademarks
Microsoft®, Visio®, Windows® of Microsoft Corporation. Linux® of Linus Torvalds. FrameMaker® of Adobe
Systems Incorporated. APOXI®, COMNEON™ of Comneon GmbH & Co. OHG. PrimeCell®, RealView®, ARM®,
ARM® Developer Suite™ (ADS), Multi-ICE™, ARM1176JZ-S™, CoreSight™, Embedded Trace Macrocell™
(ETM), Thumb®, ETM9™, AMBA™, ARM7™, ARM9™, ARM7TDMI-S™, ARM926EJ-S™ of ARM Limited.
OakDSPCore®, TeakLite® DSP Core, OCEM® of ParthusCeva Inc. IndoorGPS™, GL-20000™, GL-LN-22™ of
Global Locate. mipi™ of MIPI Alliance. CAT-iq™ of DECT Forum. MIPS™, MIPS II™, 24KEc™ of MIPS
Technologies, Inc. Texas Instruments®, PowerPAD™, C62x™, C55x™, VLYNQ™, Telogy Software™,
TMS320C62x™, Code Composer Studio™, SSI™ of Texas Instruments Incorporated. Luxworks® of LSI
Corporation. Bluetooth® of Bluetooth SIG, Inc. IrDA® of the Infrared Data Association. Java™, SunOS™,
Solaris™ of Sun Microsystems, Inc. Philips®, I2C-Bus® of Koninklijke Philips Electronics N.V. Epson® of Seiko
Epson Corporation. Seiko® of Kabushiki Kaisha Hattori Seiko Corporation. Panasonic® of Matsushita Electric
Industrial Co., Ltd. Murata® of Murata Manufacturing Company. Taiyo Yuden™ of Taiyo Yuden Co., Ltd. TDK®
of TDK Electronics Company, Ltd. Motorola® of Motorola, Inc. National Semiconductor®, MICROWIRE™ of
National Semiconductor Corporation. IEEE® of The Institute of Electrical and Electronics Engineers, Inc.
Samsung®, OneNAND®, UtRAM® of Samsung Corporation. Toshiba® of Toshiba Corporation. Dallas
Semiconductor®, 1-Wire® of Dallas Semiconductor Corp. NOVeA™ of Virage Logic Corp. ISO® of the
International Organization for Standardization. IEC™ of the International Engineering Consortium. EMV™ of
EMVCo, LLC. Zetex® of Zetex Semiconductors. Rohm™ of Rohm Co., Ltd. Microtec® of Microtec Research, Inc.
Verilog® of Cadence Design Systems, Inc. ANSI® of the American National Standards Institute, Inc. WindRiver®
and VxWorks® of Wind River Systems, Inc. Nucleus™ of Mentor Graphics Corporation
The information in this document is subject to change without notice.
Last Trademarks Update 2008-03-31
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
[email protected]
TDA523x
Protocol Examples
Protocol Examples for the ISM Frequency Bands
Table of Contents
1
1.1
1.2
1.3
Protocol Examples for the ISM Frequency Bands..........................................................................5
Legislative Restriction ..........................................................................................................................5
Jammer Immunity.................................................................................................................................5
Current Consumption ...........................................................................................................................5
2
2.1
2.2
2.3
2.4
Tools....................................................................................................................................................6
IAF Tool and Protocol Examples..........................................................................................................6
Polling Strategy Excel Sheet................................................................................................................6
TDA523x Explorer Software.................................................................................................................6
Download Information ..........................................................................................................................6
3
10 Steps to get it running ..................................................................................................................6
4
4.1
4.2
4.3
4.4
4.5
Detailed Description of Protocol Examples ....................................................................................8
5kBit ASK USA Pattern ........................................................................................................................8
5kBit FSK EU Pattern...........................................................................................................................9
10kBit FSK USA Pattern ......................................................................................................................9
10kBit FSK EU Pattern.......................................................................................................................10
10kBit FSK Multi-Channel Pattern .....................................................................................................10
Preliminary Application Note
4
V1.0, 2008-11-01
Protocol Examples
Protocol Examples for the ISM Frequency Bands
1
Protocol Examples for the ISM Frequency Bands
In general the RF protocol is always a compromise in terms of sensitivity, current consumption, data throughput,
jammer immunity and regional legislative restrictions. The given protocol examples are typical compromises of
the above mentioned parameters but of course can always be optimized towards a certain parameter.
1.1
Legislative Restriction
The USA patterns are defined to fulfill the FCC Part 15 requirements and take advantage out of the Duty Cycle
Correction Factor. The Duty Cycle (FCC15.35) which is mentioned is related to Carrier ON time within a 100ms
time slot. For more details refer to the Application Note on our Web side: (Download App Note)
This Duty Cycle Correction Factor allows the transmitter counterpart of the TDA523x receiver to send with
higher output power then initially defined. In the equation below the calculation of the correction factor is
depicted.
⎛ T time on in a 100ms window ⎞
K E = 20 log⎜ X
⎟(dB)
100ms
⎝
⎠
The European equivalent to the FCC is called ETSI. This regulation framework allows in the 434MHz band
(433,05-434,79MHz) an output power of 10mW if the transmitter has an ON/OFF Duty Cycle below 10%
otherwise the output power is limited to 1mW.
1.2
Jammer Immunity
The immunity against jammers can be improved by several methods. The best method to achieve excellent
immunity performance is the multi-channel concept. The TDA523x receiver is able to handle this challenge in a
very elegant way. The receiver scans several Radio Frequency (RF) channels and processes the data without
the need of a microcontroller. If a jammer appears on one of the channels the communication is possible on the
other remaining channels.
In principle can be stated that the modulation technique has also a contribution to the receiver immunity
performance. It can be stated that for limiter based receiver systems, Frequency Shift Keying (FSK) has a
higher interferer immunity compared to OOK (On/Off Keying == ASK with 100% modulation index). During the
OFF period of the signal the interferer can be directly seen on the Receive Signal Strength Indicator (RSSI)
voltage. In FSK the signal is always present and the Interferer will be suppressed to a certain extend by the
limiter effect.
1.3
Current Consumption
All protocols are designed with a Wake up Pattern (WUP), SYNC Pattern, Telegram Start Identifier (TSI) and
Payload Data. The most important part to reduce the average current consumption on the receiver side is the
WUP frame, which allows the receiver to perform a polling strategy. Polling means that the TDA523x receiver
changing from active mode (RXRUN Mode) to sleep mode within a specified time period. This polling strategy
allows the receiver to reduce the active time significantly and of course the average current consumption. The
TDA523x receiver is able to handle this polling method by itself (autonomous receiver) and just alerts the
microcontroller by an Interrupt if the appropriate WUP and TSI Pattern were found. This very important feature
of the TDA523x receiver family reduces the overall system current consumption because the microcontroller will
sleep most of the time and is just interrupted if a valid packed was received.
Preliminary Application Note
5
V1.0, 2008-11-01
Protocol Examples
Tools
2
Tools
To get the defined protocols properly running, Infineon provides a toolset which helps the developer to verify his
work and that the receiver is correctly configured. The provided Quick Start guide will give more details and also
the steps to get the below just mentioned tools running. (Download Quick start guide)
2.1
IAF Tool and Protocol Examples
The pre-defined pattern of the protocol examples are all implemented in the so called IAF-Tool (Integrated
Application Framework) which is a GUI describing all registers of the TDA523x receiver in a way that is easy to
understand (Download IAF tool).
For all of the protocol examples described below a workspace and project within the IAF tool is available for
download. (Download Protocol Example Zip File)
The given protocol examples can be used as they are or to ease up your development as starting point for your
customizations.
2.2
Polling Strategy Excel Sheet
The above mentioned polling strategy is also described in an Excel sheet which automatically calculates the
required ON and OFF timings for the given protocol. Infineon also provides this Excel sheet, worked out for all
ISM pattern on our web side. (Download Protocol Example Zip File)
2.3
TDA523x Explorer Software
For working with our evaluation boards, the configurations that are built within the IAF tool can be downloaded
to the receiver by the TDA523x explorer software. (Download TDA523x Explorer Software) This tool provides
also some basic functionality to read out the FIFO or react on the occurrence of an interrupt. (read out FIFO
automatically or read interrupt status register….)
2.4
Download Information
If there should be any problem by using the download links in this document, please go to
www.infineon.com/receiver and download the latest documentation and tools by clicking on the TDA5230 or
TDA5231 download section respectively.
3
10 Steps to get it running
1. Download and Install all above mentioned Software Tools ( IAF-Tool and Explorer Tool )
2. Download and Unzip the Protocol_Example_vx.x.zip to your preferred location on your hard or network
drive.
3. Connect the TDA523x Eval Board via USB to the PC or Notebook.
4. Within the specified Protocol folders the following files are of importance:
a. Protocol_name.davws Æ
IAF Workspace file
b. Protocol_name.xls
Æ
Polling Strategy Excel Sheet
c. Protocol_name.txt
Æ
Configuration File (output of IAF Tool)
Preliminary Application Note
6
V1.0, 2008-11-01
Protocol Examples
10 Steps to get it running
Figure 1
Folder content of 10k EU Pattern
5. Open the TDA523x Explorer Software and download the Configuration File to the Eval Board via the File
and Configure Buttons.
Figure 2
Explorer Tool: Configuration Window
6. Connect the 50 Ohm Antenna to the Eval Board
7. Implement the described Protocol Example into a RF transmitter.
8. Switch to the Run Tab within the Explorer tool.
Preliminary Application Note
7
V1.0, 2008-11-01
Protocol Examples
Detailed Description of Protocol Examples
Figure 3
Explorer Tool: Run Window
9. Trigger the RF transmitter to send out the protocol.
10. The payload of the transmitted data will be depicted in the SPI Log window of the Explorer Tool.
4
Detailed Description of Protocol Examples
4.1
5kBit ASK USA Pattern
Figure 4
5k Bit ASK USA Pattern
Modulation:
Data Rate:
Coding:
WUP Data:
SYNC Data:
TSI Data:
Payload:
ASK
5kBit
Manchester
100Bit all 0
6 Bit Æ all 0
14 Bit Æ 00110011110100
10 Byte data (could be modified for different applications)
Main target:
RX sensitivity:
Average RX current of TDA523x:
FCC Duty Cycle factor for TX:
Preliminary Application Note
fast data transfer
-106.7 dBm
1.17 mA
20 dB
8
V1.0, 2008-11-01
Protocol Examples
Detailed Description of Protocol Examples
4.2
5kBit FSK EU Pattern
5kBit FSK EU
100 Bit WUP
TSI
20 ms
Figure 5
80 Bit Data
20 ms
5kBit FSK EU Patter
Modulation:
Data Rate:
FSK Deviation:
Coding:
WUP Data:
SYNC Data:
TSI Data:
Payload:
FSK
5kBit
35kHz
Manchester
100Bit all 0
6 Bit Æ all 0
14 Bit Æ 00110011110100
10 Byte data (could be modified for different applications)
Main target:
RX sensitivity:
Average RX current of TDA523x:
If used in US FCC DC factor:
4.3
fast data transfer, higher immunity against jammer
-107.6 dBm
1.22 mA
7.9 dB
10kBit FSK USA Pattern
10kBit FSK USA
144 Bit WUP
TSI 128 Bit Data
14.4 ms
Figure 6
85.6 ms
14.4 ms
10kBit FSK USA Pattern
Modulation:
Data Rate:
FSK Deviation:
Coding:
WUP Data:
SYNC Data:
TSI Data:
Payload:
FSK
10kBit
50kHz
Manchester
144Bit all 0
6 Bit Æ all 0
10 Bit Æ 0011110100
16 Byte data (could be modified for different applications)
Main target:
RX sensitivity:
Average RX current of TDA523x:
FCC Duty Cycle factor for TX:
Preliminary Application Note
fast data transfer, higher immunity against jammer
-106.3 dBm
1.02 mA
16.8 dB
9
V1.0, 2008-11-01
Protocol Examples
Detailed Description of Protocol Examples
4.4
10kBit FSK EU Pattern
Figure 7
10kBit FSK EU Pattern
Modulation:
Data Rate:
FSK Deviation:
Coding:
WUP Data:
SYNC Data:
TSI Data:
Payload:
FSK
10kBit
50kHz
Manchester
200Bit all 0
6 Bit Æ all 0
10 Bit Æ 0011110100
16 Byte data (could be modified for different applications)
Main target:
RX sensitivity:
Average RX current of TDA523x:
FCC Duty Cycle factor for TX:
fast data transfer, higher immunity against Jammer
-106.3 dBm
0.71 mA
9.2 dB
4.5
10kBit FSK Multi-Channel Pattern
Figure 8
10kBit FSK Multi-Channel Protocoll
Modulation:
Data Rate:
Channel frequency
FSK Deviation:
Coding:
WUP Data:
SYNC Data:
TSI Data:
Payload:
FSK
10kBit
433.589 MHz
434.251 MHz
50kHz
Manchester
104Bit all 0
6 Bit Æ all 0
10 Bit Æ 0011110100
10 Byte data (could be modified for different applications)
Main target:
RX sensitivity:
Average RX current of TDA523x:
FCC Duty Cycle factor for TX:
fast data transfer, Jammer immunity
-106.3 dBm
1.93 mA
13.9 dB
Ch1:
Ch2:
Preliminary Application Note
10
V1.0, 2008-11-01
http://www.infineon.com
Published by Infineon Technologies AG