欢迎访问ic37.com |
会员登录 免费注册
发布采购

LPC2138FBD64,151 参数 Datasheet PDF下载

LPC2138FBD64,151图片预览
型号: LPC2138FBD64,151
PDF下载: 下载PDF文件 查看货源
内容描述: [LPC2131/32/34/36/38 - Single-chip 16/32-bit microcontrollers; 32/64/128/256/512 kB ISP/IAP flash with 10-bit ADC and DAC QFP 64-Pin]
分类和应用: 时钟PC微控制器外围集成电路
文件页数/大小: 45 页 / 318 K
品牌: NXP [ NXP ]
 浏览型号LPC2138FBD64,151的Datasheet PDF文件第17页浏览型号LPC2138FBD64,151的Datasheet PDF文件第18页浏览型号LPC2138FBD64,151的Datasheet PDF文件第19页浏览型号LPC2138FBD64,151的Datasheet PDF文件第20页浏览型号LPC2138FBD64,151的Datasheet PDF文件第22页浏览型号LPC2138FBD64,151的Datasheet PDF文件第23页浏览型号LPC2138FBD64,151的Datasheet PDF文件第24页浏览型号LPC2138FBD64,151的Datasheet PDF文件第25页  
LPC2131/32/34/36/38  
NXP Semiconductors  
Single-chip 16/32-bit microcontrollers  
6.17 Pulse width modulator  
The PWM is based on the standard Timer block and inherits all of its features, although  
only the PWM function is pinned out on the LPC2131/32/34/36/38. The Timer is designed  
to count cycles of the peripheral clock (PCLK) and optionally generate interrupts or  
perform other actions when specified timer values occur, based on seven match registers.  
The PWM function is also based on match register events.  
The ability to separately control rising and falling edge locations allows the PWM to be  
used for more applications. For instance, multi-phase motor control typically requires  
three non-overlapping PWM outputs with individual control of all three pulse widths and  
positions.  
Two match registers can be used to provide a single edge controlled PWM output. One  
match register (MR0) controls the PWM cycle rate, by resetting the count upon match.  
The other match register controls the PWM edge position. Additional single edge  
controlled PWM outputs require only one match register each, since the repetition rate is  
the same for all PWM outputs. Multiple single edge controlled PWM outputs will all have a  
rising edge at the beginning of each PWM cycle, when an MR0 match occurs.  
Three match registers can be used to provide a PWM output with both edges controlled.  
Again, the MR0 match register controls the PWM cycle rate. The other match registers  
control the two PWM edge positions. Additional double edge controlled PWM outputs  
require only two match registers each, since the repetition rate is the same for all PWM  
outputs.  
With double edge controlled PWM outputs, specific match registers control the rising and  
falling edge of the output. This allows both positive going PWM pulses (when the rising  
edge occurs prior to the falling edge), and negative going PWM pulses (when the falling  
edge occurs prior to the rising edge).  
6.17.1 Features  
Seven match registers allow up to six single edge controlled or three double edge  
controlled PWM outputs, or a mix of both types.  
The match registers also allow:  
Continuous operation with optional interrupt generation on match.  
Stop timer on match with optional interrupt generation.  
Reset timer on match with optional interrupt generation.  
Supports single edge controlled and/or double edge controlled PWM outputs. Single  
edge controlled PWM outputs all go HIGH at the beginning of each cycle unless the  
output is a constant LOW. Double edge controlled PWM outputs can have either edge  
occur at any position within a cycle. This allows for both positive going and negative  
going pulses.  
Pulse period and width can be any number of timer counts. This allows complete  
flexibility in the trade-off between resolution and repetition rate. All PWM outputs will  
occur at the same repetition rate.  
Double edge controlled PWM outputs can be programmed to be either positive going  
or negative going pulses.  
LPC2131_32_34_36_38  
All information provided in this document is subject to legal disclaimers.  
© NXP B.V. 2011. All rights reserved.  
Product data sheet  
Rev. 5.1 — 29 July 2011  
21 of 45  
 
 
 复制成功!