stmpe16m31 STMicroelectronics, stmpe16m31 Datasheet - Page 41

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
PWM_n_SET
Address:
Type:
Reset:
Description:
RW
7
0
[7:4] BRIGHTNESS:
[3:0] TIMING:
[0] RAMP MODE:
RW
6
0
It defines the duty cycle during the ON period of the PWM channel output in no-ramp mode or
the highest duty cycle to be reached in ramp-mode. The PWM duty cycle determines the
brightness level of the LED that the PWM output drives.
‘0000’ : Duty cycle ratio 1:15 ( 6.25%, minimum brightness)
‘0001’ : Duty cycle ratio 2:14 (12.50%)
‘0010’ : Duty cycle ratio 3:13 (18.75%)
‘0011’ : Duty cycle ratio 4:12 (25.00%)
‘0100’ : Duty cycle ratioo 5:11 (31.25%)
‘0101’ : Duty cycle ratio 6:10 (37.50%)
‘0110’ : Duty cycle ratio 7: 9 (43.75%)
‘0111’ : Duty cycle ratio 8: 8 (50.00%)
‘1000’ : Duty cycle ratio 9: 7 (56.25%)
‘1001’ : Duty cycle ratio 10: 6 (62.50%)
‘1010’ : Duty cycle ratio 11: 5 (68.75%)
‘1011’ : Duty cycle ratio 12: 4 (75.00%)
‘’1100 ’: Duty cycle ratio 13: 3 (81.25%)
‘’1101 ’: Duty cycle ratio 14: 2 (87.50%)
‘1110’ : Duty cycle ratio 15: 1 (93.75%)
‘1111’ : Duty cycle ratio 16: 0 (100.00%, maximum brightness).
It is the time unit from which the duration of the ON period and OFF period is defined in PWM-
N control register.
‘000’ =
‘001’ =
‘010’ =
‘011’ = 160 mS
‘100’ = 320 mS
‘101’ = 640 mS
‘110’ = 1280 mS
‘111’ = 2560 mS
Write ‘1’ to enable ramp-mode
Write ‘0’ to disable ramp-mode which in this setting the output goes to the set brightness level
0x40, 0x44, 0x48, 0x4C, 0x50, 0x54, 0x58, 0x5C
RW
0x00
Setting of brightness, time unit and ramp-mode.
BRIGTHNESS
20 mS
40 mS
80 mS
RW
5
0
Doc ID 16174 Rev 3
RW
4
0
RW
3
0
TIMING
RW
2
0
PWM-n setup register
RW
1
0
PWM controller
RAMPMODE
RW
0
0
41/85

Related parts for stmpe16m31