Infobox BSP

BSP_name LPC1768
Manufacturer NXP
image Lpc176x.png
caption LPC1768 board
Dimensions 44 x 26 mm
Architecture ARM Cortex-M3
CPU_model NXP's Cortex-M0 LPC1768 microcontroller
Power Powered by USB or 4.5v - 9.0v appiled to VIN
Aliases Various
RAM 32 Kb SDRAM + 32 KB internal
NVMEM 512kb Flash
Serial 3 x I2C, 2 x I2S, 4 x UARTs, 2 x SPI/SSP, 6 x PWM, 10 x I/O pins
NICs 10/100 Ethernet
Other USB 2.0 full-speed OTG/Device/ OHCI plus PHY and DMA


The mbed Microcontrollers are a series of ARM microcontroller development boards designed for rapid prototyping. The mbed NXP LPC1768 Microcontroller in particular is designed for prototyping all sorts of devices, especially those including Ethernet, USB, and the flexibility of lots of peripheral interfaces and FLASH memory. It is packaged as a small DIP form-factor for prototyping with through-hole PCBs, stripboard and breadboard, and includes a built-in USB FLASH programmer.

It is based on the NXP LPC1768, with a 32-bit ARM Cortex-M3 core running at 96MHz. It includes 512KB FLASH, 32KB RAM and lots of interfaces including built-in Ethernet, USB Host and Device, CAN, SPI, I2C, ADC, DAC, PWM and other I/O interfaces. The pinout above shows the commonly used interfaces and their locations. Note that all the numbered pins (p5-p30) can also be used as DigitalIn? and DigitalOut? interfaces.

The mbed Microcontrollers provide experienced embedded developers a powerful and productive platform for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community.



  • NXP LPC1768 MCU:
  • High performance ARM® Cortex™-M3 Core.
  • 96MHz, 32KB RAM, 512KB FLASH.
  • Ethernet, USB Host/Device?, 2xSPI, 2xI2C, 3xUART, CAN, 6xPWM, 6xADC, GPIO.
  • Prototyping form-factor:
  • 40-pin 0.1" pitch DIP package, 54x26mm.
  • 5V USB or 4.5-9V supply.
  • Built-in USB drag 'n' drop FLASH programmer.
  • Developer Website:
  • Lightweight Online Compiler.
  • High level C/C++ SDK.
  • Cookbook of published libraries and projects.

The mbed NXP LPC1768 is one of a range of mbed Microcontrollers packaged as a small 40-pin DIP, 0.1-inch pitch form-factor making it convenient for prototyping with solderless breadboard, stripboard, and through-hole PCBs. It includes a built-in USB programming interface that is as simple as using a USB Flash Drive. Plug it in, drop on an ARM program binary, and its up and running!



Use the obj-copy command to generate the binary needed to run the application in the board. For example (consider the hello example):

user@user:~/LPCDIR/arm-rtems4.11/c/lpc1768_mbed/testsuites/samples/hello$ arm-rtems4.11-objcopy -O binary hello.exe yourname.bin

The "yourname.bin" file will be copy and paste into the board to run the application.


Debugging from GDB using pyOCD.

Test Reports

The hello world and ticker tests were runned successfully. Also, some timing tests were executed. You can find the results of this tests into the lpc176x bsp folder.


Last modified on Nov 7, 2018 at 10:17:27 AM Last modified on Nov 7, 2018, 10:17:27 AM