t81l0003a TM Technology Inc., t81l0003a Datasheet - Page 8

no-image

t81l0003a

Manufacturer Part Number
t81l0003a
Description
Reduced I/o 8-bit Mcu
Manufacturer
TM Technology Inc.
Datasheet
tm
Serial Data Buffer
SBUF, it goes to the transmit buffer and is held for serial transmission. (Moving a byte to SBUF is what initiates the
transmission.) When data is moved from SBUF, it comes from the receive buffer.
Timer Registers
are the 16-bit Counting registers for Timer1 and Timer2, respectively.
Control Register
system, the Timer/Counters, and the serial port. They are described in later sections.
Power Down Mode
on the state before power down set. The MCU can be woken up by interrupt (I0 or I1) if the one is enable. After wake up,
need to clear PD bit to 0 on first instruction.
Standard Serial Interface
it can commence 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 Register 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/12 the oscillator 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
programmable 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
TM Technology, Inc. reserves the right
to change products or specifications without notice.
The Serial Buffer is actually two separate registers, a transmit buffer and a receive buffer. When data is moved to
Register pairs (TH0, TL0) is the 16-bit Counting registers for Timer/Counters 0, while (TH1, TL1) and (TH2, TL2)
.
Special Function Registers IP, IE, TMOD, TCON, SCON, and PCON contain control and status bits for the interrupt
The power down mode can be active by setting the PD bit (on PCON register) to 1 and the program status will keep
PCON (address: 87H)
The serial port is full duplex, meaning it can transmit and receive simultaneously. It is also receive-buffered, meaning
SMOD
MSB
CH
TE
-
-
-
GF1
P. 8
GF0
Publication Date: SEP. 2004
PD
T81L0003A
LSB
-
Revision: C

Related parts for t81l0003a