L9803 STMicroelectronics, L9803 Datasheet - Page 62
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
L9803
Manufacturer Part Number
L9803
Description
Super Smart Power Motor Driver With 8-bit Mcu, Ram, Eeprom, Adc, Wdg, Timers, Pwm And H-bridge Driver
Manufacturer
STMicroelectronics
Datasheet
1.L9803.pdf
(126 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
L9803C
Manufacturer:
JAE
Quantity:
12 000
- Current page: 62 of 126
- Download datasheet (2Mb)
On-Chip Peripherals
5.3.2
62/126
Load the DUTYREG register with the value corresponding to the pulse length (in internal
cycle periods). 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:
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:
A writing only on one CYREG register has no effect 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:
If the EN_PWM bit is set after being reset, the current values of DUTYREG and CYREG are
determining 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 DUTYREG 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.
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 overflow 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.
–
–
–
–
–
Write the low and high DUTYREG registers.
Write the low and high CYREG register
Reset the EN_PWM bit.
Write the wanted configuration in CYREG and DUTYREG..
Set the EN_PWM bit.
L9803
Related parts for L9803
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![HCF4040BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4054BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
![STEVAL-MKI062V2](/photos/28/39/283999/steval-mki062v2_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
![BUT32V](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![STTA12006TV2](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet:
![E110NS20FD](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![MDS50-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![MDS35-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![E16N100](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search -----> STE16N100
Manufacturer:
STMicroelectronics
Datasheet:
![E53NA50](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search ---> STE53NA50
Manufacturer:
STMicroelectronics
Datasheet:
![BUV98AF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN Transistor Power Module
Manufacturer:
STMicroelectronics
Datasheet:
![MDS80-1200](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet: