/*****************************************************************************
* 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
* 2009.07.27 ver 1.01 (1) Added ADC burst mode support,
* (2) UART and ADC
* use PCLKSELx to identify PCLK to the peripheral
* instead of hard coding.
* (3) Added USBBHostLite as part of code bundle.
* (4) Added workaround for MDC and MDIO bit-banging
* due to the lack of MDC/MDIO support in LPC175x 80-pin
* package.
* (5) Added USBCDC class driver, Audio class driver,
* and Mass Storage Class driver using both DMA and non-DMA.
* (6) Fixed CAN issue.
* (7) Used the latest Keil CMSIS header definition to be
* released.
* (8) Added RS485 mode.
*
*
*
******************************************************************************/
/*****************************************************************************/
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. They may be slight change between the
revisions. If the users wish to use Keil MDK default setting, the compiler can
also be set:
Change "#include "lpc17xx.h" to "#include <lpc17xx.h> where should be
located under C:\Keil\ARM\INC\NXP directory. This is also necessary if Keil
releases the update of the header file.
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 LPC23xx/24xx as the reference and port simple driver from LPC23xx to LPC17xx.
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
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
最强Cortex-M3处理器NXP公司lpc1700评估板原理图和演示程序源码 (223个子文件)
usbhost_fat.c 43KB
tcpip.c 36KB
usbcore.c 36KB
usbcore.c 35KB
usbcore.c 35KB
usbcore.c 35KB
usbhost_lpc17xx.c 27KB
usbhw.c 24KB
usbhw.c 22KB
usbhw.c 22KB
usbhw.c 22KB
system_LPC17xx.c 21KB
mscuser.c 18KB
core_cm3.c 17KB
usbhost_ms.c 16KB
cdcuser.c 14KB
serial.c 13KB
EMAC.c 13KB
DiskImg.c 13KB
usbdesc.c 11KB
usbdesc.c 9KB
uart.c 8KB
can.c 8KB
i2c.c 8KB
usbuser.c 8KB
easyweb.c 7KB
usbuser.c 7KB
usbdesc.c 7KB
adc.c 7KB
rs485.c 7KB
usbuser.c 6KB
usbuser.c 6KB
usbdmain.c 6KB
usbhost_main.c 6KB
usbdesc.c 6KB
rtc.c 5KB
timer.c 5KB
timer.c 5KB
adcuser.c 5KB
pwm.c 5KB
i2s.c 4KB
usbhost_uart.c 4KB
dma.c 4KB
cantest.c 4KB
vcomdemo.c 4KB
i2stest.c 4KB
hiduser.c 4KB
demo.c 3KB
i2cmst.c 3KB
dma.c 2KB
extint.c 2KB
wdt.c 2KB
rtctest.c 2KB
rs485test.c 2KB
uarttest.c 2KB
adctest.c 2KB
memory.c 2KB
dmatest.c 2KB
tmrtest.c 1KB
wdttest.c 1KB
pwmtest.c 1KB
dac.c 1KB
dactest.c 1KB
einttest.c 1KB
IOtest.c 838B
HIDClient.exe 208KB
core_cm3.h 45KB
LPC17xx.h 34KB
EMAC.h 19KB
audio.h 16KB
tcpip.h 15KB
hid.h 14KB
usbhost_lpc17xx.h 13KB
cdc.h 12KB
usb.h 8KB
usb.h 8KB
usb.h 8KB
usb.h 8KB
usbhost_fat.h 7KB
usbcfg.h 5KB
usbcfg.h 5KB
usbcfg.h 5KB
usbcfg.h 5KB
usbhw.h 5KB
usbhw.h 5KB
usbhw.h 5KB
usbhw.h 5KB
can.h 5KB
usbreg.h 5KB
usbreg.h 5KB
usbreg.h 5KB
usbreg.h 5KB
usbhost_ms.h 4KB
msc.h 4KB
usbuser.h 3KB
usbuser.h 3KB
usbuser.h 3KB
usbuser.h 3KB
cdcuser.h 3KB
usbhost_err.h 2KB
共 223 条
- 1
- 2
- 3
资源评论
sdjntl
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功