Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT45R37V Datasheet(PDF) 49 Page - Holtek Semiconductor Inc

Part # HT45R37V
Description  TinyPower C/R-F Type 8-Bit OTP MCU
PDF  90 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45R37V Datasheet(HTML) 49 Page - Holtek Semiconductor Inc

Back Button HT45R37V Datasheet HTML 45Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 46Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 47Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 48Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 49Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 50Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 51Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 52Page - Holtek Semiconductor Inc HT45R37V Datasheet HTML 53Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 90 page
background image
HT45R37V
Rev. 1.00
49
October 20, 2009
methods of transferring data on the I
2C bus, the slave
transmit mode and the slave receive mode.
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
SIMfunction then the SIMENbit 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 inter-
face. Another configuration option determines the
debounce time of the I
2C interface. This uses the inter-
nal 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 1 or 2 system
clocks.
SIM
Function
SIM function
SIM Interface enable or disable
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 SIMARand one data reg-
ister, SIMDR. The SIMDRregister, which is shown in the
above SPI section, is used to store the data being trans-
mitted 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 SIMDRregister. 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
2C opera-
tions 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 SIMENbit is cleared to zero to dis-
able the I
2C interface, the SDA and SCL lines will be in
a floating condition and the I
2C operating current will
be reduced to a minimum value. When the bit is high
the I
2C interface is enabled. The SIMconfiguration op-
tion must have first enabled the SIM interface for this
bit to be effective. Note that when the SIMEN bit
changes from low to high the contents of the I
2C con-
trol 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.
· RXAK
The RXAK flag is the receive acknowledge flag. When
the RXAK bit has been reset to zero it means that a
correct acknowledge signal has been received at the
9th clock, after 8 bits of data have been transmitted.
When in the transmit mode, the transmitter checks the
RXAK bit to determine if the receiver wishes to receive
the next byte. The transmitter will therefore continue
sending out data until the RXAK bit is set high. When
this occurs, the device will release the SDA line to al-
low the master to send a STOP signal to release the
bus.
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



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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