EM78P809N

8-Bit Microcontroller

URTD UART Transmit Data Buffer ( Address: 09h )

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

URTD 7 URTD 6 URTD 5 URTD 4 URTD 3 URTD 2 URTD 1

URTD0

Bit 7 ~ Bit 0 ( URTD 7 ~ URTD 0) : UART transmit data buffer. Write only.

Register Bank 3 ( R3 bits ( 7,6) = (1,1) )

SPIC1 SPI Control Register 1 ( Address: 05h )

Bit 7

 

Bit 6

 

Bit 5

 

Bit 4

 

SMP

 

DCOL

 

BRS2

 

BRS1

 

 

 

 

 

 

 

 

 

Bit 3

BRS0

 

Bit 2

Bit 1

 

Bit 0

 

EDS

DORD

 

WBE

 

 

 

 

 

Bit 7 ( SMP ) : SPI data input sample phase.

SMP = “0” : Input data sampled at middle of data output time

SMP = “1” : Input data sampled at the end of data output time

In using external clock, data input sample is fixed at the middle of data output time. Bit 6 ( DCOL ) : SPI Data collision.

DCOL = “0” : Data collision didn’t occur

DCOL = “1” : Data collision occurred. It should be cleared by software. Bit 5 ~ Bit 3 ( BRS0 ~ BRS2 ) : SPI Clock Source Select

BRS2

 

BRS1

 

BRS0

 

Clock Source

Max. Transfer Rate

 

 

 

( Normal, Idle )

( Fc = 8MHz )

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

 

0

 

Fc/213

0.95Kbit/s

0

 

0

 

1

 

Fc/211

3.8Kbit/s

0

 

1

 

0

 

Fc/210

7.6Kbit/s

0

 

1

 

1

 

Fc/28

30.5Kbit/s

1

 

0

 

0

 

Fc/26

122Kbit/s

1

 

0

 

1

 

Fc/25

244Kbit/s

1

 

1

 

0

 

External clock (/SCK pin)

-

 

 

 

 

 

 

 

 

1

 

1

 

1

 

External clock (/SCK pin)

-

 

 

 

 

 

 

 

 

Bit 2 ( EDS ) : Data shift out edge select.

EDS = “0” : Rising edge

EDS = “1” : Falling edge

Bit 1 ( DORD ) : Data transmission order.

DORD = “0” : Shift left (MSB first)

DORD = “1” : Shift right (LSB first)

20

Product Specification (V1.0) 07.26.2005

(This specification is subject to change without further notice)

Page 24
Image 24
IBM EM78P809N manual Bit 2 EDS Data shift out edge select, EDS = 0 Rising edge EDS = 1 Falling edge, SMP Dcol BRS2 BRS1