PMA71xx / PMA51xx. Application Note. Sense & Control. SmartLEWIS TM MCU
|
|
|
- Magnus Mitchell
- 10 years ago
- Views:
Transcription
1 SmartLEWIS TM MCU RF Transmitter FSK/ASK 315/434/868/915 MHz Embedded 8051 Microcontroller with 10 bit ADC Embedded 125 khz ASK LF Receiver Application Note Revision 1.2, Sense & Control
2 Edition Published by Infineon Technologies AG Munich, Germany 2010 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 ( 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.
3 Table of Contents Table of Contents Table of Contents List of Figures Introduction File structure Header files Reg_PMA71xx_PMA51xx.h PMA71xx_PMA51xx_Library.h defines.h RF_Functions.h Misc_Functions.h Source files STARTUP_PMA71xx_PMA51xx.A InitEEPROM.A main.c Misc_Functions.c Check_SampleArray() Calc_RCode() ProcessButtonPress() XTEA_encipher() RF_Functions.c RFInit() RFTransmit() TransmitCmdFrame_AES() TransmitCmdFrame_XTEA() Function Library file (PMA71xx_PMA51xx_Library.lib) Program flow Initialization of the emulated EEPROM Port Sampling RF-Protocol Payload for AES Framing Payload for XTEA Framing Nibble swapping Flexible Software Reset configuration Software configuration and GPIO / button assignments References Application Note 3 Revision 1.2,
4 Revision History: , Revision 1.2 Previous Revision: 1.1 Page Subjects (major changes since last revision) 6 Path of source code download changed 6, 8 Unique ID can be used as PMA unique ID or customer defined unique ID 12 Error in figure 3 corrected: 0..button pressed, 1..button released General description as wireless remote control application, not only RKE 1,8-17 Description of configurable software by long button presses Trademarks of Infineon Technologies AG ABM, BlueMoon, CONVERGATE, COSIC, C166, FALC, GEMINAX, GOLDMOS, ISAC, OMNITUNE, OMNIVIA, PROSOC, SEROCCO, SICOFI, SIEGET, SMARTi, SmartLEWIS, SMINT, SOCRATES, VINAX, VINETIC, VOIPRO, X-GOLD, XMM, X-PMU, XWAY Other Trademarks Microsoft, Visio, Windows, Windows Vista, Visual Studio, Win32 of Microsoft Corporation. Linux of Linus Torvalds. FrameMaker, Adobe Reader, Adobe Audition 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, MIPS32, 24KEc of MIPS Technologies, Inc. Texas Instruments, PowerPAD, C62x, C55x, VLYNQ, Telogy Software, TMS320C62x, Code Composer Studio, SSI of Texas Instruments Incorporated. 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. ISO of the International Organization for Standardization. IEC of the International Engineering Consortium. EMV of EMVCo, LLC. Zetex of Zetex Semiconductors. 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. OmniVision of OmniVision Technologies, Inc. Sharp of Sharp Corporation. Symbian OS of Symbian Software Ltd. Openwave of Openwave Systems, Inc. Maxim of Maxim Integrated Products, Inc. Spansion of Spansion LLC. Micron, CellularRAM of Micron Technology, Inc. RFMD of RF Micro Devices, Inc. EPCOS of EPCOS AG. UNIX of The Open Group. Tektronix of Tektronix, Inc. Intel of Intel Corporation. Qimonda of Qimonda AG. 1GOneNAND of Samsung Corporation. HyperTerminal of Hilgraeve, Inc. MATLAB of The MathWorks, Inc. Red Hat of Red Hat, Inc. Palladium of Cadence Design Systems, Inc. SIRIUS Satellite Radio of SIRIUS Satellite Radio Inc. TOKO of TOKO Inc., KEIL The information in this document is subject to change without notice. Last Trademarks Update Application Note 4 Revision 1.2,
5 List of Figures List of Figures Figure 1 File Structure of Figure 2 Program flow of the Figure 3 Timing of button press and Interval Timer Figure 4 Port sampling during emulated EEPROM write access Figure 5 RF-Frame with AES encrypted payload Figure 6 RF-Frame with XTEA encrypted payload Figure 7 Nibble swapping according to the LSB of the rolling code Application Note 5 Revision 1.2,
6 Introduction 1 Introduction The shows a possible software solution for wireless remote control applications like Remote Keyless Entry (RKE) or Home Automation using PMA51xx or PMA71xx. The available software example files include inline documentation and are developed to enable an easy software development start and fast time to market. The software example files can be downloaded from The installer for the source code of the is called PMAfob_DEMO_Tx_Sources_Vx.y.msi. The installer is included in the following download packages: PMAfob - Software Example PMAfob - RKE Demo Software PMAfob - Home Automation Demo Software Furthermore more documentation of the source code done with doxygen is also included in the download package and can be displayed with a standard browser by opening file./pmafobsoftwareexample/html/index.html after running PMAfob_DEMO_Tx_Sources_Vx.y.msi installer. The software example supports the following features: Five buttons (Handling of five external wake-ups) Button stuck detection Debounce buttons Secure communication AES 1) or XTEA 2) encryption Rolling code generation Battery voltage measurement Energy saving by using Power Down Mode Unique ID (PMA or user defined) Configurable software by longer button presses Change RF Framing Switch encryption ON / OFF and change baudrate Change unique key number (PMA or user defined) This document describes the general file structure, the program flow, the initialization of the emulated EEPROM, the port sampling and the RF-protocol which is used in the. Furthermore the configuration possibilities by longer button presses are illustrated. This document is compatible with source code revision 1.1 (PMAfob_DEMO_Tx_Sources_V1.1.msi). 2 File structure This chapter gives an overview over the file structure of the and describes the functionality implemented in the source files. Figure 1 shows how the files are linked. 1) Advanced Encryption Standard 2) extended Tiny Encryption Algorithm Application Note 6 Revision 1.2,
7 File structure STARTUP_PMA71xx_PMA51xx.A51 CSEG AT 0x4000 LJMP STARTUP RAM FF H 00 H Misc_Functions.h Calc_RCode(); ProcessButtonPress (..); Misc_Functions.c main.c #include Misc _Functions. h #include Reg _PMA51xx.h #include PMA 51xx_Library.h #include "defines.h" void main(void){ } InitEEPROM.A51 CSEG AT 0x5780 DB RC0 DB RC DB RC DB RC FLASH 5880 H 5780 H defines.h #define BIT _PP1 0x01 #define BIT _PP2 0x02 PMA71xx_PMA51xx_Library.h AES128Decrypt(..) AES128Encrypt(..) CalibrateIntervalTimer (..) PMA71xx_PMA51xx_Library.lib #include "PMA51xx_Library. h" #include "defines.h" #include "RF_Functions.h" Calc_RCode(..){ } RF_Functions.h TransmitCmdFrame(..); RFInit(); RF_Functions.c #include "Reg_PMA51xx.h" #include "PMA51xx_Library.h" #include "defines.h" #include "Misc_Functions. h" TransmitCmdFrame(..){ } Reg_PMA71xx_PMA51xx.h sfr RFC = 0xEE; sfr RFD = 0x8E; sfr RFENC = 0xE7; Figure 1 File Structure of 2.1 Header files In the header files the interfaces to different modules are defined Reg_PMA71xx_PMA51xx.h This is the register definition file for PMA71xx / PMA51xx. Here all SFRs (Special Function Registers) of PMA71xx / PMA51xx are defined. This file has to be added to the project if direct SFR access is needed PMA71xx_PMA51xx_Library.h PMA71xx_PMA51xx_Library.h is the interface to the PMA71xx / PMA51xx Function Library. The prototypes of the Function Library and some declarations for the RF-Transmission are defined here. This file has to be added to the project together with PMA71xx_PMA51xx_Library.lib if the PMA71xx / PMA51xx Function Library is intended to be used. All Functions of the Function Library are described in detail in [1] defines.h Defines.h includes bit definitions to increase the readability of the code. The enumeration types Encryption_Type, Encryption_Status and eunique_key_nr are also defined here. The struct ActualButtonPresses_s is used to identify the pressed button and count the actual button press duration. Application Note 7 Revision 1.2,
8 File structure RF_Functions.h The interface to functions TransmitCmdFrame_AES() and TransmitCmdFrame_XTEA() is defined in RF_Functions.h Misc_Functions.h The interface to functions Calc_RCode(), ProcessButtonPress() and XTEA_encipher() is defined in Misc_Functions.h. 2.2 Source files The source files include the implementation of the start up file, the EEPROM initialization file, the functions used for button press detection, rolling code generation, RF framing and transmission STARTUP_PMA71xx_PMA51xx.A51 This file is a modified copy of the standard 8051 startup file STARTUP.A51 delivered from KEIL TM. It has to be added to the project. If not, the standard STARTUP.A51 is included by the linker. If PMA71xx / PMA51xx starts up from reset the whole idata memory 00 H - FF H is initialized to 00 H. The lower idata memory 00 H - 7F H can be powered during Power Down or Thermal Shutdown Mode by setting SFR bit CFG2.4 [PDLMB] to zero. If the PMA71xx / PMA51xx wakes up from Power Down or Thermal Shutdown State bit PDLMB is checked. If the lower idata memory is powered during Power Down or Thermal Shutdown State only the higher idata memory block 80 H - FF H, otherwise the whole idata memory 00 H - FF H, is initialized to 00 H. Finally the stack pointer is set and a ljmp to main() is executed InitEEPROM.A51 The location of the rolling code start value in the FLASH is defined in this file. When the program is loaded down to the device the rolling code is written to FLASH User Data Sector I main.c This file includes the main() function of the and is executed after STARTUP_PMA71xx_PMA51xx.A51. The following global variables are used to change the RF-Frame, the encryption, and the unique key number by a long button press: My_Encryption_Type: AES or XTEA framing can be used. The RF-Frames are defined in Chapter 6. My_Encryption_Status: AES or XTEA (depends on My_Encryption_Type) encryption can be switched on/off. My_Unique_Key_Nr: 4 byte of PMA unique ID or user defined unique ID can be used. The user defined unique ID is set with #define USER_KEY_NR in defines.h. The xdata variables are also defined globally. In the main() function the wake-up bit DSR.1 [WUP] is checked to decide whether the device starts up from reset or with a wake-up event from Power Down Mode. In case of a reset, PP1-PP4 and PP6 are configured to be used as the external wake-ups. Therefore the port direction is set to input, the internal pull-up resistors and the external wake-ups WU0-WU4 are enabled (unmasked). PP8 is also set to input and the pull-up resistor for PP8 is enabled. PP8 is used to check if the port sampling feature has been used (when one sector of the emulated EEPROM has been erased). Finally some variables are initialized and the Interval Timer is set to the maximal wake-up interval of about 524 s. In the wake-up routine the Watchdog Timer is handled. External wake-ups in combination with the Interval Timer wake-up are used to debounce the buttons, detect button presses and button stuck. Application Note 8 Revision 1.2,
9 File structure Misc_Functions.c The functions Check_SampleArray(), Calc_RCode(), ProcessButtonPress() and XTEA_encipher() are implemented within this file. A description of the functionality of each function can be found below Check_SampleArray() Check_SampleArray() is a basic implementation of checking the sample array which is used to monitor the ports while the EEPROM write function in Calc_RCode() is executed. The WU ports are sampled on every 4th write access. PP8 is used to check if the ports were sampled. If the Ports were sampled, the sample array is 1 B on the position of PP8, due to the internal pull-up resistor, otherwise it is 0 B Calc_RCode() The previous rolling code is loaded from the emulated EEPROM. According to the setting of the global variable My_Encryption_Type in file main.c the new rolling code is calculated. If AES Framing has been choosen the previous rolling code is multiplied with a constant long (32 bit) value. Then a constant int (16 bit) value is added. If XTEA Framing has been choosen the rolling code is implemented as a simple 32 bit up-counter. Therefore the previous rolling code is incremented by 1. The result, the actual rolling code, is stored to the emulated EEPROM. While the EEPROM write function is executed the ports are monitored to be able to detect a button pressed in between ProcessButtonPress() When a button is pressed the button ID is stored in the battery buffered xdata. ProcessButtonPress() checks if the ID of the pressed button is equal to the ID stored in the xdata (button has been pressed before) and increments a counter. If this counter reaches a predefined value TransmitCmdFrame_AES() or TransmitCmdFrame_XTEA() is called and the button ID is set to zero, so the counter is not increased by a stuck button. Within TransmitCmdFrame_AES() or TransmitCmdFrame_XTEA() a new rolling code is calculated by Calc_RCode(). If a button press has been detected during Calc_RCode() a new rolling code is calculated and the appropriate RF- Frame is sent XTEA_encipher() The algorithm for encrypting data with XTEA is a public domain implementation by David Wheeler and Roger Needham. It is implemented in C and not optimized for 8051 microcontrollers up to now. 32 rounds are used for encryption RF_Functions.c The functions of RFInit(), RFTransmit(), TransmitCmdFrame_AES() and TransmitCmdFrame_XTEA() are implemented in RF_Functions.c RFInit() First of all a variable of the struct RF_Config, see PMA71xx_PMA51xx_Library.h, is defined and initialized. Then the Library function InitRF() is called to set the appropriate values to all SFRs needed for the RF-Transmission. A detailed description of each element of the struct RF_Config can be found in [1] RFTransmit() This function is used to generate the RF-Framing which is required by the TDA523x receiver. The RF-Frame is described in detail in Chapter 6. Application Note 9 Revision 1.2,
10 Program flow TransmitCmdFrame_AES() The payload of the RF-Frame is generated within this function. The structure of this payload can be found in Chapter 6.1. A part of the payload is the rolling code and the battery voltage, which is measured using the Library Function MeasureSupplyVoltage(). The whole 128 bit payload can be encrypted with AES and embedded into the RF-Frame TransmitCmdFrame_XTEA() The payload of the RF-Frame is generated within this function. The structure of this payload can be found in Chapter 6.2. A part of the payload is the rolling code and the battery voltage, which is measured using the Library Function MeasureSupplyVoltage(). According to the LSB of the rolling code the nibbles of some bytes of the payload are swapped if the RF-Frame is encrypted which is shown in Chapter bit of the 88 bit payload can be encrypted with XTEA and embedded into the RF-Frame. 2.3 Function Library file (PMA71xx_PMA51xx_Library.lib) This is the Function Library where all functions, defined in PMA71xx_PMA51xx_Library.h, are implemented. All functions of the Function Library are described in detail in [1]. 3 Program flow Figure 2 on Page 11 shows the program flow of the. The device starts program execution within the startup file. After RAM initialization the wake-up flag in SFR DSR.1 [WUP] is checked to decide whether the device starts up from a reset or because of a wake-up event. If PMA71xx / PMA51xx starts up from reset PP1-PP4 and PP6 (WU0-WU4) are configured as external wake-up pins. Therefore the port direction must be set to input and the internal pull-up resistors must be activated (assumed that a pressed button generates a LOW on the pin). Also PP8 is set to input and its internal pull-up resistor is activated. This is used for analysing the port sampling array. Finally, the Interval Timer is set to the longest possible wake-up interval of about 524 s and the PMA71xx / PMA51xx is set into Power Down Mode to save energy and waits for a wake-up event. If PMA71xx / PMA51xx starts up from Power Down Mode with a wake-up event, the wake-up source is checked. Seven wake-up sources are handled by the. These are the Watchdog Timer, the external wake-ups WU0-WU4 and the Interval Timer. The Watchdog Timer wake-up has the highest priority. If a Watchdog Timer wake-up occurs, a software reset is triggered to ensure that all SFRs have a predefined state. If no Watchdog Timer wake-up preceded, the external wake-ups are checked. When an external wake-up has been detected, the appropriate wake-up source is disabled (masked), a wake-up ID is stored in the xdata and the Interval Timer is set to 50 ms. In the Interval Timer wake-up routine the pins PP1-PP4 and PP6 are checked to detect whether a button is still pressed. If the external wake-up ID previously stored in the xdata is equal to the currently pressed button a counter is increased. If this counter reaches a predefined value, the button is recognized to be pressed. Then a new rolling code is calculated, the battery voltage is measured, the appropriate command is inserted into the RF-Frame, the RF-Frame is encrypted with AES or XTEA, if encryption is switched on, and transmitted. When the new rolling code is written to the EEPROM the ports are sampled for any action. If a button press was detected during writing to the EEPROM, a new rolling code is calculated and the appropriate RF-Frame is sent. For every button which is detected to be unpressed in the Interval Timer wake-up routine the corresponding wake-up is (re-)enabled. If no button is pressed the Interval Timer is set to the longest possible wake-up interval of about 524 s. A Key Stuck is detected by the Interval Timer wake-up routine when a button is pressed for at least 1h and no other button is pressed in between. Some configurations of the software can be changed by a long button press (see Chapter 7). Therefore the Interval Timer is used to check if a button is pressed for a longer time then set by #define SWITCH_DUR (defines.h). Application Note 10 Revision 1.2,
11 Program flow RAM initialization in startup file Initialization of the emulated EEPROM during program download Wake-up Reset or Wake-up Reset Watchdog timer wake-up NO Pin configuration YES Reset PMA51xx External wake-up WU0-WU4 YES Disable wake-up Store wake-up ID in xdata NO NO Interval Timer wake-up YES Any button pressed YES NO Enable external wake-ups Init varibles Set Interval Timer to ~524 s Set Interval Timer to 50 ms Increase button press counter PowerDown() Enable wake-up for every unpressed button Min. button press duration reached YES Calculate new rolling code NO Config switch button press duration reached NO Set Interval Timer to ~524 s Init RF-Tx and transmit encrypted RF- Frame YES Change software configuration NO Max. button press duration reached YES Key stuck detected Set Interval Timer to 500 ms Figure 2 PowerDown() Program flow of the Figure 3 on Page 12 shows the timing of a button press and how the Interval Timer wake-up interval is varied. While no button is pressed the Interval Timer wakes up the PMA71xx / PMA51xx with the longest possible interval of about 524 s to save energy. If a button is pressed an external wake-up is detected and the Interval Timer is set to 50 ms. The Interval Timer wake-up service routine checks if the button is still pressed every 50 ms and sets the device into Power Down Mode between each measurement. This method is used to debounce the buttons. If a button is pressed for at least 150 ms (three button checks in the Interval Timer wake-up service routine resulted in a pressed button) a Button Press is identified and an RF-Transmission is started. The debounce time of 150 ms can be easily changed by modifying the value of BUTTON_PRESS_DUR defined in file defines.h and / or changing the Interval Timer settings. As long as the button is pressed the Interval Timer wakes up every 50 ms to check the button. This is done for at most 1 h. Application Note 11 Revision 1.2,
12 Initialization of the emulated EEPROM For button presses which are longer then 3 sec, the software configuration is changed according to the pressed button (see Chapter 7). The configuration switch time can be easily changed by modifing the value of SWITCH_DUR defined in file defines.h and / or changing the Interval Timer settings. If a button is pressed for about 1 h, and no other button is pressed in between, the button is detected to be stuck and the Interval Timer is set to 500 ms to save energy. If the button is released, and no other button is pressed, the Interval Timer is set to about 524 s again. 1.. Button released 0.. Button pressed 1 0 External wake-up RF-Tx Change configuration Stuck button Button released, no button pressed Interval Timer wake-up ~ 524 s 50 ms ~ 3 s ~ 1h 500 ms ~ 524 s Figure 3 Timing of button press and Interval Timer 4 Initialization of the emulated EEPROM The stores the rolling code in the emulated EEPROM. This is done to be able to keep the rolling code while the PMA71xx / PMA51xx is set into Power Down Mode. But how should the emulated EEPROM be initialized? There are different methods to initialize the PMA71xx / PMA51xx emulated EEPROM: With PMA71xx / PMA51xx Function Library function EEPROM_Init() During program download One approach would be to initialize the emulated EEPROM in the reset rountine by calling the Library function EEPROM_Init(). For a remote control application where a rolling code is used to increase the security level, this method has the major drawback that after a battery replacement a synchronisation between the remote control and the receiver is necessary. The problem is that the rolling code of the remote control is reset, while the rolling code of the receiver remains. The solution for the problem is to initialize the emulated EEPROM, including the rolling code start value, during program download. If the battery is replaced, the rolling code of the PMAfob remains and no synchronisation is necessary. Note: Precausion to initialize the emulated EEPROM, including the rolling code start value, during program download 1. Add InitEEPROM.A51 to the Keil project 2. Ensure that User Data Sector I and II are erased before program download 5 Port Sampling After a button press is detected a new rolling code is calculated and stored into the emulated EEPROM. With every 4th write access to the emulated EEPROM a User Data Sector has to be erased which takes about 102 ms. To be able to detect button presses during this time, it is possible to sample the wake-up ports. The PMAfob Software Example shows how the port sampling feature can be handled. Figure 4 illustrates how the port sampling array looks like and how this array is manipulated. The Library function Wr_EELong(..) is called within Calc_RCode(..). If a User Data Sector is erased during Wr_EELong(..) the wake-up ports are sampled every 5 ms and inserted into the sampling array as shown in Figure 4. The function Check_SampleArray(..) analyses the sampling array and declares whether a button was pressed or not. If a button press is detected, the appropriate RF-Frame is sent. Application Note 12 Revision 1.2,
13 RF-Protocol Calc_RCode(..){ Wr_EELong(..){ ~ 5 ms ~ 5 ms 0 20 PP9 WU7 PP8 WU6 PP7 WU5 PP6 WU4 PP4 WU3 PP3 WU2 PP2 WU1 PP1 WU } } Check_SampleArray(..) Command to transmit Figure 4 Port sampling during emulated EEPROM write access 6 RF-Protocol The is designed to be compatible with TDA523x receivers. Therefore a special RF- Protocol has to be used. The following settings are used for RF-Transmission (set in RFInit(), see RF_Functions.c): Encoding: Manchester Modulation: FSK Baudrate: 9600 bps if encryption is switched on, 4800 bps if encryption is switched off Frequency: 434 MHz The RF-Frame starts with a RUNIN sequence of 8 manchester coded data bits (16 chips) which are used by the TDA523x receiver for internal filter setting and frequency adjustment. Then the 16 chips long TSI (Telegram Start Identifier) follows, which is used to synchronize the frame and detect the exact start of a data frame (payload). To detect the EOM (End of Message) a manchester violation (two 1 B chips) is sent. The payload depends on the setting of the global variable My_Encryption_Type defined in file main.c. 6.1 Payload for AES Framing The AES Framing payload consists of 128 bits and includes the rolling code, a unique key number, a command code, the battery voltage and the total button presses. The whole RF-Frame including the (AES encrypted) payload is shown in Figure 5 on Page 14. Application Note 13 Revision 1.2,
14 RF-Protocol Bits 0 0 Chips 0 1 RUNIN TSI Payload RC UKN CC BV TBP N.U. 4 bytes 4 bytes 1 byte 2 bytes 4 bytes 1 byte EOM 1 1 RUNIN.. Run in sequence (synchronisation) TSI.. Telegram Start Identifier RC.. Rolling Code AES encryption UKN.. Unique Key Number CC.. Command Code BV.. Battery Voltage TBP.. Total Button Presses N.U... Not Used EOM.. End of Message Figure 5 RF-Frame with AES encrypted payload 6.2 Payload for XTEA Framing 64 bits of the 88 bit payload can be encrypted with XTEA. The payload includes the unique key number, the command code, the status information (battery voltage), the rolling code and a CRC checksum. Figure 6 on Page 14 shows the whole RF-Frame including the payload and describes which part of the payload can be encrypted with XTEA. Bits 0 0 Chips 0 1 RUNIN TSI Payload UKN CC SI RC CRC 32 bits 8 bits 8 bits 32 bits 8 bits EOM 1 1 RUNIN.. Run in sequence (synchronisation) TSI.. Telegram Start Identifier UKN.. Unique Key Number CC.. Command Code SI.. Status Information (e.g. Battery voltage) RC.. Rolling Code CRC.. checksum over UKN, CC, SI, RC EOM.. End of Message Figure 6 RF-Frame with XTEA encrypted payload XTEA encryption Application Note 14 Revision 1.2,
15 Flexible Software Nibble swapping To increase security the nibbles of the lower 2 bytes of the unique key number, the command code and the status information byte are swapped according to the LSB of the rolling code if encryption is switched on. If the LSB is 1 B the nibbles are swapped. The nibble swapping is shown in Figure 7 on Page 15. RC[0] == 0 (even: don t swap nibbles ) RUNIN TSI Payload 31:24 23:16 UKN 15:8 7:0 15:12 11:8 7:4 3:0 UN LN UN LN CC SI RC CRC EOM 7:0 7:0 7:4 3:0 7:4 3:0 UN LN UN LN 32 bits 8 bits XTEA encryption RC[0] == 1 (odd: swap nibbles) RUNIN TSI Payload UKN CC SI RC CRC EOM 31:24 23:16 15:8 7:0 7:0 7:0 11:8 15:12 3:0 7:4 3:0 7:4 3:0 7:4 32 bits 8 bits LN UN LN UN LN UN LN UN swap swap swap swap RUNIN.. Run in sequence (synchronisation) TSI.. Telegram Start Identifier UKN.. Unique Key Number CC.. Command Code SI.. Status Information (e.g. Battery voltage) RC.. Rolling Code CRC.. checksum over UKN, CC, SI, RC EOM.. End of Message LN.. Lower Nibble UN.. Upper Nibble XTEA encryption Figure 7 Nibble swapping according to the LSB of the rolling code 7 Flexible Software The software of the can be configured by long button presses without reflashing the device. Therefore one of the GPIOs PP1-PP4 or PP6 has to be connected to GND. 5 buttons (GPIOs) are used to change the RF-Framing, to switch on / off the encryption, to change the datarate and to use 4 byte of the PMA unique ID or the user defined unique ID. The #define SWITCH_DUR (defines.h) is used to set the duration of a button press for configuring the software. The default value of the switch time is about 3 s. The different configurations and the assignments to the PMAfob used in the PMAfob Home Automation and PMAfob RKE Demo are shown in this chapter. Application Note 15 Revision 1.2,
16 Flexible Software 7.1 Reset configuration After reset, e.g. battery replacement, the software configuration is as following: Framing: AES Encryption: ON Unique ID: User defined unique ID (defines.h: #define USER_KEY_NR) Baudrate: 9600 bps 7.2 Software configuration and GPIO / button assignments Table 1 shows the implemented software configurations and the GPIO / button assignments to this configurations. Table 1 Software configuration and GPIO / button assignments PMAfob Button GPIO Software configuration PP1 Switch encryption on / off: AES or XTEA encryption, depends on the selected framing, is switched off or on. The following configurations are changed if encryption is turned on / off: Encryption ON Baudrate: 9600 bps XTEA Framing: XTEA encryption is used, nibble swapping is turned on AES Framing: AES encryption is used Encryption OFF Baudrate: 4800 bps XTEA Framing: XTEA encryption is not used, nibble swapping is turned off AES Framing: AES encryption is not used PP2 Choose AES Framining: The AES Framing as described in Chapter 6.1 is used. Application Note 16 Revision 1.2,
17 Flexible Software Table 1 Software configuration and GPIO / button assignments PMAfob Button GPIO Software configuration PP4 Choose XTEA Framing: The XTEA Framing as described in Chapter 6.2 is used. PP3 Choose user defined unique id: The user defined unique id (defines.h: #define USER_KEY_NR) is used as unique key number. PP6 Choose PMA unique id: 4 bytes of the PMA unique id are used as unique key number. Application Note 17 Revision 1.2,
18 References References [1] PMA51xx Function Library Guide Application Note 18 Revision 1.2,
19 Published by Infineon Technologies AG
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
SLE 66R01L Intelligent 512 bit EEPROM with Contactless Interface compliant to ISO/IEC 14443 Type A and support of NFC Forum Type 2 Tag Operation
Intelligent 512 bit EEPROM with Contactless Interface compliant to ISO/IEC 14443 Type A and support of NFC Forum Type 2 Tag Operation Short Product Information 2010-05-10 Chip Card & Security Edition 2010-05-10
About this document. 32-bit Microcontroller Series for Industrial Applications AP32301. Application Note
XMC4000 32-bit Microcontroller Series for Industrial Applications D igital to Analog Converter (DAC) About this document Scope and purpose This document describes the features of the DAC peripheral and
PMAfob Home Automation Demo
PMAfob Home Automation Demo User Guide V1.1 October 20 th, 2010 PMAfob Home Automation Demo User Guide Overview PMAfob Software PMAfob Hardware Receiver Software Receiver Hardware Setup of the PMAfob Home
Power Management & Multimarket
TVS Diodes Transient Voltage Suppressor Diodes TVS3V3L4U Low Capacitance ESD / Transient / Surge Protection Array TVS3V3L4U Data Sheet Revision 2.4, 213-2-6 Final Power Management & Multimarket Edition
Scope and purpose This document provides hints for using the RGB LED Lighting Shield to drive and control LED strip lights.
XMC1000 32-bit Microcontroller Series for Industrial Applications D riving LED Strips with the RGB LED Lighting Shield Application Note About this document Scope and purpose This document provides hints
Microcontroller Series for Industrial Applications
XMC4000 Microcontroller Series for Industrial Applications Power Management Bus ( PMBus) Host with XMC4000 Application Guide V1.1 2014-03 Microcontrollers Edition 2014-03 Published by Infineon Technologies
Anti-Tampering Solution for E-Meter Application
TLV493D Application Note Revision 1.0 2015-07-24 Sense & Control Table of Contents 1 Introduction..................................................................... 3 2.................................................................
AURIX, TriCore, XC2000, XE166, XC800 Families DAP Connector
AURIX, TriCore, XC2000, XE166, XC800 Families DAP Connector Application Note V1.4, 2014-05 Microcontrollers Edition 2014-05 Published by Infineon Technologies AG 81726 Munich, Germany 2014 Infineon Technologies
Power Management & Multimarket
Protection Device TVS (Transient Voltage Suppressor) ESD231-B1-W0201 Bi-directional, 5.5 V, 3.5 pf, 0201, RoHS and Halogen Free compliant ESD231-B1-W0201 Data Sheet Revision 1.1, 2015-10-02 Final Power
About this document. Table of Contents. Application Note
650V Rapid Diode for Industrial Applications Application Note About this document Scope and purpose This document introduces the Rapid Diodes, high voltage hyperfast silicon diodes from Infineon. Based
TLE7368 Pre-regulator Filters Dimensioning
Multi Voltage Power Supply System Application Note Rev. 1.01, 2015-09-22 Automotive Power Table of Contents Table of Contents................................................................. 2 1 Abstract.........................................................................
Power Management & Multimarket
TVS Diodes Transient Voltage Suppressor Diodes ESD15-B1-2 Series Low Capacitance & Low Clamping Bi-directional ESD / Transient Protection Diodes ESD15-B1-2ELS ESD15-B1-2EL Data Sheet Revision 1., 213-12-12
DALI Control Gear Software Stack
XC800 Family DALI Control Gear Software Stack Application Note V1.3, 2012-10 Microcontrollers Edition 2012-10 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies AG All
High Precision Hall Effect Latch for Consumer Applications
High Precision Hall Effect Latch for Consumer Applications Hall Effect Latch TLV4961-1T TLV4961-1TA TLV4961-1TB TLV4961-1T Data Sheet Revision 1.0, 2015-05-19 Sense & Control Table of Contents 1 Product
For XMC1000 Family CPU-13A-V1. XMC1300 CPU Card. Board User's Manual. Revision 2.0, 2013-12-18. Microcontroller
For XMC1000 Family CPU-13A-V1 Board User's Manual Revision 2.0, 2013-12-18 Microcontroller Edition 2013-12-18 Published by Infineon Technologies AG 81726 Munich, Germany 2013 Infineon Technologies AG All
Security & Chip Card ICs SLE 44R35S / Mifare
Security & Chip Card ICs SLE 44R35S / Mifare Intelligent 1 Kbyte EEPROM with Interface for Contactless Transmission, Security Logic and Anticollision according to the MIFARE -System Short Product Info
Power Management & Multimarket
TVS Diodes Transient Voltage Suppressor Diodes ESD3V3U4ULC Ultra-low Capacitance ESD / Transient Protection Array ESD3V3U4ULC Data Sheet Rev. 1.6, 2013-02-20 Final Power Management & Multimarket Edition
Power Management & Multimarket
TVS Diodes Transient Voltage Suppressor Diodes ESD0P2RF Series Bi-directional Ultra-low Capacitance ESD / Transient Protection Diode ESD0P2RF-02LS ESD0P2RF-02LRH Data Sheet Rev. 1.2, 2012-10-01 Final Power
Field Software Updates Using TPMS LF An example using the Low Frequency radio (LFR) for wireless software updating
Freescale Semiconductor Document Number: AN5149 Application Note Rev. 1.0, 8/2015 Field Software Updates Using TPMS LF An example using the Low Frequency radio (LFR) for wireless software updating 1 Introduction
Analog Barometric Air Pressure Sensor IC. Analog Absolute Pressure Sensor. Revision 1.0, 2010-06-21
BAP Analog Barometric Air Pressure Sensor IC KP234 Data Sheet Revision 1.0, 2010-06-21 Sense & Control Edition 2010-06-21 Published by Infineon Technologies AG 81726 Munich, Germany 2010 Infineon Technologies
Evaluation Kit. 3D Magnetic Sensor 2 Go Kit. User s Manual. for 3D Magnetic Sensor TLV493D-A1B6. Rev. 1.1 2016-01. Sense & Control
for 3D Magnetic Sensor TLV493D-A1B6 3D Magnetic Sensor 2 Go Kit User s Manual Rev. 1.1 2016-01 Sense & Control Table of Contents 1 Introduction...................................................................
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
Colour LED Card. inlight_rgb_v3. Board User's Manual. Microcontroller. For XMC1000 Family. Colour LED Card. Revision 1.
For XMC1000 Family inlight_rgb_v3 Board User's Manual Revision 1.0, 2013-03-08 Microcontroller Edition 2013-03-08 Published by Infineon Technologies AG 81726 Munich, Germany 2013 Infineon Technologies
BGA725L6. Data Sheet. RF & Protection Devices
Silicon Germanium Low Noise Amplifier for Global Navigation Satellite Systems (GNSS) in ultra small package with 0.77mm² footprint Data Sheet Revision 2.0, 2012-03-09 Preliminary RF & Protection Devices
Chip Card & Security ICs Mifare NRG SLE 66R35
Chip Card & Security ICs Mifare NRG Intelligent 1 Kbyte Memory Chip with Interface for Contactless Transmission according to the Mifare -System Short Product Information April 2007 Short Product Information
Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC Americas
Freescale Semiconductor User s Guide VKSPTXUG Rev. 0, 06/2008 Freescale Variable Key Security Protocol Transmitter User s Guide by: Ioseph Martínez and Christian Michel Applications Engineering - RTAC
TriCore AURIX Family. PCB design Guidelines. Application Note. 32-bit (TC23x, TC22x) AP32261 V1.2 2015-10
TriCore AURIX Family 32-bit (TC23x, TC22x) PCB design Guidelines Application Note V1.2 2015-10 Microcontrollers Edition 2015-10 Published by Infineon Technologies AG, 81726 Munich, Germany. 2015 Infineon
XC83x AP08130. Application Note. Microcontrollers. intouch Application Kit - LED Matrix Display V1.0, 2012-02
XC83x AP08130 Application te V1.0, 2012-02 Microcontrollers Edition 2012-02 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER
Hardware and Software Requirements
C Compiler Real-Time OS Simulator Training Evaluation Boards Installing and Using the Keil Monitor-51 Application Note 152 May 31, 2000, Munich, Germany by Keil Support, Keil Elektronik GmbH [email protected]
Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht ([email protected]) V0.1draft
Application Report Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht ([email protected]) V0.1draft Embedded RF ABSTRACT This application report describes
ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information
Rev. 1.1 8 August 2012 Errata sheet Document information Info Keywords Abstract Content LPC4357FET256; LPC4357FET180; LPC4357FBD208; LPC4353FET256; LPC4353FET180; LPC4353FBD208; LPC4337FET256; LPC4337FET180;
8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
For XMC4000 Family. Standard Human Machine Interface Card. Board User s Manual. Revision 1.0, 2012-02-28
Hexagon Application Kit For XMC4000 Family HMI_OLED-V1 Board User s Manual Revision 1.0, 2012-02-28 Microcontroller Edition 2012-02-28 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon
BGB707L7ESD. Data Sheet. RF & Protection Devices. Wideband MMIC LNA with Integrated ESD Protection. Revision 3.3, 2012-11-09
Wideband MMIC LNA with Integrated ESD Protection Data Sheet Revision 3.3, 2012-11-09 RF & Protection Devices Edition 2012-11-09 Published by Infineon Technologies AG 81726 Munich, Germany 2013 Infineon
BFP740ESD. Data Sheet. RF & Protection Devices. Robust Low Noise Silicon Germanium Bipolar RF Transistor. Revision 1.1, 2012-10-08
Robust Low Noise Silicon Germanium Bipolar RF Transistor Data Sheet Revision 1.1, 2012-10-08 RF & Protection Devices Edition 2012-10-08 Published by Infineon Technologies AG 81726 Munich, Germany 2013
EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit
EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit EDK 350 User Manual Important Notes This information describes the type of component and shall not be considered as assured characteristics. No
Software User Guide UG-461
Software User Guide UG-461 One Technology Way P.O. Box 9106 Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 Fax: 781.461.3113 www.analog.com ezlinx icoupler Isolated Interface Development Environment
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual
USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on
8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA
Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port
RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available
RDF1 RF Receiver Decoder Features Complete FM Receiver and Decoder. Small Form Factor Range up to 200 Metres* Easy Learn Transmitter Feature. Learns 40 transmitter Switches 4 Digital and 1 Serial Data
2.0 System Description
2.0 System Description The wireless alarm system consists of two or more alarm units within a specified range of one another. Each alarm unit employs a radio transceiver, allowing it to communicate with
Dolphin In-Circuit programming Updating Firmware in the field
Dolphin In-Circuit programming Updating Firmware in the field 1 Introduction In systems e.g. gateways, where an external microcontroller is connected to a Dolphin based product like a TCM300 it might be
ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction
Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the
SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
AN3265 Application note
Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time
Revision: Rev. 1.0 2013-12-02
Using BGT24MTR11 in Low Power Applications 24 GHz Radar Application Note AN341 Revision: Rev. 1.0 RF and Protection Devices Edition Published by Infineon Technologies AG 81726 Munich, Germany 2013 Infineon
Freescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding
National CR16C Family On-Chip Emulation. Contents. Technical Notes V9.11.75
_ V9.11.75 Technical Notes National CR16C Family On-Chip Emulation Contents Contents... 1 1 Introduction... 2 2 Emulation options... 3 2.1 Hardware Options... 3 2.2 Initialization Sequence... 4 2.3 JTAG
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
MAX6683 Evaluation System/Evaluation Kit
19-2343; Rev 1; 3/07 MAX6683 Evaluation System/Evaluation Kit General Description The MAX6683 evaluation system (EV system) consists of a MAX6683 evaluation kit (EV kit) and a companion Maxim CMODUSB board.
Revision: Rev. 1.0 2010-07-12
BFP740ESD ESD-Hardened SiGe:C Ultra Low Noise RF Transistor with 2kV ESD Rating in 5 6GHz LNA Application. 15dB Gain, 1.3dB Noise Figure & < 100ns Turn-On / Turn-Off Time For 802.11a & 802.11n MIMO Wireless
Local Interconnect Network Training. Local Interconnect Network Training. Overview
Overview Local Interconnect Network Training History and introduction Technical features The ISO/OSI reference model and LIN Frames Message Frames Communication concept of LIN Command Frames and Extended
Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ
nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows
Remote Controls Radio Frequency or Infrared... 1. Content. Whitepaper by Martin Gotschlich, Infineon Technologies AG, 2010
Remote Controls Radio Frequency or Infrared Whitepaper by Martin Gotschlich, Infineon Technologies AG, 2010 Content Remote Controls Radio Frequency or Infrared... 1 Introduction... 2 Joint Aspects of IR
Python for Series 60 Platform
F O R U M N O K I A Getting Started with Python for Series 60 Platform Version 1.2; September 28, 2005 Python for Series 60 Platform Copyright 2005 Nokia Corporation. All rights reserved. Nokia and Nokia
TLI4946. Datasheet TLI4946K, TLI4946-2K, TLI4946-2L. Sense and Control. May 2009
May 2009 TLI4946 High Precision Hall Effect Latches for Industrial and Consumer Applications TLI4946K, TLI4946-2K, TLI4946-2L Datasheet Rev. 1.0 Sense and Control Edition 2009-05-04 Published by Infineon
M68EVB908QL4 Development Board for Motorola MC68HC908QL4
M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: [email protected] Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3
Part Number Description Packages available
Features 3 digital I/O Serial Data output Connects directly to RF Modules Easy Enc / Dec Pairing Function Minimal External Components Required Performs all encoding/decoding of data for Reliable Operation.
Guide to using the DALI LightNet tool
XC800 Family Guide to using the DALI LightNet tool Application Note V1.4, 2012-10 Microcontrollers Edition 2012-10 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies
Computer and Set of Robots
Lesson 11:DESIGN PROCESS EXAMPLES Mobile-Phone, Mobile- Computer and Set of Robots 1 Mobile Phone 2 Mobile phone SoC (System-on-Chip) Hardware units Microcontroller or ASIP (Application Specific Instruction
Axivion Bauhaus Suite Technical Factsheet
Axivion Bauhaus Suite Technical Factsheet Inhalt 1 Integrated Solution for Stopping Software Erosion... 2 1.1 Build Process Integration... 2 1.2 Continuous Integration... 2 1.3 Web-Dashboard... 2 1.4 Clone
Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A
Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface
DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS
DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS Copyright Notice The use and copying of this product is subject to a license agreement. Any other use is prohibited. No part of this publication
How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player
Watt Saver for a Cell Phone AC Adapter Reference Design Document Number: DRM130 Rev 1, 10/2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5
MF1 IC S50. 1. General description. Functional specification. 1.1 Contactless Energy and Data Transfer. 1.2 Anticollision. Energy
Rev. 5.2 15 January 2007 Product data sheet 001052 PUBLIC 1. General description NXP has developed the Mifare to be used in contactess smart cards according to ISO/IEC 14443A. The communication layer (
AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor. http://onsemi.
Design Examples of On Board Dual Supply Voltage Logic Translators Prepared by: Jim Lepkowski ON Semiconductor Introduction Logic translators can be used to connect ICs together that are located on the
TLV493D-A1B6 3D Magnetic Sensor
Low Power with I 2 C Interface TLV493D-A1B6 Data Sheet Rev. 1.0, 2016-01-29 Sense & Control Table of Contents 1 Product Description.............................................................. 5 1.1 Target
PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section
PRELIMINARY DS2434 Battery Identification Chip FEATURES Provides unique ID number to battery packs PACKAGE OUTLINE Eliminates thermistors by sensing battery temperature on chip DALLAS DS2434 1 2 3 256
Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light
Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light In this issue, we would like to present the EnOcean radio sensor module STM 110 in more detail. The module
User Manual. AS-Interface Programmer
AS-Interface Programmer Notice: RESTRICTIONS THE ZMD AS-INTERFACE PROGRAMMER HARDWARE AND ZMD AS-INTERFACE PROGRAMMER SOFTWARE IS DESIGNED FOR IC EVALUATION, LABORATORY SETUP AND MODULE DEVELOPMENT ONLY.
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual
MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual Version: 1.0.1 Dec. 2005 Table of Contents I. Introduction 2 II. Operations 2 II.1. Theory of Operation 2 II.2. Configuration (PC-PC
EiceDRIVER. High voltage gate driver IC. Application Note. Revision 1.0, 2013-07-26
EiceDRIVER High voltage gate driver IC Evaluation Board Application Note EVAL_1ED020I12-B2 Application Note Revision 1.0, 2013-07-26 Infineon Technologies AG Edition 2013-07-26 Published by Infineon Technologies
DAP miniwiggler V3. Application Note. Microcontrollers AP56004 V1.0 2013-07
DAP miniwiggler V3 Application Note V1.0 2013-07 Microcontrollers Edition 2013-07 Published by Infineon Technologies AG 81726 Munich, Germany 2013 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER
Z-Wave Gas Reader. Product Manual NQ-9121-EU. From your Z-wave network directly to the cloud! DESCRIPTION
Product Manual NQ-9121-EU Z-Wave Gas Reader From your Z-wave network directly to the cloud! DESCRIPTION The NorthQ Gas Reader is a small device based on the Z-Wave wireless standard-ideal for home automation.
Date Rev. Details Author
Jtech engineering ltd J - Te c h E n g i n e e ring, L t d. 11080 Bond Boulevard Delta BC V4E 1M7 Canada Tel: 604 543 6272 Fax: 604 543 6476 http://www.jtecheng.com AUTODIALER USER S MANUAL REVISION HISTORY
FLYPORT Wi-Fi 802.11G
FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB
AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.
SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES 1. Introduction C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management
Bluetooth for device discovery. Networking Guide
Bluetooth for device discovery Networking Guide Index Document Version: v4.4-11/2014 Libelium Comunicaciones Distribuidas S.L. INDEX 1. Introduction... 3 1.1. General description...3 2. Hardware... 5 2.1.
Lab 1 Course Guideline and Review
Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller
RVDS 3.x with Eclipse IDE
RVDS 3.x with Eclipse IDE Title Keywords Abstract Integrated Development Environment Eclipse and RVDS Eclipse, RVDS This is a guide for setting up RVDS development environment on the basis of Eclipse IDE.
APPLICATION NOTE. AVR2130: Lightweight Mesh Developer Guide. Atmel MCU Wireless. Features. Description
APPLICATION NOTE AVR2130: Lightweight Mesh Developer Guide Atmel MCU Wireless Features Atmel Lightweight Mesh stack specification and APIs Lightweight Mesh Software Development Kit (SDK) Description This
AN10866 LPC1700 secondary USB bootloader
Rev. 2 21 September 2010 Application note Document information Info Content Keywords LPC1700, Secondary USB Bootloader, ISP, IAP Abstract This application note describes how to add a custom secondary USB
Software Real Time Clock Implementation on MC9S08LG32
Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32
Interfacing an HTML Form to the ez80f91 MCU
Application Note Interfacing an HTML Form to the ez80f91 MCU AN020803-0708 Abstract This application note demonstrates how to use Zilog s ez80f91 microcontroller unit (MCU) as a web server to send electronic
Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP
Application Report SPRA380 April 2002 Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP David M. Alter DSP Applications - Semiconductor Group ABSTRACT Efficient utilization of
32-bit Microcontroller Series for Industrial Applications AP32294. Application Note
XMC1302 32-bit Microcontroller Series for Industrial Applications Server Fan Control Reference Design Application Note About this document This document is designed for the low voltage server fan motor
Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB
APPLICATION NOTE M16C/26 1.0 Abstract The following article describes using a synchronous serial port and the FoUSB (Flash-over-USB ) Programmer application to program the user flash memory of the M16C/26
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM
ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-12: ARM 1 The ARM architecture processors popular in Mobile phone systems 2 ARM Features ARM has 32-bit architecture but supports 16 bit
INTEGRATED CIRCUITS I CODE SLI. Smart Label IC SL2 ICS20. Functional Specification. Product Specification Revision 3.1 Public. Philips Semiconductors
INTEGRATED CIRCUITS I CODE SLI Smart Label IC SL2 ICS20 Product Specification Revision 3.1 February July 2005 2001 Public Philips Semiconductors CONTENTS 1 FEATURES...4 1.1 I CODE SLI RF Interface (ISO/IEC
Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester
Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR
Using the HCS12 Serial Monitor on Wytec Dragon-12 boards. Using Motorola s HCS12 Serial Monitor on Wytec s Dragon-12 boards
Using Motorola s HCS12 Serial Monitor on Wytec s Dragon-12 boards Wytec s Dragon-12 development boards are pre-installed with DBug-12, a small monitor program which allows a user to interact with the board
8051 MICROCONTROLLER COURSE
8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:
AN111: Using 8-Bit MCUs in 5 Volt Systems
This document describes how to incorporate Silicon Lab s 8-bit EFM8 and C8051 families of devices into existing 5 V systems. When using a 3 V device in a 5 V system, the user must consider: A 3 V power
How To Fix An Lmx9838 Bluetooth Serial Port Module With Bluetooth 2.0.2.2 (Bluetooth 2) From A Bluetooth Bluetooth 4.2 Device With A Bluembee 2.2 Module
LMX9838 Firmware Release Note 1.0 Introduction The National Semiconductor LMX9838Bluetooth Serial Port module is a highly integrated radio, baseband controller, memory device, crystal, antenna and loop
CAM-VGA100 User Manual
CAM-VGA100 User Manual Release Note: 1. Jan 28, 2004 official released v1.0 2. Feb 24, 2004 official released v1.1 Fix the definition of verify code Fix the bug of unable jump to power save mode Fix the
