23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

<br />

SCK pin (output)<br />

SO pin<br />

SI pin<br />

INTSBI interrupt request<br />

SBIxDBR<br />

*<br />

a<br />

Write the transmitted<br />

data (a)<br />

Under development<br />

Fig. 10-30 Transmit/Receive Mode (Example: Internal Clock)<br />

SCK pin<br />

SIOF<br />

Fig. 10-31 Transmit Data Retention Time at the End of Transmission/Reception<br />

(In the Transmit/Receive Mode)<br />

7 6 5 4 3 2 1 0<br />

SBIxCR1 ← 0 1 1 0 0 X X X Selects the transmit mode.<br />

SBIxDBR ← X X X X X X X X Writes the transmit data.<br />

SBIxCR1 ← 1 0 1 0 0 X X X Starts reception/transmission.<br />

INTSBIx interrupt<br />

Reg. ← SBIxDBR Reads the received data.<br />

SBIxDBR ← X X X X X X X X Writes the transmit data.<br />

<strong>TMPM330</strong> (rev 0.4) 10-37<br />

is cleared.<br />

a0 a1 a2 a3 a4 a5 a6 a7 b0 b1 b2 b3 b4 b5 b6 b7<br />

c0 c1 c2 c3 c4 c5 c6 c7 d0 d1 d2 d3 d4 d5 d6 d7<br />

SO pin bit 6<br />

c<br />

Read the received<br />

data (c)<br />

bit 7 of the last word<br />

b<br />

Write the transmitted<br />

data (b)<br />

tSODH = Min. 4/fsys/2 [s]<br />

<strong>TMPM330</strong><br />

Read the received<br />

data (d)<br />

Serial Bus Interface (SBI)<br />

d

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!