beautypg.com

7 clocked-synchronous 8-bit sio mode control – Toshiba H1 SERIES TLCS-900 User Manual

Page 192

background image

TMP92CM22

2007-02-16

92CM22-190

3.10.7 Clocked-synchronous 8-bit SIO Mode Control

The following registers are used to control and monitor the operation status when the

serial bus interface (SBI) is being operated in clocked synchronous 8-bit SIO mode.

Serial Bus Interface 0 Control Register 1

7 6 5 4 3 2 1 0

Bit symbol

SIOS

SIOINH

SIOM1 SIOM0

SCK2 SCK1 SCK0

SBI0CR1
(1240H)

Read/Write W

W

W

After

reset

0 0 0 0 0 0 0

Read-
modify-write
instruction is
prohibited.

Function

Transfer
start
0: Stop
1: Start

Continue/
abort
transfer
0: Continue
transfer
1: Abort
transfer

Transfer mode select
00: Transmit mode
01: (Reserved)
10: Transmit/receive mode

11: Receive mode

Serial clock selection and reset monitor

000

n

= 4 1.25 MHz

001

n

= 5

625 kHz

010

n

= 6

313 kHz

System clock: f

SYS

011

n

= 7

156 kHz

f

SYS

= 20 MHz (SCL output to SCK pin)

100

n

= 8

78.1 kHz

fscl=

[Hz]

101

n

= 9

39.1 kHz

110

n

= 10 19.5 kHz

111

(External clock : SCK0)

00

8-bit transmit mode

01

(Reserved)

10

8-bit transmit/receive mode

11

8-bit receive mode

0 Continue

transfer

1

Abort transfer (Automatically cleared after transfer aborted)

0 Stop

1 Start

Note: Set the transfer mode and the serial clock after setting to “0” and to “1”.

Serial Bus Interface 0 Data Buffer Register

7 6 5 4 3 2 1 0

Bit symbol

DB7

DB6

DB5 DB4 DB3 DB2 DB1 DB0

Read/Write

R (Receiver)/W (Transfer)

SBI0DBR
(1241H)
Read-

modify-write

instruction is

prohibited.

After reset

Undefined

Figure 3.10.20 Register for the SIO Mode

Serial clock selection at write

Transfer mode selection

Continue/abort transfer

Indicate transfer start/stop

f

SYS

2

n

This manual is related to the following products: