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    LCD\NOKIA6610_LCD\abstract.txt 
00003  * @author  NXP MCU SW Application Team
00004  * @version 2.0
00005  * @date    
00006  * @brief   Description of the LCD NOKIA6610 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         This example describes how to use LCD NOKIA6610 on IAR-LPC1768-KS board
00023     Process:
00024         This example use LCD NOKIA6610 driver library that deriverd from IAR.
00025         Using SPI protocol to communicate with LCD controller chip.
00026         It starts by show NXP icon.
00027         LCD operation can be controlled by using:
00028             - AN_TRIM: ADC potentiometer - increase/decrease LCD backlight or contrast. 
00029             - BUT1: used to adjust backlight.
00030             - BUT2: used to adjust LCD contrast.        
00031             
00032 @Directory contents:
00033     \EWARM: includes EWARM (IAR) project and configuration files
00034     \Keil:  includes RVMDK (Keil)project and configuration files 
00035     
00036     drv_glcd_cbcf.h: Graphic LCD configuration file
00037     drv_glcd.h/.c: Graphic LCD driver
00038     glcd_ll.h/.c: Graphic LCD low level functions
00039     lcdtest.c: Main program
00040     lpc17xx_libcfg.h: Library configuration file - include needed driver library for this example 
00041     NXP_logo.h/.c: NXP icon data
00042     Terminal_9_12x6: font (12x6) data
00043     makefile: Example's makefile (to build with GNU toolchain)
00044     
00045 
00046 @How to run:
00047     Hardware configuration:     
00048         This example was tested only on:
00049             IAR LPC1768 KickStart vers.A
00050                 These jumpers must be configured as following:
00051                 - PWR_SEL: depend on power source
00052                 - DBG_EN : ON
00053                 - Remain jumpers: OFF
00054 
00055     Running mode:
00056         This example can run only on ROM mode.
00057                     
00058         Note: If want to burn hex file to board by using Flash Magic, these jumpers need
00059         to be connected:
00060             - MCB1700 with LPC1768 ver.1:
00061                 + RST: ON
00062                 + ISP: ON
00063             - IAR LPC1768 KickStart vers.A:
00064                 + RST_E: ON
00065                 + ISP_E: ON
00066         
00067         (Please reference "LPC1000 Software Development Toolchain" - chapter 4 "Creating and working with
00068         LPC1000CMSIS project" for more information)
00069     
00070     Step to run:
00071         - Step 1: Build example.
00072         - Step 2: Burn hex file into board (if run on ROM mode)
00073         - Step 3: Configure hardware as above instruction
00074         - Step 4: Hit reset button to run example:
00075                     + It shows NXP icon first.
00076                     + Hit "BUT1" if want to adjust backlight, then turn ADC potentiometer AN_TRIM to 
00077                       change LCD backlight.
00078                     + Hit "BUT2" if want to adjust contrast, then turn ADC potentiometer AN_TRIM to 
00079                       change LCD contrast.
00080                       
00081         (Pls see "LPC17xx Example Description" document - chapter "Examples > LCD > NOKIA6610_LCD"
00082         for more details)
00083         
00084 @Tip:
00085     - Open \EWARM\*.eww project file to run example on IAR
00086     - Open \RVMDK\*.uvproj project file to run example on Keil