Toshiba – Toshiba TMP87CP24AF User Manual

Page 83

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

TOSHIBA

TMP87CM24A/P24A

SI01, SI02 Control Registers 1

7

6

5

4

SI01CR1

(0020

h

)

SI02CR1

(0022

h

)

SIOS

SIO
INH

,SIOM ,

____ ________

(Initial value :

0000 0000)

SIOS

Indicate transfer start/stop

0 : Stop

1 : Start

SIOINH

Conti nue/abort transfer

0 : Continue transfer

1 : Abort transfer (automatically cleared after abort)

SIOM

Transfer mode select

000 : 8-bit transmit mode
010 : 4-bit transmit mode

100 : 8-bit transmit/receive mode
101 : 8-bit receive mode
110: 4-bit receive mode

SCK

Serial clock select

000 : Internal clock fc/2’^ or fs/2= [Hz]
001 : Internal clock fc/2® L /Output on\
010 : Internal clock fc/2® j \SCKpin /
011 : Internal clock fc/2^

111 : External clock (input from SCK pin)

Write

only

Note 1

Note 2

Note3

fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz]

Set SIOS to "0" and SIOINH to "1" when setting the transfer mode or serial clock.

SI01CR/SI02CR1

are

write-only

registers

and

must

not

be

used

with

any

of

read-modify-write

instructions such as bit operate, etc.

SI01, SI02 Status Registers

SI01SR

(0020

h

)

SI02SR

(0022

h

)

7

6

5

4

3

2

1

0

SlOF

SEF

"1"

"1"

"1"

"1"

"1"

"1" ;

SlOF

Serial transfer operating
status monitor

0 : Transfer terminated

(

After SIOS is cleared to "0",SIOFis\

. _ X ■

1

cleared to "0" atthe termination

1

1 : Transfer in process \

of transfer orsettlnq of

sioinh

.

/

SEF

Shift operating status

monitor

0 : Shift operation terminated

1 : Shift operation in process

SI01, SI02 Control Registers 2

SI01CR2 7

6

5

4

(0021

h

)

SI02CR2

(0023

h

)

WAIT

____ I____

BUF

J________ L

(Initial value:

***0 0000)

Read

only

WAIT

Wait control

Always sets "00" except 8-bit transmit/receive mode.

00 : Tf =T

d

(non-wait)

01 : Tf

=2T

d

-I

10:Tf=4To (wait)

11 : Tf = 8T

d

-1

Buffer address used

SI01

SI02

000 : 1 word transfer

OFFO

h

0FF8

h

001 : 2 words transfer

OFFO toOFFlH

0FF8 toOFF9n

BUF

Number of transfer words

010 : 3 words transfer

OFFO toOFF2H

0FF8 toOFFAn

011 : 4 words transfer

OFFO toOFF3H

0FF8 toOFFBn

100 : 5 words transfer

OFFO to0FF4H

0FF8 toOFFCn

101 : 6 words transfer

OFFO toOFFSH

0FF8 toOFFDn

110:7 words transfer

OFFO toOFF6H

0FF8 toOFFEn

111:8 words transfer

OFFO toOFF7H

0FF8 toOFFFn

Write

only

3

-

24-83

2002

-

10-03

Advertising
This manual is related to the following products: