Download Print this page

Toshiba TLCS-900/H1 Series Manual page 187

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

Setting example:
To link two slave controllers serially with the master controller using the
internal clock f
TXD
Master
Setting the master controller
Main
← X
PFCR
← −
PFFC
← 1
INTES0
← 1
SC0MOD0
← 0
SC0BUF
INTTX0 interrupt
← 0
SC0MOD0
← *
SC0BUF
Setting the slave controller
Main
← X X X X X − 0 1
PFCR
← −
PFFC
← X X X X X X X 1
PFFC2
← 1
INTES0
← 1
SC0MOD0
INTRX0 interrupt
A
SC0BUF
CC
= select code
if A
CC
− − − 0 − − − −
Then SC0MOD0
as the transfer clock.
IO
RXD
TXD
Slave1
Select code
00000001
X X X X − 0 1
Set PF0 and PF1 to function as the TXD0 and RXD0 pins
X X X X − 0 1
respectively.
1 0 0 1 1 0 1
Enable the INTTX0 interrupt and set it to interrupt level 4.
Enable the INTRX0 interrupt and set it to interrupt level 5.
0 1 0 1 1 1 0
Set f
0 0 0 0 0 0 1
Set the select code for slave controller 1.
− − − − − − −
Set TB8 to 0.
Set data for transmission.
* * *
* *
* *
Select PF1 and PF0 to function as the RXD0 and TXD0 pins
X X X X − 0 1
respectively (Open-drain output).
1 0 1 1 1 1 0
Enable INTRX0 and INTTX0.
0 1 1 1 1 1 0
Set <WU> to 1 in 9-bit UART transmission mode using f
the transfer clock.
Clear <WU> to 0
92CH21-185
RXD
TXD
RXD
Slave 2
Select code 00001010
as the transmission clock for 9-bit UART mode.
IO
TMP92CH21
as
SYS
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21