ADC LPC 2148 PDF
Document Details
Uploaded by EloquentBildungsroman5802
Tags
Summary
This document provides information on Analog-to-Digital Converter (ADC) related topics, focusing on the LPC2148 microcontroller. It details the different registers used in the ADC, such as control, data, and global data registers. The document also describes the workings of these registers. It is likely part of a technical guide or course material on embedded systems.
Full Transcript
ADC – LPC 2148 SFRs used are: ADC control register - ADCR ADC Data Register - ADDR These two are channel specific (i.e AD0CR, AD1CR, AD0DR, AD1DR) We use a global data register – ADGDR (AD0GDR, AD1GDR) ADC control register - ADCR % SEL bits CLKDIV is similar t...
ADC – LPC 2148 SFRs used are: ADC control register - ADCR ADC Data Register - ADDR These two are channel specific (i.e AD0CR, AD1CR, AD0DR, AD1DR) We use a global data register – ADGDR (AD0GDR, AD1GDR) ADC control register - ADCR % SEL bits CLKDIV is similar to PR of other peripherals Note: Max value of ADC clk is 4.5 MHz. Determine the corresponding PR value. So value for Clkdiv is 00001101 Burst = 1 (Repeat mode) CLKS Start Bits : 24:26 must be 001 to start the conversion