ARM processors are 32-bit or 64-bit processors based on RISC (Reduced Instruction Set Computer) architecture. LPC2148 microcontroller is based on a 16-bit/32-bit ARM7TDMI-S CPU. This controller is small in size, low on power consumption and has large number of features which make it useful in embedded applications.

ARM7 Inside

Getting started with ARM LPC2148 using Keil uVision IDE

Using Keil µVision IDE to start writing codes for LPC2148

LPC2148 (32-bit ARM7TDMI-S processor) GPIO Ports and Registers

LPC2148 consists of 32+ GPIO (General Purpose Input Output) pins arranged in two ports, that can be configured as either input pins or output pins

ADC (Analog to Digital Converter) in ARM LPC2148

LPC2148 has two 10-bit ADCs inbuilt. These are useful for converting analog signals from sensors or transducer into digital signals

LPC2148 DAC (Digital to Analog Converter)

LPC2148 has an inbuilt DAC. DAC is useful for converting digital signals into analog signals and find use in audio and video applications

LPC2148 I2C

I2C (Inter Integrated Circuit) is a serial interface that uses only 2 wires for low speed communication between I2C devices like Magnetometer, Gyroscope, RTC etc.

PWM in ARM LPC2148

Pulse Width Modulation (PWM) is a technique used to vary the width of the pulse while keeping its frequency constant. It can also be interpreted as varying the duty cycle of the pulse. It is usually used for speed control of motors.

RTC (Real Time Clock) in ARM LPC2148

RTC is Real Time Clock which is used to keep track of current time, day, date and year. It is useful in applications that require time stamps or where decision is to be made based on time

LPC2148 SPI (Serial Peripheral Interface)

SPI (Serial Peripheral Interface) is a Synchronous serial communication protocol. LPC2148 has 2 SPI interfaces. SPI can be used to communicate with other SPI devices such as certain ADCs, SD cards,7-segment displays, EEPROMs etc.

LPC2148 Watchdog Timer

Watchdog Timer is an independent timer which works with the purpose of resetting the microcontroller within a specific amount of time if it enters in an erroneous state. It is the last line of defence for a developer to help the system recover from situations where the system hangs or starts malfunctioning

LPC2148 Timer/Counter

LPC2148 has two timers/counters which can be used to provide/measure the time intervals/delays, capture input signals, generate waveforms etc.

LPC2148 Timer Input Capture Mode

LPC2148 Timers can be used for capturing the external input events/signals like rising edge (positive going) and falling edge (negative going) on the capture pins. It can be used for measuring the frequency of the input signal, its pulse width

LPC2148 Reset/Stop Timer on Compare Match

LPC2148 has feature of comparing specific time value with timer and make decisions like make High/Low/Toggle corresponding match pin when their match occurs


UART (Universal Asynchronous Receiver/Transmitter) is a serial communication protocol. It is used to communicate with PC and devices like GSM module, GPS module, Bluetooth module etc. that support communication using UART protocol