The LPC546xx IAP EEPROM Write page API does not enable the EEPROM clock for the write operation. This causes EEPROM write operation to fail when using the IAP API. This problem does not occur for IAP Read EEPROM page command.
The workaround is to enable the EEPROM clock ( set bit 9) in AHBCLKCTRL0 register of SYSCON before calling the IAP EEPROM write function.
LPCXpert V3.4 is the latest release of a freeware expert tool for the CORTEX-M based LPC families of microcontrollers. This tool simplifies the selection of a MCU device, speeds up the creation of application code and initialization code and supports generation of an application specific schematic Symbol. This version supports more than 410 different CORTEX-M based micro controllers from NXP.
LPCXpert supports all phases of a development. During the MCU selection phase LPCxperts supports selection of a target MCU by providing selection features in the "MCU Select" tab. During the software implementation phase LPCXpert provides a graphical user-interface to configure the pinout (Pin-MUX) and the peripheral interfaces of the target device. LPCXpert then also generates projects providing a framework of reference applications. These applications configure the Clock Generation Unit (CGU) and the on-chip peripheral interfaces of the device to test and demonstrate the setup.
New and enhanced features include support for LPCopen software package from NXP. Features also include generation of a Schematic Symbol for the ALTIUM Designer and the CADSOFT EAGLE V6.2 and generation of projects for the NXP LPCXpresso and MCUxpresso IDE, IAR Embedded Workbench (EWARM), Keil µVision and GNU C-Compilers, as well as links to Internet Sites for additional information.
Using LPCXpert it is possible to set the pins of each peripheral (i.e. for SPI, CAN., I2C, EMC, ETH, ...) and to configure the features of each pin (Pull-Up, Pull-Down, ...). In addition LPCxpert V3.4 also supports configuration of pre-built demo code for the LPC8xx and LPC54xxx Families of MCUs.
Based on the configuration LPCXpert may generate a C-Code Project or a Schematic Symbol. In addition LPCxpert saves up to 8 different pin-mux configurations and restore from up to 10 different configurations. Additional Information and the download is available from the following Web-Site:
Back in Austin TX after a fun trip to Nürnberg, Germany.
I am humbled and energized after spending a week with 30,000+ engineers at this year’s Embedded World!
Amazing. That’s the only way to describe the passion and enormity of our LPC FANS across Europe. LPC is deep-rooted in the hearts of many and I am lucky to be a part of this inspired, tightknit community. Embedded World has a strong place in the heart of LPC.
My personal highlights from the event .... LPC FANS, What's Popular, MCUXpresso & Geoff.
My favorite experience of the event was standing proudly at the LPC pedestal shaking hands with 1000s of LPC FANS. I enjoyed connecting with each of you, hearing about your success, ideas and future needs. Everything begins with great people … and we will continue to learn and find inspiration from you. Thank you for your guidance as we build our next generation of differentiated microcontrollers!
The 8-bit MCU market is moving to the 32-bit world and we are excited to show off the cool features of the LPC800 series, but EW was really more focused on the LPC54600 family. High performance and integration for power-sensitive applications. We showed off a variety of demos and partner solutions at the pedestal. Stunning, low-power, cost effective GUIs made easy with Embedded Wizard and TouchGFX.
Longtime NXP partner, Embedded Systems Academyshowcased the dramatic improvements the LPC5461x family of CAN-FD controllers can make in various industrial applications.
With our partners, we gave away tons of LPC boards, from our power-optimized, full speed USB enabled LPC54114 board, to our newest LPCXpresso54608 platform. And over 200 engineers & students left on the final day with an LPC800 DIP board, a very fun platform to experience what everyone is talking about ... LPC800! Much more to come this year, stay tuned!
NXP spent a year working on a unified development experience and Embedded World was the near final step in our MCUXpresso roll-out. Erich Styger & Andy Beeson did an unbelievable job showing our new tools, read more at Erich's blog.
#1,LPCFANS and I both loved seeing Geoff engaged and interacting with numerous customers, fans and partners. Many of you commented how "cool" it was to see Geoff approachable and engaged throughout the event. Year after year, his commitment to the industry and his visible presence at Embedded World is inspiring. I am not sure where he finds his energy!
#2,Geoff stole the show (like only Geoff can do). Check out Junko Yoshida's article in EETimes, where Geoff "unveiled a sweeping plan to broadly migrate design and production of general-purpose processors and microcontrollers from CMOS nodes to the FD-SOI" ... all-in on 28 FD-SOI. Get ready for our next generation of breakthrough processors and microcontrollers.
Thank you to the NXP team and valued partners for your hard work making this event a huge success!
And to our LPC FANS, thank you for continuing to believe ... until next time!
We found a timing issue in the Sensory TrulyHandsfree demo we have on the LPC54114 Audio/Voice Kit. This cause the "Hello Blue Genie" trigger phrase recognition to be less reliable than it should be. A fixed version is now available under the downloads tab for the Kit page. Here's a direct URL:
(Below is the detail information about the demo, same as in "readme.txt")
Overview ======== The Multicore blinky demo application demonstrates how to set up projects for individual cores on LPC5411x/10x dual-core system. In this demo, the M4 (master) releases the M0+ (slave) from the reset. Both M0+ and M4 share a global variable who is interpreted as LED control, bit 0 for LED 1, bit 1 for LED 2, bit 2 for LED 3. M4 side (Background): Initialize board, application logic, and boot M0+ by setting M0+'s main stack, reset handler, and release M0+'s reset flag Enter main loop. In main loop, M4 do below things every 20000 cycles. 1. Turn on green LED 2. Try lock the hardware mutex 3. Toggle red LED control bit, delay for sometime 4. Set M0+'s mailbox to the address of LED control variable, this will trigger M0+'s mailbox IRQ. 5. deliberately delay for a long time to simulate complex software execution. 5. Release mutex M4 side (IRQ context) In M4's mailbox IRQ handler (M0+ triggers it by writing non-zero to M4's mailbox), Update LED states according to LED control variable value
M0+ side (Background) 1. After first POR or pin reset, M0+ runs M4/M0+ shared reset handler, and finds startup condition is not yet set, so go to sleep 2. After M0+ is reboot by M4 again sometime later, M4 already prepared M0+'s startup condition, so shared reset handler detect it and jump to M0+'s app reset handler according to M4's settings 3. M0+ app's reset handler do basic initialization and jumps to M0+'s main() 4. In main(), M0+ just enables mailbox IRQ then enter main loop, the main loop is empty M0+ side (IRQ context) In parallel, once M4 write non-zero (in our case, the address of LED control variable) to M0+'s mailbox, M0+'s mailbox IRQ triggered. In mailbox IRQ handler: 1. Get the address of LED control variable, 2. try lock the hardware mutex, note that since M4 delibrately delay before releasing mutex, this try loop will cycle many times before successfully lock it. 3. toggles blue LED control bit , and write non-zero to M4's mailbox to trigger M4's mailbox IRQ.
Manual control Press and hold down the SW1 button to hold M0 in reset state, release SW1 to release M0 from reset (M0 will restart). Press and hold down SW2 button to prevent M4 from releasing hardware mutex, thus pauses the blinking Toolchain supported =================== - (Coming later) IAR embedded Workbench 7.80.2 - Keil MDK 5.21a
Hardware requirements ===================== - Mini/micro USB cable - LPCXpresso54114 board - Personal Computer
Board settings ============== No special settings are required.
Prepare the Demo ================ 0. How to build Open workspace (for KEIL, "boards\lpcxpresso54114\multicore_examples\blinky\mdk\blinky.uvmpw") First build M0+ project, this will generate "core1_image.bin", which is M0+'s image bin file, M4 includes it as one assembly data section. Then build M4 project, and download to flash. Note: Do NOT try downloading M0+ build to flash, M0+ image is managed by M4. 1. Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J7) on the board 2. (Optional) Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number): - 115200 baud rate - 8 data bits - No parity - One stop bit - No flow control 3. Download the M4 project to the target board. 4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo ================ After reset, the red and blue LEDs alternatively turned on and off, and green LED blink for a short time before each switch between red and blue. Green LED shows the period during which M4 holds h/w mutex. During it runs, 1. if you hold SW1 button down (M0 hold reset), the switch pauses and green LED keeps blinkying, and either red or blue LED is always on; after you release SW1, red and blue LED may turned on and off alternatively or altogether. 2. if you hold SW2 button down (M4 does not unlock mutex), the blink is all paused, after you release SW2, the blink resumes like before. If you connect serial terminal, trace logs will be printed when you have button actions and when M4 take/give h/w mutex.
This guide will be the first of many entries where I will show you how to get started with LPC. Today this entry will focus on setting up the IDE and highlighting which products are supported by LPCXpresso IDE.
Visit the link at the top of the post that will direct you to the LPCXpresso IDE page. As of this time, the current version is v8.8.2
Click the gray download linkNote: You will need an account in order to download the IDE. Login or create an account
Once signed in you will be presented with the following windowThis guide assumes you will install on Windows. The steps will be more or less the same regardless of which operating system is utilized for the installation. We will register the software in a later step.
Once you've selected your operating system you will be presented with the following options
It is always recommended that you download the most recent version of the IDE but links are provided for previous editions, if necessary. Clicking on the link automatically starts the installer. Each installer serves as a standalone package. If you are upgrading to the newest version, keep in mind that the old version remains on the computer. You may opt to manually uninstall old versions.
Once you launch the installer and agree to the licensing terms, you will be prompted for an installation directory. Use the default directory.
Note: C:\nxp contains all LPCXpresso installations. You can open previous versions here if needed.
Once the software installation finishes you will be prompted to install various drivers. You can select "Always trust software from 'NXP Semiconductors USA. Inc.'" to not have to individually approve each driver's installation.
You will be presented with the following window once the installation process has completed. You are free to review the version documentation and the IDE User Guide if you wish.
Once you launch LPCXpresso for the first time, you will be presented with the following window letting you know that you do not have an active license for the IDE. This limits you to debugging code up to 8k in size.
In order to increase this limit we need to request a free license by clicking on help in the task bar. Then scrolling down to "Activate" and selecting "Create serial number and register (Free Edition)"
A new window will come up with your serial number as shown below. Select "Open in external browser" to open up a browser window to generate the activation key.
Once the new browser window loads you will be presented with your activation key listed below the serial number. Highlight and copy this key.
We are going to follow a similar process to what we used to request the activation key but instead we will select "Activate (Free Edition)"
Paste the activation key into the new window that pops up
Once you press OK you will receive confirmation that your copy of LPCXpresso has been licensed. This allows you you to use all of the features of the IDE as well as raising your debug limit to 256k.
You will be prompted to restart LPCXpresso and when it relaunches the welcome page will show that your copy is fully activated.
Note: Once you have an activated key, this key will also be utilized by MCUXpresso in the future.
This tutorial demonstrated how to set up the free edition of LPCXpresso, however, activating the Pro edition is very similar.
As of this writing LPCXpresso IDE v8.8.2 can be used to develop on the following platforms:
Next week, I will demonstrate how to install and setup IAR and KEIL for LPC. In the coming weeks, once I have shown you how to configure the software environments I will post getting started guides with different LPCXpresso development boards. Stay Tuned!
LPCXpert V3.3 is the latest release of a freeware expert tool for the NXP CORTEX-M based LPC families of microcontrollers. This tool simplifies the selection of a MCU device, speeds up the creation of application code and initialization code and it supports generation of an application specific schematic symbol.
This version supports about 400 different CORTEX-M based micro controllers from NXP.
LPCxpert supports all phases of a development. During the MCU selection phase LPCxperts supports selection of a target MCU by providing selection features in the "MCU Select" tab. During the software implementation phase LPCxpert provides a graphical user-interface to configure the pinout (Pin-MUX) and the peripheral interfaces of the target device. LPCxpert also generates a framework of executable code that configures the Clock Generation Unit (CGU) and the peripheral interfaces of the device.
New and enhanced features include support for LPCopen software package from NXP. Features also include generation of a Schematic Symbol for the ALTIUM Designer and the CADSOFT EAGLE V6.2 and generation of projects for IAR Embedded Workbench (EWARM), Keil µVision and GNU C-Compilers, as well as links to Internet Sites for additional information.
Using LPCXpert it is possible to set the pins of each peripheral (i.e. for SPI, CAN., I2C, EMC, ETH, ...) and to configure the features of each pin (Pull-Up, Pull-Down, ...). In addition LPCxpert V3.2 also supports configuration of pre-built demo code for the LPC8xx and LPC54xxx Families of MCUs.
Based on the configuration LPCXpert may generate a C-Code Project or a Schematic Symbol. In addition LPCxpert saves up to 8 different pin-mux configurations and restore from up to 10 different configurations.
Additional Information and the download is available from the following Web-Site: