stmpe16m31 STMicroelectronics, stmpe16m31 Datasheet - Page 39

no-image

stmpe16m31

Manufacturer Part Number
stmpe16m31
Description
S-touch? 16/24-channel Touchkey Controller With Pwm And Ratio Engines
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
stmpe16m31PXQTR
Manufacturer:
STM
Quantity:
12 495
Part Number:
stmpe16m31QTR
Manufacturer:
ST
Quantity:
20 000
STMPE16M31, STMPE24M31
11
11.1
PWM controller
The PWM controller allows to control the brightness, ramping/fading and blinking of LEDs.
The STMPE24M31/16M31 features 8 independent PWM controllers.
The PWM controllers outputs are connected to the GPIO through the PWM array controller.
The PAC provides the following list of flexibility to the overall PWM’s system:
The PWM controller uses a base clock of 512 kHz, clock pulses have a variable duty cycle
of 0 to 100% in 16 steps. The PWM’s frequency is 32 kHz (to be out of audio range).
PWM function register map
This section lists and describes the PWM function registers of the STMPE16M31 and
STMPE24M31 devices, starting with a register map and then provides detailed descriptions
of register types.
Table 12.
Address
0x4C
0x4D
0x4A
0x4B
0x4E
0x4F
0x30
0x40
0x41
0x42
0x43
0x44
0x45
0x46
0x47
0x48
0x49
Each GPIO may utilize the output of 1 of the 8 PWM controllers.
Up to 16 GPIO may be controlled by the same PWM at the same time.
Each of the PWM could be programmed to be triggered by a touch sensing input.
PWM function registers
PWM_MASTER_EN
PWM_0_RAMP
PWM_1_RAMP
PWM_2_RAMP
PWM_3_RAMP
Register name
PWM_0_CTRL
PWM_1_CTRL
PWM_2_CTRL
PWM_3_CTRL
PWM_0_TRIG
PWM_1_TRIG
PWM_2_TRIG
PWM_3_TRIG
PWM_0_SET
PWM_1_SET
PWM_2_SET
PWM_3_SET
Doc ID 16174 Rev 3
Reset value
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
R/W
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
PWM master enable
PWM0 setup
PWM0 control
PWM0 ramp rate
PWM0 trigger
PWM1 setup
PWM1 control
PWM1 ramp rate
PWM1 trigger
PWM2 setup
PWM2 control
PWM2 ramp rate
PWM2 trigger
PWM3 setup
PWM3 control
PWM3 ramp rate
PWM3 trigger
Description
PWM controller
39/85

Related parts for stmpe16m31