Analog to Digital Convertor MTT48 V1.0 ADC - 1 ANALOG TO DIGITAL CONVERTOR (ADC)

Slides:



Advertisements
Similar presentations
Analog to digital converter
Advertisements

8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Mark Neil - Microprocessor Course 1 Device Drivers – Digital Voltmeter.
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
External Interrupt Module MTT EXTERNAL INTERRUPT REQUEST MODULE (IRQ)
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
The 8085 Microprocessor Architecture
Microprocessor and Microcontroller
I/O Unit.
Instructor: Dr Aleksandar Milenkovic Lecture Notes
Analog to Digital Conversion
Kuliah Mikrokontroler AVR Comparator AVR Eru©September 2009 PENS.
Analog/Digital Subsystem
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.
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.
ECT 357 Ch 10 Analog to Digital COnversion. Today’s Quote: It’s better to die with a good name than to live with a bad one. It’s better to die with a.
Analog to Digital Converters (ADC)
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Analog-to-Digital Converters
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Engineering 4862 Microprocessors Lecture 26 Cheng Li EN-4012
Clock Generation Module MTT CLOCK GENERATION MODULE (CGM)
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
1 ATD10B8CV2 on MC9SI2C By: Yuchun Huang. 2 ADC ADC Power Supply.
M Semiconductor Products Sector Computer Operating Properly Module Detail Slide #1 of 7 Tutorial Introduction PURPOSE -To explain how to configure and.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
MICROPROCESSOR INPUT/OUTPUT
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
Digital to Analogue Converter
ELN5622 Embedded Systems Class 7 Spring, 2003 Aaron Itskovich
ELE2MIC Lecture 21 The AVR Sleep Modes ATMEGA128’s Analog to Digital Converter –Features –Block Diagram –Clock Source –Input Sources –Interrupts –BandGap.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Lecture 11 Low Power Modes & Watchdog Timers
dsPIC DSC –Modul A/D Conversia A/D Registre programare
Direct Memory Access Module MTT M DIRECT MEMORY ACCESS MODULE (DMA)
Low Power Modes MTT48 V LOW POWER OPERATION.
Modes of transfer in computer
By James Cockrell and Justin Loveless
System Integration Module MTT Motoola SYSTEM INTEGRATION MODULE (SIM)
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
TIMERS AND INTERRUPTS AVI SINGH KEVIN JOSE PIYUSH AWASTHI.
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Analog to Digital Converter (ADC)
#1 of 10 Tutorial Introduction PURPOSE -To explain how to configure and use the Timer Interface Module in common applications OBJECTIVES: -Identify the.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
M Semiconductor Products Sector Low Voltage Inhibit Module Slide #1 of 3 Tutorial Introduction PURPOSE -To explain how to configure and use the Low Voltage.
Chapter Microcontroller
Computer Operating Properly Module MTT COMPUTER OPERATING PROPERLY MODULE (COP)
8255:Programmable Peripheral Interface
Low-Voltage Inhibit Module MTT M LOW VOLTAGE INHIBIT MODULE (LVI)
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
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.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
Why are Timer Functions Important?
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
Reset Sources and Watchdog Timer
DMA CONTROLLER 8257 Features: It is a 4-channel DMA.
ADC, DAC, and Sensor Interfacing
PIC18F458 Analog-to-Digital
MSP432™ MCUs Training Part 6: Analog Peripherals
PIC Microcontroller ADC interfacing Prof. Ashvini Kulkarni
Presentation transcript:

Analog to Digital Convertor MTT48 V1.0 ADC - 1 ANALOG TO DIGITAL CONVERTOR (ADC)

Analog to Digital Convertor MTT48 V1.0 ADC - 3 Module Objective Configure ADC for polled or interrupt operation Configure the control registers

Analog to Digital Convertor MTT48 V1.0 ADC - 4 Analog to Digital Convertor Module 14 Channels with Multiplexed Input Linear Successive Approximation 8 bit resolution Single or Continuous Conversion Conversion Complete Flag or Conversion Complete Interrupt Selectable ADC Clock

Analog to Digital Convertor MTT48 V1.0 ADC - 5 ADC Signals I/O Signals : 13 I/O pins (port B and D) ADC Analog Power Pin (V DDA ) ADC Analog Ground Pin (V SSA ) ADC Voltage Reference Pin (V DDAREF ) Power supply for setting the reference voltage V REFH ADC Voltage Reference High Pin (V REFH ) One of two reference supplies and is generated from V DDAREF with a value V DDAREF /2 ADC Voltage Reference Low Pin (V LOW ) Lower Reference Supply for ADC ADC Voltage In (ADVIN) Input voltage signal from one of the fourteen channels

Analog to Digital Convertor MTT48 V1.0 ADC - 6 ADC Block Diagram INTERNAL DATA BUS Read DDRB/DDRD DDRBx/DDRDx RESET Write DDRB/DDRD PTBx/PTDx Write PTB/PTD PTB/Dx Read PTB/PTD (ADC Channel 1) Disable Channel Select ADCH[4:0] ADC Successive Approximation Register ADC Data Register ADC Voltage In (ADVIN) Clock Generator ADC Clock Interrupt Logic Conversion Complete AIEN COCO/ID MAS Bus Clock CGMXCLK ADIV[2:0] ADICLK

Analog to Digital Convertor MTT48 V1.0 ADC - 7 Successive Approximations Method

Analog to Digital Convertor MTT48 V1.0 ADC - 8 A/D Conversion Successive Approximation Method

Analog to Digital Convertor MTT48 V1.0 ADC - 9 ADC Registers Three registers control and monitor ADC operations: ADC status and control register (ADSCR) ADC data register (ADR) ADC clock register (ADCLK)

Analog to Digital Convertor MTT48 V1.0 ADC - 10 ADC Clock RESET: WRITE: READ: ADCLK ADC Clock Presacler Bits (ADIV2:ADIV0) –Selects divide ratio used by ADC to generate internal ADC clock ADC Input Clock Select (ADICLK) –Selects either bus clock or CGMXCLK as input clock source 1 = Internal bus clock 0 = External clock (CGMXCLK) Please Note: Internal ADC Clock must not exceed 1MHz ADC Clock Register (ADCLK) ADICLK ADIV0ADIV1 ADIV

Analog to Digital Convertor MTT48 V1.0 ADC - 11 ADC Status and Control RESET: WRITE: READ: COCO/AEINADCO ADCH4 ADCH3 ADCH2 ADCH1 ADCH0 ADSCR Conversion Complete / Interrupt DMA Select (COCO/IDMAS) –Set when conversion is complete –Selects either CPU or DMA to service ADC interrupt request. –Cleared whenever ADC Status and Control Register is written or whenever the ADC Data Register is read. 1 = Conversion completed(AEIN=0) / DMA Interrupt (AEIN=1) 0 = Conversion not completed(AEIN=0) / CPU Interrupt (AEIN=1) ADC Interrupt Enable(AEIN) –Interrupt at end of ADC conversion 1 = ADC Interrupt Enabled 0 = ADC Interrupt Disabled ADC Continuous Conversion (ADCO) 1 = Continuous ADC conversion 0 = One ADC conversion ADC Channel Select Bits (ADCH[4:0]) –Select one of fourteen channels –If all bits are set to one ADC subsystem is turned off ADC Status and Control Register (ADSCR) IDMAS

Analog to Digital Convertor MTT48 V1.0 ADC - 12 ADC Channel Select

Analog to Digital Convertor MTT48 V1.0 ADC - 13 ADC Result ADC Data Register (ADR) –Contains 8-bit conversion result –Updated each time ADC conversion completes RESET:XXXXXXXX WRITE: READ: ADR AD7AD6AD5AD4 AD3 AD2AD1 AD0

Analog to Digital Convertor MTT48 V1.0 ADC Low Power Modes - WAIT ADC module remains active ADC registers are not accessible –Except to DMA ADC module interrupt can wake MCU STOP ADC module is inactive Any pending conversion is aborted Conversions resume when MCU exits stop mode after an extenal interrupt Allow one conversion cycle to stabilize the analog circuitry