Power Management

From ESS-WIKI
Revision as of 09:20, 18 August 2016 by Alex.cheng (talk | contribs)
Jump to: navigation, search

Use LPC11U14 to control power management.

Introduction

The LPC11U14 are an ARM Cortex-M0 based, low-cost 32-bit MCU family, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory1 addressing together with reduced code size compared to existing 8/16-bit architectures.


The LPC11U14 operate at CPU frequencies of up to 50 MHz. Equipped with a highly flexible and configurable full-speed USB 2.0 device controller, the LPC11U14 bring unparalleled design flexibility and seamless integration to today's demanding connectivity solutions.


The peripheral complement of the LPC11U14 includes up to 32 kB of flash memory, up to 8 kB of SRAM data memory, one Fast-mode Plus I2C-bus interface, one RS-485/EIA-485 USART with support for synchronous mode and smart card interface, two SSP interfaces, four general purpose counter/timers, a 10-bit ADC, and up to 54 general purpose I/O pins.


Currently ROM-3420 and ROM-5420 devices support LPC11U14 MCU.

Upgrade MCU Firmware Image

You need to prepare for hardware and software.

Preparing for Hardware

  • Device: ROM-3420 or ROM-5420
  • MCU cable
ROM-3420
ROM-5420
  • PC running the Microsoft® Windows® 7 or XP operating systems.

Preparing for Software

  • Download flash magic tool at following URL:
 http://www.flashmagictool.com/

POWER MANAGEMENT 03.png


  • After downloading flash magic tool, please install this tool in the Microsoft® Windows® 7 or XP operating systems.

Upgrade MCU Firmware Image Step

Step01: Connect the device and Windows PC with MCU cable. Then power on the device. MCU light will lit.

POWER MANAGEMENT 04.png


Step02: Open Flash Magic tool in Windows PC.

POWER MANAGEMENT 05.png


Step03: When you open Flash Magic tool in Windows PC, you will see following picture.

POWER MANAGEMENT 06.png


Step04: Click to select "LPC11U14/201" device.

POWER MANAGEMENT 07.png


Step05: At "Device Manager", check COM port number in Windows PC. Then select the COM port to use or enter a COM port name.

POWER MANAGEMENT 08.png

POWER MANAGEMENT 09.png


Step06: Select or enter the "38400" baud rate to communicate with the device.

POWER MANAGEMENT 10.png


Step07: Select "None (ISP)" interface being used between Flash Magic and the device.

POWER MANAGEMENT 11.png


Step08: Enter "12" oscillator frequency on the hardware.

POWER MANAGEMENT 12.png


Step09: Select "Erase all Flash+Code Rd port". Check to erase the entire flash when the Start button is pressed.

POWER MANAGEMENT 13.png


Step10: Select "ISP" item, then select "Read Device Signature..." option.

POWER MANAGEMENT 14.png

POWER MANAGEMENT 15.png


Step11: Click to select Hex file.

POWER MANAGEMENT 16.png

POWER MANAGEMENT 17.png


Step12: Click Start button to erase, program, verify, fill, generate checksums and set security bits.

POWER MANAGEMENT 18.png

POWER MANAGEMENT 19.png

POWER MANAGEMENT 20.png

POWER MANAGEMENT 21.png


Step13: After upgrading MCU firmware image, power off the device. Unplug the MCU cable. Then power on the device. MCU light will blink.


Display MCU Log Message

You need to prepare for hardware and software.

Preparing for Hardware

The user needs to prepare for hardware as following:

  • Device: ROM-3420 or ROM-5420
  • Debug console cable

POWER MANAGEMENT 22.png

  • PC running the Microsoft® Windows® 7 or XP operating systems.