參數(shù)資料
型號: L9805
廠商: 意法半導(dǎo)體
元件分類: 基準(zhǔn)電壓源/電流源
英文描述: Super Smart Power Motor Driver with 8-BIT MCU, CAN Interface, 16K EPROM, 256Bytes RAM, 128 Bytes EEPROM, 10 Bit ADC, WDG, 2 Timers, 2 PWM Modules, Ful
中文描述: 超級智能型電動馬達(dá)驅(qū)動器,帶有8位微控制器,CAN接口,16K的存儲器,256Bytes RAM內(nèi)存,128字節(jié)EEPROM,10位ADC,水分散粒劑,2定時(shí)器,2個(gè)PWM模塊,涪陵
文件頁數(shù): 49/103頁
文件大?。?/td> 853K
代理商: L9805
49/103
L9805
5.3 PWM GENERATOR
5.3.1 Introduction
This PWM peripheral includes a 16-bit Pulse
Width Modulator (PWM) and a programmable
prescaler able to generate an internal clock with
period as long as 128*T
CPU
.
The repetition rate of the 16-Bit PWM output can
be defined by a dedicated register (f
CPU
/CYREG);
its resolution is defined by the internal clock as per
the prescaler programming.
Main Features
-Programmable prescaler: f
CPU
divided by 2, 4, 8,
16, 32, 64 or 128.
-1 control register
-2 dedicated 16-bit registers for cycle and duty
control
-1 dedicated maskable interrupt
Procedure
To use the pulse width modulation peripheral, the
EN_PWM bit in CONREG register must be set.
Load PS(2:0) in CONREG register to define the
programmable prescaler.
Load the CYREG register with the value defining
the cycle length (in internal clock periods). The 16
bits of this register are separated in two registers:
CYREGH and CYREGL.
Load the DUTYREG register with the value corre-
sponding to the pulse length (in internal cycle peri-
ods). The 16 bits of this register are separated in
two registers: DUTYREGH and DUTYREGL.
The counter is reset to zero when EN_PWM bit is
reset.
Writing the DUTYREG and CYREG registers has
no effect on the current PWM cycle. The cycle or
duty cycle change take place only after the first
overflow of the counter.
The suggested procedures to change the PWM
parameters are the following:
Duty Cycle control:
- Write the low and high DUTYREG registers.
A writing only on one DUTYREG register has no
effect until both registers are written.
The current PWM cycle will be completed. The
new duty cycle will be effective at the following
PWM cycle, with respect to the last DUTYREG
writing.
Cycle control:
- Write the low and high CYREG register
A writing only on one CYREG register has no ef-
fect until both registers are written.
The current PWM cycle will be completed. The
new cycle will be effective at the following PWM
cycle, with respect to the last CYREG writing.
Another possible procedure is:
- Reset the EN_PWM bit.
- Write the wanted configuration in CYREG and
DUTYREG..
- Set the EN_PWM bit.
If the EN_PWM bit is set after being reset, the cur-
rent values of DUTYREG and CYREG are deter-
mining the output waveform, no matter if only the
low or the high part, or both were written.
The first time EN_PWM is set, if CYREG and DU-
TYREG were not previously written, the output is
permanently low, because the default value of the
registers is 00h.
Changing the Prescaler ratio writing PS(2:0) in
CONREG has immediate effect on the waveform
frequency.
5.3.2 Functional Description
The PWM module consists of a 16-bit counter, a
comparator and the cycle generation logic.
PWM Generation
The counter increments continuously, clocked at
internal clock generated by prescaler. Whenever
the 16 bits of the counter (defined as the PWM
counter) overflow, the output level is set. The over-
flow value is defined by CYREG register.
The state of the PWM counter is continuously
compared to the PWM binary weight, as defined in
DUTYREG register, and when a match occurs the
output level is reset.
Figure 26. PWM Cycle
Note:
If the CYREG value is minor or equal than
DUTYREG value, PWM output remains set. With a
Counter
= DUTYREG
Counter is reset
OUT PWM = 1
Counter
= CYREG
OUT PWM = 0
When
When
Pulse Width Modulation cycle
相關(guān)PDF資料
PDF描述
L9813 SUPER SMART MIRROR WITH EMBEDDED MCU
L9820 HIGH SIDE DRIVER
L9820D HIGH SIDE DRIVER
L9822E Octal Serial Solenoid Driver(八串行螺線管驅(qū)動器)
L9822ED CAP CER 1000PF 1KVDC B RAD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
L9805E 功能描述:馬達(dá)/運(yùn)動/點(diǎn)火控制器和驅(qū)動器 Super Smart Power 8-Bit MCU, RAM RoHS:否 制造商:STMicroelectronics 產(chǎn)品:Stepper Motor Controllers / Drivers 類型:2 Phase Stepper Motor Driver 工作電源電壓:8 V to 45 V 電源電流:0.5 mA 工作溫度:- 25 C to + 125 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HTSSOP-28 封裝:Tube
L9811 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Single Peripheral Driver
L9812R 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Single Peripheral Driver
L9813 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:SUPER SMART MIRROR WITH EMBEDDED MCU
L981CG-1 制造商:Thomas & Betts 功能描述:1/2 T CONDUIT BODY W/CVR & GASKET,E