210
ABOV Semiconductor Co., Ltd.
USInSDHR (USInSDA Hold Time Register: For I2C mode): E4H/F4H, n = 0, 1
Initial value: 01H
The register is used to control SDAn output timing from the falling edge of SCI in I2C
mode.
NOTE)
1. That SDAn is changed after t
SCLK
X (USInSDHR+2), in master
SDAn change in the middle of SCLn.
2. In slave mode, configure this register regarding the frequency of
SCLn from master.
3. The SDAn is changed after t
SCLK
X (USInSDHR+2) in master mode.
So, to insure operation in slave mode, the value
4. t
SCLK
X (USInSDHR+2) must be smaller than the period of SCL.
USInSCHR (USInSCL High Period Register: For I2C mode): E7H/F7H, n = 0, 1
Initial value: 3FH
This register defines the high period of SCLn when it operates in I2C master mode.
The base clock is SCLK, the system clock, and the period is calculated by the
formula: t
SCLK
X (4 X USInSCHR +2) where
t
SCLK
is the period of SCLK.
So, the operating frequency of I2C master mode is calculated by the following equation.
t
SCLK
X (4 X (USInSCLR + USInSCHR) + 4)