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

X  

HT46CU67 Datasheet(PDF) 40 Page - Holtek Semiconductor Inc

Part # HT46CU67
Description  A/D Type 8-Bit MCU with LCD
PDF  67 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46CU67 Datasheet(HTML) 40 Page - Holtek Semiconductor Inc

Back Button HT46CU67 Datasheet HTML 36Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 37Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 38Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 39Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 40Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 41Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 42Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 43Page - Holtek Semiconductor Inc HT46CU67 Datasheet HTML 44Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 67 page
background image
HT46RU67/HT46CU67
Rev. 1.10
40
May 27, 2010
Baud Rate
K/BPS
Baud Rates for BRGH=1
fSYS=4MHz
fSYS=3.579545MHz
BRG
Kbaud
Error (%)
BRG
Kbaud
Error (%)
0.3
¾¾¾¾¾¾
1.2
207
1.202
0.16
185
1.203
0.23
2.4
103
2.404
0.16
92
2.406
0.23
4.8
51
4.808
0.16
46
4.76
-0.83
9.6
25
9.615
0.16
22
9.727
1.32
19.2
12
19.231
0.16
11
18.643
-2.9
38.4
6
35.714
-6.99
5
37.286
-2.9
57.6
3
62.5
8.51
3
55.930
-2.9
115.2
1
125
8.51
1
111.86
-2.9
250
0
250
0
¾¾¾
Baud Rates and Error Values for BRGH
= 1
· Setting up and controlling the UART
¨ Introduction
For data transfer, the UART function utilizes a
non-return-to-zero, more commonly known as
NRZ, format. This is composed of one start bit, eight
or nine data bits, and one or two stop bits. Parity is
supported by the UART hardware, and can be
setup to be even, odd or no parity. For the most
common data format, 8 data bits along with no par-
ity and one stop bit, denoted as 8, N, 1, is used as
the default setting, which is the setting at power-on.
The number of data bits and stop bits, along with the
parity, are setup by programming the corresponding
BNO, PRT, PREN, and STOPS bits in the UCR1
register. The baud rate used to transmit and receive
data is setup using the internal 8-bit baud rate gen-
erator, while the data is transmitted and received
LSB first. Although the UART¢s transmitter and re-
ceiver are functionally independent, they both use
the same data format and baud rate. In all cases
stop bits will be used for data transmission.
¨ Enabling/disabling the UART
The basic on/off function of the internal UART func-
tion is controlled using the UARTEN bit in the UCR1
register. As the UART transmit and receive pins, TX
and RX respectively, are pin-shared with normal I/O
pins, one of the basic functions of the UARTEN con-
trol bit is to control the UART function of these two
pins. If the UARTEN, TXEN and RXEN bits are set,
then these two I/O pins will be setup as a TX output
pin and an RX input pin respectively, in effect dis-
abling the normal I/O pin function. If no data is being
transmitted on the TX pin then it will default to a
logic high value.
Clearing the UARTEN bit will disable the TX and RX
pins and allow these two pins to be used as normal
I/O pins. When the UART function is disabled the
buffer will be reset to an empty condition, at the
same time discarding any remaining residual data.
Disabling the UART will also reset the error and sta-
tus flags with bits TXEN, RXEN, TXBRK, RXIF,
OERR, FERR, PERR and NF being cleared while
bits TIDLE, TXIF and RIDLE will be set. The re-
maining control bits in the UCR1, UCR2 and BRG
registers will remain unaffected. If the UARTEN bit
in the UCR1 register is cleared while the UART is
active, then all pending transmissions and recep-
tions will be immediately suspended and the UART
will be reset to a condition as defined above. If the
UART is then subsequently re-enabled, it will restart
again in the same configuration.
¨ Data, parity and stop bit selection
The format of the data to be transferred, is com-
posed of various factors such as data bit length,
parity on/off, parity type, address bits and the num-
ber of stop bits. These factors are determined by
the setup of various bits within the UCR1 register.
The BNO bit controls the number of data bits which
can be set to either 8 or 9, the PRT bit controls the
choice of odd or even parity, the PREN bit controls
the parity on/off function and the STOPS bit decides
whether one or two stop bits are to be used. The fol-
lowing table shows various formats for data trans-
mission. The address bit identifies the frame as an
address character. The number of stop bits, which
can be either one or two, is independent of the data
length.



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


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