/*****************************************************************************
* readme.txt: Description of the LPC23xx Example Software Package
*
* Copyright(C) 2006, NXP Semiconductor
* All rights reserved.
*
* History
* 2006.09.01 ver 1.00 Preliminary version, first Release
* 2006.11.30 ver 1.10 Release 1. In this release, the major change
* including:
* (1) "lpc230x.h" has been changed to "lpc23xx.h"
* to match the description.
* (2) Tested on the latest Keil IDE 3.03a which has
* the LPC236x device in the database, the beta release
* used "LPC214x" for debugger and flash utility.
* (3) Added I2S example.
* (4) Hardware chage in Enable Control in port LCD.
* (5) Fixed USB clock enable bit hangs caused by the
* bootloader change.
*
*
******************************************************************************/
/*****************************************************************************/
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
LPC23xx 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, SSP, MCI, I2C, Watchdog timer, UART, external
interrupt, CAN, Ethernet, USB Audio, USB HID, etc.
The development environment is Keil's, an ARM company now, uVision 3.x
and ULINK ICE. The target board is Keil's MCB2300 with a NXP's LPC23xx MCU
on it.
The project is created for both target option "MCB2300" and "MCB2300 Debug".
For "MCB2300", the image code can be programmed into the flash and executed;
for "MCB2300 Debug", 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
0x40000000(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.
The directory tree and content of the sample software
===================
common
-- inc
-- lpc23xx.h Definition file of all the registers of LPC23xx
-- irq.h Interrupt related definitions and API prototyping
-- type.h Type definition
-- target.h Target specific definition for Keil's MCB2300 board
-- timer.h Definition and header file for timer module
-- src
-- startup.s Code start up entry
-- swi_handler.s SWI handler
Note: not used, but a good example for future references.
-- irq.c Generic SWI interrupt handler related APIs
-- target.c Target specific modules
-- timer.c Timer related APIs
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
EXTINT
-- extint.h External interrupt header
-- extint.c External interrupt APIs
-- einttest.c External interrupt test module
-- extint.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
PWM
-- pwmc.h PWM header
-- pwm.c PWM APIs
-- pwmtest.c PWM test module
-- pwm.uv2 uVision project file
SPI
-- spi.h SPI header
-- spi.c SPI APIs
-- spitest.c SPI test module
-- spi.uv2 uVision project file
SSP
-- ssp.h SSP(SPI1) header
-- ssp.c SSP(SPI1) APIs, for DMA and non-DMA
-- ssptest.c SSP(SPI1) test module
-- ssp.uv2 uVision project file
UART
-- uart.h UART header
-- uart.c UART APIs
-- uarttest.c UART test module
-- uart.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
MCI
-- mci.h MCI header
-- mci.c MCI APIs for both SD and MMC card interface,
for DMA and non-DMA.
-- mcitest.c MCI test module
-- mci.uv2 uVision project file
ADC
-- adc.h ADC header
-- adc.c ADC APIs
-- adctest.c ADC controller test module
-- adc.uv2 uVision project file
DAC
-- dac.h DAC header
-- dac.c DAC APIs
-- dactest.c DAC test module
-- dac.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
-- i2stest.c I2S test module
-- i2s.uv2 uVision project file
CAN
-- can.h CAN header
-- can.c CAN APIs
-- cantest.c CAN test module
-- can.uv2 uVision project file
DMA
-- dma.h DMA header
-- dma.c GPDMA APIs, memory to memory,
memory to peripheral or peripheral
to memory are in SSP, MCI directory.
-- dmatest.c DMA test module
-- dma.uv2 uVision project file
WDT
-- wdt.h Watchdog timer header
-- wdt.c Watchdog timer APIs
-- wdttest.c Watchdog timer test module
-- wdt.uv2 uVision project file
PWRMAN
-- pwrman.h Power management header
-- pwrman.c Power management APIs
-- pmtest.c Power management test module,
test powerdown and external interrupt wakeup.
-- pwrman.uv2 uVision project file
PortLCD
-- portlcd.h 4-bit port to LCD driver header for Keil MCB2300
-- portlcd.c 4-bit port to LCD driver APIs
-- lcdtest.c 4-bit port to LCD test module
-- portlcd.uv2 uVision project file
EMAC
-- crc32.h CRC calculation header
-- crc32.c CRC calculation APIs
-- emac.h EMAC header
-- emac.c EMAC APIs, options include transmit only(TX_ONLY);
receive packet, switch source and destination
and transmit(BOUNCE_RX), WOL, etc.
-- emactest.c EMAC test module
-- emac.uv2 uVision project file
-- ethpkt.txt Ethernet packet example for transmit
USBDEV
-- 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
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
lpc23xx_24XX编程实例(KEIL) (214个子文件)
mci.c 39KB
emac.c 23KB
usbhw.c 22KB
usbcore.c 22KB
usbcore.c 22KB
usbhw.c 22KB
portlcd.c 11KB
usbdesc.c 10KB
usbuser.c 8KB
i2c.c 8KB
can.c 8KB
emactest.c 7KB
usbuser.c 6KB
pwm.c 6KB
usbdesc.c 6KB
ssp.c 6KB
adc.c 6KB
usbdmain.c 6KB
target.c 5KB
spi.c 5KB
rtc.c 5KB
dma.c 5KB
crc32.c 5KB
adcuser.c 5KB
uart.c 5KB
mcitest.c 5KB
dma.c 5KB
cantest.c 4KB
i2s.c 4KB
spitest.c 4KB
dma.c 4KB
hiduser.c 4KB
timer.c 3KB
pwrman.c 3KB
dma.c 3KB
ssptest.c 3KB
usbdmain.c 3KB
i2cmst.c 3KB
irq.c 3KB
extint.c 3KB
wdt.c 3KB
rtctest.c 2KB
i2stest.c 2KB
pmtest.c 2KB
fio.c 2KB
fiotest.c 2KB
tmrtest.c 2KB
dmatest.c 2KB
pwmtest.c 2KB
adctest.c 1KB
wdttest.c 1KB
uarttest.c 1KB
lcdtest.c 1KB
einttest.c 1KB
dac.c 1KB
dactest.c 1KB
i2s_MCB2300.dep 3KB
usbdev_MCB2300.dep 2KB
usbaudio_MCB2300 Debug.dep 2KB
usbdev_MCB2300 Debug.dep 2KB
usbaudio_MCB2300.dep 2KB
pwrman_MCB2300.dep 1KB
pwrman_MCB2300 Debug.dep 1KB
i2cmst_MCB2300.dep 1KB
rtc_MCB2300.dep 1KB
wdt_MCB2300.dep 1KB
fio_MCB2300.dep 1KB
i2cmst_MCB2300 Debug.dep 1KB
rtc_MCB2300 Debug.dep 1KB
wdt_MCB2300 Debug.dep 1KB
fio_MCB2300 Debug.dep 1KB
emac_MCB2300.dep 1KB
emac_MCB2300 Debug.dep 1KB
mci_MCB2300.dep 1KB
ssp_MCB2300.dep 1KB
mci_MCB2300 Debug.dep 1KB
ssp_MCB2300 Debug.dep 1KB
timer_MCB2300.dep 1KB
timer_MCB2300 Debug.dep 1KB
portlcd_MCB2300.dep 1KB
extint_MCB2300.dep 1KB
portlcd_MCB2300 Debug.dep 1KB
extint_MCB2300 Debug.dep 1KB
uart_MCB2300.dep 1KB
uart_MCB2300 Debug.dep 1024B
spi_MCB2300.dep 1021B
adc_MCB2300.dep 1021B
pwm_MCB2300.dep 1021B
can_MCB2300.dep 1021B
dma_MCB2300.dep 1021B
dac_MCB2300.dep 1021B
spi_MCB2300 Debug.dep 1019B
i2s_MCB2300 Debug.dep 1019B
adc_MCB2300 Debug.dep 1019B
pwm_MCB2300 Debug.dep 1019B
can_MCB2300 Debug.dep 1019B
dma_MCB2300 Debug.dep 1019B
dac_MCB2300 Debug.dep 1019B
LPC23xx.h 72KB
audio.h 16KB
共 214 条
- 1
- 2
- 3
资源评论
- sinyer102012-09-17该资料比较好,适合学习之用
- 翠屏阿姨2012-12-03该资料比较好,适合学习之用
gradzz
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功