lpc11Cxx

LPCOpen processor, board, and toolchain support

LPCOpen processor, board, and toolchain support

Examples were build tested with the following toolchain versions - this only applies to the latest LPCopen version.

IAR EWARM v1.02, Keil UV4 v4.70, LPCXpresso v5.2.4_2122

Supported project list for IAR EWARM v1.02

LPCOpen upcoming releases

Keep an eye on this page for information on upcoming releases of LPCOpen. Features, updated drivers, and new devices/boards are continuously be added to LPCOpen, but the planned release dates and features may change without notice!

Would you like to request a feature for LPCOpen? You can request new features on the NXP support page.

Software Encryption for NXP ARM Microcontrollers

Introduction

How to calculate the value of crystal load capacitors?

Oscillator

The following formula may be used to calculate a parallel resonant crystal's external load capacitors:
CL = ((CX1 x CX2) / (CX1 + CX2)) + Cstray
where:
CL = the crystal load capacitance
Cstray = the stray capacitance in the oscillator circuit, which will normally be in the 2pF to 5pF range.

Assuming that CX1=CX2 then the equation becomes:
CL = ((CX1 x CX1) / (2 x CX1)) + Cstray
CL = (CX1 / 2) + Cstray
Rearranging the equation, we can find the external load capacitor value:
CX1 = 2(CL - Cstray)

For example, if the crystal load capacitance is 15pF, and assuming Cstray=2pF, then:

LPC111x/LPC11Cxx用户手册(简体中文)

LPC微控制器's picture
PreviewAttachmentSize
LPC111x_11Cxx_UM_Simp_Chinese.pdf5.75 MB
File info
File version: 
Rev. 5 - 2011年6月21日
NXP verified: 
YES

LPC111x/LPC11Cxx简体中文用户手册

基于ARM Cortex-M0的LPC111x/LPC11Cxx系列微控制器是低功耗,32位微控制器家族中的一员,面向8、16位微处理应用,具有高性能,低功耗,简单指令集,统一编址寻址等优点,而且,相对于现在市场上存在的8/16位架构来说,它有效的降低了代码长度。
LPC111x/LPC11Cxx系列微控制器的工作频率可高达50MHZ。
LPC111x/LPC11Cxx系列微控制器加入的外围组件包括:高达32KB的flash存储器,8KB的数据存储器,一个增强快速模式(FM+)I2C接口,一个RS-485/EIA-485标准的通用异步串行收发器,两个具有SSP特性的SPI接口,四个通用定时器,一个10位ADC和42个GPIO引脚。
片上C_CAN驱动器和闪存的系统编程工具通过C_CAN连接在LPC11Cxx里,此外LPC11C2x还包含一个一个片上CAN收发器。

After a software reset like WD reset, BOD reset, is the SRAM content retained?

NXP_appMan's picture

Yes. In case of a software reset like WD reset, BOD reset etc, the SRAM contents (memory address 0x1000 0000 to 0x1000 2000 in case of LPC1227 ) is retained. However, the part won't retain the contents if it goes to deep power-down mode or if the microcontrollers is unpowered.

How do I configure Lpcxpresso to place code in RAM?

NXP_appMan's picture

To place code in RAM, follow the link here:

http://support.code-red-tech.com/CodeRedWiki/CodeInRam

The datasheet mentions the I/O pins are 5V tolerant if Vdd is present. Can you explain in detail what this implies?

NXP_appMan's picture

The IO pin will be 5V tolerant if the supply voltage Vdd is present, and they are configured as inputs. VDDIO must be applied to the microcontroller when input voltage is 5V, or else the 5V tolerance does not apply.

Where should I go for LPCXpresso related support?

The LPCXpresso forum is a great place to start. The forum is found at http://knowledgebase.nxp.com/lpcxpresso.php
You can also find code examples at http://ics.nxp.com/support/lpcxpresso/

What platforms are supported by LPCXpresso?

The LPCXpresso IDE is available for Windows, Linux and Mac OS X hosts. LPCXpresso can be downloaded from http://lpcxpresso.code-red-tech.com/LPCXpresso/.

Syndicate content
feedback