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.

Under development<br />

I/O interface mode with SCLK input:<br />

The following example describes the case a 4-byte data stream is received:<br />

<strong>TMPM330</strong> (rev 0.4) 9-17<br />

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

SC0RFC = 10: Clears receive FIFO and sets the condition of interrupt generation<br />

SC0RFC = 00: Sets the interrupt to be generated at fill level 4.<br />

SC0FCNF = 10101: Automatically allows continued reception after reaching the fill level.<br />

The number of bytes to be used in the receive FIFO is the maximum allowable number.<br />

In this condition, 4-byte data reception may be initiated by setting the half duplex transmission<br />

mode and writing “1” to the RXE bit. After receiving 4 bytes, receive FIFO interrupt is generated.<br />

This setting enables the next data reception as well. The next 4 bytes can be received before all<br />

the data is read from FIFO.<br />

Receive buffer 1<br />

Receive buffer 2<br />

RX FIFO<br />

Receive<br />

interrupt<br />

RBFLL<br />

RXE<br />

1 byte<br />

2 byte<br />

1 byte<br />

1 byte<br />

3 byte<br />

2 byte<br />

Fig. 9-4 Receive FIFO Operation<br />

4 byte<br />

3 byte<br />

2 byte 3 byte<br />

1 byte 2 byte<br />

1 byte<br />

4 byte<br />

4 byte<br />

3 byte<br />

2 byte<br />

1 byte<br />

Serial Channel (SIO)

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

Saved successfully!

Ooh no, something went wrong!