T81L0006B TM Technology Inc., T81L0006B Datasheet - Page 10

no-image

T81L0006B

Manufacturer Part Number
T81L0006B
Description
8-bit A/d Type Mcu
Manufacturer
TM Technology Inc.
Datasheet
tm
mode 1 and 3. RCLK=0 causes timer1 overflow to be used for the receive clock
T2CON.4: TCLK Transmit clock flag. When set, cause the serial port to use timer2 overflow pulses for its transmit clock in
mode 1 and 3. TCLK=0 causes timer1 overflow to be used for the transmit clock
T2CON.3: EXEN2 Timer2 external enable flag. When set, allows a capture or reload to occur as a result of a negative
transition on T2EX if timer2 is not being used to clock the serial port. EXEN2=0 causes timer2 to ignore events at T2EX.
T2CON.2: Start/stop control for timer2. A logic 1 starts the timer
T2CON.1: Timer or counter select. (Timer 2) , 0 as internal timer
T2CON.0: Capture/Reload flag. When set, captures will occur on negative transitions at T2EX if EXEN2=1. When cleared,
auto reloads will occur either with timer2 overflow or negative transitions at T2EX when EXEN2=1. When either RCLK=1
or TCLK=1, this bit is ignored and the timer is forced to auto-reload on timer2 overflow.
Note then the baudrates for transmit and receive can be simultaneously different. Setting RCLK and/or TCLK puts Timer2
into its baudrate generator mode.
The baudrate generator mode is similar to the auto reload mode, in that a rollover is TH2 causes the Timer2 registers to be
reload with the 16 bit value in registers RCAP2H and RCAP2L, which are preset by software given by the formula.
Baudrate= (Timer2 overflow rate)/16 =(Oscillator Frequency) / (32*(65536-(RCAP2H,RCAP2L)))
Serial Interface Timing Diagram
TM Technology Inc. reserves the right
to change products or specifications without notice.
Receive
RXD
RXD
TXD
TXD
Send
Shift
Shift
ALE
RI
CH
TE
S1.........S6 S1.........S6 S1.........S6
Write to SBUF
Write to SCON, Clear RI
D0
D0
D1
D1
D2
S1.........S6 S1.........S6 S1.........S6
D2
Serial Port Mode 0
D3
D3
D4
D4
P. 10
D5
S1.........S6 S1.........S6 S1.........S6
D5
D6
D6
D7
D7
Publication Date: JAN. 2006
S1.........S6
T81L0006A/B
Revsion : C

Related parts for T81L0006B