没有合适的资源?快使用搜索试试~ 我知道了~
首页LPC2378中文用户手册:周立功单片机发展有限公司
LPC2378中文用户手册:周立功单片机发展有限公司
需积分: 13 6 下载量 48 浏览量
更新于2024-07-19
收藏 7.65MB PDF 举报
"LPC2378中文说明书是由广州周立功单片机发展有限公司提供的技术文档,旨在帮助用户理解和使用LPC2378这款微控制器。"
LPC2378是一款基于ARM7TDMI-S内核的微控制器,由NXP(原飞利浦半导体)制造。该芯片具有高性能、低功耗的特点,适用于多种嵌入式应用。在LPC2378的中文说明书中,通常会涵盖以下关键知识点:
1. **硬件结构**:LPC2378包含多个功能模块,如CPU、内存结构(如Flash和SRAM)、外设接口(如UART、SPI、I2C、PWM、ADC、DAC等)、中断控制器、定时器和看门狗等。
2. **内存配置**:LPC2378拥有不同容量的Flash和SRAM,用于存储程序代码和运行时数据。说明书会详细说明如何配置和访问这些内存区域。
3. **外设接口**:每个外设接口都有详细的使用指南,包括配置、操作模式和相应的寄存器设置,以便用户进行通信和数据传输。
4. **开发环境**:介绍如何设置开发环境,包括选择合适的IDE、编程器、仿真器,以及如何下载和烧录程序到LPC2378。
5. **电源管理**:LPC2378支持多种电源模式,如正常工作模式、待机模式和休眠模式,以适应不同应用场合的功耗需求。
6. **中断系统**:说明中断的分类、优先级设置,以及如何处理中断事件,这对于实时系统的响应速度至关重要。
7. **调试工具**:可能包括JTAG接口或SWD接口的使用,以及如何通过这些接口进行调试。
8. **实物电路设计**:提供LPC2378在电路板上的布局和连接示例,帮助硬件工程师进行电路设计。
9. **实例应用**:包含一些实际应用案例,如控制电机、采集传感器数据、实现无线通信等,帮助开发者快速上手。
10. **技术支持和服务**:提供广州周立功单片机发展有限公司的联系方式,包括电话、邮箱和网址,方便用户在遇到问题时寻求帮助。
11. **销售与服务网络**:列出全国各地区的销售和服务点,便于用户购买产品和获取本地化支持。
LPC2378中文说明书是开发者和工程师全面了解和使用这款微控制器的重要参考资料,涵盖了从理论到实践的各个方面,对于理解和应用LPC2378进行项目开发具有指导意义。
LPC23xx ©2008 Guangzhou ZLGMCU Development CO., LTD
xiv
18.5.7 MCIResponse0-3 – 0xE008 C0140xE008 C0180xE008
C01C0xE008 C020 ............................................................................................... 337
18.5.8 MCIDataTimer – 0xE008 C024 ............................ 338
18.5.9 MCIDataLength – 0xE008 C028 ............................... 338
18.5.10 MCIDataCtrl – 0xE008 C02C ........................... 338
18.5.11 MCIDataCnt – 0xE008 C030 ........................ 339
18.5.12 MCIStatus – 0xE008 C034 ........................................ 339
18.5.13 MCIClear –0xE008 C038 .......................................... 340
18.5.14 MCIMask0 – 0xE008 C03CMCIMask1 – 0xE008
C040 341
18.5.15 FIFOMCIFifoCnt – 0xE008 C048 ................................ 341
18.5.16 FIFOMCIFIFO – 0xE008 C0800xE008 C0BC ... 342
19 I
2
CI
2
C0,I
2
C1,I
2
C2
.............................................................................. 343
19.1 ....................................................................................................................... 343
19.2 ....................................................................................................................... 343
19.3 ....................................................................................................................... 343
19.4 ............................................................................................................... 344
19.5 I
2
C ......................................................................................................... 344
19.5.1 ............................................................................................... 344
19.5.2 ............................................................................................... 345
19.5.3 ............................................................................................... 346
19.5.4 ............................................................................................... 346
19.6 I
2
C ................................................................................................. 347
19.6.1 ............................................................................... 347
19.6.2 I2ADDR ................................................................................ 348
19.6.3 ........................................................................................................... 348
19.6.4 I2DAT .................................................................................... 348
19.6.5 ........................................................................................... 349
19.6.6 ........................................................................................... 350
19.6.7 ................................................................................................... 350
19.6.8 I2CONSETI2CONCLR ..................................................... 350
19.6.9 ........................................................................... 350
19.7 ........................................................................................................... 350
19.7.1 I
2
CI2C[0/1/2]CONSET0xE001 C000, 0xE005 C000,
0xE008 0000 ............................................................................................................. 351
19.7.2 I
2
CI2C[0/1/2]CONCLR0xE001 C018, 0xE005 C018,
0xE008 0018 ............................................................................................................. 352
19.7.3 I
2
CI2C[0/1/2]STAT - 0xE001 C004, 0xE005 C004, 0xE008
C004 353
19.7.4 I
2
C I2C[0/1/2]DAT- 0xE001 C008, 0xE005 C008, 0xE008 0008
353
19.7.5 I
2
CI2C[0/1/2]ADR- 0xE001 C00C, 0xE005 C00C, 0xE008
000C 353
LPC23xx ©2008 Guangzhou ZLGMCU Development CO., LTD
xv
19.7.6 I
2
C SCLI2C[0/1/2]SCLH- 0xE001 C010, 0xE005
C010, 0xE008 0010 ................................................................................................... 354
19.7.7 I
2
C SCLI2C[0/1/2]SCLL- 0xE001 C014, 0xE005
C014, 0xE008 0014 ................................................................................................... 354
19.7.8 I
2
C .................................................................. 354
19.8 I
2
C ............................................................................................. 355
19.8.1 ............................................................................................... 355
19.8.2 ............................................................................................... 356
19.8.3 ............................................................................................... 356
19.8.4 ............................................................................................... 360
19.8.5 ........................................................................................... 364
19.8.6 ........................................................................................... 364
19.8.7 ............................................................... 364
19.8.8 ............................................................................... 364
19.8.9 I
2
C ......................................................................................... 365
19.8.10 SCLSDAI
2
C ...................................................... 365
19.8.11 ............................................................................................... 365
19.8.12 I
2
C ......................................................................................... 366
19.9 ............................................................................................................... 367
19.9.1 ................................................................................................... 367
19.9.2 ....................................................................................... 367
19.9.3 ....................................................................................... 367
19.9.4 I
2
C ................................................................................................. 367
19.9.5 ....................................................................................... 368
19.9.6 ....................................................................................................... 368
19.9.7 ........................................................................................... 368
19.9.8 ........................................................................................... 369
19.9.9 ........................................................................................... 370
19.9.10 ................................................................................... 372
20 I
2
S
.............................................................................................................. 374
20.1 ....................................................................................................................... 374
20.2 ....................................................................................................................... 374
20.3 ............................................................................................................... 375
20.4 ........................................................................................................... 375
20.4.1 I2SDAO – 0xE008 8000 ................................... 376
20.4.2 I2SDAI – 0xE008 8004 ..................................... 376
20.4.3 FIFOI2STXFIFO – 0xE008 8008 ..................................... 377
20.4.4 FIFOI2SRXFIFO – 0xE008 800C ..................................... 377
20.4.5 I2SSTATE – 0xE008 8010 ........................................ 377
20.4.6 DMA1I2SDMA1 – 0xE008 8014 .................................... 377
20.4.7 DMA2I2SDMA2 – 0xE008 8018 .................................... 378
20.4.8 I2SIRQ – 0xE008 801C ..................................... 378
20.4.9 I2STXRATE – 0xE008 8020 ............................. 378
20.4.10 I2SRXRATE – 0xE008 8024 ..................... 379
LPC23xx ©2008 Guangzhou ZLGMCU Development CO., LTD
xvi
20.5 I
2
S .............................................................................................. 379
20.6 FIFO .......................................................................................................... 380
21 0123
.................................................................................. 382
21.1 ....................................................................................................................... 382
21.2 ....................................................................................................................... 382
21.3 ....................................................................................................................... 382
21.4 ............................................................................................................... 382
21.4.1 CAPMAT ................................................................................... 383
21.5 ............................................................................................................... 383
21.5.1 T[0/1/2/3]IR - 0xE000 4000, 0xE000 8000, 0xE007 0000,
0xE007 4000 ............................................................................................................. 385
21.5.2 T[0/1/2/3]CR - 0xE000 4004, 0xE000 8004, 0xE007
0004, 0xE007 4004 ................................................................................................... 385
21.5.3 T[0/1/2/3]CTCR - 0xE000 4070, 0xE000 8070, 0xE007
0070, 0xE007 4070 ................................................................................................... 385
21.5.4 MR0 – MR3 ...................................................................... 386
21.5.5 T[0/1/2/3]MCR - 0xE000 4014, 0xE000 8014, 0xE007
0014, 0xE007 4014 ................................................................................................... 386
21.5.6 CR0 - CR3 ......................................................................... 387
21.5.7 T[0/1/2/3]CCR – 0xE000 4028, 0xE000 8028, 0xE007
0028 0xE007 4028 ............................................................................................... 387
21.5.8 T[0/1/2/3]EMR – 0xE000 403C, 0xE000 803C, 0xE007
003C, 0xE007 403C
.................................................................................................. 388
21.6 ................................................................................................... 389
21.7 ....................................................................................................................... 390
22 WDT
.......................................................................... 391
22.1 ....................................................................................................................... 391
22.2 ....................................................................................................................... 391
22.3 ....................................................................................................................... 391
22.4 ........................................................................................................... 392
22.4.1 WDMOD – 0xE000 0000 ...................................... 392
22.4.2 WDTC – 0xE000 0004 .............................. 393
22.4.3 WDFEED - 0xE000 0008 ...................................... 393
22.4.4 WDTV – 0xE000 000C ................................. 393
22.4.5 WDCLKSEL – 0xE000 0010 ........ 393
22.5 ................................................................................................................... 394
23
....................................................................................... 395
23.1 ....................................................................................................................... 395
23.2 ....................................................................................................................... 395
23.3 ....................................................... 396
23.3.1 PWM ..................................................................... 397
23.3.2 PWM ..................................................................... 398
23.4 ............................................................................................................... 398
23.5 PWM ............................................................................................................. 398
LPC23xx ©2008 Guangzhou ZLGMCU Development CO., LTD
xvii
23.6 ........................................................................................................... 398
23.6.1 PWMPWM1IR - 0xE001 8000 ......................................... 400
23.6.2 PWMPWM1TCR - 0xE001 8004 ......................... 400
23.6.3 PWMPWM1CTCR - 0xE001 8070 ........................... 401
23.6.4 PWMPWM1MCR - 0xE001 8014 ............................ 401
23.6.5 PWMPWM1CCR - 0xE001 8028 ............................. 403
23.6.6 PWMPWM1PCR - 0xE001 804C ..................................... 404
23.6.7 PWMPWM1LER - 0xE001 8050 .............................. 405
24 ADC
............................................................................... 407
24.1 ....................................................................................................................... 407
24.2 ....................................................................................................................... 407
24.3 ............................................................................................................... 407
24.4 ........................................................................................................... 407
24.4.1 A/DAD0CR - 0xE003 4000 .............................................. 408
24.4.2 A/DAD0GDR - 0xE003 4004 ................................... 409
24.4.3 A/DADSTAT - 0xE003 4030 ............................................ 410
24.4.4 A/DADINTEN - 0xE003 400C ................................. 410
24.4.5 A/DADDR0ADDR7 - 0xE003 40100xE003 402C ... 411
24.5 ....................................................................................................................... 411
24.5.1 ............................................................................................... 411
24.5.2 ............................................................................................................... 411
24.5.3 ....................................................................................... 411
25 DAC
............................................................................... 413
25.1 ....................................................................................................................... 413
25.2 ............................................................................................................... 413
25.3 DACR - 0xE006 C000 .............................................................. 413
25.4 ....................................................................................................................... 413
26 (RTC)RAM
................................................................ 414
26.1 ....................................................................................................................... 414
26.2 ....................................................................................................................... 414
26.3 ....................................................................................................................... 415
26.4 ........................................................................................................... 415
26.4.1 RTC ....................................................................................................... 416
26.4.2 ............................................................................................... 416
26.4.3 ........................................................................................... 419
26.4.4 ............................................................................................... 420
26.5 ....................................................................................................... 421
26.6 ............................................................................................................... 422
26.7 RTC ............................................................................................... 422
26.8 RTC ................................................................................................... 422
26.8.1 ................................................................... 422
26.8.2 PREINT - 0xE002 4080 ........................................ 423
26.8.3 PREFRAC - 0xE002 4084 ..................................... 423
26.8.4 ................................................................................... 423
LPC23xx ©2008 Guangzhou ZLGMCU Development CO., LTD
xvii
26.8.5 ............................................................................................... 424
26.9 RAM .......................................................................................................... 425
26.10 RTC32kHz .................................................................... 425
27 Flash
.............................................................................. 426
27.1 FLASH BOOT ...................................................................................... 426
27.2 ....................................................................................................................... 426
27.3 ....................................................................................................................... 426
27.4 ....................................................................................................................... 426
27.4.1 ................................................................................... 426
27.4.2 ....................................................................................................... 427
27.5 BOOT ................................................................................................ 429
27.6 ................................................................................................................... 429
27.7 (CRP) ................................................................................................. 430
27.8 ISP ................................................................................................................. 431
27.8.1 <> ........................................................................................ 431
27.8.2 <> <> ............................................................... 432
27.8.3 <> ................................................................................................ 432
27.8.4 RAM<> <> .................................................................... 432
27.8.5 <> <>
....................................................................... 433
27.8.6 <> <> ..................................... 433
27.8.7 RAMFlash <Flash> <RAM> <> ............... 434
27.8.8 <><> ...................................................................................... 434
27.8.9 <><> ...................................................... 435
27.8.10 <><> .............................................. 435
27.8.11 ID ............................................................................................... 436
27.8.12 Boot ............................................................................... 436
27.8.13 <1><2><> ....................................................... 436
27.8.14 ISP ................................................................................................. 436
27.9 IAP ................................................................................................................ 437
27.9.1 ........................................................................................... 439
27.9.2 RAMFlash ............................................................................. 439
27.9.3 ....................................................................................................... 440
27.9.4 ....................................................................................................... 440
27.9.5 ID ....................................................................................................... 440
27.9.6 Boot ....................................................................................... 441
27.9.7 <1><2><> ............................................................... 441
27.9.8 ISP ................................................................................................. 441
27.9.9 IAP ................................................................................................ 442
27.10 JTAG Flash ............................................................................................ 442
28 DMAGPDMA
............................................................... 443
28.1 ....................................................................................................................... 443
28.2 GPDMA .................................................................................................... 443
28.3 ............................................................................................................... 443
28.3.1 GPDMA ........................................................................................ 444
剩余506页未读,继续阅读
2009-08-06 上传
2009-11-11 上传
点击了解资源详情
2012-08-22 上传
2009-03-06 上传
2010-07-22 上传
点击了解资源详情
点击了解资源详情
qq_36108884
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 探索数据转换实验平台在设备装置中的应用
- 使用git-log-to-tikz.py将Git日志转换为TIKZ图形
- 小栗子源码2.9.3版本发布
- 使用Tinder-Hack-Client实现Tinder API交互
- Android Studio新模板:个性化Material Design导航抽屉
- React API分页模块:数据获取与页面管理
- C语言实现顺序表的动态分配方法
- 光催化分解水产氢固溶体催化剂制备技术揭秘
- VS2013环境下tinyxml库的32位与64位编译指南
- 网易云歌词情感分析系统实现与架构
- React应用展示GitHub用户详细信息及项目分析
- LayUI2.1.6帮助文档API功能详解
- 全栈开发实现的chatgpt应用可打包小程序/H5/App
- C++实现顺序表的动态内存分配技术
- Java制作水果格斗游戏:策略与随机性的结合
- 基于若依框架的后台管理系统开发实例解析
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功