L9803 STMicroelectronics, L9803 Datasheet - Page 61

no-image

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
L9803C
Manufacturer:
JAE
Quantity:
12 000
Part Number:
L9803C
Manufacturer:
ST
0
L9803
Table 10.
5.3
5.3.1
Timer1: 3E
Timer2: 4E
Timer1: 3A
Timer2: 4A
Timer1: 3B
Timer2: 4B
Timer1: 3C
Timer2: 4C
Timer1: 3D
Timer2: 4D
Timer1: 3F
Timer2: 4F
Timer1: 38
Timer2: 48
Timer1: 39
Timer2: 49
Address
(Hex.)
OCHR2
Reset Value
OCLR2
Reset Value
CHR
Reset Value
CLR
Reset Value
ACHR
Reset Value
ACLR
Reset Value
ICHR2
Reset Value
ICLR2
Reset Value
16-Bit Timer Register Map and Reset Values (continued)
PWM Generator
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
The repetition rate of the 16-Bit PWM output can be defined by a dedicated register
(f
programming.
Main Features
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.
Register
CPU
Name
/CYREG); its resolution is defined by the internal clock as per the prescaler
Programmable prescaler: f
1 control register
2 dedicated 16-bit registers for cycle and duty control
1 dedicated maskable interrupt
MSB
MSB
MSB
MSB
MSB
MSB
MSB
MSB
7
1
1
1
1
-
-
-
-
6
1
1
1
1
-
-
-
-
5
1
1
1
1
CPU
-
-
-
-
divided by 2, 4, 8, 16, 32, 64 or 128.
4
1
1
1
1
-
-
-
-
3
1
1
1
1
-
-
-
-
2
1
1
1
1
-
-
-
-
On-Chip Peripherals
CPU
.
1
1
0
1
0
-
-
-
-
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
61/126
0
1
0
1
0
-
-
-
-

Related parts for L9803