Rev. 1.50 136 August 28, 2017 Rev. 1.50 137 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
START signal
from M aste r
Send s la ve addre ss
and R/W bit from M aste r
A cknow le dge
from s la ve
S end data byte
from M aste r
A cknow l edge
from s la ve
STOP s ig nal
from M aste r
TheSIMDEB1andSIMDEB0bitsdeterminethedebouncetimeoftheI
2
Cinterface.Thisuses
thesystemclocktoineffectaddadebouncetimetotheexternalclocktoreducethepossibility
ofglitchesontheclocklinecausingerroneousoperation.Thedebouncetime,ifselected,canbe
chosentobeeither2or4systemclocks.ToachievetherequiredI
2
Cdatatransferspeed,there
existsarelationshipbetweenthesystemclock,f
SYS
,andtheI
2
Cdebouncetime.ForeithertheI
2
C
StandardorFastmodeoperation,usersmusttakecareoftheselectedsystemclockfrequencyand
thecongureddebouncetimetomatchthecriterionshowninthefollowingtable.
I
2
C Debounce Time Selection I
2
C Standard Mode (100kHz) I
2
C Fast Mode (400kHz)
No Devounce f
SYS
> 2 MHz f
SYS
> 5 MHz
2 system clock debounce f
SYS
> 4 MHz f
SYS
> 10 MHz
4 system clock debounce f
SYS
> 8 MHz f
SYS
> 20 MHz
I
2
C Minimum f
SYS
Frequency
I
2
C Registers
TherearethreecontrolregistersassociatedwiththeI
2
Cbus,SIMC0,SIMC1andSIMTOC,one
slaveaddressregister,SIMA,andonedataregister,SIMD.TheSIMDregister,whichisshownin
theaboveSPIsection,isusedtostorethedatabeingtransmittedandreceivedontheI
2
Cbus.Before
themicrocontrollerwritesdatatotheI
2
Cbus,theactualdatatobetransmittedmustbeplacedinthe
SIMDregister.AfterthedataisreceivedfromtheI
2
Cbus,themicrocontrollercanreaditfromthe
SIMDregister.AnytransmissionorreceptionofdatafromtheI
2
CbusmustbemadeviatheSIMD
register.
NotethattheSIMAregisteralsohasthenameSIMC2whichisusedbytheSPIfunction.BitSIMEN
andbitsSIM2~SIM0inregisterSIMC0areusedbytheI
2
Cinterface.
Register
Name
Bit
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
SIMA IICA6 IICA5 IICA4 IICA3 IICA2 IICA1 IICA0 D0
SIMD D7 D6 D5 D4 D3 D2 D1 D0
SIMTOC SIMTOEN SIMTOF SIMTOS5 SIMTOS4 SIMTOS3 SIMTOS2 SIMTOS1 SIMTOS0
I
2
C Registers List