15.11.2012 Views

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

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.

Philips Semiconductors Preliminary <strong>User</strong> <strong>Manual</strong><br />

ARM-based Microcontroller<br />

TEXAS INSTRUMENTS SYNCHRONOUS SERIAL FRAME FORMAT<br />

Figure 38 shows the 4-wire Texas Instruments synchronous serial frame format supported by the SSP module.<br />

CLK<br />

FS<br />

CLK<br />

FS<br />

~ ~ DX/DR MSB LSB<br />

~<br />

4 to 16 bits<br />

~ ~ DX/DR MSB LSB<br />

~<br />

4 to 16 bits<br />

a) single frame transfer<br />

MSB LSB<br />

4 to 16 bits<br />

Figure 38: Texas Instruments synchronous serial frame format:<br />

a) single and b) continuous/back-to-back two frames transfer<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong><br />

For device configured as a master in this mode, CLK and FS are forced LOW, and the transmit data line DX is tristated whenever<br />

the SSP is idle. Once the bottom entry of the transmit FIFO contains data, FS is pulsed HIGH for one CLK period. The value to<br />

be transmitted is also transferred from the transmit FIFO to the serial shift register of the transmit logic. On the next rising edge<br />

of CLK, the MSB of the 4 to 16-bit data frame is shifted out on the DX pin. Likewise, the MSB of the received data is shifted onto<br />

the DR pin by the off-chip serial slave device.<br />

Both the SSP and the off-chip serial slave device then clock each data bit into their serial shifter on the falling edge of each CLK.<br />

The received data is transferred from the serial shifter to the receive FIFO on the first rising edge of CLK after the LSB has been<br />

latched.<br />

SSP Controller (SPI1) 164 November 22, 2004<br />

~<br />

~<br />

~<br />

b) continuous/back-to-back frames transfer

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

Saved successfully!

Ooh no, something went wrong!