PMA71xx/ PMA51xx. Application Whitepaper. Wireless Control. SmartLEWIS TM MCU

Similar documents
XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

Application Note, V1.0, Aug AP08064 XC866/886/888. Safeguarding the Microcontroller under Out-of-Spec Noise Conditions.

Security & Chip Card ICs SLE 55R04. Intelligent 770 Byte EEPROM with Contactless Interface complying to ISO/IEC Type A and Security Logic

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb.

NovalithIC H-Bridge Demo Board

TLS202B1. Demonstration Board Manual. Automotive Power. Demonstration Board Manual. Rev. 1.0,

Smart High-Side Power Switch BSP742RI PG-DSO8. AEC qualified Green product (RoHS compliant)

XE166 Family AP Application Note. Microcontrollers. UConnect XE162N Hardware Description V1.0,

Application Note No. 100

Operating temperature T a

Application Note, V1.0, Jul AP08049 XC886/888CLM. Migration of Flash to ROM Device: Memory Protection Configurations.

Remote Keyless Entry In a Body Controller Unit Application

Easy Kit Board Manual

Industrial PROFET. Universal Application Board User s Manual

AppNote-US2400-EVB Low Power 2.4GHz Transceiver

Application Note, V 1.1, Apr AP08006 C868. Interfacing SPI/I2C Serial EEPROM with C868 Microcontroller. Microcontrollers. Never stop thinking.

Application Note, V1.0, November AP XC2000/XE166 family. ADC Result Handling on XC2000/XE166 family of Microcontrollers.

Scope: SW Installation: Start the Package PROG-KIT. Current. Page 1

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

SPI Protocol of the TLE941xy family

XMC LED current control explorer kit

XE164 UConnect Manual, V.1.1, February XE164 UConnect. Board REV. 2007/40. Microcontrollers. Never stop thinking.

PROFET TM + Demoboard. Automotive Power. Smart High-Side Power Switch - Demoboard Description. Rev. 1.4,

Smart High-Side Power Switch for Industrial Applications One channel: 1 x 1 Ω

Application Note, V1.3, September 2008 AP XC2000/XE166 Family. Microcontrollers

Application Note No. 097

Chip Card & Security ICs SLE Intelligent 256-Byte EEPROM with Write Protection function and Programmable Security Code

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

Chip Card & Security ICs SLE Intelligent 1024 Byte EEPROM with Write Protection and Programmable Security Code

Relaisdriving with HITFETs and SPIDERs

Ultra Low Power Microcontroller - Design Criteria - June 2017

Z8 Encore! XP F0822 Series

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories,

Application Note, V 1.1, Feb AP DAP Connector. Microcontrollers

XC800 Family AP Application Note. Microcontrollers. Programming the BMI value in the XC82x and XC83x products V1.0,

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers

Module Introduction. This training module provides an overview of Freescale s scalable solutions for low data rate 2.4 GHz connectivity.

ZLF645 Crimzon Flash Microcontroller with ZBase Database Industry Leading Universal Infrared Remote Control (UIR) Solution

Design Guideline for TC1782 Microcontroller Board Layout

TLx5012B 2go Evaluation Kit

Frequently Asked Questions

Approximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package

BLE MODULE SPECIFICATIONS

RF4431 wireless transceiver module

XC800 Family AP Application Note. Microcontrollers. Capacitive-Touch Color Wheel Implementation V1.0,

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories -

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

Lab 1 Introduction to Microcontroller

LM930 Bluetooth low energy Module (with U.FL Connector) Standalone (With Embedded Bluetooth v4.1 Stack)

Absolute Pressure Sensor

ESD5V3U4RRS. Type Package Configuration Marking ESD5V3U4RRS SOT363 6 pins, uni-directional E8s

[Type here] M907. Bluetooth 4.2 Low Energy/Zigbee/RF4CE/Thread SiP Module with MCU and integrated antenna

im871a Wireless M-Bus

Frequently Asked Questions

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

SmartBond DA Smallest, lowest power and most integrated Bluetooth 5 SoC. Applications DA14585

[Type here] M905. Bluetooth 4.2 Low Energy SiP Module with MCU and integrated antenna

AP XC2000 & XE166 Families. Design Guidelines for XC2000 & XE166 Microcontroller Board Layout. Microcontrollers

High-Performance 8-Bit Microcontrollers. Up to 8 10-Bit ADC Channels. Two 16-Bit Timers/PWM. Internal Precision Oscillator

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

Queued SSC V

RN-171-EK Evaluation Board

LM931 Bluetooth low energy Module

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

XEELAS NODE MANUAL X-COM VERSION 1.0

If It s Electronic, It Needs a Clock

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

Nuvoton 1T 8051-based Microcontroller NuTiny-SDK-N76E885 User Manual

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

Documentation Addendum, V1.2, Aug TC Bit Single-Chip Microcontroller Delta BC-to-BE Step. Microcontrollers

3D Magnetic Sensor 2 Go - TLE493D-A2B6

Application Note AN V1.3 August Module with adapted driver electronics

Z8 Encore! XP 4K Series with extended Peripherals

ASCLIN Asynchronous Synchronous Interface

Application Note - PCB Layout & PIN Behavior Assessment

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

AP16051 SAB C161K/V/O. Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC) Microcontrollers

AN4311 Application note

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

High Performance Mixed-Signal Solutions from Aeroflex

Product Brief. Model: TLM922S-P01A. Ver.1.0

PAN1740 Design Guide

MSP430-PG2231 development board Users Manual

CardOS Secure Elements for Smart Home Applications

Design Guideline for TC1791 Microcontroller Board Layout

Frequently Asked Questions

ESD8V0L... ESD8V0L1B-02LRH. Type Package Configuration Marking ESD8V0L1B-02EL

STA bit single chip baseband controller for GPS and telematic applications. Features

Embedded Programming with ARM Cortex-M3 Basic Experiments 1

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

Application Note, V3.0, June 2006 AP TC179x. TC179x Examples Collection. Microcontrollers

RF4432 wireless transceiver module

Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

KCS TraceME TM-202 / R9C5 GPS / GPRS / SMS / RFID module, OEM Version

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management

[Type here] M904S. Bluetooth 4.0 SiP Module - BT 4.0 LE

Analog, Mixed-Signal and Power Management

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

Transcription:

SmartLEWIS TM MCU RF Transmitter FSK/ASK 315/434/868/915 MHz Embedded 8051 Microcontroller with Function Library in ROM Application Whitepaper May 2009 Wireless Control

Edition May 2009 Published by Infineon Technologies AG 81726 Munich, Germany 2009 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.

Table of Contents Abstract 4 1 Introduction...4 2 PMA as a Wireless Remote Control...5 3 PMA as a Contactless Sensor...5 4 Periphal Block LF Receiver...6 5 SW Function Library and Framework...6 6 PMA Development Tools...7 7 Product Family, Fundamental Data and Chip Housing...8 8 Summary...9 Application Whitepaper 3 May 2009

Abstract SmartLEWIS TM MCU The flexible single-chip solution for wireless remote controls and wireless sensing. Wireless data transmission in the license-free ISM frequency bands below 1 GHz is very popular thanks to its low power consumption, low costs and comparably simple implementation. The strong rise in its deployment in established applications, such as in remote controls where it is used as a substitute for infrared technology, is now being flanked by many new applications where it is enabling new levels of ergonomics and new functionality. By Martin Gotschlich, Infineon Technologies AG 1 Introduction As the first product in the new SmartLEWIS MCU family, the PMA 7110 is predestined for easy implementation of a multitude of attractive wireless transmission applications. The highly integrated circuit monolithically combines an 8051 microcontroller, an RF transmitter and other interesting peripheral blocks on a single semiconductor chip. In particular, the analog-to-digital converter for connection of analog sensors and a 125-kHz LF receiver are noteworthy. The analog-to-digital converter is characterized by an additional configuration area for amplification of the three symmetrical inputs. The LF receiver is suitable for contactless triggering of transmission processes and for contactless configuration (e.g., personalization or charging with credit). An extensive library of SW functions is integrated into the ROM by default, thereby saving valuable flash memory. Typical applications can be implemented with comparatively little programming effort. PMA 71xx / 51xx PP0 digital IO PP9 125 khz LF trigger & data in high sens. 1 high sens. 2 std. sens. GPIO I 2 C SPI LF Rx 125 khz ADC 10bit ROM function library Flash sector 0 6 kb user code Flash sector 1/2 2 x 128 kb data EEPROM emulation µc 8051 RAM 256 B system controller interrupt & wake-up logic power management 16-bit CRC generator / checker 4 timers 16 bit 8-bit pseudo random number generator RF Tx ASK/FSK PLL Manchester / bi-phase encoder MHz 315 434 868 915 dbm 5 8 10 battery voltage & temperature sensor brownout detector watchdog RC oscillator 12MHz RC oscillator 2 khz RF XTAL oscillator 1.9 3.6 V 18 20 MHz Figure: Block diagram of the PMA 7110 The strengths of the PMA 7110 can be particularly demonstrated in two application segments as follows: conventional remote controls for control of an appliance or a system via an RF wireless link and wireless sensors, in which diverse test variables are autonomously monitored and with which measured values are sent to a receiver in the event of particular states or events. In addition, identification applications (e.g. smart tagging) can also be realized. Application Whitepaper 4 May 2009

2 PMA as a Wireless Remote Control Wireless remote controls in the free sub-1-ghz frequency ranges are finding ever greater use in a wide number of applications. These applications can be implemented with the PMA 7110 as a single-chip solution in the simplest way possible, but in which even demanding functions know no boundaries thanks to the extensive integrated peripheral blocks and the free programmability. Remote Keyless Entry (RKE) applications have been standard in the automotive sector for many years. Such applications can be implemented with the automotive-qualified derivative PMA 5110. Two functions in the PMA family play a special role in the security of the application as follows: to generate continuously changing key codes ('rolling codes'), the EEPROM emulation allows continuous storage of information in active operation (for each key action) in a reserved part of the nonvolatile flash memory. The encryption of the transmitted information is realized using the license-free AES algorithm (Advanced Encryption Standard), which is included as a basic feature in the extensive software library in the chip's ROM along with many other functions (further details are given below). Infineon also provides additionally an alternative encryption example code based on the license-free XTEA algorithm (Extended Tiny Encryption Algorithm). A pronounced growth in the number of applications for wireless remote controls can be seen in the consumer sector. The replacement of infrared remote controls in the entertainment and home electronics market has a key role to play in this growth. Apart from the multiroom remote controls (e.g., settop boxes in neighboring rooms), wireless remote controls also acting as conventional infrared replacements provide considerable additional ease of use because the remote controls no longer need to be directed toward the receiver. The ten free programmable digital inputs/outputs (General Purpose Input/Output, GPIOs) of the PMA 7110 can be directly linked with up to 30 buttons (and even up to 55 buttons with additional diodes). Eight of the ten lines can also be configured for wakeup signals in which case the remote control after sending the signal immediately switches to standby mode with very low power consumption; the remote control remains inactive until a button is pressed again. Depending on the design of the antenna used, the power consumption can be lower than that of any infrared remote controls operating at the same distance, even during transmission. This means that markedly smaller batteries can be used, which, on the one hand, enables new design possibilities for remote control housings and, on the other hand, that batteries may not need to be changed for the entire lifetime of a product. 3V CR2032 Oscillator open loop antenna 27mm passive antenna matching network Infineon PMA5105 in-circuit programming connector 43mm Figure: PMAfob A Remote Keyless Entry application example with PMA 5105 3 PMA as a Contactless Sensor Contactless sensors can be very flexibly arranged, thus providing greater ease of use and simpler installation on the one hand, while enabling even unusual measurements to be performed on the other hand for example, operation on moving objects such as rotating machine parts. The low power consumption of the PMA 7110 is also one of the key design criteria in this case because the battery capacity varies according to the specified target lifetime of the application, which in turn is important for the dimensions, weight and finally for the cost of the whole sensor module. Application Whitepaper 5 May 2009

While sensors with a digital interface (e.g. SPI) can be easily connected to the GPIOs of the PMA 7110, the chip also allows a wide variety of inexpensive analog sensors to be operated in the total of three channels of the analog-to-digital converter (ADC). The flexible configuration of the symmetric inputs also enables high levels of input amplification so that additional preamplifiers can be dispensed with in many cases. A number of strategies could be employed to minimize the power consumption of the application. For example, a measured value is only to be transmitted over the air interface if particular threshold values are exceeded. Extremely long battery lifetimes can be realized if the contactless sensor is only 'woken up' by wireless activation as required by means of the LF receiver described in greater detail below. Along with the two timers in the 8051 microcontroller core, there are two further timers that can be used for complex timing scenarios. 4 Periphal Block LF Receiver The LF receiver is suitable for receiving amplitude-modulated 125-kHz signals that are magnetically induced in a receiver coil. Since the receiver is only activated by means of the induced energy, it consumes practically no power in standby mode. In the most straightforward case, the LF receiver can be used for contactless triggering of a transmission procedure. To do so, the user employs a 125-kHz transmission signal, a so-called trigger, activated in the vicinity of the RF transmitter. The RF transmitter responds with measured sensor data or an identification code. In a similar manner, data can also be sent to the RF transmitter using 125-kHz amplitude modulation. This function could be used, for example, for contactless calibration of a sensor transmission unit or for one-time storage of identification codes in the RF transmission device for example, for customer data at the point of sale of the device. 5 SW Function Library and Framework Programming of the 8051-compatible microcontroller (regarded as standard in the industry) in C and Assembler is itself uncomplicated. Nonetheless, the SW function library stored in ROM in the PMA family allows very efficient access to all on-chip peripheral functions without a programmer having to know in detail the bits and bytes of the chip's system architecture. This means that the programmer can very quickly produce complex applications in relatively few, but very powerful, function calls. The following example of a C main routine shows how easily an RF (radio frequency) thermometer can be programmed. The SW library functions are indicated in bold typeface. void main(void) { // determine if reset or wake up if (!(DSR & BIT_WAKEUP)) { // after reset Switch2XTAL(); CalibrateIntervalTimer(1); ITPR = 5; // Change clock to external crystal // Interval frequency 1Hz // Set to 5sec } else { // Wakeup detected, determine which one if (WUF & BIT_WU_TIMER) { InitRF(&myRF_Config); Switch2XTAL(); // Change clock external crystal VCOTuningLong(); // Selects an appropriate tuning curve for // the VCO and enables the PLL RFC = 0x01; // Enable PA MeasureTemperature(&value); // Measure internal temperature sensor datagram[tx_temppos] =value[0] >> 8; // Prepare datagram datagram[tx_temppos+1]=value[0] & 0xFF; Application Whitepaper 6 May 2009

datagram[tx_temppos_r] =value[1] >> 8; datagram[tx_temppos_r+1]=value[1] & 0xFF; } } TransmitRF(datagram,TX_LEN); // Transmit datagram via RF link } PowerDown(); Figure: Example of code for an RF thermometer // Power down Another key advantage of this concept is that the size of the application-specific code can be kept very small since most of the code is already present in the preprogrammed function library in ROM. Subsequently, the 6KB flash memory allows considerably more extensive applications to be implemented than in comparable µc architectures in which the entire program code has to be stored in valuable flash memory. Another benefit deriving from this architecture is the significant reduction in flash programming times, enabling further cost efficiencies in the customer's production process. 6 PMA Development Tools Infineon provides extensive and powerful development tools for all products of the PMA 71xx and 51xx families, whereby the tooling is universal and independent of the used product variant The PMA Starter Kit, available for 49, is especially interesting. The kit contains everything you need for initial evaluation and creation of uncomplicated applications. Its main component is a USB stick that supports all the major functions of the PMA 5110 chip, and also features a rechargeable lithium-ion battery to enable mobile operation of a newly created application. Figure: PMA Starter Kit with PMA RF USB Stick This development tool is very easy to use and only a few steps are needed for operation: Install the SW development tools from KEIL (license-free trial version available for download). Install the latest PMA Starter Kit software package Insert the PMA RF USB stick into a free USB port on the PC. Enter a few lines of C code in the prepared application framework. The powerful functions in the ROM SW library allow extremely lean source code in which the bits and bytes of the HW architecture do not have to be considered in detail. Compile the C source code and then load it into the flash memory of the PMA 7110 via the USB interface. Remove the USB stick from the PC and start the new application, which is powered by the rechargeable lithium-ion battery. Application Whitepaper 7 May 2009

Secondary, Infineon offers the PMA Evaluation Kit. This enhanced development tool provides highest flexibility by giving easy access to all pins for detailed measurements and by supporting the ADC and LF receiver functionality. For further information on PMA tooling please visit www.infineon.com/pma_tooling 7 Product Family, Fundamental Data and Chip Housing The PMA derivatives from the 71xx series are intended for use in industrial and consumer applications and are designed for an operating temperature range from -40 C to +85 C. The 51xx series is Q100 automotivequalified and can be used in an operating temperature range from -40 C to +125 C. PMA supports the 315, 434, 868 and 915 MHz frequency bands and three different output power levels of 5, 8 and 10 dbm. All derivatives in the PMA product family are pin-compatible in a standard PG-TSSOP-38 package. Most of the printed circuit board layout can be left unchanged for product derivatives and country variants with different frequencies can be realized as mounting options of external components. The functional differences in the PMA product family refer to the availability of LF receiver and analog-to-digital converter, as shown in the table below: Type 8051 µc + Flash ASK/FSK UHF Transmitter 3-channel, 10-bit ADC LF receiver (125kHz) Operating temperature range Target Applications PMA 7105!! - - -40 C to +85 C - Remote Controls - Wireless sensors with digital sensor interface PMA 7106!!! - -40 C to +85 C - Wireless sensors with analog sensor interface PMA 7107!! -! -40 C to +85 C PMA 7110!!!! -40 C to +85 C PMA 5105!! - - -40 C to +125 C PMA 5110!!!! -40 C to +125 C Table: family overview - Active Tagging / Door opener - Remote Control with contact-less configuration - Wireless sensors with contact-less trigger and configuration - Sophisticated wireless sensors with contact-less trigger and configuration - Applications in rough environment and with high quality requirements (extended temp. range and automotive qualification) - Remote Keyless Entry - High end applications in rough environment and with high quality requirements (extended temp. Range and automotive qualification) - Remote Keyless Entry Figure: PG-TSSOP-38 package Application Whitepaper 8 May 2009

8 Summary Owing to the high level of integration, the PMA 71xx/51xx products in the SmartLEWIS MCU family enable a multitude of demanding high-frequency transmission applications on a single-chip basis in the area of wireless remote controls and wireless sensing. The extensive SW function library significantly accelerates development times and optimizes application quality. For further information, please visit www.infineon.com/pma Application Whitepaper 9 May 2009

www.infineon.com Published by Infineon Technologies AG B142-H9393-X-X-7600