NOTICE: This website will be shut down in the near future. Product content has moved to Forum content and FAQs have been moved to We encourage you to create a user account on to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.



Implementing multi-UART using SGPIO

This application note describes how to implement multi-UART (including single UART) transmission and reception function using SGPIO handled by the Cortex-M4 or Cortex-M0 core on NXP’s LPC43xx. The UART protocol implemented in this application note is configurable. The following configuration are tested: 8 data bits, no parity, 1 stop bit, no flow control. The baud rates are configurable as well.
Two examples with multiple project targets are provided in the sample code to allow easy evaluation of the project.

String descriptors for USBD stack made easy

Defining string descriptors for USB devices can be pretty irritating at times. This is mainly because the way it is usually done is very error-prone. The length of the strings involved must be calculated manually, as there seems to be no easy way to let the compiler do this automatically.

LPCXpert V3.2: PinMux and Software Configuration Tool for the LPC Families of Micro-Controllers

LPCXpert V3.2 is the latest release of a Pin-Mux Tool for the NXP LPC1000, LPC4000, and LPC54000 series of MCUs.
This tool now supports more than 370 different CORTEX-M0, CORTEX-M3 and CORTEX-M4 based micro controllers from NXP.

LPCxpert is usefull all phases of a development. During the MCU selection phase LPCxperts supports selection of a target MCU by providing appropriate selection features in the "MCU Select" tab.

Isolated ARM Cortex SWD debug adapter

Isolated ARM Cortex SWD debug adapter

For one of our internal projects I have developed a galvanic isolated ARM Cortex SWD debug adapter. It is possible to debug your ARM Cortex based target board without any ground reference, the target board is completely isolated from your debug environment. As this board could be useful for somebody else out there, I would like to share my design.


- Isolation voltage: 4.5kV
- max. SWD speed: 150 MHz
- Isolated UART interface (max. 150MBaud)
- Min.

Bitmap to JPEG image conversion example

The Dude的头像

We use image conversion utilities on our PCs, MACs and tablets everyday to convert an image from one format to another. An example of this is when we take a picture with our smart phone and want to text it to our friends. The camera of the smart phone might store the image in an uncompressed format that would be too large and costly to send so prior to transmission the image is converted to a compressed format like JPEG. We have all come to expect these types of features in devices that we interact with that have some type of display or camera related functionality.

MYIR LPC1788 Development Board

MYD-LPC1788 development board

MYIR offers a development board MYD-LPC1788 which is a full-featured evaluation platform based on NXP LPC1788 ARM Cortex-M3 microcontroller for embedded applications.

It takes full features of the NXP LPC1788 ARM Cortex-M3 microcontroller and exposes many peripherals including UARTs, USB, Ethernet, CAN, RS485, Audio, LCD and JTAG. The board has external 32MB SDRAM, 1MB SRAM, 2MB Nor Flash, 256KB EEPROM and 4MB SPI Flash to enhance the memory capabilities.

LPCXpert V2.4: PinMux Tool for LPC1000 & LPC4000 Family of Micro-Controllers

LPCXpert V2.4 is a new release of the Pin Muxing Tool for the LPC1000 and LPC4000 series of devices, with new and enhanced features. This tool now supports about 200 different CORTEX-M0, CORTEX-M3 and CORTEX-M4 based controllers from NXP.

New features include support for the LPC800, LPC1500 and LPC4370 devices. Also Schematic Symbol generation for the ALTIUM Designer and the CADSOFT EAGLE V6.2 is possible.

GPIO PCA9538 Sample Code

PCA9538 is 8-bit I2C-bus and SM Bus low power I/O port with interrupt and reset. This sample code demonstrate how to configure all the 8 bit GPIO as output, then send out series data to drive the 8 pcs LEDs as Marquee effect

LCD Driver PCF2119 Sample Code

The PCF2119x is a low power CMOS LCD controller and driver, designed to drive a dot matrix LCD display of 2-lines by 16 characters or 1-line by 32 characters with 5x8 dot format. These sample code demonstrate how to configure the display method and operating mode of PCF2119 , and how to show the character on built-in character set, also how to generate User-Defined charaters and show on the screen.Example for the message: "NXP" "2014 WELCOME" "yours coming" .Customized big chinese character:"新年" "快乐".

LCD Driver PCF8576D Sample Code

The PCF8576D is a Universal LCD driver for low multiplex rates, which could generates the drive signals for any static or multiplexed LCD containing up to four backplanes and up to 40 segments .This sample code demonstrate how to configure the display and operating mode of PCF8576D, also how to light on the relative segments to show “2014” on NXP OM6290 demo board.