Electronic Components Datasheet Search
  English  ▼

X  

HT45B0F Datasheet(PDF) 18 Page - Holtek Semiconductor Inc

Part # HT45B0F
Description  SPI-to-UART Bridge
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45B0F Datasheet(HTML) 18 Page - Holtek Semiconductor Inc

Back Button HT45B0F Datasheet HTML 14Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 15Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 16Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 17Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 18Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 19Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 20Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 21Page - Holtek Semiconductor Inc HT45B0F Datasheet HTML 22Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 23 page
background image
HT45B0F
Rev. 1.00
18
June 7, 2011
· Address detect mode
Setting the Address Detect function enable control bit,
ADDEN, in the UCR2 register, enables this special
function. If this bit is set to
²1², then an additional qual-
ifier will be placed on the generation of a Receiver
Data Available interrupt, which is requested by the
RXIF flag. If the ADDEN bit is equal to
²1², then when
the data is available, an interrupt will only be gener-
ated, if the highest received bit has a high value. Note
that the related interrupt enable control bit and the
EMI bit of the microcontroller must also be enabled for
correct interrupt generation. The highest address bit is
the 9th bit if the bit BNO=1 or the 8th bit if the bit
BNO=0. If the highest bit is high, then the received
word will be defined as an address rather than data. A
Data Available interrupt will be generated every time
the last bit of the received word is set. If the ADDEN bit
is equal to
²0², then a Receive Data Available interrupt
will be generated each time the RXIF flag is set, irre-
spective of the data last but status. The address de-
tect and parity functions are mutually exclusive
functions. Therefore if the address detect function is
enabled, then to ensure correct operation, the parity
function should be disabled by resetting the parity
function enable bit PREN to zero.
ADDEN
Bit 9 if BNO=1,
Bit 8 if BNO=0
UART Interrupt
Generated
0
0
Ö
1
Ö
1
0X
1
Ö
ADDEN Bit Function
Power-down and Wake-up
The MCU and device are powered down independently
of each other. The method of powering down the MCU is
covered in the previous MCU section of the datasheet.
The device must be powered down before the MCU is
powered down. This is implemented by first clearing the
UARTEN bit in the UCR1 register to disable the UART
Module circuitry after which the SCS internal line can be
set high to disable the SPI interface circuits. When the
UART and SPI interfaces are powered down, the SCK
and CLKI clock sources to the device will be disabled.
The device can be powered up by the MCU by first
clearing the SCS line to zero and then setting the
UARTEN bit. If the UART circuits is powered down while
a transmission is still in progress, then the transmission
will be terminated and the external TX transmit pin will
be forced to a logic high level. In a similar way, if the
UART circuits is powered down while receiving data,
then the reception of data will likewise be terminated.
When the UART circuits is powered down, note that the
USR, UCR1, UCR2, UCR3, transmit and receive regis-
ters, as well as the BRG register will not be affected.
The device contains a receiver RX pin wake-up function,
which is enabled or disabled by the WAKE bit in the
UCR2 register. If this bit, along with the UART enable bit
named UARTEN, the receiver enable bit named RXEN
and the receiver interrupt enable bit named RIE, are all
set before the MCU and device are powered down, then
a falling edge on the RX pin will wake up the MCU from
its power down condition. Note that as it takes a certain
period of time known as the System Start-up Time for
oscillator to restart and stabilize after a wake-up, any
data received during this time on the RX pin will be ig-
U S R R e g i s t e r
T r a n s m i t t e r E m p t y
F l a g T X I F
T r a n s m i t t e r I d l e
F l a g T I D L E
R e c e i v e r D a t a
A v a i l a b l e R X I F
R e c e i v e r O v e r r u n
F l a g O E R R
R X 7 i f B N O = 0
R X 8 i f B N O = 1
A D D E N
0
1
0
1
R X P i n
W a k e - u p
W A K E
0
1
U C R 2 R e g i s t e r
T E I E
T I I E
R I E
U C R 2 R e g i s t e r
0
1
0
1
0
1
O R
T o M C U I N T i n t e r r u p t i n p u t
I N T
Interrupt Structure



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


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