03.08.2013 Views

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

MC9S12VR-Family - Data Sheet - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11<br />

Serial Peripheral Interface (S12SPIV5)<br />

Revision<br />

Number<br />

Revision Date<br />

11.1 Introduction<br />

The SPI module allows a duplex, synchronous, serial communication between the MCU and peripheral<br />

devices. Software can poll the SPI status flags or the SPI operation can be interrupt driven.<br />

11.1.1 Glossary of Terms<br />

11.1.2 Features<br />

Sections<br />

Affected<br />

The SPI includes these distinctive features:<br />

• Master mode and slave mode<br />

• Selectable 8 or 16-bit transfer width<br />

• Bidirectional mode<br />

• Slave select output<br />

• Mode fault error flag with CPU interrupt capability<br />

• Double-buffered data register<br />

• Serial clock with programmable polarity and phase<br />

• Control of SPI operation during wait mode<br />

11.1.3 Modes of Operation<br />

Table 11-1. Revision History<br />

V05.00 24 Mar 2005 11.3.2/11-347 - Added 16-bit transfer width feature.<br />

SPI Serial Peripheral Interface<br />

SS Slave Select<br />

SCK Serial Clock<br />

MOSI Master Output, Slave Input<br />

MISO Master Input, Slave Output<br />

MOMI Master Output, Master Input<br />

SISO Slave Input, Slave Output<br />

The SPI functions in three modes: run, wait, and stop.<br />

Description of Changes<br />

<strong>MC9S12VR</strong> <strong>Family</strong> Reference Manual, Rev. 2.8<br />

<strong>Freescale</strong> <strong>Semiconductor</strong> 343

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

Saved successfully!

Ooh no, something went wrong!