Introduction to ARM LPC2138

LPC2138 is a 32 bit microcontroller from NXP Semiconductors based on the ARM7TDMI core. It is used in embedded systems to control hardware, process data, and communicate with other devices. It is very popular in engineering education and basic industrial applications.

Block diagram of ARM LPC2138

Features

  • LPC2138 works at a clock speed of up to 60 MHz, which gives fast program execution. It supports ARM and Thumb instruction sets, so memory is used efficiently.
  • It has on chip Flash memory to store the program and SRAM to store data during operation. The controller supports in system programming, which means the program can be updated without removing the chip.
  • LPC2138 includes many built in peripherals like timers, PWM, watchdog timer, ADC, UART, SPI, I2C, and USB device controller. It also provides general purpose input output pins to connect switches, LEDs, sensors, and other external devices.

Advantages of LPC2138

• Fast 32 bit ARM processor gives good speed
• Low power consumption
• Many peripherals available on one chip
• Easy to program and debug
• Supports serial communication like UART, SPI, I2C
• USB device support available

Disadvantages of LPC2138

• ARM7 architecture is old compared to new controllers
• Limited Flash and RAM memory
• No floating point unit
• Slower than modern Cortex series microcontrollers
• Not suitable for very complex applications

Applications of LPC2138

• Industrial automation systems
• Motor control applications
• Robotics projects
• Sensor based monitoring systems

Scroll to Top