MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

Similar documents
Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

PCB Layout Guidelines for the MC1321x

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

Using the Multi-Axis g-select Evaluation Boards

Using the Project Board LCD Display at 3.3 volts

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Component Development Environment Installation Guide

MPC8349E-mITX-GP Board Errata

Using IIC to Read ADC Values on MC9S08QG8

56F8300 BLDC Motor Control Application

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

USB Bootloader GUI User s Guide

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

MPC8260 IDMA Timing Diagrams

SGTL5000 I 2 S DSP Mode

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

EchoRemote Evaluation Software for Windows

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

MC56F825x/MC56F824x (2M53V) Chip Errata

Functional Differences Between the DSP56307 and DSP56L307

Gallium Arsenide PHEMT RF Power Field Effect Transistor

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

56F Phase AC Induction Motor V/Hz Control using Processor ExpertTM Targeting Document 56F bit Digital Signal Controllers

Using the PowerQUICC II Auto-Load Feature

Clock Mode Selection for MSC8122 Mask Set K98M

Introduction to LIN 2.0 Connectivity Using Volcano LTP

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

MTIM Driver for the MC9S08GW64

MPXHZ6400A. Freescale Semiconductor Technical Data. MPXHZ6400A Rev 0, 08/2005

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

etpu Automotive Function Set (Set 2)

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

MCF5216 Device Errata

MPR121 Jitter and False Touch Detection

Functional Differences Between DSP56302 and DSP56309 (formerly DSP56302A)

Affected Chips Description Impact and Workaround

MPR083 Proximity Evaluation Kit User s Guide

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

2005: 0.5 PQ-MDS-PCIEXP

Integrating FreeMASTER-Time Debugging Tool with CodeWarrior for Microcontrollers v10.x Project

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

56F Phase Switched Reluctance Motor Control With Hall Sensors using Processor Expert Targeting Document

Migrating from the MPC852T to the MPC875

Ordering Information Industry standard SOT343R package Device weight = g (typical) Available only in tape and reel packaging Available only in

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

DSP56F827 Digital Signal Controller

Getting Started with the Student Learning Kit Application Module Using the MC9S12DT256 Microcontroller Application Module

MPR121 Proximity Detection

XGATE Library: ATD Average Calculating a rolling average from ATD results

XGATE Library: Using the Freescale XGATE Software Library Steve McAslan MCD Applications, East Kilbride

IIC Driver for the MC9S08GW64

Using the Serial Peripheral Interface (SPI) Module on 68HC(9)08 Microcontrollers

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

Using the Knock Window etpu Function

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

MBC13720 SiGe:C Low Noise Amplifier with Bypass Switch Device

SynkroRF Network. User s Guide

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Differences Between the DSP56301, DSP56311, and DSP56321

MPXH6250A SERIES. Freescale Semiconductor Technical Data MPXH6250A. Rev 2, 01/2007

Implementing a Double-Precision (32-Bit) Complex FIR Filter on the MSC8101 Device

Mask Set Errata for Mask 2M40J

TLB Translation Setup for MPC745x and MPC744x in Non-Extended Mode

LFAE Bootloader Example and Interface for use with AN2546 Daniel McKenna MCD Applications, East Kilbride Scotland

MPC8260 SDRAM Timing Diagrams

Simplified Device Data Structures for the High-End ColdFire Family USB Modules Melissa Hunter Applications Microcontroller Solutions Group

MSC8144AMC-S Getting Started Guide

I.MX Platform Advanced Toolkit Standard Version User s Guide

PDB Driver for the MC9S08GW64

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

3-Phase BLDC Motor Control on Kinetis. User s Guide

Integrated Silicon Pressure Sensor for Manifold Absolute Pressure Applications On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

Using the Asynchronous DMA features of the Kinetis L Series

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Mask Set Errata for Mask 5L35K

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

Using the ColdFire EMAC Unit to Improve RSA Performance Jim Stephens Freescale Semiconductor

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Integrated Silicon Pressure Sensor On-Chip Signal Conditioned, Temperature Compensated and Calibrated

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

i.mx31 PDK Power Measurement with GUI

SCI Driver for the MC9S08GW64

MCF54451, MCF54452, MCF54453, MCF54454,

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

Contact Monitoring and Dual Low-Side Protected Driver

Transcription:

Freescale Semiconductor MC33794SIUG User s Guide Rev. 1.0, 09/2005 MC33794 Touch Panel System Using E-Field Sensor Setup Instructions Reference Design Documentation for RDMC33794 This document contains information on a new product. Specifications and information herein are subject to change without notice. Freescale Semiconductor, Inc., 2005. All rights reserved

Preface PREFACE This user s guide provides the installation and setup instructions for the Touch Panel System using MC33794 E-Field Sensor. It describes how to easily program the embedded MCU and the basic hardware configurations to start the demo. AUDIENCE This document is intended for application developers who are setting up Freescale s RDMC33794 Reference Design. SUGGESTED READING Additional documentation may be found at www.freescale.com Design Reference manual for RDMC33794. Application note, AN1985: Touch Panel Applications using The MC33794 E-field IC CONVENTIONS This document uses the following conventions: : Term or Value Definition Examples Terminal Names Terminal Values Terminal names are the physical connections and are shown in text as all upper case. Terminal values are the currents to/from a terminal and are shown as upper and subscripted text.... the external supply voltage VSUP1. In Stop Mode the voltage regulator still supplies the MCU with V DD Decimal Values No special symbol attached to the number 1.0 34 Numbers Considered positive unless specifically noted as a negative value 5.0-10 Blue Text Linkable on-line... refer to Table 1, page 2 Freescale Semiconductor 2

Introduction INTRODUCTION DEFAULT SETTINGS This kit contains everything you need to get started except the 9V battery. This document will guide you through the steps necessary to download your own program using Serial Bootloader Tool interface or MON08 Multi-link. The default jumper configuration is shown in table 1. Default Jumper Configuration JP1 JP3 Position 1-2 (10nF) Position 1-2 (Non-amp LEVEL) The configuration jumpers within the analyzer board are JP1 and JP3. JP1 selects if the input to Microcontroller s AD channel is feed directly from the MC33794 output pin (LEVEL) or if the output signal is first amplified by the on board op-amp with adjustments in offset and amplitude, and then feed into the MCU (LEVEL_AMP). JP3 selects between two values of LP_CAP, 10nF and 1nF, the recommended value in the data sheet is 10nF. Source code is available on the design reference manual of the touch panel system using E-field sensors. In order to start running the application, touch panel board (TPB) or a customized electrodes board should be connect to analyzer board (AB) using the 15-pins connector JP2. JP1 1-2 JP3 1-2 Figure 1. Default Jumper Configuration Freescale Semiconductor 3

Voltage Supply VOLTAGE SUPPLY The first step is to prepare the Analyzer Board by plugging the 9V battery or connecting an external 9V source to the Jack P1, when connecting battery and external supply at the same time, the external power supply jack will disconnect the battery VCC terminal. For powering Analyzer Board make sure power supply, either battery or external power supply doesn t exceed 15V.Place a common 9 volts battery on the battery holder with the appropriate polarity, or connect +9V center positive on the jack for external power supply and then move S1 to the ON position. On/Off Switch With the default firmware up into the microcontroller and the default settings described above, the application should be running; LED s, 7 segments displays and audio transducer will provide feedback as the system detects a pressed condition within the touch pads. PROGRAMMING SETTINGS PROGRAMMING THROUGH SERIAL BOOTLOADER TOOL When running the loaded program in the demo, the USER/MON08 switch S2 should be on the USER position; USER mode is also used when programming the microcontroller using the serial bootloader tool. To download the firmware using the bootloader tool: 1. Make sure all the required programs are available in the programmer PC, you must have the *.S19 file to be downloaded into the MCU, TeraTerm software used for serial communications, and the required bootloader already programmed into the demo board MCU. 2. Open and configure TeraTerm software, a new connection window will appear, select on the same window Serial, select the serial port available at your computer and then press the [OK] button. Freescale Semiconductor 4

Programming Settings 3. On the Setup menu, select Serial Port and configure serial port with baud rate at 9600 bps, 8 bit, no parity, 1 stop bit and flow control set to none. Make sure the transmit delay is set to 3ms/char and 3ms/line in order to ensure a proper communication. 4. Make sure demo board jumpers are configured as default and that the USER/MONO8 switch S2 is set to USER. 5. Turn on the demo board while holding the sw1_irq button pressed, a (p)rogram (w)ipe e(x)it message should appear into the TeraTerm screen. 6. Press w to wipe any data already loaded into the MCU flash, note this operation does not erase the bootloader code. 7. Press p and a waiting message should appear, use the TeraTerm File->Send File option to send the.s19 file, a progress dialog will show up. 8. Once the code is downloaded the (p)rogram (w)ipe e(x)it message will appear again, press x and the downloaded code will start running. 9. Each time the demo board is turned on with out pressing the sw1_irq button at the same time the user code will be run directly. PROGRAMMING USING MON08 MULTI-LINK INTERFACE To download the firmware using a MONO8 pod: 1. Make sure the USER/MONO8 switch S2 is set to MONO8 position. 2. Hook the MONO8 adapter into the JP4 connector, make sure the connector pin alignment is correct to avoid any MCU damage. Apply power to the MON08 Multi-link interface and connect it to you PC port. 3. Using Code Warrior download the code to the demo board, since this operation will erase the bootloader if any was already on the MCU, make sure the interrupt vectors are located on the standard interrupt vector area. Freescale Semiconductor 5

General Board Configuration 4. Within the Code Warrior project, click the Debug button in the menu bar under the project window, or hit F5. The Attempting to contact target and pass security window should appear. If not, change the Debug mode to In-Circuit Debug/Programming in the PEDebug menu. Make sure you have the same values for the following options: Target Hardware Type: Class VIII LPTx: Parallel Port x (Could vary depending on the PC Parallel port used) Device Type: QB Device Power: 5 Volts, provided by P&E Interface Device Clock: 9.8304 MHz, provided by P&E Interface Pin13 Clock Divider: 4 Target MCU Security Bytes: IGNORE security failure and enter monitor mode Finally click the Contact target with these settings button and if you are asked to Erase and program flash click Yes. After that the MCU Flash will be programmed. 5. the following message should appear, press yes button to program flash memory. 6. Once the flash programming process is finished unplug the MONO8 connector and set the switch to USER position. GENERAL BOARD CONFIGURATION TOUCH PANEL BOARD CONNECTOR JP2 PIN# Description PIN# Description PIN# Description 1 GND 6 E3 11 E8 2 SHIELD 7 E4 12 E9 3 SHIELD 8 E5 13 REF_A 4 E1 9 E6 14 REF_B 5 E2 10 E7 15 GND Freescale Semiconductor 6

General Board Configuration TEST POINTS DESCRIPTION Test point number Signal name Description TP1 GND System Ground, electrical reference test point. TP2 +5V 5V power supply output. TP3 +9V External power supply or battery voltage. After ON/OFF switch and reverse battery protection stages. TP4 Offset DC signal entering Op-amp non-inverter inputs. Output of potentiometer R8. TP5 Level MC33794 s output. TP6 PWR_IN Charge pump output, 10 volts typically measured TP7 Amp_Level Amplifier stage output, MC33794 s output with adjustment in offset and amplitude. ANALYZER BOARD JUMPERS AND SWITCHES Jumper name JP1 JP3 S1 S2 Functional description Position 1-2: Connects microcontroller A/D input channel 3 to E-field output LEVEL directly. Position 2-3: connects microcontroller A/D input channel 3 to the Op-Amp output. Op-Amp adjusts gain and offset of LEVEL (E-field output). Other: NO valid Position 1-2: E-field LPF filter capacitor = 10nF. Position 2-3: E-field LPF filter capacitor = 1nF. Other: NO valid OFF: Power supply or battery is disconnected internally to all modules. ON: Power up all AB modules USER: Microprocessor in user mode, firmware running. Also used when programming using serial bootloader. MON08: microprocessor is ready to be programmed using the MON08 connector. Freescale Semiconductor 7

How to Reach Us: Home Page: www.freescale.com E-mail: support@freescale.com USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 support@freescale.com Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) support@freescale.com Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064 Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com Asia/Pacific: Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should a Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, the Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2005. All rights reserved. MC33794SIUG Rev. 1.0 09/2005