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 />

17.7.5 SPI Data Register<br />

Address: 0x00cb_0005<br />

Bit 7 6 5 4 3 2 1 Bit 0<br />

Read:<br />

Write:<br />

BIT 7 6 5 4 3 2 1 BIT 0<br />

Reset: 0 0 0 0 0 0 0 0<br />

Figure 17-6. SPI Data Register (SPIDR)<br />

nc...<br />

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

Read: Anytime; normally read only after SPIF is set<br />

Write: Anytime; see WCOL<br />

SPIDR is both the input and output register for SPI data. Writing to<br />

SPIDR while a transmission is in progress sets the WCOL flag and<br />

disables the attempted write. Read SPIDR after the SPIF flag is set and<br />

before the end of the next transmission. If the SPIF flag is not serviced<br />

before a new byte enters the shift register, the new byte and any<br />

successive bytes are lost. The byte already in the SPIDR remains there<br />

until SPIF is serviced.<br />

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

382 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!