參數(shù)資料
型號(hào): M38514E6SP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDIP42
封裝: 0.600 INCH, 1.78 MM PITCH, PLASTIC, SDIP-42
文件頁(yè)數(shù): 37/93頁(yè)
文件大?。?/td> 1137K
代理商: M38514E6SP
Rev.1.01
Oct 15, 2003
page 40 of 89
3851 Group (Built-in 24 KB or more ROM)
PULSE WIDTH MODULATION (PWM)
The 3851 group (built-in 24 KB or more ROM) has a PWM func-
tion with an 8-bit resolution, based on a signal that is the clock
input XIN or that clock input divided by 2.
Data Setting
The PWM output pin also functions as port P44. Set the PWM
period by the PWM prescaler, and set the “H” term of output pulse
by the PWM register.
If the value in the PWM prescaler is n and the value in the PWM
register is m (where n = 0 to 255 and m = 0 to 255) :
PWM period = 255 X (n+1) / f(XIN)
= 31.875 X (n+1)
s
(when f(XIN) = 8 MHz,count source selection bit = “0”)
Output pulse “H” term = PWM period X m / 255
= 0.125 X (n+1) X m
s
(when f(XIN) = 8 MHz,count source selection bit = “0”)
Fig. 40 Timing of PWM period
Fig. 41 Block diagram of PWM function
PWM Operation
When bit 0 (PWM enable bit) of the PWM control register is set to
“1”, operation starts by initializing the PWM output circuit, and
pulses are output starting at an “H”.
If the PWM register or PWM prescaler is updated during PWM
output, the pulses will change in the cycle after the one in which
the change was made.
31.875 m (n+1)
255
s
T = [31.875 (n+1)]
s
PWM output
m: Contents of PWM register
n : Contents of PWM prescaler
T : PWM period (when f(XIN) = 8 MHz, count
source selection bit = “0”)
Data bus
Count source
selection bit
“0”
“1”
PWM
prescaler pre-latch
PWM
register pre-latch
PWM
prescaler latch
PWM
register latch
Transfer control circuit
PWM register
1/2
XIN
Port P44 latch
PWM enable bit
Port P44
PWM prescaler
(XCIN at low-speed mode)
相關(guān)PDF資料
PDF描述
M38588GCFP 8-BIT, MROM, 6.25 MHz, MICROCONTROLLER, PDSO42
M38749EFT 8-BIT, OTPROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M4T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M6T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
M38747M8T 8-BIT, MROM, 6.4 MHz, MICROCONTROLLER, PQFP80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38517T-ADS 功能描述:DEV TMP TRGT BRD FOR M38517RSS & RoHS:否 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 配件 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 附件類型:適配器板 適用于相關(guān)產(chǎn)品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M38517T-PAC 功能描述:DEV SIMPLE TOOL EMULATOR FOR M38 RoHS:否 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 內(nèi)電路編程器、仿真器以及調(diào)試器 系列:- 產(chǎn)品變化通告:Development Systems Discontinuation 19/Jul/2010 標(biāo)準(zhǔn)包裝:1 系列:* 類型:* 適用于相關(guān)產(chǎn)品:* 所含物品:*
M3852 BK001 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 1000'
M3852 BK002 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 500'
M3852 BK005 制造商:Alpha Wire 功能描述:CBL 8COND 14AWG BLK 100'