28.10.2014 Views

MMC2107 - Freescale Semiconductor

MMC2107 - Freescale Semiconductor

MMC2107 - 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.

Serial Peripheral Interface Module (SPI)<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, Inc.<br />

nc...<br />

<strong>Freescale</strong> <strong>Semiconductor</strong>, I<br />

17.2 Introduction<br />

17.3 Features<br />

17.8.7 Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395<br />

17.8.7.1 Write Collision Error . . . . . . . . . . . . . . . . . . . . . . . . . . . .395<br />

17.8.7.2 Mode Fault Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395<br />

17.8.8 Low-Power Mode Options . . . . . . . . . . . . . . . . . . . . . . . . .396<br />

17.8.8.1 Run Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .396<br />

17.8.8.2 Doze Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .396<br />

17.8.8.3 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .396<br />

17.9 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .397<br />

17.10 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .397<br />

17.10.1 SPI Interrupt Flag (SPIF) . . . . . . . . . . . . . . . . . . . . . . . . . .397<br />

17.10.2 Mode Fault (MODF) Flag . . . . . . . . . . . . . . . . . . . . . . . . . .397<br />

The serial peripheral interface (SPI) module allows full-duplex,<br />

synchronous, serial communication between the microcontroller unit<br />

(MCU) and peripheral devices. Software can poll the SPI status flags or<br />

SPI operation can be interrupt driven.<br />

Features include:<br />

• Master mode and slave mode<br />

• Wired-OR mode<br />

• Slave-select output<br />

• Mode fault error flag with central processor unit (CPU) interrupt<br />

capability<br />

• Double-buffered operation<br />

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

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

• Reduced drive control for lower power consumption<br />

Technical Data <strong>MMC2107</strong> – Rev. 2.0<br />

372 Serial Peripheral Interface Module (SPI) MOTOROLA<br />

For More Information On This Product,<br />

Go to: www.freescale.com

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

Saved successfully!

Ooh no, something went wrong!