DATASHEET SEARCH SITE | WWW.ALLDATASHEET.COM
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 27
Technical content
Features
- Operating voltage: 2.2V~5.5V
- Low standby current
- Auto-calibration
- Reliable touch detections
- Standby and normal operating modes
- Maximum key on duration time detection
- Adaptive voltage drop function
- Level Hold, selectable active level- low or high
- NMOS output with internal pull-high/CMOS- Direct Output
- Both serial interface and parallel outputs
- Sensitivity adjustment using an external capacitor
- Minimal number of external components General Description The BS81x is a series of 2~16 key touch key devices which c an de tect hu man bo dy c ontact usi ng e xternal touch pa ds. T he hi gh l evel of de vice i ntegration enable a pplications t o b e i mplemented wi th a minimum number of external components. The BS81x series devices are equipped with serial or parallel interfaces to allow easy communication with an external MCU for device setup and for touch pin monitoring purposes. Special internal circuitry is also employed to ensure excellent power noise rejection to reduce the possibility of false detections, increasing the touch switch application reliability under adverse environmental conditions. With auto-calibration, low standby current, excellent resistance t o vol tage fl uctuation a nd ot her fe atures, this range of touch key devices provide a simple and effective means of implementing touch key operation in a wide variety of applications. Selection Table For this device s eries, mos t of the feature are s imilar. The BS 8112A-3 and BS 8116A-3 provide I2C function. The BS814A-2 and BS818A-2 include a serial interface function while the BS812A-1, BS813A-1, BS814A-1 and BS816A-1 have parallel outputs. Meanwhile the BS81 12A-3 and BS81 16A-3 can set up some options and the sensitivity through the I2C communication interface and the BS816A-1 and BS818A-2 include two hardware options. The following table summarizes the main characteristics of each device. Part. No. Touch Key Option Istb@3V Parallel Outputs Serial Interface Power Mode Auto Calibration Package BS812A-1 2-Key × 2.0μA NMOS (internal pull-high) Normal and Standby √ SOT23-6 BS813A-1 3-Key × 4.5μA × √ 8SOP BS814A-1 4-Key × 5.0μA × √ 10MSOP BS814A-2 4-Key × 5.0μA × √ √ 8SOP BS816A-1 6-Key OMS/LSC(Note 1) 12μA/6μA NMOS (internal pull-high)/ CMOS-Direct × √ 16NSOP BS818A-2 8-Key OMS/LSC(Note 1) 12μA/6μA Binary √ √ 16NSOP BS8112A-3 12-Key Note 2 13μA/3μA × I2C √ 16NSOP BS8116A-3 16-Key Note 2 17μA/3.5μA × I2C √ 20SOP/SSOP Note: 1. Refer to the OMS/LSC Option table. 2. Refer to the I2C Option table.
Rev. 1.32 2 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Pin Assignment Key1 Key2 Key3 Kout3 VDD VSS Kout1 Kout2 BS813A-1 8SOP-A BS814A-1 10MSOP-A VDD Key1 Key2 Key3 Key4 VSS Kout1 Kout2 Kout3 Kout4 Key1 Key2 Key3 Key4 Key5 Key6 Key7 Key8 BIN3/Data BIN2/Clcok BIN1 BIN0 OMS LSC VDD VSS BS818A-2
16 NSOP-A
20 SOP-A/SSOP-A
16 NSOP-A Key3
Rev. 1.32 3 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Pin Description BS812A-1 Pin name I/O Description Key1~Key2 Input Touch key input pin, unused touch keys require grounding Kout1~Kout2 NMOS output Touch key output pin with internal pull high VSS — Negative power supply, ground VDD — Positive power supply BS813A-1 Pin name I/O Description Key1~Key3 Input Touch key input pin, unused touch keys require grounding Kout1~Kout3 NMOS output Touch key output pin with internal pull high VSS — Negative power supply, ground VDD — Positive power supply BS814A-1 Pin name I/O Description Key1~Key4 Input Touch key input pin, unused touch keys require grounding Kout1~Kout4 NMOS output Touch key output pin with internal pull high VSS — Negative power supply, ground VDD — Positive power supply BS814A-2 Pin name I/O Description Key1~Key4 Input Touch key input pin, unused touch keys require grounding Clock Input 2-wire series interface Clock input with internal pull high Data NMOS output 2-wire series interface Date NMOS output with internal pull high VSS — Negative power supply, ground VDD — Positive power supply BS816A-1 Pin name I/O Description Key1~Key6 Input Touch key input pin, unused touch keys require grounding OMS Input Output Mode Selection. Open=NMOS output (low active) Grounded=CMOS-Direct output (high active) LSC Input Power-saving mode selection Open= General power-saving mode Grounded=More power-saving mode Kout1~Kout6 NMOS output CMOS output OMS open, NMOS output with internal pull-high. OMS grounded, CMOS-Direct output VSS — Negative power supply, ground VDD — Positive power supply
Rev. 1.32 4 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS818A-2 Pin name I/O Description Key1~Key8 Input Touch key input pin, unused touch keys require grounding OMS Input Output Mode Selection. Open = 2-wire serial mode Grounded = 4-wire binary parallel mode LSC Input Power-saving mode selection Open=General power-saving mode Grounded=More power-saving mode Clock Input 2-wire series interface Clock input - internal pull- high Data NMOS output Series interface Data NMOS output - internal pull-high BIN3~BIN0 CMOS output Binary output mode VSS — Negative power supply, ground VDD — Positive power supply BS8112A-3 Pin name I/O Description Key1~Key12 Input Touch key input pin, unused touch keys require grounding IRQ Output Interrupt request or wake-up function, NMOS output with internal pull high SCL Input / Output I2C clock input/output SDA Input / Output I2C data input/output VSS — Negative power supply, ground VDD — Positive power supply BS8116A-3 Pin name I/O Description Key1~Key16 Input Touch key input pin, unused touch keys require grounding IRQ Output Interrupt request or wake-up function, NMOS output with internal pull high SCL Input / Output I2C clock input/output SDA Input / Output I2C data input/output VSS — Negative power supply, ground VDD — Positive power supply Absolute Maximum Ratings Note: T hese a re st ress ra tings onl y. St resses e xceeding t he ra nge spe cified unde r “ Absolute Ma ximum Ra tings” may cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may af fect device reliability.
Rev. 1.32 5 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 D.C. Characteristics Symbol Parameter Test Conditions Min. Typ. Max. Unit VDD Conditions VDD Operating Voltage — — 2.2 — 5.5 V IDD Operating Current (BS812A-1) 3V No load — 0.6 0.9 mA 5V — 1.2 1.8 mA Operating Current (BS813A-1/BS814A-1/BS814A-2) 3V No load — 1.2 1.8 mA 5V — 2.2 3.3 mA Operating Current (BS816A-1/BS818A-2) 3V No load — 1.2 1.8 mA 5V — 2.2 3.3 mA Operating Current (BS8112A-3/BS8116A-3) 3V No load — 1.2 1.8 mA 5V — 2.2 3.3 mA ISTB Standby Current (BS812A-1)(Note 1) 3V No load — 2 — μA 5V — 4 — μA Standby Current (BS813A-1)(Note 1) 3V No load — 4.5 — μA 5V — 9 — μA Standby Current (BS814A-1/BS814A-2)(Note 1) 3V No load — 5.0 — μA 5V — 10 — μA Standby Current (BS816A-1/BS818A-2)(Note 1) LSC=VSS (Note 2) 3V No load — 6.0 — μA 5V — 12 — μA Standby Current (BS816A-1/BS818A-2)(Note 1) LSC=Open (Note 2) 3V No load — 12 — μA 5V — 25 — μA Standby Current (BS8112A-3)(Note 1) LSC enable(Note 3) Any one key wake up 3V No load — 3 — μA 5V — 6 — μA All keys wake up 3V — 6.5 — μA 5V — 13 — μA Standby Current (BS8112A-3)(Note 1) LSC disable(Note 3) Any one key wake up 3V No load — 6 — μA 5V — 12 — μA All keys wake up 3V — 13 — μA 5V — 27 — μA Standby Current (BS8116A-3)(Note 1) LSC enable(Note 3) Any one key wake up 3V No load — 3.5 — μA 5V — 7 — μA All keys wake up 3V — 9 — μA 5V — 18 — μA Standby Current (BS8116A-3)(Note 1) LSC disable(Note 3) Any one key wake up 3V No load — 7 — μA 5V — 14 — μA All keys wake up 3V — 17 — μA 5V — 34 — μA V IL Input Low Voltage for Clock, SCL or SDA pin 5V — 0 — 1.5 V — — 0 — 0.2VDD V VIH Input High Voltage for Clock, SCL or SDA pin 5V — 3.5 — 5.0 V — — 0.8VDD — VDD V IOL Kout/Data/SDA/SCL Sink Current (NMOS) 3V VOL=0.1VDD 4 8 — mA 5V VOL=0.1VDD 10 20 — mA IOH BIN0~BIN3 Source Current (CMOS) 3V VOH=0.9VDD -2 -4 — mA 5V VOH=0.9VDD -5 -10 — mA RPH Pull-high Resistance to Clock/Kout /SDA/SCL/IRQ pin 3V — 20 60 100 kΩ 5V — 10 30 50 kΩ Note: 1. ISTB is the average standby current. 2. Refer to the OMS/LSC Option table 3. Refer to the I2C Option table
Rev. 1.32 6 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 A.C. Characteristics Ta = 25°C Symbol Parameter Test Conditions Min. Typ. Max. Unit VDD Conditions tKRT Key Response Time --Normal Mode — — 100 125 150 ms Key Response Time --Standby Mode BS812A-1 / BS813A-1 BS814A-1 / BS814A-2 — — 100 150 250 ms Key Response Time --Standby Mode BS816A-1/BS818A-2 — LSC=Open (Disable) 100 150 250 ms — LSC=VSS (Enable) 400 600 1000 ms Key Response Time -- Standby Mode (BS8112A-3/BS8116A-3) — LSC Disable / IRQ Enable 100 150 250 ms — LSC Enable / IRQ Enable 400 600 1000 ms tKH Maximum Key Hold Time — — 60 64 68 s tCAL Auto-Calibration Period -- Normal Mode — — — 1 — s Auto-Calibration Period -- Standby Mode — — — 32 — s tNS Normal to Standby Mode conversion time — — 7 8 9 s Serial Interface Characteristics BS814A-2/BS818A-2 Symbol Parameter Test Conditions Min. Typ. Max. Unit VDD Conditions TSTART Start bit low time — — — — tNS s TLOW Clock low time — — 20 — — μs THIGH Clock high time — — 20 — — μs TBR Data transfer rate — — — — 25 Kbps TED Delay time between a error reading and the next reading — — 6 — — ms I2C Interface Characteristics BS8112A-3/BS8116A-3 Symbol Parameter Test Conditions Min. Typ. Max. Unit VDD Conditions TLOW Clock low time — — 5 — — μs THIGH Clock high time — — 5 — — μs TBR Data transfer rate — — — — 100 Kbps
Rev. 1.32 7 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Functional Description Introduction This range of BS81x touch key devices of fer an easy and reliable means of implementing touch switch func tions i n a wi de ra nge of a pplications which require 2~16 touch keys. V ery few external components are required for full touch key implementations. In addition to simple parallel output, a two-wire serial interface and binary output of fer a convenient communication with an external MCU. Sensitivity adjustment is also an easy matter . By the simple c onnection o f a sm all c apacitor t o t he t ouch key input pin, the changes in the capacitor value will be reflected in different sensitivity values. By having a fully integrated adaptive voltage drop function, touch switch a pplications c an sa ve on t he usua lly re quired LDO. Option table OMS/LSC Option table The BS816A-1 and BS818A-2 provide two options to enhance application flexibility.
- OMS Option OMS - Output Mode Selection
Description
BS816A-1 Open NMOS output with internal pull-high, low active Vss CMOS output, high active BS818A-2 Open 2-wire serial mode Vss 4-wire Binary parallel mode
- LSC Option LSC- Lower Standby Current Description BS816A-1/ BS818A-2 Open General power-saving Vss More power-saving (wake-up time of 0.5~1s) I 2C Option table BS8112A-3 and BS81 16A-3 provide 4 options can be setup by I2C communication interface.
- IRQ_OMS Option Address bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W 0B0H IRQ_ OMS R/W Name Default Function IRQ_OMS 0 0: Level hold, low active 1: One-shot, low active
- LSC Option Address bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W 0B4H LSC R/W Name Default Function LSC 1 0: General power-saving 1: More power-saving (wake-up time of 0.5 ~1s)
- Touch Key Wake-up Option Address Name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W BS8112A-3 0B5H~0C0H Kn_TH KnWU 0 Key n Trigger threshold value R/W BS8116A-3 0B5H~0C4H Name Default Function KnWU 0 0: Enable wake-up function 1: Disable wake-up function Operating Mode There are two operating modes for this device series, the normal mode and the standby mode. During the 8 seconds after power -on, if no touch key actions are detected, the devices will automatically enter the standby mode to reduce their power consumption. If a k ey o r k eys a re p ressed, t he d evice wi ll b e woken up and will then enter the normal mode and output t he key st ate val ue unti l al l keys are rel eased. After 8 seconds, the system will then revert to the standby mode again. Note that the BS81 12A-3 and BS8116A-3 de vices c an se t up t he wa ke-up ke ys individually.
Rev. 1.32 8 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Touch Key Outputs For the BS812A-1, BS813A-1 and BS814A-1 devices, all output pins are NMOS structures with connected internal pull-high resistors without requiring external resistors. The non touch detect output logic level is hi gh. When a touch action is det ected, the corresponding output will change to a low state. For the BS816A-1 device, except the NMOS output type, use rs c an a lso se lect a CMOS out put t ype. T he non touch detect output logic level is low . When a touch action is detected, the corresponding output will change to a high state. Serial Interface Both the BS814A-2 and BS818A-2 are equipped with a se rial i nterface a llowing for e asy i nterfacing t o a n external master M CU. When the device detects that a touch key has been pressed, it will output a low on the Data pin which can be used to wake up the master MCU. After receiving this low level, the master can then se nd a c lock si gnal t o t he Cl ock pi n a nd re ad back the key status from the Data pin. When a low clock signal is received the key status data is prepared by the touch key device. When the clock signal changes to a high level, the master reads the touch key status data from the D ata line. The timings associated with the communication protocol can be fully described within 8 cloc k periods. W ithout waiting for a st art bi t, t he t ouch ke y st atus c ondition can a lso be di rectly re ad usi ng a pol ling m ethod. If there are any errors in reading the data, it is necessary to wait for about 6ms and then read the data again. 4-key Data Format After a clock signal is received on the Clock pin, an 8-bit data byte will be generated by the touch key device a nd shi fted out on t he Da ta pi n. Da ta bi ts, bit6~bit4, w ill als o generate a checks um w hose content i nforms h ow m any t ouch k eys h ave b een touched. F or example, if the checks um is equal to “010”, it means that two keys have been touched. As to which keys are actually touched, this information can be retrieved from the condition of data bits, bit3~bit0. The state of the data bits, bit3~bit0, is used to indicate which touch keys, key4~key1, are touched or not respectively. A low bit means the corresponding key is touched. Otherwise, the key is not touched if the corresponding data condition is high. Start bi t:When a key changes state, the Data pin outputs a low , w hich can w ake up the mas ter, w hich can then read the key status. Bit0: Key1 state - “0”= touch, “1”= no touch Bit1: Key2 state - “0”= touch, “1”= no touch Bit2: Key3 state - “0”= touch, “1”= no touch Bit3: Key4 state - “0”= touch, “1”= no touch Bit6~4: Che cksum – t he t otal num ber of “ 0”s i s used to indicate how many keys have been touched. Bit7: Stop bit, always a “1”, high level. Start bit Data Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Stop bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Stop bit Clock Thigh Tlow Tbr Ted Data Transfer Timing – BS814A-2 Bit 7 6~4 3~0 Descriptions Function Stop bit Check Sum Key4 ~ Key1 state 0: touched / 1: not touched Data Stream 1 100 0000 Check Sum = 100, Four keys are touched. 011 0001, 0010, 0100 or 1000 Check Sum = 011, Three keys are touched. 010 0011, 0101, 0110, 1001, 1010 or 1100 Check Sum = 010, Two keys are touched. 001 0111, 1011, 1101 or 1110 Check Sum = 001, One key is touched. 000 1111 Check Sum = 000, No key is touched. 4-key Serial Data Stream Format
Rev. 1.32 9 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Start bit Data Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Bit9 Bit10 Bit11 Bit12 Bit13 Clock Thigh Tlow Tbr Bit14 Bit15 Stop bit Data Transfer Timing – BS818A-2 8-key Data Format After a clock signal is received on the Clock pin, a 16-bit data byte will be generated by the touch key device and shifted out on the Data pin. Data bits, bit1 1~bit8, will also generate a checksum whose content informs how many touch keys have been touched. For example, if the check sum is equal to “0010”, it means that two keys have been touched. As to which keys are actually touched, this information can be retrieved from the condition of data bits, bit7~bit0. The state of the data bits, bit7~bit0, is used to indicate which touch keys, key8~key1, are touched or not respectively . A low bit means the corresponding key is touched. Otherwise, the key is not touched if the corresponding data condition is high. Start bit:When a key state is changed, Data pin outputs a low , which can wake up the master , which can then read the key status. Bit0: Key1 state - “0”= touch, “1”= no touch Bit1: Key2 state - “0”= touch, “1”= no touch Bit2: Key3 state - “0”= touch, “1”= no touch Bit3: Key4 state - “0”= touch, “1”= no touch Bit4: Key5 state - “0”= touch, “1”= no touch Bit5: Key6 state - “0”= touch, “1”= no touch Bit6: Key7 state - “0”= touch, “1”= no touch Bit7: Key8 state - “0”= touch, “1”= no touch Bit11~8: Checksum – the total number of “0”s is used to indicate how many keys have been touched. Bit15~12: Stop bits, always “1010B”. Bit 15~12 11~8 7~0 Descriptions Function Stop bit Check Sum Key8 ~ Key1 state 0: touched / 1: not touched Data Stream 1010 1000 00000000 Check Sum = 1000, 8 keys are touched. 0111 00000001, 00000010, 00000100, 00001000 00010000, 00100000, 01000000 or 10000000 Check Sum = 0111, 7 keys are touched. 0110 00000011, 00000110, 00011000, 00110000 11000000 or 10000001 …… Check Sum = 0110, 6 keys are touched. 0101 00000111, 00001110, 11100000, 10000011, 10000110, 10001100 or 10011000…… Check Sum = 0101, 5 keys is touched. 0100 00001111, 00011110, 00111100, 01111000, 11110000 or 10000111…… Check Sum = 0100, 4 keys is touched. 0011 00011111, 00111110, 01111100, 11111000 100011111 or 110001111…… Check Sum = 0011, 3 keys are touched. 0010 00111111, 01111110, 11111100, 01111110, 01111101or 01111011…… Check Sum = 0010, 2 keys are touched. 0001 11111110, 11111101, 11111011, 11110111 11101111, 11011111, 10111111 or 01111111 Check Sum = 0001, 1 key is touched. 0000 11111111 Check Sum = 0000, No key is touched. Serial Data Stream Format for 8-key
Rev. 1.32 10 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Parallel Interface The BS818A-2 also provides a parallel interface function which shows directly the key state condition. When t he pa rallel out put t ype i s se lected, t he t ouch key data reflects only one key state, not more keys, at the same time. When no touch key is pressed, BIN3~BIN0 are high. When any key is pressed, BIN3 must output a low to wake up the master while BIN2~BIN0 reflect which keys are pressed as shown in the following table. Pressed key BIN3 BIN2 BIN1 BIN0 No key 1 (high) 1 1 1 Key1 0 (low) 1 1 1 Key2 0 1 1 0 Key3 0 1 0 1 Key4 0 1 0 0 Key5 0 0 1 1 Key6 0 0 1 0 Key7 0 0 0 1 Key8 0 0 0 0 I2C Interface START and STOP Conditions: START SDA SCL STOP Slave Address After the ST ART signal, a 7-bit slave address will be transmitted. The slave address is 0x50. Slave Address(7bit) SDA SCL 12 7 89 Read or Write Control R/W 0: Write 1: Read SDA SCL 12 7 89 Acknowledge ACK 0: Acknowledge 1: No acknowledge SDA SCL 12 7 89 Slave Busy After a date byte (8bit+ACK) is transmitted, the slave device i s b usy wi th p rocessing t he r eceived d ata( slave busy) and cannot receive the next data byte. At this time the SCL line is pulled down and the master can continue to transmit the data until the SCL line is pulled high again. BUSY SDA SCL 1 2 789
- Read: BUSY SDA SCL 1 2 893 4 5 6 7
- Write: BUSY SDA SCL 1 2 893 4 5 6 7 Read Touch-key Status Data Register Read the touch key status data structure of the BS8112-3 or BS8116A-3. Start Slave Address A C K W A C K RStart A C K NO ACK StopSlave Address0x09 KeyStatus1 Start Slave Address A C K W A C K RStart A C K NO ACK StopSlave Address0x08 KeyStatus0 Start Slave Address A C K W A C K RStart A C K NO ACK StopSlave Address A C K0x08 KeyStatus0 KeyStatus1
Rev. 1.32 11 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS8112A-3 and BS8116A-3 T ouch-key Status Data Registers Address Name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W 08H KeyStatus0 Key8 Key7 Key6 Key5 Key4 Key3 Key2 Key1 R 09H KeyStatus1 Key16 (Note) Key15 (Note) Key14 (Note) Key13 (Note) Key12 Key11 Key10 Key9 R Note: Key16~Key13 are only for the BS8116A-3 device. 0=no touch, 1=touch BS8112A-3 Write Setting Register When the master will write the setting byte to the BS81 12A-3, it must write 18 date bytes consecutively with the start byte of 0xB0 and the last byte of the checksum. Start Slave Address A C K W NO ACK Stop A C K A C K A C K 0xB0 DATA1 A C K DATA17DATA2~16 CheckSum When the setting is changed, the T ouch Key module will be reset. For about 0.5s later the T ouch Key module can normally operate after reset. BS8112A-3 Read Setting Register The master read a setting byte of the BS8112A-3. Start Slave Address A C K W A C K RStart A C K NO ACK StopSlave Address0xB0~0xC0 DATA The master read n setting bytes of the BS8112A-3. Start Slave Address A C K W A C K Start NO ACK StopSlave Address A C K R A C KAddress DATA1 A C K DATAnDATA BS8112A-3 T ouch-key Setting Registers Address Name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W B0H Option1 — IRQ_OMS R/W B1H Reserve 0x00 R/W B2H Reserve 0x83 R/W B3H Reserve 0xF3 R/W B4H Option2 1 LSC 0 1 1 0 0 0 R/W B5H K1_TH K1WU 0 Key1 Trigger threshold value R/W B6H K2_TH K2WU 0 Key2 Trigger threshold value R/W B7H K3_TH K3WU 0 Key3 Trigger threshold value R/W B8H K4_TH K4WU 0 Key4 Trigger threshold value R/W B9H K5_TH K5WU 0 Key5 Trigger threshold value R/W BAH K6_TH K6WU 0 Key6 Trigger threshold value R/W BBH K7_TH K7WU 0 Key7 Trigger threshold value R/W BCH K8_TH K8WU 0 Key8 Trigger threshold value R/W BDH K9_TH K9WU 0 Key9 Trigger threshold value R/W BEH K10_TH K10WU 0 Key10 Trigger threshold value R/W BFH K11_TH K11WU 0 Key11 Trigger threshold value R/W C0H K12_TH K12WU Mode Key12 Trigger threshold value R/W BS8112A-3 Key12/IRQ Function Selection Key12 Mode( bit6 of K12_TH) Function
0 Key12
1 IRQ (Default)
Rev. 1.32 12 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS8116A-3 Write Setting Register When the master will write the setting byte to the BS81 16A-3, it must write 22 date bytes consecutively with the start byte of 0xB0 and the last byte of the checksum. Start Slave Address A C K W A C K NO ACK Stop A C K A C K0xB0 DATA1 A C K DATA21DATA2~20 CheckSum When the setting is changed, the T ouch Key module will be reset. For about 0.5s later the T ouch Key module can normally operate after reset. BS8116A-3 Read Setting Register The master read a setting byte of the BS8116A-3. Start Slave Address A C K W A C K RStart A C K NO ACK StopSlave Address0xB0~0xC4 DATA The master read n setting bytes of the BS8116A-3. Start Slave Address A C K W A C K Start NO ACK StopSlave Address A C K R A C KAddress DATA1 A C K DATAnDATA BS8116A-3 Touch-key Sensitivity Setting Register Address Name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 R/W B0H Option1 — IRQ_OMS R/W B1H Reserve 0x00 R/W B2H Reserve 0x83 R/W B3H Reserve 0xF3 R/W B4H Option2 1 LSC 0 1 1 0 0 0 R/W B5H K1_TH K1WU 0 Key1 Trigger threshold value R/W B6H K2_TH K2WU 0 Key2 Trigger threshold value R/W B7H K3_TH K3WU 0 Key3 Trigger threshold value R/W B8H K4_TH K4WU 0 Key4 Trigger threshold value R/W B9H K5_TH K5WU 0 Key5 Trigger threshold value R/W BAH K6_TH K6WU 0 Key6 Trigger threshold value R/W BBH K7_TH K7WU 0 Key7 Trigger threshold value R/W BCH K8_TH K8WU 0 Key8 Trigger threshold value R/W BDH K9_TH K9WU 0 Key9 Trigger threshold value R/W BEH K10_TH K10WU 0 Key10 Trigger threshold value R/W BFH K11_TH K11WU 0 Key11 Trigger threshold value R/W C0H K12_TH K12WU 0 Key12 Trigger threshold value R/W C1H K13_TH K13WU 0 Key13 Trigger threshold value R/W C2H K14_TH K14WU 0 Key14 Trigger threshold value R/W C3H K15_TH K15WU 0 Key15 Trigger threshold value R/W C4H K16_TH K16WU Mode Key16 Trigger threshold value R/W
Rev. 1.32 13 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS8116A-3 Key16/IRQ Function Selection Key16 Mode( bit6 of K16_TH) Function
0 Key16
BS8112A-3, BS8116A-3 IRQ_OMS Function IRQ_OMS ( bit0 of Option1) Function
0 Level hold (Default)
1 One-shot
BS8112A-3, BS81 16A-3 T ouch-key W ake-up Function Control KnWU (bit7 of Kn_TH) Function
0 Wake-up function enabled
(Default)
1 Wake-up function disabled
Output mode: IRQ_OMS = 0 (Level hold, low active) The mas ter reads the key data w hen the IRQ is low and will stop reading data until the key data is 0. Release all keys Touch any key Release all keys IRQ Key Status ≠0 Key Status ≠0 Key Status = 0 Output mode: IRQ_OMS = 1 (One-shot, low active) When the key status changes, send one-shot signal. Read Status unchanged IRQ Status unchanged Status change When the IRQ function is disabled , the Key12 of the BS8112A-3 o r t he Ke y16 o f B S8116A-3 i s u sed a s t he touch ke y. W hen t he m aster re ad “ KeyStatus=0x00”, which means all the keys is released, the master can re duce t he re ading sp eed a nd m ake t he powe r consumption lower , the corresponding, the key response speed will also slow down. Maximum Key On Duration Time To minimise the possibility of unintentional switch detections, such as undesired objects covering the sensing electrodes , the devices include a M aximum Key On dura tion t ime func tion. T o i mplement t his function t he d evices i nclude a n i nternal t imer, wh ich starts running after each switch detection. If the key on time of a touch key exceeds a value of about 64 seconds, then the device will re-calibrate the key state, obtain a ne w re ference va lue, whi le t he out put st atus is reset to the initial state. Auto-calibration Function The devices include a full auto-calibration function which will be initiated after the device is powered- on. In a ddition t o t he powe r-on c alibration, i f no switch de tection ha s be en m ade for a bout m ore t han 1 se cond i n t he norm al m ode or 32 se conds i n t he standby mode, then a further calibration procedure will b e c arried o ut. B y i mplementing t his f eature, changes i n t he t ouch ke y e nvironmental c onditions are automatically catered for dynamically. Adaptive Voltage Drop This se ries o f t ouch k ey d evices i nclude a n a daptive voltage drop function which prevent touch key malfunction d ue t o p ower sup ply v oltage v ariations which may be caused by high current switching. W ith the a daptive v oltage d rop f unction, t here i s n o n eed for an external LDO to deal wit h these vol tage drop issues. Sensitivity Adjustment The se nsitivity of t he swi tch i s a ve ry i mportant consideration in most applications whose requirements will vary according to the user application. The user should t herefore be a ware of t he m ethods wh ich c an adjust the sensitivity of their touch key application. Changing the PCB el ectrode siz e, t he conduct ive layout area below the electrode and the thickness of the dielectric material panel can all be used to adjust t he t ouch swi tch sensit ivity. Addit ionally for the BS81x device series, except the BS81 12A-3 and BS8116A-3 devices, an externa l capaci tor connect ed to the touch key input pin can also be used to adjust the se nsitivity for di fferent a pplications. W hile for the B S8112A-3 a nd B S8116A-3 de vices, c hanging related settings through the I2C can be used to adjust the sensitivity for different demands. The touch threshold adjustment range is from 8~63.
Rev. 1.32 14 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Application Circuits BS812A-1 KEY2 VDD KOUT2 VDD 0.1 F Ct 2 KEY1 Ct 1 Touch Key KOUT1 Touch Key Ct range 0pF~25pF VSS BS812A-1 Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct) BS813A-1 KEY3 VDD KOUT2 VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key KOUT1 Touch Key Ct range 0pF~25pF KEY1 Ct 1 Touch Key KOUT3 VSS BS813A-1 Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct)
Rev. 1.32 15 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS814A-1 KEY3 VDD KOUT2 VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key KOUT1Touch Key KEY1 Ct 1 Touch Key KOUT3 VSS KEY4 Ct 4 Touch Key Ct range 0pF~25pF KOUT4 BS814A-1 Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct) BS814A-2 KEY3 VDD Clock VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key DataTouch Key KEY1 Ct 1 Touch Key VSS KEY4 Ct 4 Touch Key Ct range 0pF~25pF BS814A-2 Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct)
Rev. 1.32 16 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS816A-1 KEY3 VDD KOUT2 VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key KOUT1 Touch Key KEY1 Ct 1 Touch Key KOUT3 VSS KEY4 Ct 4 Touch Key Ct range 0pF~25pF KOUT4 KEY5 Ct 5 Touch Key KEY6 Ct 6 Touch Key KOUT5 KOUT6 OMS LSC BS816A-1
16 NSOP
Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct)
Rev. 1.32 17 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS818A-2 – Serial Interface Mode KEY3 VDD VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key Touch Key KEY1 Ct 1 Touch Key VSS KEY4 Ct 4 Touch Key Ct range 0pF~25pF KEY5 Ct 5 Touch Key KEY6 Ct 6 Touch Key OMS LSC BS818A-2 KEY7 Ct 7 Touch Key KEY8 Ct 8 Touch Key Clock Data Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct)
Rev. 1.32 18 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS818A-2 – Parallel Interface Mode KEY3 VDD VDD 0.1 F Ct 3 KEY2 Ct 2 Touch Key Touch Key KEY1 Ct 1 Touch Key VSS KEY4 Ct 4 Touch Key Ct range 0pF~25pF KEY5 Ct 5 Touch Key KEY6 Ct 6 Touch Key OMS LSC BS818A-2 KEY7 Ct 7 Touch Key KEY8 Ct 8 Touch Key BIN2 BIN3 BIN0 BIN1 Note: 1. Ct (C threshold) is used for adjustment of T rigger Threshold. Recommended value: 0~25 pF 2. Ct value can be changed to obtain dif ferent sensitivity values. Higher Ct values will result in lower sensi- tivity levels. (0pF = no Ct)
Rev. 1.32 19 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 BS8112A-3 VDD VDD 0.1 F SDA KEY1Touch Key VSS KEY12/IRQTouch Key SCL BS8112A-3 BS8116A-3 VDD VDD 0.1 F SDA KEY1Touch Key VSS KEY16/IRQTouch Key SCL BS8116A-3
Rev. 1.32 20 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3
Package Information
Note that the packag e information provided here is for consultation purposes on ly. As this information may be updated at regular intervals users are reminded to consult the Holtek website for the latest version of the Package/Carton Information. Additional supplementary information with regard to packaging is listed below. Click on the relevant section to be transferred to the relevant website page.
- Further Package Information (include Outline Dimensions, Product Tape and Reel Specifications)
- Packing Meterials Information
- Carton information
Rev. 1.32 21 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 6-pin SOT23-6 Outline Dimensions H Symbol Dimensions in inch Min. Nom. Max. A — — 0.057 A1 — — 0.006 A2 0.035 0.045 0.051 b 0.012 — 0.020 C 0.003 — 0.009 D — 0.114 BSC — E — 0.063 BSC — e — 0.037 BSC — e1 — 0.075 BSC — H — 0.110 BSC — L 0.012 0.018 0.024 θ 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — — 1.45 A1 — — 0.15 A2 0.90 1.15 1.30 b 0.30 — 0.50 C 0.08 — 0.22 D — 2.90 BSC — E — 1.60 BSC — e — 0.95 BSC — e1 — 1.90 BSC — H — 2.80 BSC — L 0.30 0.45 0.60 θ 0° — 8°
Rev. 1.32 22 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 8-pin SOP (150mil) Outline Dimensions /G44 /G46 /G43/G27 /G47 /G48 /G61 /G45 /G38 /G31 /G41 /G42 /G43 /G34 /G35 Symbol Dimensions in inch Min. Nom. Max. A — 0.236 BSC — B — 0.154 BSC — C 0.012 — 0.020 C’ — 0.193 BSC — D — — 0.069 E — 0.050 BSC — F 0.004 — 0.010 G 0.016 — 0.050 H 0.004 — 0.010 α 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — 6.0 BSC — B — 3.9 BSC — C 0.31 — 0.51 C’ — 4.9 BSC — D — — 1.75 E — 1.27 BSC — F 0.10 — 0.25 G 0.40 — 1.27 H 0.10 — 0.25 α 0° — 8°
Rev. 1.32 23 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 10-pin MSOP Outline Dimensions /G41/G31 /G41 /G45/G31 /G65 /G42 /G41/G32 /G52/G20 /G30/G2E /G31/G30 /G28/G34 /G20/G43 /G4F/G52 /G4E/G45 /G52/G53 /G29 /G4C /G45 /G43 /G71 /G44 /G31 /G35 /G36 /G31/G30 /G4C/G31 Symbol Dimensions in inch Min. Nom. Max. A — — 0.043 A1 0.000 — 0.006 A2 0.030 0.033 0.037 b 0.007 — 0.013 c 0.003 — 0.009 D — 0.118 BSC — E — 0.193 BSC — E1 — 0.118 BSC — e — 0.020 BSC — L 0.016 0.024 0.031 L1 — 0.037 BSC — y — 0.004 — α 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — — 1.10 A1 0.00 — 0.15 A2 0.75 0.85 0.95 b 0.17 — 0.33 c 0.08 — 0.23 D — 3.0 BSC — E — 4.9 BSC — E1 — 3.0 BSC — e — 0.5 BSC — L 0.40 0.60 0.80 L1 — 0.95 BSC — y — 0.1 — α 0° — 8°
Rev. 1.32 24 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 16-pin NSOP (150mil) Outline Dimensions /G31/G36 /G31 /G39 /G38 /G61 /G41 /G42 /G43 /G44 /G45 /G46 /G47 /G48 /G43/G27 Symbol Dimensions in inch Min. Nom. Max. A — 0.236 BSC — B — 0.154 BSC — C 0.012 — 0.020 C’ — 0.390 BSC — D — — 0.069 E — 0.050 BSC — F 0.004 — 0.010 G 0.016 — 0.050 H 0.004 — 0.010 α 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — 6.0 BSC — B — 3.9 BSC — C 0.31 — 0.51 C’ — 9.9 BSC — D — — 1.75 E — 1.27 BSC — F 0.10 — 0.25 G 0.40 — 1.27 H 0.10 — 0.25 α 0° — 8°
Rev. 1.32 25 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 20-pin SOP (300mil) Outline Dimensions Symbol Dimensions in inch Min. Nom. Max. A — 0.406 BSC — B — 0.295 BSC — C 0.012 — 0.020 C’ — 0.504 BSC — D — — 0.104 E — 0.050 BSC — F 0.004 — 0.012 G 0.016 — 0.050 H 0.008 — 0.013 α 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — 10.30 BSC — B — 7.5 BSC — C 0.31 — 0.51 C’ — 12.8 BSC — D — — 2.65 E — 1.27 BSC — F 0.10 — 0.30 G 0.40 — 1.27 H 0.20 — 0.33 α 0° — 8°
Rev. 1.32 26 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 20-pin SSOP (150mil) Outline Dimensions /G32/G30 /G31 /G31/G31 /G31/G30 /G41 /G42 /G43 /G44 /G45/G46 /G43/G27 /G47 /G48 /G61 Symbol Dimensions in inch Min. Nom. Max. A — 0.236 BSC — B — 0.154 BSC — C 0.008 — 0.012 C’ — 0.341 BSC — D — — 0.069 E — 0.025 BSC — F 0.004 — 0.01 G 0.016 — 0.05 H 0.004 — 0.01 α 0° — 8° Symbol Dimensions in mm Min. Nom. Max. A — 6.000 BSC — B — 3.900 BSC — C 0.20 — 0.30 C’ — 8.660 BSC — D — — 1.75 E — 0.635 BSC — F 0.10 — 0.25 G 0.41 — 1.27 H 0.10 — 0.25 α 0° — 8°
Rev. 1.32 27 January 19, 2016 BS812A-1/BS813A-1/BS814A-1/BS814A-2 BS816A-1/BS818A-2/BS8112A-3/BS8116A-3 Copyright© 2016 by HOLTEK SEMICONDUCTOR INC. The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek's products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw.