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.

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

Technical Data — <strong>MMC2107</strong><br />

Section 17. Serial Peripheral Interface Module (SPI)<br />

17.1 Contents<br />

nc...<br />

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

17.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .372<br />

17.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .372<br />

17.4 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .373<br />

17.5 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .373<br />

17.6 Signal Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374<br />

17.6.1 MISO (Master In/Slave Out) . . . . . . . . . . . . . . . . . . . . . . . .374<br />

17.6.2 MOSI (Master Out/Slave In) . . . . . . . . . . . . . . . . . . . . . . . .374<br />

17.6.3 SCK (Serial Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .375<br />

17.6.4 SS (Slave Select) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .375<br />

17.7 Memory Map and Registers . . . . . . . . . . . . . . . . . . . . . . . . . .375<br />

17.7.1 SPI Control Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .376<br />

17.7.2 SPI Control Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .378<br />

17.7.3 SPI Baud Rate Register . . . . . . . . . . . . . . . . . . . . . . . . . . .379<br />

17.7.4 SPI Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381<br />

17.7.5 SPI Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .382<br />

17.7.6 SPI Pullup and Reduced Drive Register . . . . . . . . . . . . . .383<br />

17.7.7 SPI Port Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .384<br />

17.7.8 SPI Port Data Direction Register . . . . . . . . . . . . . . . . . . . .385<br />

17.8 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .386<br />

17.8.1 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387<br />

17.8.2 Slave Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387<br />

17.8.3 Transmission Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . .388<br />

17.8.3.1 Transfer Format When CPHA = 1 . . . . . . . . . . . . . . . . .388<br />

17.8.3.2 Transfer Format When CPHA = 0 . . . . . . . . . . . . . . . . .390<br />

17.8.4 SPI Baud Rate Generation. . . . . . . . . . . . . . . . . . . . . . . . .393<br />

17.8.5 Slave-Select Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .393<br />

17.8.6 Bidirectional Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .394<br />

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

MOTOROLA Serial Peripheral Interface Module (SPI) 371<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!