Title | LPC2148 Microcontroller Architecture and Programming |
---|---|
Author | Roman Atwood |
Pages | 50 |
File Size | 832.6 KB |
File Type | |
Total Downloads | 69 |
Total Views | 500 |
LPC2148 Microcontroller Architecture and Programming Dr. N. Mathivanan Visiting Professor, Department of Instrumentation & Control Engineering National Institute of Technology Trichy LPC2148 • Provided by NXP Semiconductor Ltd. • Based on ARM v4T architecture version, • Based on ARM7-TDMI proces...
LPC2148 Microcontroller
Architecture and Programming
Dr. N. Mathivanan Visiting Professor, Department of Instrumentation & Control Engineering National Institute of Technology Trichy
LPC2148 • Provided by NXP Semiconductor Ltd. • Based on ARM v4T architecture version,
• Based on ARM7-TDMI processor • Integrated Real-Time Emulation and Embedded Trace support. • Topics discussed: o Specification list o LPC2148 – Internal architecture diagram o Pin diagram, Pin connect block, o Memory map o GPIO, PLL o Interrupt structure, Vectored Interrupt Controller (VIC) o Peripherals: ADC, DAC, Timer, PWM, o Serial Communication Interfaces: Dr. N. Mathivanan
• LPC2148 - Specifications
Static RAM (On-chip)
Architecture Processor Instructions Debug support Size Additional
: ARM v4T : ARM7-TDMI-S : 32-bit ARM and 16-bit Thumb : RT EmbeddedICE, Embedded Trace interface : 32 KB : 8 KB for USB DMA
Flash Program Mem. (On-chip)
Size Programming
: 512 KB : ISP/IAP via on-chip boot-loader program.
GPIO
No. of pins Features
: up to 45 (fast GPIO lines, 5V tolerant) : Configurable to fast GPIO
External Interrupts
Interrupts No. of pins Sensitivity
: Four : Nine : Rising/falling edge or low/high level sensitive
Timer/Counter
No. of Timers Operation Compare & Cap
: Two, 32-bit : Counter or timer operation : Four channels for each timer
Processor
Dr. N. Mathivanan
PWM
No. of outputs If not enabled
Watchdog Timer
Timer
RTC
Features
Maintains calendar, clock, Provides Seconds, Minutes, Hours, day of week, day of Month, Month, day of Year, Year. Consumes very low power, Dedicated power pin, can use battery Uses dedicated 32 kHz clock
ADC
No. of ADC No. of channel Resolution
: Two, Successive approximation type : 14 (ADC0 – 6 channels, ADC1 – 8 channels) : 10-bit
DAC
: 6 single edge / 3 double edge controlled or mix : Used as a standard 32-bit timer/counter 32-bit counter, divide by 4 fixed pre-scaler Internally resets the chip
Conversion time VREF
: 2.44 ms per channel : >2.5V,...