Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT56R22 Datasheet(PDF) 73 Page - Holtek Semiconductor Inc

Part # HT56R22
Description  TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
Download  127 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT56R22 Datasheet(HTML) 73 Page - Holtek Semiconductor Inc

Back Button HT56R22_14 Datasheet HTML 69Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 70Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 71Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 72Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 73Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 74Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 75Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 76Page - Holtek Semiconductor Inc HT56R22_14 Datasheet HTML 77Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 127 page
background image
HT56R22/HT56R23/HT56R24/HT56R25/HT56R26
Rev. 1.30
73
December 26, 2014
There are several configuration options associated
with the I
2C interface. One of these is to enable the
function which selects the SIM pins rather than normal
I/O pins. Note that if the configuration option does not
select the SIM function then the SIMEN bit in the
SIMCTL0 register will have no effect. A configuration
option exists to allow a clock other than the system
clock to drive the I
2C interface. Another configuration
option determines the debounce time of the I
2C inter-
face. This uses the internal clock to in effect add a
debounce time to the external clock to reduce the pos-
sibility of glitches on the clock line causing erroneous
operation. The debounce time, if selected, can be
chosen to be either 1 or 2 system clocks.
SIM
Function
SIM function
SIM interface or SEG pins
I
2C clock
I
2C runs without internal clock
Disable/Enable
I
2C debounce
No debounce, 1 system clock;
2 system clocks
I
2C Interface Configuration Options
· I
2C Registers
There are three control registers associated with the
I
2C bus, SIMCTL0, SIMCTL1 and SIMAR and one
data register, SIMDR. The SIMDR register, which is
shown in the above SPI section, is used to store the
data being transmitted and received on the I
2C bus.
Before the microcontroller writes data to the I
2C bus,
the actual data to be transmitted must be placed in the
SIMDR register. After the data is received from the I
2C
bus, the microcontroller can read it from the SIMDR
register. Any transmission or reception of data from
the I
2C bus must be made via the SIMDR register.
Note that the SIMAR register also has the name
SIMCTL2 which is used by the SPI function. Bits
SIMIDLE , SIMEN and bits SIM0~SIM2 in register
SIMCTL0 are used by the I
2C interface. The SIMCTL0
register is shown in the above SPI section.
¨ SIMIDLE
The SIMIDLE bit is used to select if the I
2C interface
continues running when the device is in the IDLE
mode. Setting the bit high allows the I
2C interface to
maintain operation when the device is in the Idle
mode. Clearing the bit to zero disables any I
2Cop-
erations when in the Idle mode.
This SPI/I
2C idle mode control bit is located at
CLKMOD register bit4.
¨ SIMEN
The SIMEN bit is the overall on/off control for the I
2C
interface. When the SIMEN bit is cleared to zero to
disable the I
2C interface, the SDA and SCL lines will
be in a floating condition and the I
2C operating cur-
rent will be reduced to a minimum value. In this con-
dition the pins can be used as SEG functions. When
the bit is high the I
2C interface is enabled. The SIM
configuration option must have first enabled the SIM
interface for this bit to be effective. Note that when
the SIMENbit changes from low to high the contents
of the I
2C control registers will be in an unknown
condition and should therefore be first initialised by
the application program.
¨ SIM0~SIM2
These bits setup the overall operating mode of the
SIM function. To select the I
2C function, bits SIM2~
SIM0 should be set to the value 110.
S T A R T s i g n a l
f r o m M a s t e r
S e n d s l a v e a d d r e s s
a n d R / W b i t f r o m M a s t e r
A c k n o w l e d g e
f r o m s l a v e
S e n d d a t a b y t e
f r o m M a s t e r
A c k n o w l e d g e
f r o m s l a v e
S T O P s i g n a l
f r o m M a s t e r
I 2 C D a t a R e g i s t e r
( S I M D R )
S l a v e A d d r e s s R e g i s t e r
( S I M A R )
S h i f t R e g i s t e r
D i r e c t i o n C o n t r o l
M
U
X
A d d r e s s M a t c h
H A A S B i t
I 2 C I n t e r r u p t
D a t a i n L S B
D a t a O u t M S B
T r a n s m i t / R e c e i v e
C o n t r o l U n i t
8 - b i t D a t a C o m p l e t e
D e t e c t S t a r t o r S t o p
D a t a B u s
A d d r e s s
C o m p a r a t o r
E n a b l e / D i s a b l e A c k n o w l e d g e
R e a d / w r i t e S l a v e
S R W B i t
H B B B i t
H T X B i t
S C L P i n
S D A P i n
H C F B i t
I
2C Block Diagram


Similar Part No. - HT56R22_14

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT56R22 HOLTEK-HT56R22_12 Datasheet
824Kb / 134P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
More results

Similar Description - HT56R22_14

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT56R22 HOLTEK-HT56R22 Datasheet
739Kb / 131P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
HT56R22 HOLTEK-HT56R22_12 Datasheet
824Kb / 134P
   TinyPowerTM A/D Type 8-Bit OTP MCU with DAC
HT56R66 HOLTEK-HT56R66_12 Datasheet
745Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R62 HOLTEK-HT56R62_12 Datasheet
786Kb / 108P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R62 HOLTEK-HT56R62_13 Datasheet
5Mb / 145P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R64 HOLTEK-HT56R64_12 Datasheet
674Kb / 90P
   TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R67 HOLTEK-HT56R67_10 Datasheet
696Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit MCU
HT56R67 HOLTEK-HT56R67_12 Datasheet
758Kb / 104P
   TinyPowerTM A/D Type with LCD 8-Bit MCU
HT45R37 HOLTEK-HT45R37_11 Datasheet
672Kb / 100P
   TinyPowerTM C/R-F Type 8-Bit OTP MCU
HT45R37 HOLTEK-HT45R37 Datasheet
614Kb / 99P
   TinyPowerTM C/R-F Type 8-Bit OTP MCU
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com