W77C32F-40 Nuvoton Technology Corporation of America, W77C32F-40 Datasheet - Page 18

no-image

W77C32F-40

Manufacturer Part Number
W77C32F-40
Description
Manufacturer
Nuvoton Technology Corporation of America
Datasheet

Specifications of W77C32F-40

Lead Free Status / Rohs Status
Supplier Unconfirmed
SM2:
REN: Receive enable: When set to 1 serial reception is enabled, otherwise reception is
TB8:
RB8:
TI:
RI:
Serial Data Buffer
SBUF.7-0: Serial data on the serial port 0 is read from or written to this location. It actually consists of
Port 2
P2.7-0: Port 2 is a bi-directional I/O port with internal pull-ups. This port also provides the upper
Port 4
P4.3-0: Port 4 is a bi-directional I/O port with internal pull-ups.
Multiple processors communication. Setting this bit to 1 enables the multiprocessor
communication feature in mode 2 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, the SM2 bit controls the serial port
clock. If set to 0, then the serial port runs at a divide by 12 clock of the oscillator. This gives
compatibility with the standard 8052. When set to 1, the serial clock become divide by 4 of the
oscillator clock. This results in faster synchronous serial communication.
This is the 9th bit to be transmitted in modes 2 and 3. This bit is set and cleared by software
as desired.
In modes 2 and 3 this is the received 9th data bit. In mode 1, if SM2 = 0, RB8 is the stop bit
that was received. In mode 0 it has no function.
Transmit interrupt flag: This flag is set by hardware at the end of the 8th bit time in mode 0, or
at the beginning of the stop bit in all other modes during serial transmission. This bit must be
cleared by software.
Receive interrupt flag: This flag is set by hardware at the end of the 8th bit time in mode 0, or
halfway through the stop bits time in the other modes during serial reception. However the
restrictions of SM2 apply to this bit. This bit can be cleared only by software
address bits for accesses to external memory.
Bit:
two separate internal 8-bit registers. One is the receive resister, and the other is the
transmit buffer. Any read access gets data from the receive data buffer, while write access
is to the transmit data buffer.
Mnemonic: P2
Mnemonic: P4
Mnemonic: SBUF
SBUF.7
7
Bit:
Bit:
SBUF.6
P2.7
6
7
7
-
SBUF.5
P2.6
6
6
-
5
P2.5
- 18 -
SBUF.4
5
5
-
4
P2.4
4
4
-
SBUF.3
3
P2.3
P4.3
3
3
W77C32/W77C032
SBUF.2
2
Address: A0h
Address: A5h
Address: 99h
P4.2
P2.2
2
2
SBUF.1
1
P2.1
P4.1
1
1
disabled.
SBUF.0
P2.0
P4.0
0
0
0

Related parts for W77C32F-40