/*****************************************************************************
* readme.txt: Description of the LPC17xx Example Software Package
*
* Copyright(C) 2009, NXP Semiconductor
* All rights reserved.
*
* History
* 2009.06.23 ver 1.00 Preliminary version, first Release
*
*
*
*
******************************************************************************/
/*****************************************************************************/
Software that is described herein is for illustrative purposes only which
provides customers with programming information regarding the products.
This software is supplied "AS IS" without any warranties. NXP Semiconductors
assumes no responsibility or liability for the use of the software, conveys no
license or title under any patent, copyright, or mask work right to the
product. NXP Semiconductors reserves the right to make changes in the
software without notification. NXP Semiconductors also make no representation
or warranty that such application will be suitable for the specified use without
further testing or modification.
/*****************************************************************************/
The Description of the Example software
===================
This example demonstrates the use of build-in peripherals on the NXP
LPC17xx family microcontrollers.
The Example software includes, common library, peripheral APIs, and test modules
for the APIs. The common library include startup file, standard definition and
header files, processor specific setup module, generic interrupt related APIs,
timer routine. The peripheral directories include, ADC, DAC, DMA, GPIO, PWM,
Real-time clock, timer, SPI, I2C, Watchdog timer, UART, external
interrupt, CAN, Ethernet, USB HID,etc.
The development environment is Keil's, an ARM company now, uVision MDK 3.85
or later, and ULINK2 ICE. The target boards are Keil's MCB1700 with a NXP's
LPC17xx MCU on it.
Please note that, the latest Keil MDK includes the startup file, the header
files, and Cortex related API files for NVIC and Systick driver. These files
are also included in our common library. If the users wish not to use Keil MDK,
the compiler needs to:
(1) set up the include path to COMMON/INC
(2) change #include <lpc17xx.h> to "#include "lpc17xx.h" where is located
under COMMON/INC directory.
(3) Add "core_cm3.c" from COMMON/SRC into your own project.
Many of the peripherals are similar to those in LPC23xx/LPC24xx, except NVIC
handling, not all the software modules have been ported from LPC23xx/24xx to
LPC17xx yet. e.g. once you are familiar with LPC23xx/24xx family MCU, you
can use USBCDC example as the base and port USBCDC driver from LPC23xx/24xx
to LPC17xx easily. Go to below website and check out the sample code bundle
under "Support Doc." for more details.
http://www.standardics.nxp.com/products/lpc2000/all/~LPC2364/#LPC2364
The project is created for both target option "FLASH" and "RAM".
For "FLASH", the image code can be programmed into the flash and executed;
for "RAM", the image code can be loaded into internal SRAM(IRAM)
for easy debugging. The "RAM.ini" in each directory is a Keil uVision debugger
script file, once the debugger starts, the code will be loaded to the IRAM
first, then, "RAM.ini" will be executed and reset program counter(PC) to
0x10000000(IRAM starting address) that code will be executed from.
Some external components, such as I2C temperature, SPI serial EEPROM, will be
required to add on the board in order to complete the test below.
By default, the test program is for Keil MCB1700 board.
The directory tree and content of the sample software
===================
common
-- inc
-- lpc17xx.h CMSIS Cortex-M3 Core Peripheral Access Layer Header
File for NXP LPC17xx Device Series
-- core_cm3.h CMSIS Cortex-M3 Core Peripheral Access Layer Header File
-- system_LPC17xx.h CMSIS Cortex-M3 Device Peripheral Access Layer Header
File for the NXP LPC17xx Device Series
-- type.h Type definition Header file for NXP LPC17xx Family
-- src
-- core_cm3.c CMSIS Cortex-M3 Core Peripheral Access Layer Source File
-- startup_LPC17xx.s CMSIS Cortex-M3 Core Device Startup File
for the NXP LPC17xx Device Series
-- system_LPC17xx.c CMSIS Cortex-M3 Device Peripheral Access Layer Source
File for the NXP LPC17xx Device Series
ADC
-- adc.h ADC header
-- adc.c ADC APIs
-- adctest.c ADC controller test module
-- adc.uv2 uVision project file
CAN
-- can.h CAN header
-- can.c CAN APIs
-- cantest.c CAN test module
-- can.uv2 uVision project file
DAC
-- dac.h DAC header
-- dac.c DAC APIs
-- dactest.c DAC test module
-- dac.uv2 uVision project file
DMA
-- dma.h DMA header
-- dma.c GPDMA APIs, memory to memory only.
Note: memory to peripheral or peripheral
to memory are in SSP, MCI, and I2S directories.
-- dmatest.c DMA test module
-- dma.uv2 uVision project file
EMAC
-- easyweb.h easyweb header
-- easyweb.c easyweb (EMAC test module)
-- emac.h EMAC header
-- emac.c EMAC APIs
-- tcpip.h header-file for tcpip.c
-- tcpip.c implements the TCP/IP-stack and provides a simple API
-- webpage.h web content
EXTINT
-- extint.h External interrupt header
-- extint.c External interrupt APIs
-- einttest.c External interrupt test module
-- extint.uv2 uVision project file
GPIO
-- fio.h GPIO and fast I/O header
-- fio.c GPIO and fast I/O APIs
-- fiotest.c GPIO and Fast I/O test module
-- fio.uv2 uVision project file
I2C
-- i2c.h I2C header
-- i2c.c I2C APIs
-- i2cmst.c I2C test module
-- i2cmst.uv2 uVision project file
I2S
-- i2s.h I2S header
-- i2s.c I2S APIs
-- dma.c I2S DMA APIs
-- dma.h I2S DMA header
-- i2stest.c I2S test module
-- i2s.uv2 uVision project file
PWM
-- pwmc.h PWM header
-- pwm.c PWM APIs
-- pwmtest.c PWM test module
-- pwm.uv2 uVision project file
RTC
-- rtc.h Real-time clock(RTC) header
-- rtc.c Real-time clock(RTC) APIs
-- rtctest.c Real-time clock(RTC) test module
-- rtc.uv2 uVision project file
Timer
-- tmrtest.c Timer test module, note: API modules
are in the COMMON directory and
shared and used by some other peripheral testing.
-- timer.uv2 uVision project file
UART
-- uart.h UART header
-- uart.c UART APIs
-- uarttest.c UART test module
-- uart.uv2 uVision project fil
USBHID
-- hid.h USB HID related header
-- hiduser.h USB HID user specific header
-- hiduser.c USB HID user APIs
-- usb.h USB header
-- usbcfg.h USB configuration header
-- usbcore.h USB Core header
-- usbcore.c USB Core APIs
-- usbdesc.h USB descriptor header
-- usbdesc.c USB descriptor APIs
-- usbhw.h USB hardware header
-- usbhw.c USB hardware APIs
-- usbreg.h USB misc. register header
-- usbuser.h USB user header
-- useuser.c USB user APIs
-- demo.c USB HID test module main entry
-- demo.h header file for main entry
-- usbhid.uv2 uVision project file
USBMEM
-- msc.h USB MSC related header
-- mscuser.h USB MSC user specific header
-- mscuser.c USB MSC user APIs
-- usb.h USB header
-- usbcfg.h USB configuration header
-- usbcore.h USB Core header
-- usbcore.c USB Core APIs
-- usbdesc.h USB descriptor header
-- usbdesc.c USB descriptor APIs
-- usbhw.h US
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
LPC1700 LPC17XX LPC1768 ARM Cortex M3 例程 (155个子文件)
tcpip.c 37KB
usbcore.c 22KB
system_LPC17xx.c 21KB
usbhw.c 21KB
usbhw.c 21KB
core_cm3.c 17KB
mscuser.c 15KB
DiskImg.c 13KB
usbcore.c 12KB
EMAC.c 10KB
i2c.c 8KB
can.c 8KB
easyweb.c 8KB
uart.c 8KB
usbuser.c 6KB
usbdesc.c 6KB
usbuser.c 6KB
usbdesc.c 5KB
adc.c 5KB
timer.c 5KB
timer.c 5KB
rtc.c 5KB
i2s.c 5KB
pwm.c 5KB
dma.c 4KB
cantest.c 4KB
i2stest.c 4KB
hiduser.c 4KB
i2cmst.c 3KB
dma.c 2KB
rtctest.c 2KB
extint.c 2KB
wdt.c 2KB
demo.c 2KB
uarttest.c 2KB
pwmtest.c 2KB
memory.c 2KB
dmatest.c 2KB
tmrtest.c 1KB
adctest.c 1KB
wdttest.c 1KB
dac.c 1KB
dactest.c 1KB
einttest.c 1KB
IOtest.c 432B
HIDClient.exe 208KB
core_cm3.h 45KB
LPC17xx.h 33KB
EMAC.h 19KB
tcpip.h 15KB
hid.h 14KB
usb.h 8KB
usb.h 8KB
usbhw.h 5KB
usbhw.h 5KB
usbcfg.h 5KB
usbcfg.h 5KB
can.h 5KB
usbreg.h 5KB
usbreg.h 5KB
msc.h 4KB
usbuser.h 3KB
usbuser.h 3KB
rtc.h 2KB
pwm.h 2KB
webpage.h 2KB
i2c.h 2KB
usbdesc.h 2KB
mscuser.h 2KB
usbcore.h 2KB
usbcore.h 2KB
easyweb.h 2KB
hiduser.h 2KB
usbdesc.h 1KB
system_LPC17xx.h 1KB
timer.h 1KB
uart.h 1KB
dma.h 1KB
demo.h 1KB
memory.h 1KB
extint.h 1KB
timer.h 1KB
adc.h 1KB
dma.h 909B
wdt.h 904B
i2s.h 893B
type.h 775B
dac.h 716B
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
RAM.ini 1KB
共 155 条
- 1
- 2
天下的人
- 粉丝: 5
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页