English
Language : 

TMP86C829BUG Datasheet, PDF (147/196 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
TMP86C829BUG
WAIT
Wait control
BUF
Number of transfer words
(Buffer address in use)
Always sets "00" except 8-bit transmit / receive mode.
00:
Tf = TD(Non wait)
01:
Tf = 2TD(Wait)
10:
Tf = 4TD(Wait)
11:
Tf = 8TD (Wait)
000: 1 word transfer 0F90H
001: 2 words transfer 0F90H ~ 0F91H
010: 3 words transfer 0F90H ~ 0F92H
011: 4 words transfer 0F90H ~ 0F93H
100: 5 words transfer 0F90H ~ 0F94H
101: 6 words transfer 0F90H ~ 0F95H
110: 7 words transfer 0F90H ~ 0F96H
111: 8 words transfer 0F90H ~ 0F97H
Write
only
Note 1: The lower 4 bits of each buffer are used during 4-bit transfers. Zeros (0) are stored to the upper 4bits when receiving.
Note 2: Transmitting starts at the lowest address. Received data are also stored starting from the lowest address to the highest
address. ( The first buffer address transmitted is 0F90H ).
Note 3: The value to be loaded to BUF is held after transfer is completed.
Note 4: SIOCR2 must be set when the serial interface is stopped (SIOF = 0).
Note 5: *: Don't care
Note 6: SIOCR2 is write-only register, which cannot access any of in read-modify-write instruction such as bit operate, etc.
SIO Status Register
SIOSR
7
6
5
4
3
2
1
0
(0F99H)
SIOF
SEF
SIOF
SEF
Serial transfer operating status moni- 0:
tor
1:
0:
Shift operating status monitor
1:
Transfer terminated
Transfer in process
Shift operation terminated
Shift operation in process
Read
only
Note 1: Tf; Frame time, TD; Data transfer time
Note 2: After SIOS is cleared to "0", SIOF is cleared to "0" at the termination of transfer or the setting of SIOINH to "1".
SCK output
(output)
TD
Tf
Figure 12-2 Frame time (Tf) and Data transfer time (TD)
12.3 Serial clock
12.3.1 Clock source
Internal clock or external clock for the source clock is selected by SIOCR1<SCK>.
Page 133