LPC2129 Development Board

Introduction: The LPC2129 development board is a great tool for ARM7 project prototyping using NXP’s LPC2129 microcontroller. It has an onboard USB to TTL converter which eliminates the need of the MAX232 IC and USB to RSR232 adapters. It is also powered using the same USB port so no external power adapters are required.

LPC2129 Development Board with on-board USB-UART

Board specifications

  • LPC2129 microcontroller with built-in 256kB Flash, 16kB RAM, 32-bit ARM7TDMI-S CPU (Datasheet)
  • Powered via USB bus
  • USB Virtual COM port maps to UART0
  • Onboard External 8MHz Resonator
  • 1.8V and 3.3V Linear Regulators for IO and Core
  • Reset button
  • Onboard indicator LEDs (Power, TX, RX, GPIO1.16)
  • Auto-reset/Bootloader USB programming using Flash-Magic

How to flash HEX file to the development board

  • Download and install FlashMagic (Link Here)
  • Make sure that you have a new COM port created. If not then you probably need to install the driver for FTDI FT232R which can be downloaded from HERE
  • Search and select correct device from list: LPC2129 (LPC2000)
  • Connect Board via USB cable and select correct COM port
  • Set Baud rate to 14400 or lower.
  • Browse for your HEX file, tick Verify after Programming and then start to begin flash process.
  • You can download the Blink test HEX file below. This will Blink LED on GPIO 1.16 at a 0.5Hz rate

KEIL uVision setup for the LPC2129 development Board

When creating a new KEIL uVision project, you will need to make sure that the XTAL frequency is set to 8MHz. Then using the PLL settings you can enable the max frequency of 56MHz.

To achieve a clock frequency of 56MHz you will need to set the multiplier as below:

Use KEIL tool to help you set the correct frequency registers i.e. MSEL & PSEL

Use MSEL = 7 and PSEL = 2

This should give you a 56MHz Processor clock frequency with the on-board 8MHz resonator


Happy Learning!

Leave a comment

Your email address will not be published. Required fields are marked *