English
Language : 

BH66F2260 Datasheet, PDF (140/214 Pages) Holtek Semiconductor Inc – R-Sensor Blood Pressure Meter Flash MCU
BH66F2260
R-Sensor Blood Pressure Meter Flash MCU
START signal
from Master
Send slave address
and R/W bit from Master
Acknowledge
from slave
Send data byte
from Master
Acknowledge
from slave
STOP signal
from Master
The SIMDEB1 and SIMDEB0 bits determine the debounce time of the I2C interface. This uses
the internal clock to in effect add a debounce time to the external clock to reduce the possibility
of glitches on the clock line causing erroneous operation. The debounce time, if selected, can be
chosen to be either 2 or 4 system clocks. To achieve the required I2C data transfer speed, there
exists a relationship between the system clock, fSYS, and the I2C debounce time. For either the I2C
Standard or Fast mode operation, users must take care of the selected system clock frequency and
the configured debounce time to match the criterion shown in the following table.
I2C Debounce Time Selection
No Debounce
2 system clock debounce
4 system clock debounce
I2C Standard Mode (100kHz)
fSYS > 2 MHz
fSYS > 4 MHz
fSYS > 8 MHz
I2C Fast Mode (400kHz)
fSYS > 5 MHz
fSYS > 10 MHz
fSYS > 20 MHz
I2C Minimum fSYS Frequency
I2C Registers
There are three control registers associated with the I2C bus, SIMC0, SIMC1 and SIMTOC, one
address register SIMA and one data register, SIMD.
Register
Bit
Name
7
6
5
4
3
2
1
0
SIMC0 SIM2
SIM1
SIM0
— SIMDEB1 SIMDEB0 SIMEN SIMICF
SIMC1
HCF
HAAS
HBB
HTX
TXAK
SRW IAMWU RXAK
SIMD
D7
D6
D5
D4
D3
D2
D1
D0
SIMA
A6
A5
A4
A3
A2
A1
A0
D0
SIMTOC SIMTOEN SIMTOF SIMTOS5 SIMTOS4 SIMTOS3 SIMTOS2 SIMTOS1 SIMTOS0
I2C Registers List
I2C Data Register
The SIMD register is used to store the data being transmitted and received. The same register is used
by both the SPI and I2C functions. Before the device writes data to the I2C bus, the actual data to
be transmitted must be placed in the SIMD register. After the data is received from the I2C bus, the
device can read it from the SIMD register. Any transmission or reception of data from the I2C bus
must be made via the SIMD register.
Rev. 1.00
140
March 15, 2017