These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers abstract.h Source File

abstract.h

00001  ******************** (C) COPYRIGHT 2010 NXPSemiconductors *******************
00002  * @file    GPIO\LedBlinky\abstract.txt 
00003  * @author  NXP MCU SW Application Team
00004  * @version 2.0
00005  * @date    
00006  * @brief   Description of the GPIO LedBlinky example.
00007  ******************************************************************************
00008  * Software that is described herein is for illustrative purposes only
00009  * which provides customers with programming information regarding the
00010  * products. This software is supplied "AS IS" without any warranties.
00011  * NXP Semiconductors assumes no responsibility or liability for the
00012  * use of the software, conveys no license or title under any patent,
00013  * copyright, or mask work right to the product. NXP Semiconductors
00014  * reserves the right to make changes in the software without
00015  * notification. NXP Semiconductors also make no representation or
00016  * warranty that such application will be suitable for the specified
00017  * use without further testing or modification.
00018  ******************************************************************************
00019   
00020 @Example description:
00021     Purpose:
00022         A simple program to test GPIO interrupt functionality to drive LED      
00023     Process:
00024         Keil MCB1700 with LPC1768:      
00025         After reset software all LED from P1.28 to P2.6 will be blinking one after another  
00026         IAR LPC1768 KickStart:      
00027         After reset software LED1 will be blinking
00028 
00029 @Directory contents:
00030     \EWARM: includes EWARM (IAR) project and configuration files
00031     \Keil:  includes RVMDK (Keil)project and configuration files 
00032     
00033     lpc17xx_libcfg.h: Library configuration file - include needed driver library for this example 
00034     makefile: Example's makefile
00035     LedBlinky.c: Main program
00036 
00037 @How to run:
00038     Hardware configuration:     
00039         This example was tested on:
00040             Keil MCB1700 with LPC1768 vers.1
00041                 These jumpers must be configured as following:
00042                 - VDDREGS: ON 
00043                 - VBUS: ON
00044                 - LED: ON
00045                 - INT0: ON
00046                 - Remain jumpers: OFF
00047             IAR LPC1768 KickStart vers.A
00048                 These jumpers must be configured as following:
00049                 - PWR_SEL: depend on power source
00050                 - DBG_EN : ON
00051                 - Remain jumpers: OFF
00052                 
00053     
00054     Running mode:
00055         This example can run on RAM/ROM mode.
00056                     
00057         Note: If want to burn hex file to board by using Flash Magic, these jumpers need
00058         to be connected:
00059             - MCB1700 with LPC1768 ver.1:
00060                 + RST: ON
00061                 + ISP: ON
00062             - IAR LPC1768 KickStart vers.A:
00063                 + RST_E: ON
00064                 + ISP_E: ON
00065         
00066         (Please reference "LPC1000 Software Development Toolchain" - chapter 4 "Creating and working with
00067         LPC1000CMSIS project" for more information)
00068     
00069     Step to run:
00070         - Step 1: Choose correct working board: In LEDBlinky.c file
00071             + If using MCB1700 board, setting:
00072                 #define MCB_LPC_1768    
00073                 //#define IAR_LPC_1768  
00074             + If using IAR-LPC1768-KS board, setting:
00075                 //#define MCB_LPC_1768  
00076                 #define IAR_LPC_1768    
00077             (Should not enable/disable both symbols at the same time)   
00078         - Step 2: Build example.
00079         - Step 3: Burn hex file into board (if run on ROM mode)
00080         - Step 4: Reset the board then we can see the LED blinking
00081         
00082         (Pls see "LPC17xx Example Description" document - chapter "Examples > GPIO > LEDBlinky"
00083         for more details)
00084         
00085 @Tip:
00086     - Open \EWARM\*.eww project file to run example on IAR
00087     - Open \RVMDK\*.uvproj project file to run example on Keil