HT45B0F Holtek Semiconductor, HT45B0F Datasheet

no-image

HT45B0F

Manufacturer Part Number
HT45B0F
Description
SPI-to-UART Bridge
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT45B0F
Quantity:
18
www.DataSheet.co.kr
Features
General Description
The HT45B0F is microcontroller peripheral device to im-
plement SPI-to-UART data conversions. The UART
module can operate in full-duplex mode with an interrupt
output capability to the host microcontroller.
Block Diagram
Rev. 1.00
Operating Voltage
Glueless slave SPI interface to Holtek s MCU
Full-duplex, Universal Asynchronous Receiver and
Transmitter (UART) communication
f
f
f
8 or 9 bit character length
Even, odd or no parity options
One or two stop bits
Baud rate generator with 8-bit prescaler
Parity, framing, noise and overrun error detection
Support for interrupt on address detect
Address Detect Interrupt - last character bit=1
Transmitter and receiver enabled independently
4-byte deep FIFO receiver data buffer
CLKI
CLKI
CLKI
= 12MHz: 2.0V~5.5V
= 16MHz: 2.7V~5.5V
= 20MHz: 4.5V~5.5V
1
Possible application could include data communication
networks between microcontrollers, low-cost data links
between PCs and peripheral devices, portable and bat-
tery operated devices, factory automation and process
control to name but a few.
CMOS clock input, CLKI, up to 20MHz at 5V
operating voltage
16-pin NSOP package
Transmit and Receive Multiple Interrupt
Generation Sources:
TX pin is high impedance when the UART transmit
module is disabled
RX pin is high impedance when the UART receive
module is disabled
Transmitter Empty
Transmitter Idle
Receiver Full
Receiver Overrun
Address Mode Detect
SPI-to-UART Bridge
HT45B0F
June 7, 2011
Datasheet pdf - http://www.DataSheet4U.net/

Related parts for HT45B0F

HT45B0F Summary of contents

Page 1

... Address Detect Interrupt - last character bit=1 Transmitter and receiver enabled independently 4-byte deep FIFO receiver data buffer General Description The HT45B0F is microcontroller peripheral device to im- plement SPI-to-UART data conversions. The UART module can operate in full-duplex mode with an interrupt output capability to the host microcontroller. ...

Page 2

... Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability. Rev. 1.00 Description 0. +6.0V Storage Temperature .......................... +150 0. +0.3V Operating Temperature......................... + Total.............................................................. 35mA OH 2 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 3

... TXEN=1, RXEN=1, SDI=H, RX=H, Output no load 2.7V f =16MHz, SCK=f /4, CLKI CLKI SCS=V , UARTEN=0, DD 3.3V TXEN=1, RXEN=1, SDI=H, RX=H, Output no load 5. 0.7V DD 2.0V 0.5 2.7V 1.0 V =0. 3.3V 4.0 5.0V 10.0 2.0V 0.4 2.7V 1.0 V =0. 3.3V 4.0 5.0V 5.0 2.0V 30 2.7V 20 3. HT45B0F Ta=25 C Typ. Max. Unit 5.5 V 5.5 V 5.5 V 0.8 mA 1.0 mA 1.5 mA 2.0 mA 4.0 mA 4.5 mA 5.0 mA 6.0 mA 0.6 A 0.6 A 0.6 A 0 1.0 mA 2 ...

Page 4

... R t SPI Output Fall Time F t SPI Data Output Delay Time W Rev. 1.00 Test Conditions Parameter V Conditions DD 2.0V 2.7V 5.0V 2.0V 2. 3.0V 5.0V 2.0V 2.7V 3.0V 5.0V 2.0V 2.7V 3.0V 5.0V 2.0V 2.7V 3.0V 5.0V 4 HT45B0F Ta=25 C Min. Typ. Max. Unit 0.0034 V/ms 400 12000 kHz 400 16000 kHz 400 20000 kHz 83.3 ns 62.5 ns 62 ...

Page 5

... Functional Description The HT45B0F is full-duplex asynchronous serial com- munications UART interface that enables communica- tion with external devices that contain a serial interface. The UART function has many features and can transmit and receive data serially by transferring a frame of data with eight or nine data bits per transmission as well as being able to detect errors when the data is overwritten or incorrectly framed ...

Page 6

... Writing Type Format: 8-bit Command Input + 8-bit Data Input Reading Type Format: 8-bit Command Input + 8-bit Data Output LSB TX Pin RX Pin Baud Rate Generator UART Data Transfer Scheme 6 HT45B0F Receiver Shift Register (RSR) MSB LSB ...

Page 7

... TXEN RXEN BRGH XXXX XXXX BRG7 BRG6 BRG5 0 URST UART Register Summary FERR OERR HT45B0F Bit 3 Bit 2 Bit 1 Bit Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OERR ...

Page 8

... The TXIF flag is cleared by reading the UART status register (USR) with TXIF set and then writing to the TXR data register. Note that when the TXEN bit is set, the TXIF flag bit will also be set since the transmit data register is not yet full. Rev. 1.00 8 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 9

... TXBRK bit is reset. Rev. 1. BNO PREN PRT R/W R/W R HT45B0F STOPS TXBRK RX8 TX8 R/W R unknown June 7, 2011 ...

Page 10

... Rev. 1. RXEN BRGH ADDEN R/W R/W R HT45B0F WAKE RIE TIIE TEIE R/W R June 7, 2011 ...

Page 11

... URST in the UART control register UCR3 is the UART software reset control bit. When this bit is equal the UART operates normally. If this bit is equal the whole HT45B0F will be reset. When this situa- tion occurs, the transmitter and receiver will be reset. The UART registers including the status register and control registers will keep the POR states shown in the above UART registers table after the reset condition occurs ...

Page 12

... Kbaud 0.300 0.16 185 0.300 1.202 0.16 46 1.190 2.404 0.16 22 2.432 4.808 0.16 11 4.661 8.929 5 9.321 6.99 20.833 8.51 2 18.643 62.500 8.51 0 55.930 Baud Rates and Error Values for BRGH = 0 12 HT45B0F f CLKI f CLKI (BRx64) 4000000 1 12.0208 x ( 4800 64 ) 4000000 [64(12 + 1)] = 0.16% f =7.159MHz CLKI Error (%) BRG Kbaud Error (%) 0.00 92 1.203 0.23 0.83 1.32 46 2.380 ...

Page 13

... Baud Rates and Error Values for BRGH = BRG6 BRG5 BRG4 R/W R/W R HT45B0F f =7.159MHz CLKI Error (%) BRG Kbaud Error (%) 0.23 0.23 185 2.406 0.23 92 4.811 0.23 0.83 1.32 46 9.520 0.83 22 19.454 1.32 2.90 11 37.286 2.90 2.90 2.90 7 55.930 2.90 3 111.86 2.90 2. BRG3 ...

Page 14

... Example of 9-bit Data Formats Transmitter Receiver Data Format The following diagram shows the transmit and receive waveforms for both 8-bit and 9-bit data formats. 14 HT45B0F Stop Bit June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 15

... The automatic logic high at the end of the last break character will ensure that the start bit of the next frame is recognized. 15 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 16

... The read only receive interrupt flag RXIF in the USR register is set by an edge generated by the receiver. An interrupt is generated if RIE=1, when a word is transferred from the Receive Shift Register, RSR, to the Receive Data Register, RXR. An overrun error can also generate an interrupt if RIE=1. 16 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 17

... UART, the details of which are given in the UART regis- ter section. The overall UART interrupt can be disabled or enabled by the related interrupt enable control bits in the interrupt control registers of the microcontroller to decide whether the interrupt requested by the UART module is masked out or allowed. 17 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 18

... Note that as it takes a certain 0 X period of time known as the System Start-up Time for 1 oscillator to restart and stabilize after a wake-up, any data received during this time on the RX pin will be ig- 18 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 19

... Note also that as it takes a period of delay after a wake-up before normal microcontroller resumes, the relevant UART interrupt will not be serviced until this pe- riod of delay time has elapsed. 19 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 20

... G H Symbol Rev. 1.00 Dimensions in inch Min. Nom. 0.228 0.150 0.012 0.386 0.050 0.004 0.016 0.007 0 Dimensions in mm Min. Nom. 5.79 3.81 0.30 9.80 1.27 0.10 0.41 0. HT45B0F Max. 0.244 0.157 0.020 0.402 0.069 0.010 0.050 0.010 8 Max. 6.20 3.99 0.51 10.21 1.75 0.25 1.27 0.25 8 June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 21

... Product Tape and Reel Specifications Reel Dimensions 16-pin NSOP (150mil) Symbol A Reel Outer Diameter B Reel Inner Diameter C Spindle Hole Diameter D Key Slit Width T1 Space Between Flange T2 Reel Thickness Rev. 1.00 Description 21 HT45B0F Dimensions in mm 330.0 1.0 100.0 1.5 +0.5/-0.2 13.0 2.0 0.5 +0.3/-0.2 16.8 22.2 0.2 June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 22

... Cavity Pitch E Perforation Position F Cavity to Perforation (Width Direction) D Perforation Diameter D1 Cavity Hole Diameter P0 Perforation Pitch P1 Cavity to Perforation (Length Direction) A0 Cavity Length B0 Cavity Width K0 Cavity Depth t Carrier Tape Thickness C Cover Tape Width Rev. 1.00 Description 22 HT45B0F Dimensions in mm 16.0 0.3 8.0 0.1 1.75 0.1 7.5 0.1 +0.10/-0.00 1.55 +0.25/-0.00 1.50 4.0 0.1 2.0 0.1 6.5 0.1 10.3 0.1 2.1 0.1 0.30 0.05 13.3 0.1 June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Page 23

... Holtek s products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw. Rev. 1.00 23 HT45B0F June 7, 2011 Datasheet pdf - http://www.DataSheet4U.net/ ...

Related keywords