BU21008MUV are the capacitive sensor controller with 16 channels respectively. Half of sensor ports are available to use to
LED driver with PWM function. PWM function can control light ambient. Also gesture function can recognize the short touch,
long touch and finger motion.
●Features
1) Gesture function
2) LED driver with PWM available
3) 2 wire serial interface
4) Power supply = 2.5V to 3.3V, I/O power supply = 1.7V to 3.3V
5) Integrated 10bit AD converter, clock and reset
6) Package VQFN032V5050
●Applications
It is possible to use it widely as a switch such as a Mobile phone, Portable equipment, and Audiovisual apparatuses.
●Absolute Maximum Ratings (Ta=25℃)
PARAMETER SYMBOL
APPLIED VOLTAGE
INPUT VOLTAGE
STORAGE TEMPERATURE RANGE Tstg -55 125 ℃
POWER DISSIPATION Pd 304 mW
Ambient temperature reduces a permission loss by 3.1mW per case more than 25 degrees Celsius, 1 degree Celsius.
●Electrical characteristics(Especially, Topr=25℃ and AVDD=DVDD=0 as long as it doesn't specify it.)
PARAMETER SYMBOL
H INPUT VOLTAGE VIHIO
L INPUT VOLTAGE VILIO
Output "H" voltage VOHIO
VOLLED
Output "L" voltage
VOLTXD
VOLINT
Input leakage current IIZ
MIN TYP MAX
DVDDx0.8 - DVDD+0.3V
DVSS-0.3
DVDD-0.7
AVSS
DVSS
DVSS
-1
RATING
-
-
-
-
-
-
UNITCondition
DVDDx0.2V
DVDD V
0.5
0.5
DVDDx0.3
0.5
IOH=-2[mA]. Overshoot is excluded.
I
OL=8[mA]. Undershoot is excluded. LED output.
I
OL=3[mA]. Undershoot is
excluded. SDA/TXD
V
application.
OL=2[mA]. Undershoot is excluded. INT
I
application.
1 μA
Technical Note
DVDD > 2[V]
DVDD ≦ 2[V]
Off leakage current IOZ
Standby current IST
Current of operation IDD
-1
-
- - 2 μA
- 300 - μA
1 μA
Shutdown (SDN=”L”)
●A/D Converter
PARAMETER SYMBOL
MIN TYP MAX
RATING
UNIT Condition
Resolution - 10 - bit
Analog Input voltage VAIN AVSS - AVDD V
change clock frequency fadck 0.2 - 2.0 MHz
change time ftim - 77 - μsec fadck = 1[MHz]
Zero scale voltage - - AVSS+0.07V
full scale voltage AVDD-0.07- - V
differential Non line accurate DNL - - ±3 LSB
Integrate Non line accurate INL - - ±3 LSB
This module selects between sensor inputs. The selection sequences between all 16 channels.
・AD Conversion
The voltage into which CV is converted is converted into a digital value.
Conversion is 10 bit and full scale corresponds to AVDD.
・Conversion sequence control
Performs timing generation for the analogue circuitry and a sequencer circuit for selection of the sensor channel for
conversion.
・Data correction and making to format
This module provides the digital intelligence of the sensor.
The block includes, amongst other things, scaling, adding offsets and input filtering for de-bouncing.
Registers are formatted to simplify usage by the software application.
The block implements auto-calibration to manage drift in temperature, process variation, voltage variation and aging
effects.
・Data register
This stores the results for the software application. Please refer to the register map for details.
・HOST I/F
2 wire serial interface.
・Power management
The power management block provides smart power control.
When the sensors are not in use, the Controller automatically transitions into a low-power mode.
When a sensor is touched, then the device automatically wakes up and enters its normal operation.
The chip drives an INT pin for alerting the controller device in this case.
・Reset generation
The circuit is initialized by a either a soft reset command or by the external SDN pin.
・Clock generation
The device has an internal oscillator.
Provision is also made if the application would like to make use of an external clock input.
●HOST I/F
・2 wire serial, BUS (Pin configuration, MODE[1:0]=00b)
Slave mode only
Slave Address = 5Ah,5Bh selection possible.
Normal (Normal mode. 100kHz Transfer rate)
Fs mode (Fast mode. 400kHz Transfer rate) also.
Not adapting sequential read / write.
【Data format】
t
HD;STA
t
SU;STO
SDA
t
SU;DAT
t
HD;DAT
SCL
Address
Read
ACK
Data Data
ACK
ACK
Parameter
Standard mode High Speed mode
MIN MAX MIN MAX
fSCL : SCL Clock Freq 0 100 0 400 kHz
tHD;STA : START condition hold time 4.0 - 0.6 - μsec
tLOW : SCL “L” 4.7 - 1.3 - μsec
tHIGH : SCL “H” 4.0 - 0.6 - μsec
tHD;DAT : Data hold time 0.1 3.45 0.1 0.9 μsec
tSU;DAT : Data setup time 0.25 - 0.1 - μsec
tSU;STO : START condition hold time 4.0 - 0.6 - μsec
tBUF : Free time of bus between STOP condition and
START condition
1*h SENS_DATA R 1byte / channelSensor output data. One for each channel.
32h, 33h BTN R 2byte Button On/Off.
35h BTN_STATE R 1byte Button state data.
4*h OFFSET R 1byte / channelOffset correction data. One for each channel.
60h, 61h GES_VEL R 2byte Gesture duration.
62h GES_DIR R 1byte Gesture direction.
E0h FEAD_CTL W 1byte PWM control setting.
E1h FEAD_CLK W 1byte PWM clock setting.
E2h GES_CLR W 1byte Gesture clear control.
E3h GES_CTL W 1byte Gesture control.
E4h GES_CLK W 1byte Gesture clock setting.
E5h GES_TIMEOUT W 1byte Gesture time-out data setting.
Technical Note
E6h GES_TEST W 1byte Gesture test function.
EEh CALIB W 1byte Soft calibration execution.
EFh DONE W 1byte Setting done command.
F0h, F1h SENS_CH W 2byte Sensor channel enables.
F2h LED_CH W 1byte LED channel enables.
F3h, F4h IDLE_CH W 2byte Idle mode release control.
F5h LED_LINK W 1byte LED linkage to sensor input.
F6h TIMES W 1byte
F7h TH_ON2 W 1byte
F8h, F9h TH_ON2_CH W 2byte Per channel selection of whether to use TH_ON or TH_ON2.
FAh CMD W 1byte Simultaneous press and idle mode entry.
FBh GAIN_FILTER W 1byte Gain setting, filter function.
FCh TH_ON W 1byte
FDh TH_OFF W 1byte
FEh DLED W 1byte Register to allow simple writing to LEDs.
Defines the sampling interval and number of samples
required to recognize a button press.
A second threshold value in the detection of a button going
from OFF state to ON state.
A threshold value in the detection of a button going from OFF
state to ON state.
A threshold value in the detection of a button going from ON
state to OFF state.
Name: SENS_DATA
Address: 1* h (one byte per sensor channel)
Description: The sensor output that converts to 10bit. Scaling, offsets and filtering (when enabled) are applied.
The most significant 8 bits are presented to the software with this register.
Name: OFFSET
Address: 4* h (one byte per sensor channel)
Description: This is the offset required to correct the sense data to half scale during the calibration procedure.
Name: GES_VEL
Address: 60h, 61h
Description: Indicates the duration of the gesture in number of internal clocks. The count is a clock set with
0xE4(GES_CLK). It is possible to count up to 0~4095 clocks.
Gesture duration=(gesture sampling interval) * VEL [sec]
Name: FEAD_CLK
Address: E1h
Description: This register defines the divide ratio of the clock used for PWM.
This also relates to the fade-in and fade-out time according to the following relationship.
Fead in/out =1 / ( ( Internal oscillation frequency) / ( 2 * 16 * 16 * 16 * ( F_DIV+1 ) * 16) ) [sec]
For example with an internal clock of 1.1MHz possible range is 0.119~1.906 [sec]
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
E1h - - - - F_DIV[3]F_DIV[2] F_DIV[1] F_DIV[0]
R/W - - - - W W W W
Initial val. - - - - 0 1 1 1
【E2h : Gesture Clear】
Name: GES_CLR
Address: E2h
Description: This register when written to clears GES_VEL and GES_DIR.
It is cleared by one, and it returns to 0 by the automatic operation.
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
E2h CLR - - - - - - R/W W - - - - - - -
Initial val. 0 - - - - - - -
【E3h : Gesture Function Setting】
Name: GES_CTL
Address: E3h
Description: This register controls what key-press sequence is recognized as a gesture.
Only 4 channels may be used-SIN0, SIN2, SIN4, and SIN6.
EN : enable
These are the enable bits. One is provided for each of the 4 sense inputs used for gesture. EN[0] is for SN0, EN[1] is
for SN2, EN[2] is for SN4 and EN[3] is for SN6. 1 is to enable and 0 is for disable.
MODE : mode
0 : Requires all sensors to be present in the sequence before the gesture is recognized.(All detection mode)
1 : Allows one or more of the keys to be missed in the sequence.(Verbose mode)
The condition and the direction of detection that can be detected in each mode are as follows.
mode MODE Direction(GES_DIR)Detected
All detection 0
Verbose 1
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
E3h - - - MODE EN[3] EN[2] EN[1] EN[0]
R/W - - - W W W W W
Name: GES_CLK
Address: E4h
Description: This register allows setting of the time base for the gesture detection. It sets a divide ratio of the clock used.
The maximum judgment time and the sampling interval of the gesture can be set by changing this clock.
Gesture maximum judgment time=(Gesture sampling interval) * TO * 16 [sec]
For example with an internal clock of 1.1MHz
G_DIV Gesture sampling interval[msec] Gesture maximum judgment time[sec]
0 0.46 1.90
1 0.93 3.81
2 1.86 7.62
3 3.72 15.2
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
E4h - - - - - - G_DIV[1] G_DIV[0]
R/W - - - - - - W W
Initial val. - - - - - - 1 0
【E5h : Gesture Timeout Data Setting】
Name: GES_TIMEOUT
Address: E5h
Description: The maximum judgment time of the gesture is set.
A key sequence which exceeds this time is not recognized.
Gesture Maximum Judgment Time=(Gesture sampling interval) * TO * 16 [sec]
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
E5h TO[7] TO[6] TO[5] TO[4] TO[3] TO[2] TO[1] TO[0]
R/W W W W W W W W W
Initial val. 1 1 1 1 1 1 1 1
【E6h : Gesture Test Setting】
Name: GES_TIMEOUT
Address: E6h
Description: When this test bit is enabled (1) then the lower 4 bits of 0xFE(DLED) are used for the gesture recognition
instead of the sensor inputs.
Name: CALIB
Address: EEh
Description: This forces a chip re-calibration when a 1 is written and returns to 0 afterward automatically.
Please note that one should always re-calibrate after changing the gain adjustment value.
Name: LED_CH
Address: F2h
Description: Enables and disables the channels to be used as LED outputs.
Valid for the 8 LED outputs.1:Effective 0:Not in use
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
F2h LED7 LED6 LED5 LED4 LED3 LED2 LED1 LED0
R/W W W W W W W W W
Initial val. 0 0 0 0 0 0 0 0
【F3h / F4h : Idle Exit Condition】
Name: IDLE_CH
Address: F3h / F4h
Description: Defines which channels cause the device to wake up-i.e. go from idle mode to normal operation
on a key press. Selection is made on a per channel basis.
1:Effective 0:Not used
Name: LED_LINK
Address: F5h
Description: Allows the LED outputs to be automatically linked to the input channels without need for any software control.
1 : It synchronizes with the button. 0 : It synchronizes with data (The register name: DLED) from host.
Name: TH_ON2
Address: F7h
Description: A second threshold value for determining a button off→on judgment of sensor.
The sensor output value of 8bit (register SENS_DATA) is compared with 128+ ON2 [6:0], and if it is larger,
the button is determined active.
Name: TH_ON2_CH
Address: F8h / F9h
Description: This register is used to relate either threshold TH_ON or TH_ON2 to particular sensor channels
for button press activity determination.
1 : TH_ON2 is applied 0 :TH_ON is applied
SIMUL_SEL : Simultaneous push judgment element choice :
In the case of simultaneous key press a decision must be made to select the dominant channel. The chip allows for two
alternative methods. Either it can be based on whichever key press was first, or the priority can be based on the highest
signal level.
1 : A level of a sensor gives priority 0 : Give priority to the channel pushed earliest
INTERMIT_EN : Intermittent and the drive are enable. :
Whether intermittent is driven at the idol mode is selected.
1:Intermittent is driven. 0:Intermittent is not driven. Initial state:Intermittent is driven.
IDLE_T[3:0] : non-detect time-out setting :
This sets the time the chip takes to go from normal mode to idle mode in a period key inactivity.
Duration = system clockx2
19
xIDLE_T (Example of system clock 1[MHz]time : About 520[msec])
Name: GAIN_FILTER
Address: FBh
Description: Gain adjustment and setting of noise filter function.
GAIN[2:0] : gain setting :
It uses it for the gain adjustment in eight stages. Initial adjustment value:x1
GAIN[2:0] 000 001 010 011 100 101 110 111
Adjustment value x 1 x 4.22 x 8.4 x 16.5 x 23 x 46 x 69 x 92
FILTER_EN : Filter enable :
Enables/disables setting of noise filter function
1 : enabled 0 : disabled Initial state : disabled
DELTA[3:0] : Filter follow count setting :
The follow count to which the noise filter function is effective is set.
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
FBh GAIN[2] GAIN [1] GAIN[0] FILTER_ENDELTA[3] DELTA[2] DELTA[1] DELTA[0]
R/W W W W W W W W W
Initial val. 0 0 0 0 0 0 1 0
【FCh : Switch OFF -> ON Threshold】
Name: TH_ON
Address: FCh
Description: This register provides a threshold value for determining if a sensor has transitioned from OFF to ON.
This is relative value from reference value (128d). So the absolute value of threshold is 128d+ON[6:0].
It makes a threshold value between TH_ON and TH_OFF.
TH_ON must be bigger than TH_OFF (TH_ON >= TH_OFF)
Maximum threshold is 256d and minimum value is 128d.
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
FCh - ON[6] ON[5] ON[4] ON[3] ON[2] ON[1] ON[0]
R/W - W W W W W W W
Initial val. - 0 0 1 0 0 0 0
【FDh : Switch ON -> OFF Threshold Value】
Name: TH_OFF
Address: FDh
Description: This register provides a threshold value for transitioning from ON to OFF.
This is relative value from reference value (128d). So absolute value of threshold is 128d+OFF[6:0].
It makes a threshold value between TH_ON and TH_OFF.
TH_OFF must be smaller than TH_ON (TH_OFF =< TH_ON)
Maximum value is 256d and minimum value is 128d.
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
FDh - OFF[6] OFF[5] OFF[4] OFF[3] OFF[2] OFF[1] OFF[0]
R/W - W W W W W W W
Initial val. - 0 0 0 0 0 0 1
【FEh : LED Port Data】
Name: DLED
Address: FEh
Description: When LED is not linked with the sensor, it becomes a simple digital output that controls the LED.
1 : Light. 0 : Turned off.
This IC has a normal mode, idle mode and a shutdown mode as states of operation.
【Normal mode】
This is the normal operation of the device. Output pin INT="L".
【Idle mode】
This is the mode when the normal mode times out due to inactivity on the keys. In this mode the control interface is still alive.
*Usually time-out is aimed at about 200msec or less.
*Transition between normal and idle modes is automatic and without software control.
【Shutdown mode】
In this mode the device is completely stopped-and reset. This is achieved by making the terminal SDN L.
All analog circuits and the logic circuits are stopped. The return from the shutdown mode returns by making the terminal SDN H.
*After shut-down all registers have their default values.
●Interface and system clock selection
I/F selection with MODE [1:0] pin. System clock selection by RXD.
【Using 2wires serial bus mode (MODE[1:0]=00b)】
The 2wires serial bus is used for host I/F.
RXD=0 in the system clock: Built-in oscillator is used.
RXD=1 in the system clock: The clock input from CLK_EXT is used.
●Initialization procedure
A normal power on sequence is:
(1) Power on
(2) Setup the registers
(3) Write ‘1’ to 0xEF (done register)
<sensing operation begins after auto-calibration occurs>
●Power supply turning on procedure
You should always power on DVDD at the same time as AVDD or before AVDD.
No copying or reproduction of this document, in part or in whole, is permitted without the
consent of ROHM Co.,Ltd.
The content specied herein is subject to change for improvement without notice.
The content specied herein is for the purpose of introducing ROHM's products (hereinafter
"Products"). If you wish to use any such Product, please be sure to refer to the specications,
which can be obtained from ROHM upon request.
Examples of application circuits, circuit constants and any other information contained herein
illustrate the standard usage and operations of the Products. The peripheral conditions must
be taken into account when designing circuits for mass production.
Great care was taken in ensuring the accuracy of the information specied in this document.
However, should you incur any damage arising from any inaccuracy or misprint of such
information, ROHM shall bear no responsibility for such damage.
The technical information specied herein is intended only to show the typical functions of and
examples of application circuits for the Products. ROHM does not grant you, explicitly or
implicitly, any license to use or exercise intellectual property or other rights held by ROHM and
other par ties. ROHM shall bear no responsibility whatsoever for any dispute arising from the
use of such technical information.
Notice
The Products specied in this document are intended to be used with general-use electronic
equipment or devices (such as audio visual equipment, ofce-automation equipment, communication devices, electronic appliances and amusement devices).
The Products specied in this document are not designed to be radiation tolerant.
While ROHM always makes ef forts to enhance the quality and reliability of its Products, a
Product may fail or malfunction for a variety of reasons.
Please be sure to implement in your equipment using the Products safety measures to guard
against the possibility of physical injury, re or any other damage caused in the event of the
failure of any Product, such as derating, redundancy, re control and fail-safe designs. ROHM
shall bear no responsibility whatsoever for your use of any Product outside of the prescribed
scope or not in accordance with the instruction manual.
The Products are not designed or manufactured to be used with any equipment, device or
system which requires an extremely high level of reliability the failure or malfunction of which
may result in a direct threat to human life or create a risk of human injur y (such as a medical
instrument, transportation equipment, aerospace machinery, nuclear-reactor controller,
fuel-controller or other safety device). ROHM shall bear no responsibility in any way for use of
any of the Products for the above special purposes. If a Product is intended to be used for any
such special purpose, please contact a ROHM sales representative before purchasing.
If you intend to export or ship overseas any Product or technology specied herein that may
be controlled under the Foreign Exchange and the Foreign Trade Law, you will be required to
obtain a license or permit under the Law.
Thank you for your accessing to ROHM product informations.
More detail product informations and catalogs are available, please contact us.