SAM9RL Touch Screen ADC Controller. ARM-Based Products Group 2 Resistive touch panel technology is the most common, due to its simplicity and low cost.

Slides:



Advertisements
Similar presentations
Analog to digital converter
Advertisements

Fujitsu Multi Input Touch Panels Technology. Fujitsu Multi Input Touch Panels Detects almost any kind of input; finger, pen, gloved finger, credit card,
Jordan Barry Victor Brzeski
Analog to Digital Conversion (ADC)
Analog-to-Digital Converter (ADC) And
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Analog Comparator Positive input chooses bet. PB2 and Bandgap Reference. Negative input chooses bet. PB3 and the 8 inputs of the A/D. ACME= Analog Comparator.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
5-1 Analogue Input/Output Many sensors/transducers produce voltages representing physical data.  To process transducer data in a computer requires conversion.
SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006.
Introduction of Holtek HT-46 series MCU
1 Analog-to-Digital Converter (ADC). 2 ADC Features (1/3) ADC conversion rate 1 MHz and 12-bit resolution – 1µs conversion time at 56 MHz – 1.17µs conversion.
Analog to Digital Converters (ADC)
EET260: A/D and D/A converters
Touch – input mode. Overview Input mode is rapidly developing and becoming a popular method of naturalising user input Touch screens –Generally used for.
Analogue Input/Output
GENERAL PRESENTATION ON TOUCHSCREEN Neeraj Dhiman.
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
Class exercise 1 Find the equivalent resistance of the following circuit.
Digital to Analogue Converter
Lecture 13 A/D Converter & D/A Converter. Outline Basic Operation Single Scan Mode Continuous Scan Mode Group Scan Mode Interrupt Sources Registers D/A.
One of the most important feature of the microcontroller is a number of input/output pins used for connection with peripherals. In the case of PIC 167CX,
ELE2MIC Lecture 21 The AVR Sleep Modes ATMEGA128’s Analog to Digital Converter –Features –Block Diagram –Clock Source –Input Sources –Interrupts –BandGap.
1 Week 9: Computing Components: PART II READING: Chapter 5.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
PRESENTATION TOPIC :- Touch screen technology
 Touch screens emerged in the second half of the 1960’s  Dr. Samuel C. Hurst invented the touch screen in 1971.touch screen  First gained visibility.
Renesas Electronics Corporation © 2010 Renesas Electronics America Inc. All rights reserved. RX 12 Bit Analog-to-Digital Converter A Rev /1/10.
Electronics Principles & Applications Fifth Edition Chapter 13 Integrated Circuits ©1999 Glencoe/McGraw-Hill Charles A. Schuler.
Essmart Hackathon Peter Burkimsher and Sreechand Tavva.
TOUCH SCREEN TECHNOLOGY PRESENTED BY Priya Mishra Saroj Singh Shikha Ghodeshwar.
TOUCH SCREEN TECHNOLOGY
CHAPTER THIRTEEN DISPLAY TECHNOLOGY (II) PDP, & TOUCHSCREEN CGMB113/ CITB 123: MULTIMEDIA TECHNOLOGY 1 SARASWATHY SHAMINI Adapted from Notes Prepared by:
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Chapter 11 Data Acquisition and Manipulation The aims of this chapter are to introduce: the main features of a data acquisition system; the characteristics.
ELECTRONICS – Input Transducers Engineering Science – National 5.
Voltage Divider Circuits Input transducers Input transducers are devices that convert a change in physical conditions (for example, temperature) into a.
0808/0809 ADC. Block Diagram ADC ADC0808/ADC Bit μP Compatible A/D Converters with 8-Channel Multiplexer The 8-bit A/D converter uses successive.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Lecture Notes / PPT UNIT III
Sampling. Introduction  Sampling refers to the process of converting a continuous, analog signal to discrete digital numbers.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
ASAD Workshop Saclay (CEA Irfu) November 25, AGET circuit: Application Information actar.
Farmer Friendly Solar Based Electric Fence
Display Device and Interfacing
Digital to analog converter [DAC]
CHARGE AND LOAD PROTECTION IN SOLAR POWER MANAGEMENT
Environment Temperature Monitor
Solar Inverter.
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
(EVENING ON TO MORNING OFF)
Implementation of Solar Inverter for
Principles & Applications
Chapter 23 ELECTRONICS.
TOUCH SCREEN.
ClearTek II Touch Screen
Surface Capacitive Technology (SCT)
PIC18F458 Analog-to-Digital
Lecture 13 A/D Converter & D/A Converter
Copier Jam Detector Design Problem
ADC and DAC Data Converter
MSP432™ MCUs Training Part 6: Analog Peripherals
SOLAR POWER CHARGE CONTROLLER
ClearTek II Touch Screen
Presentation transcript:

SAM9RL Touch Screen ADC Controller

ARM-Based Products Group 2 Resistive touch panel technology is the most common, due to its simplicity and low cost characteristics. It can be found in PDAs, Mini Notebook, Phone, Medical Equipment, Office Automation, Consumer Products, POS, information servers, … Analogue resistive technology can be separated into 4-wire, 5-wire, 6- wire, 7-wire, and 8-wire according to screen size. The most popular are 4-wire and 5-wire systems The SAM9RL64 TSADC is dedicated to 4-wire resistive touch panel ( >15’’ diagonal can be found) Introduction to Resistive Touch panel

ARM-Based Products Group 3  Based on a 10-Bit SAR ADC  ADVREF range from 2.6V to VDDANA.  Up to 6 analog lines with 4 touch screen channels (can be used as normal ADC)  4 power switches measuring both axis (X,Y) on resistive touch screen panel  Pen Detect and Pen Loss interrupt  Trigger Mode: External Trigger, Continuous, Periodic, Pen detect Touch Screen ADC Controller: Block Diagram 6

ARM-Based Products Group 4 Resistive Touch screen Principle Polyester Film Upper Resistive Circuit Layer Conductive ITO (Transparent Metal Coating) Lower Resistive Circuit Layer Insulating Dots Glass - Substrate A press causes the Upper Resistive Circuit Layer to contact the Lower Resistive Circuit Layer, producing a circuit switch from the activated area.

ARM-Based Products Group 5 The 4-Wire Resistive TS Structure Voltage Measurement GND = 0V VDD = 3V VY+ = 1.5V X+ X- Y+Y- Glass VDD GND PEN contact The ratio of this measured voltage to the drive voltage applied is equal to the ratio of the x coordinate to the width of the touch screen. => x = ½ width of touch screen  X Position

ARM-Based Products Group 6  To detect the position of a contact:  Supply voltage is applied between Xp and Xm  Voltage measured on Yp  Supply voltage is applied between Yp and Ym  Voltage measured on Xp  The position is defined by [ (VYp / VDD), (VXp / VDD) ] TSADCC: Position Measurement

ARM-Based Products Group 7 The switches added to control the power supply are resistive: High voltage reference is not VDDANA Low Voltage reference is not GND Compensation of switches loss is necessary : [ X,Y ] [ (VYp – VXm) / (VXp – VXm), (VXp – VYm) / (VYp – VYm) ] TSADCC: Position Measurement

ARM-Based Products Group 8  At each trigger, the touch screen inputs are converted with the switches accordingly set and the results are processed and stored in the corresponding data registers (6 ADC conversions):  (VXp – VXm)  TSADCC_CDR0 register  (VYp – VXm)  TSADCC_CDR1 register  (VYp – VYm)  TSADCC_CDR2 register  (VXp – VYm)  TSADCC_CDR3 register  The vertical position X  X = (VYp – VXm) / (VXp – VXm) = CDR1 / CDR0  The horizontal position Y  Y = (VXp – VYm) / (VYp – VYm) = CDR3 / CDR2 TSADCC: Position Measurement

ARM-Based Products Group 9  No conversion necessary to detect a pen contact  No contact  No current flow  When contact occurs, a current is flowing in the touch screen and a schmitt trigger detects the voltage in the resistor. TSADCC: Pen Detection

ARM-Based Products Group 10 TSADCC: Conversion Events in Pen Detect Mode time Release NOCNT Release NOCNT Wrong value Startup Time SHTIMTS Debounce Time Conversion time Priority to Conversion vs NOCNT => Last conversion may be corrupted Press PENCNTEOC x6 EOC end of conversion

ARM-Based Products Group 11 TSADCC: Conversion Events in Periodic Trigger Mode Trigger period EOC Release EOC time NOCNT Press PENCNT x6 Trigger period Startup Time SHTIMTS Debounce Time Conversion time EOC end of conversion

ARM-Based Products Group 12 Trigger period EOC Press PENCNTEOC x6 Release time NOCNT can not be detected To get the NOCNT status: Ttrigger > 6 x (SHTIMTS + Tconv) + Tdebounce EOC x6 TSADCC: Conversion Events in Periodic Trigger Mode Trigger period Startup Time SHTIMTS Debounce Time Conversion time EOC end of conversion

ARM-Based Products Group 13 TSADCC: Touch Screen Connection X+ X- Y+Y- Glass SAM9RL AD0 (Right) AD1 (Left) AD2 (Top) AD3 (Bottom)

SAM9RL Touch Screen ADC Controller

ARM-Based Products Group 15 6 ADC Conversions requirement 1. If SLEEP is set, wake up the ADC cell and wait for the Startup Time. 2. Close the switches on the inputs XP and XM during the Sample and Hold Time. 3. Convert Channel XM and store the result in TSADCC_CDR1. 4. Close the switches on the inputs XP and XM during the Sample and Hold Time. 5. Convert Channel XP, subtract TSADCC_CDR1 from the result and store the subtraction result in both TSADCC_CDR0 and TSADCC_LCDR. 6. Close the switches on the inputs XP and XM during the Sample and Hold Time. 7. Convert Channel YP, subtract TSADCC_CDR1 from the result and store the subtraction result in both TSADCC_CDR1 and TSADCC_LCDR. 8. Close the switches on the inputs YP and YM during the Sample and Hold Time. 9. Convert Channel YM and store the result in TSADCC_CDR Close the switches on the inputs YP and YM during the Sample and Hold Time. 11. Convert Channel YP, subtract TSADCC_CDR3 from the result and store the subtraction result in both TSADCC_CDR2 and TSADCC_LCDR. 12. Close the switches on the inputs YP and YM during the Sample and Hold Time. 13. Convert Channel XP, subtract TSADCC_CDR3 from the result and store the subtraction result in both TSADCC_CDR3 and TSADCC_LCDR. 14. If Channel 4 to Channel 5 are enabled, convert the Channels and store result in the corresponding TSADCC_CDRx and TSADCC_LCDR. 15. If SLEEP is set, sleep down the ADC cell.