LPC2148 vs 8051: Microcontroller Comparison

microcontroller
lpc2148
8051
arm7tdmi
embedded system

This article compares the LPC2148 and 8051 microcontrollers, highlighting their differences and similarities.

LPC2148 Microcontroller

The LPC2148 is a microcontroller developed by NXP.

Key features of the LPC2148 include:

  • Based on a 16-bit/32-bit ARM7TDMI-S CPU.
  • Various versions supported: LPC2141, LPC2142, LPC2144, LPC2146, and LPC2148.
  • Internal RAM and ROM support, with varying sizes depending on the specific version.
  • Six PWM outputs.
  • 32-bit timers/counters.
  • Low-power RTC with independent power and a 32 kHz clock.
  • One or two 10-bit ADCs and one 10-bit DAC.
  • Power-saving modes such as IDLE and Power Down.
  • Two UARTs, two fast I2C interfaces, and SPI/SSP with buffering and variable data length.

LPC2148 Architecture Figure 1: LPC2148 Microcontroller Architecture

LPC2148 pin diagram Figure 2: LPC2148 Pin Diagram

8051 Microcontroller

The 8051 is a microcontroller originally developed by Intel.

Key features of the 8051 include:

  • 8-bit CPU.
  • 4 KB ROM for code/program storage.
  • 128 bytes of RAM for data/variable storage.
  • 32 Input/Output lines with 4 ports (8 lines per port).
  • Two timers for introducing delays and setting the baud rate for data communication.
  • One serial port with one TxD and one RxD line for serial communication with external devices.
  • 6 Interrupt Sources.
  • Clock oscillator circuit running at 12MHz frequency.

8051 architecture Figure 3: 8051 Microcontroller Architecture

8051 pin diagram Figure 4: 8051 Pin Diagram

Difference between LPC2148 and 8051

The following table summarizes the similarities and differences between the LPC2148 and 8051 microcontrollers:

SpecificationsLPC21488051
RAM8 KB to 40 KB (static RAM)256 bytes Used for data storage
ROM32 Kb to 512KB (flash memory)4KB ROM available internally 64KB (max.) can be interfaced external to microcontroller Used for program storage
CPU (No of bits or size)16 bit/32 bit8 bit
I/O ports (without interrupt)About up to 46 fast I/OsFour number of I/O ports are available , each with 8 lines
I/O ports (with interrupt)Up to 46 I/O pins and up to 21 external interrupt pins are availableFour number of I/O ports , uses 2 interrupt lines INT0 and INT1
Serial portsTwo UARTsOne
Timers/CountersTwo 32 bit timers/countersTwo 8 bit timers/counters
Crystal Oscillator frequencyOn chip oscillator operates with external connected crystal in range from 1 MHz to 25 MHz Supports 4 MHz to 30 MHzNominal: 11.0592 MHz
Watchdog timerSupportedNot supported
A to D converter1 or 2 ADCs of 10 bits in sizeNot supported
D to A converter1 DAC of 10 bits in sizeNot supported
HW/SW UARTTwo UARTs supportedOne UART supported
SPI/I2C interfacesTwo, SupportedNot Supported
PWMSupportedNot Supported

Atmel Ships SAM D20 Cortex-M0+ Microcontrollers

Atmel Corporation ships its new Atmel® SAM D20 microcontrollers. This is the first series in a new family of ultra-low power embedded Flash microcontrollers based on the ARM® Cortex®-M0+ processor.

microcontroller
atmel
arm cortex