
Rev. 1.00
130
October 26, 2018
Rev. 1.00
131
October 26, 2018
BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
I
2
C Debounce Time Selection I
2
C Standard Mode (100kHz) I
2
C Fast Mode (400kHz)
No Debounce
f
SYS
> 2MHz
f
SYS
> 5MHz
2 system clock debounce
f
SYS
> 4MHz
f
SYS
> 10MHz
4 system clock debounce
f
SYS
> 8MHz
f
SYS
> 20MHz
I
2
C Minimum f
SYS
Frequency Requirements
I
2
C Registers
There are three control registers associated with the I
2
C bus, IICC0, IICC1 and IICTOC, one address
register IICA and one data register, IICD.
Register
Name
Bit
7
6
5
4
3
2
1
0
IICC0
—
—
—
—
IICDEB1 IICDEB0
IICEN
—
IICC1
HCF
HAAS
HBB
HTX
TXAK
SRW
IAMWU
RXAK
IICD
D7
D6
D5
D4
D3
D2
D1
D0
IICA
IICA6
IICA5
IICA4
IICA3
IICA2
IICA1
IICA0
—
IICTOC IICTOEN
IICTOF
IICTOS5 IICTOS4 IICTOS3 IICTOS2 IICTOS1 IICTOS0
I
2
C Register List
I
2
C Data Register
The IICD register is used to store the data being transmitted and received. Before the device writes
data to the I
2
C bus, the actual data to be transmitted must be placed in the IICD register. After the
data is received from the I
2
C bus, the device can read it from the IICD register. Any transmission or
reception of data from the I
2
C bus must be made via the IICD register.
• IICD Register
Bit
7
6
5
4
3
2
1
0
Name
D7
D6
D5
D4
D3
D2
D1
D0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
x
x
x
x
x
x
x
x
“x”: unknown
Bit 7~0
D7~D0
: I
2
C data register bit 7 ~ bit 0
I
2
C Address Register
The IICA register is the location where the 7-bit slave address of the slave device is stored. Bits
7~1 of the IICA register define the device slave address. Bit 0 is not defined. When a master device,
which is connected to the I
2
C bus, sends out an address, which matches the slave address in the IICA
register, the slave device will be selected.
• IICA Register
Bit
7
6
5
4
3
2
1
0
Name
IICA6
IICA5
IICA4
IICA3
IICA2
IICA1
IICA0
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
—
POR
0
0
0
0
0
0
0
—
Bit 7~1
IICA6~IICA0
: I
2
C slave address
IICA6~IICA0 is the I
2
C slave address bit 6 ~ bit 0.
Bit 0
Unimplemented, read as “0”