element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Freedom development platform
  • Products
  • Dev Tools
  • Freedom development platform
  • More
  • Cancel
Freedom development platform
Blog Working on with LPCXpresso development board OM13088 with LPC4367 MCU
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Freedom development platform to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: bheemarao
  • Date Created: 4 Aug 2016 1:21 PM Date Created
  • Views 931 views
  • Likes 0 likes
  • Comments 0 comments
  • lpcxpresso 4367
  • lpc4367
  • lpcxpresso
  • om13088
Related
Recommended

Working on with LPCXpresso development board OM13088 with LPC4367 MCU

bheemarao
bheemarao
4 Aug 2016

The LPCXpresso family of boards provides a powerful and flexible development system for NXPRegistered's Cortex-M MCUs. The LPCXpresso4367 board has been developed by NXP to enable evaluation of and prototyping with the LPC4300 series of MCUs, and features the LPC4367 in its 100 PIN BGA package option.

 

LPCXpressoTm is a low-cost development platform available from NXP supporting NXP's ARM-based microcontrollers. The platform is comprised of a simplified Eclipse-based IDE and low-cost target boards which include an attached JTAG debugger. LPCXpresso is an end-to-end solution enabling embedded engineers to develop their applications from initial evaluation to final production.

image

The LPCXpresso4367 board includes the following features:

 

1. LPC4367 dual-core (M4F and M0+) MCU running at up to 204 MHz

2. On-board high-speed USB based debug probe with CMSIS-DAP and LPCXpresso IDE Redlink protocol options, can debug the on-board LPC4367 or external target

3. Support for external debug probes

4. Tri-color LED

5. Target Reset, ISP and WAKE buttons

6. USB, UART and QSPI flash boot option configuration options

7. Expansion options based on Arduino UNO R3 and PmodTm, plus additional expansion port pins

8. On-board 1.8/3.3 V or external power supply options

9. On-board Ethernet PHY (output available at expansion connectors)

10. High speed USB A/B connector for host or slave operation

11. 8 Mb Macronix quad SPI flash

12. UART, I²C and SPI port bridging from LPC4367 target to USB via the on-board debug probe

13. FTDI UART connector

14. Compatible with LPCXpresso4337 mbed SDK

 

By default, the LPCXpresso4367 is configured to use the on-board debug probe (Link2) to debug the on-board target (Target MCU). By default the Target MCU UART0 is connected to the FTDI header at P4. This can be used for sending debug messages out to a host computer via a suitable cable. The Target MCU UART0 can also be connected through a virtual communication port (VCOM) UART bridge Link2 function to a host computer connected to the USB Link2 (J5).

 

Pre-requisites:

1. Installed LPCXpresso IDE tool chain or you can download it from below link:

https://www.lpcware.com/lpcxpresso/download

 

2. LPCOpen examples and libraries for LPC4367 MCU

http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpcopen_2_16_lpcxpresso_nxp_lpcxpresso_4337.zip

or

when LPCXpresso is installed the example and libraries can be found at below location

C:\nxp\LPCXpresso_8.1.4_606\lpcxpresso\Examples\LPCOpen

 

3. LPCXpresso LPC4367 development board hardware  OM13088OM13088

Its NXP weblink and downloads can be found from below link:

http://www.nxp.com/products/software-and-tools/reference-designs-and-development-kits/nxp-designs/lpcxpresso4367-development-board:OM13088

 

Let us begin with our demonstration:

 

Now you have the source project which has been downloaded the LPCOpen examples and libraries for LPC4367 MCU from

http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpcopen_2_16_lpcxpresso_nxp_lpcxpresso_4337.zip

 

or by default the source for LPC4367 will be available in below folder when LPCXpresso had installed in your machine:

“C:\nxp\LPCXpresso_8.1.4_606\lpcxpresso\Examples\LPCOpen”

image

Start the LPCXpresso IDE and import the LPCOpen zip file by clicking Import project(s) in the “Start here panel.”

Open LPCXpress and select the workspace of your own as shown below:

image

Click on import project from quick start menu

image

image

Click on next

image

Now select the chip library and chip library for LPC4367 device and the example to be executed, in my case i am selecting peripheral timer project:

image

Click finish and project workspace is created with the selected settings

The workspace looks like as shown below:

image

This examples uses the timers to generate a periodic interrupt and blink an

LED in the timer interrupt handler.

 

Software Steps involved:

 

1) Enable timer 1 clock and reset it

2) Get timer 1 peripheral clock rate

3) Timer setup for match and interrupt at TICKRATE_HZ

4) Enable timer interrupt

 

Timer interrupt handler where Board LED is switched on

LED is connected to

Board_LED_Set(0, On);  -> port-3 pin-5

 

void TIMER1_IRQHandler(void)
{
       static bool On = false;

       if (Chip_TIMER_MatchPending(LPC_TIMER1, 1)) {
              Chip_TIMER_ClearMatch(LPC_TIMER1, 1);
              On = (bool) !On;
              Board_LED_Set(0, On);
       }
}

 

 

Building the Project:

Click on Project > Build Project as shown below

image

It builds with zero error as shown below

image

 

Execute the project on Hardware:

Connect the LPCXpresso4367 board to the USB port of your host computer, connecting a micro USB cable to connector J5 (“Link”).

image

Click on Debug configuration as shown below:

image

Select “C/C++ (NXP Semiconductors) MCU Application” and select New as shown below:

  By clicking new automatically “Periph_timers” project gets selected

image

Now select on debugger tab and select the below option

Debug connection: SWD

Emulator selection : LinkServer

image

Connect to the emulator with LinkServer type LPC-Link-2 CMSIS-DAP as shown below:

image

Now Debug Periph_timers is active and below windows appears:

image

Click on Resume button to run the project. You can see Blue led (RGB) will blink at the rate 10 Hz as defined in timers.c

#define TICKRATE_HZ 10

image

 

Changing to Green LED and timer interval

 

Now let’s change this to blink at 1 Hz  i.e at interval of 1 sec

Change TICKRATE_HZ to 1 in timers.c

#define TICKRATE_HZ 1

 

And we will change instead of blue LED to green LED by changing

Board_LED_Set(0, On);  to Board_LED_Set(1, On); which is connected to Port-0, pin- 7 (defined in board.c)

 

Build the project again and execute the project you will see the led colour changed to Green and the interval rate at which it blinks is 1 second.

image

 

Happy working with LPC4367 image image image

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube