Mbed NXP LPC11U24

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search
Information
Name mbed NXP LPC11U24
Manufacturer
Link https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc1100-arm-cortex-m0-plus-m0/arm-mbed-lpc11u24-board:OM13032, https://os.mbed.com/handbook/mbed-NXP-LPC11U24
Specification https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc1100-arm-cortex-m0-plus-m0/arm-mbed-lpc11u24-board:OM13032, https://os.mbed.com/handbook/mbed-NXP-LPC11U24
Technologies USB Device, SPI, I2C , UART, ADC, GPIO
Included equipment 1x Arm mbed LPC11U24 Board, 1x Pin Card
accessory-image-cf2HCIiui2.jpg

Description

This board is no longer in production. The replacement for this board is the OM13058 (LPCXpresso11U68).

The mbed NXP LPC11U24 Microcontroller in particular is designed for prototyping low cost USB devices, battery powered applications and 32-bit Arm Cortex-M0 based designs. 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.

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.

  • Microcontroller
    • NXP LPC11U24 MCU
    • Low-power Arm Cortex-M0 Core
    • 48 MHz, 8 KB RAM, 32 KB FLASH
  • Connectivity
    • USB Device
    • 2 x SPI
    • I2C
    • UART
    • 6 x ADC
    • GPIO
    • 40-pin 0.1 pitch DIP package, 54 x 26 mm
  • Power Management
    • 5 V USB
    • 4.5 V - 9 V supply
    • 2.4 V - 3.3 V battery
  • Size
    • Prototyping form-factor
  • Support
    • mbed.org Developer Website
    • Lightweight Online Compiler
    • High-level C/C++ SDK
    • Cookbook of published libraries and project

Built-in USB drag 'n' drop FLASH programmer

---

The mbed Microcontrollers are all supported by the mbed.org developer website, including a lightweight Online Compiler for instant access to your working environment on Windows, Linux or Mac OS X.

Also included is a C/C++ SDK for productive high-level programming of peripherals. Combined with the wealth of libraries and code examples being published by the mbed community, the platform provides a productive environment for getting things done.

USBMouse example #include mbed.h #include USBMouse.h USBMouse mouse; int main() { int16_t x = 0; int16_t y = 0; int32_t radius = 10; int32_t angle = 0; while (1) { x = cos((double)angle*3.14/180.0)*radius; y = sin((double)angle*3.14/180.0)*radius; mouse.move(x, y); angle += 3; wait(0.001); } }

The mbed NXP LPC11U24 is also good for prototyping low-power applications. Here the LPC11U24 is put to sleep and woken up by a button to increment and update a display before returning to sleep. The board is running off two AA's cells and drops to couple of milliamps when not is use. Simple deepsleep and interrupt wakeup example #include mbed.h #include TextLCD.h TextLCD lcd(p21, p23, p24, p25, p26, p27); InterruptIn wakeup(p14); int i = 0; void count() { lcd.locate (0,1); lcd.printf(%d,i); i++; wait(0.5); } int main () { wakeup.rise(NULL); // Setup rising edge interrupt (no handler function needed) lcd.printf(Hello World!); while (1) { deepsleep(); // Deep sleep until external interrupt count(); // We've come out of sleep due to interrupt, so count! } } For both sleep() and deepsleep(), all state is retained so you can see it is a nice simple programming model. Should be great for quickly prototyping some things that need to run off batteries.

Documentations