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.7 SPI Port Data Register<br />

Address: 0x00cb_0007<br />

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

Read:<br />

Write:<br />

RSVD7 RSVD6 RSVD5 RSVD4 PORTSP3 PORTSP2 PORTSP1 PORTSP0<br />

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

nc...<br />

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

Pin function: SS SCK<br />

Read: Anytime<br />

Write: Anytime<br />

Figure 17-8. SPI Port Data Register (SPIPORT)<br />

MOSI/<br />

MOMI<br />

MISO/<br />

SISO<br />

RSVD[7:4] — Reserved<br />

Writing to these read/write bits updates their values but has no effect<br />

on functionality.<br />

PORTSP[3:0] — SPI Port Data Bits<br />

Data written to SPIPORT drives pins only when they are configured<br />

as general-purpose outputs.<br />

Reading an input (DDRSP bit clear) returns the pin level; reading an<br />

output (DDRSP bit set) returns the pin driver input level.<br />

Writing to any of the PORTSP[3:0] pins does not change the pin state<br />

when the pin is configured for SPI output.<br />

SPIPORT I/O function depends upon the state of the SPE bit in<br />

SPICR1 and the state the DDRSP bits in SPIDDR.<br />

Pullup Enable Control<br />

Table 17-6. SPI Port Summary<br />

Reduced Drive Control<br />

Wired-OR<br />

Mode Control<br />

Register<br />

Bit<br />

Reset<br />

State<br />

Register<br />

Bit<br />

Reset<br />

State<br />

Register<br />

Bit<br />

Reset<br />

State<br />

SPIPURD PUPSP 0 SPIPURD RDPSP[1:0] Full drive SPICR1 SWOM Normal<br />

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

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