Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HMS91C8032 Datasheet(PDF) 53 Page - Hynix Semiconductor

Part # HMS91C8032
Description  HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
PDF  157 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HYNIX [Hynix Semiconductor]
Direct Link  http://www.skhynix.com/kor/main.do
Logo HYNIX - Hynix Semiconductor

HMS91C8032 Datasheet(HTML) 53 Page - Hynix Semiconductor

Back Button HMS91C8032 Datasheet HTML 49Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 50Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 51Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 52Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 53Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 54Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 55Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 56Page - Hynix Semiconductor HMS91C8032 Datasheet HTML 57Page - Hynix Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 157 page
background image
HMS91C8032/97C8032
50
NOV., 2001 Ver 1.02
* fCPU : CPU clock
* The fCPU is shown in Figure 4-2
Baud Rates
The baud rate in Mode 0 is fixed:
The baud rate in Mode 2 depends on the value of bit SMOD = 0
(which is the value on reset), the baud rate is 1/32 the CPU clock
frequency. If SMOD = 1, the baud rate is 1/16 the CPU clock fre-
quency.
In the HMS9XC8032, the baud rates in Modes 1 and 3 are deter-
mined by the Timer 1 overflow rate.
Using Timer 1 to Generate Baud Rates
When Timer 1 is used as the baud rate generator, the baud rates
in Modes 1 and 3 are determined by the Timer 1 overflow rate and
the value of SMOD as follows
The Timer 1 interrupt should be disabled in this application. The
Timer itself can be configured for either "timer" or "counter" op-
eration, and in any of its 3 running modes. In the most typical ap-
plications, it is configured for "timer" operation, in the
auto-reload mode (high nibble of TMOD = 0010B). In that case
the baud rate is given by the formula:
One can achieve very low baud rates with Timer 1 by leaving the
Timer 1 interrupt enabled, and configuring the Timer to run as a
16-bit timer (high nibble of TMOD = 0001B), and using the Tim-
er 1 interrupt to do a 16-bit software reload. Figure 12 lists vari-
ous commonly used baud rates and how they can be obtained
from Timer 1. be obtained from Timer 1.
Using Timer/Counter 2 to Generate Baud Rates
In the HMS9XC8032, Timer 2 selected as the baud rate generator
by setting TCLK and/or RCLK in T2CON (see Figure B-14 Tim-
er/Counter 2 Control Register (T2CON)). Note that the baud rate
for transmit and receive can be simultaneously different. Setting
RCLK and/or TCLK puts Timer into its baud rate generator
mode.
The baud rate generator mode is similar to the auto-reload mode,
in that a roll over in TH2 causes the Timer 2 registers to be reload-
ed with the 16-bit value in registers RCAL2H and RCAP2L,
which are preset by software.
Now, the baud rates in Modes 1 and 3 are determined at Timer 2’s
overflow rate as follows:
The timer can be configured for either “timer” or “counter” oper-
Figure 4-15 Serial Port Control Register (SCON)
SM0
Mode
(MSB)
(LSB)
SM0
SM1
SM2
REN
TB8
RB8
TI
RI
0
The 9th data bit that will be transmitted in modes
2 and 3. Set or clear by software as desired.
In modes 2 and 3, is the 9th data bit that was
received. In mode 1, If SM2 = 0, RB8 is the stop
bit that was received. In mode 0, RB8 is not used.
Transmit interrupt flag. Set by hardware at the end
of the 8th bit time in mode 0, or at the beginning of
the stop bit in the other modes, in any serial
transmission. Must be cleared by software.
Where SM0, SM1 specify the serial port mode, as follows :
SM1
Description
Baud Rate
0
0
Shift Reg ister
0
1
1
8-Bit UART
variable
1
0
2
1
1
3
9-Bit UART
variable
enables the multiprocessor communication feature in
mode2 and 3. In mode 2 or 3, if SM2 is set to 1, then RI
will not be activated if the received 9th data bit (RB8) is 0.
In mode 1, if SM2= 1, then RI will not be activated if a valid
stop bit was not received. In mode 0, SM2 should be 0.
SM2
REN
enables serial reception. Set by software to enable
reception. Clear by software to disable reception.
TB8
Receive interrupt flag. Set by hardware at the end
of the 8th bit time in mode 0, or halfway through the
stop bit in the other modes, in any serial reception
(except see SM2). Must be cleared by software.
RB8
TI
RI
8-Bit UART
f
OSC /12
f
OSC /64
or
f
OSC /32
fCPU/6
fCPU/32
fCPU/16
Mode 0 Baud Rate
f
CPU 6
⁄
=
Mode 2 Baud Rate
2
SMOD
32
-----------------
f
CPU
×
=
Mode 1,3 Baud Rate
2SMOD
32
----------------
Timer 1 Overflow Rate
()
×
=
Mode 1,3 Baud Rate
2SMOD
16
----------------
f
CP U
12
256
TH1
()
–
[]
×
------------------------------------------------
×
=
Mode 1,3 Baud Rate
Timer 2 Overflow Rate
16
-------------------------------------------------------
=



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



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