English
Language : 

BU21170MUV Datasheet, PDF (13/33 Pages) Rohm – Capacitive Switch Controller IC
BU21170MUV
【0xED-0xEE : LED-PWM assign】
Name:
PWM_ASSIGN
Address: 0xED – 0xEE
Description: These registers are used to set any PWM setting from the four settings to each LED port.
0x0 : Assign PWM-0
0x1 : Assign PWM-1
0x2 : Assign PWM-2
0x3 : Assign PWM-3
These registers value is set by writing ‘1’ to the Switch PWM assign register (Address = 0xF9).
0xED
0xEE
R/W
Initial val.
Bit7
Bit6
PWMA_LED3[1:0]
-
-
R/W
R/W
0
0
Bit5
Bit4
PWMA_LED2[1:0]
-
-
R/W
R/W
0
0
Bit3
Bit2
PWMA_LED1[1:0]
-
-
R/W
R/W
0
0
Bit1
Bit0
PWMA_LED0[1:0]
PWMA_LED4[1:0]
R/W
R/W
0
0
【0xEF : LED calibration】
Name:
LED_CALIB
Address: 0xEF
Description: This register is used to select whether to perform the calibration. The calibration is done by writing to any
LED port or by periodic calibration.
LEDCAL : Self-calibration enable bit at controlled for LED/PWM :
This register is used to select whether to perform the self-calibration when the corresponding registers for
LED/PWM control are written. The corresponding registers’ addresses are from 0xF9 to 0xFC.
1 : Not perform the self-calibration. 0 : Perform the self-calibration (default).
PERCAL : Periodical calibration :
This register is used to select whether to perform the periodical calibration.
1 : Not perform the periodical calibration. 0 : Perform the periodical calibration (default).
PERCALCOND : Condition of the periodical calibration :
This register is used to select the condition to perform the periodical calibration.
1 : Always. 0 : At any LED port is lighting (default).
PWMCAL : Condition of the periodical calibration when the PWM function is active :
This register is used to select whether to perform the periodical calibration in the case that the periodical
calibration is enable.
1 : Perform the periodical calibration regardless of the condition of the LED port assigned to PWM function.
0 : Perform the periodical calibration only the LED port assigned to PWM function is set to inactive (default).
Conditions
State of the LED port assigned to PWM function
bit state
PERCAL PWMCAL
Periodical Calibration
With flashing by PWM drive.
0
0
1
1
0
1
Not performed
Performed
Not performed
Without flashing by PWM drive.
0
0
1
1
0
1
Performed
Not performed
PERIOD[7:4] : Interval of the periodical calibration :
This register is used to set the interval of the periodical calibration.
The interval of the periodical calibration = About 5 seconds x (PERIOD + 1)
(5 seconds ≤ Interval time ≤ 80 seconds)
Bit7
0xEF
R/W
R/W
Initial val.
0
Bit6
Bit5
PERIOD[3:0]
R/W
R/W
0
0
Bit4
Bit3
Bit2
Bit1
Bit0
PWMCAL PERCALCOND PERCAL LEDCAL
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
www.rohm.com
© 2013 ROHM Co., Ltd. All rights reserved.
TSZ22111・15・001
13/29
TSZ02201-0L5L0F300830-1-2
14.Jul.2016 Rev.002