Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HMS91C8032 Datasheet(PDF) 52 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) 52 Page - Hynix Semiconductor

Back Button HMS91C8032 Datasheet HTML 48Page - Hynix Semiconductor 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 157 page
background image
HMS91C8032/97C8032
NOV., 2001 Ver 1.02
49
4.5 Standard Serial Interface (UART)
The serial port is full duplex, meaning it can transmit and receive
simultaneously. It is also receive-buffered, meaning it can com-
mence reception of a second byte before a previously received
byte has been read from the register. (However, if the first byte
still hasn't been read by the time reception of the second byte is
complete, one of the bytes will be lost.) The serial port receive
and transmit registers are both accessed at Special Function Reg-
ister SBUF. Writing to SBUF loads the transmit register, and
reading SBUF accesses a physically separate receive register.
The serial port can operate in 4 modes:
Mode 0:
Serial data enters and exits through RxD. TxD outputs
the shift clock. 8 bits are transmitted/received (LSB first). The
baud rate is fixed at 1/6 the CPU clock frequency.
Mode 1:
10 bits are transmitted (through TxD) or received
(through RxD) : a start bit ( 0 ), 8 data bits (LSB first), and a stop
bit (1). On receive, the stop bit goes into RB8 in Special Function
Register SCON. The baud rate is variable.
Mode 2:
11 bits are transmitted (through TxD) or received
(through RxD) : start bit (0), 8 data bits (LSB first), a program-
mable 9th data bit, and a stop bit (1). On Transmit, the 9th data
bit (TB8 in SCON) can be assigned the value of 0 or 1. Or, for
example, the parity bit (P, in the PSW) could be moved into TB8.
On receive, the 9th data bit goes into RB8 in Special Function
Register SCON, while the stop bit is ignored. The baud rate is
programmable to either 1/16 or 1/32 the CPU clock frequency.
Mode 3:
11 bits are transmitted (through TxD) or received
(through RxD) : a start bit (0), 8 data bits (LSB first), a program-
mable 9th data bit, and a stop bit (1). In fact, Mode 3 is the same
as Mode 2 in all respects except baud rate. The baud rate in Mode
3 is variable.
In all four modes, transmission is initiated by any instruction that
uses SBUF as a destination register. Reception is initiated in
Mode 0 by the condition RI = 0 and REN = 1. Reception is initi-
ated in the other modes by the incoming start bit if REN = 1.
Multiprocessor Communications
Modes 2 and 3 have a special provision for multiprocessor com-
munications. In these modes, 9 data bits are received. The 9th one
goes into RB8. Then comes a stop bit. The port can be pro-
grammed such that when the stop bit is received, the serial port
interrupt will be activated only if RB8 = 1. This feature is enabled
by setting bit SM2 in SCON. A way to use this feature in multi-
processor systems is as follows:
When the master processor wants to transmit a block of data to
one of several slaves, it first sends out an address byte which
identifies the target slave. An address byte differs from a data
byte in that the 9th bit is 1 in an address byte and 0 in a data byte.
With SM2 = 1, no slave will be interrupted by a data byte. An ad-
dress byte, however, will interrupt all slaves, so that each slave
can examine the received byte and see if it is being addressed.
The addressed slave will clear its SM2 bit and prepare to receive
the data bytes that will be coming. The slaves that weren't being
addressed leave their SM2s set and go on about their business, ig-
noring the coming data bytes.
SM2 has no effect in Mode 0, and in Mode 1 can be used to check
the validity of the stop bit. In a Mode 1 reception, if SM2 = 1, the
receive interrupt will not be activated unless a valid stop bit is re-
ceived.
Serial Port Control Register
The serial port control and status register is the Special Function
Register SCON, shown in Figure 4-15. This register contains not
only the mode selection bits, but also the 9th data bit for transmit
and receive (TB8 and RB8), and the serial port interrupt bits (TI
and RI).



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