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.

Serial Peripheral Interface (S12SPIV5)<br />

End of Idle State Begin Transfer<br />

End<br />

Begin of Idle State<br />

SCK Edge Number<br />

SCK (CPOL = 0)<br />

SCK (CPOL = 1)<br />

SAMPLE I<br />

MOSI/MISO<br />

CHANGE O<br />

MOSI pin<br />

CHANGE O<br />

MISO pin<br />

SEL SS (O)<br />

Master only<br />

SEL SS (I)<br />

MSB first (LSBFE = 0):<br />

LSB first (LSBFE = 1):<br />

t L<br />

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16<br />

MSB<br />

LSB<br />

Bit 6<br />

Bit 1<br />

Bit 5<br />

Bit 2<br />

Bit 4<br />

Bit 3<br />

Figure 11-12. SPI Clock Format 0 (CPHA = 0), with 8-bit Transfer Width selected (XFRW = 0)<br />

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

360 <strong>Freescale</strong> <strong>Semiconductor</strong><br />

Bit 3<br />

Bit 4<br />

Bit 2<br />

Bit 5<br />

t L = Minimum leading time before the first SCK edge<br />

t T = Minimum trailing time after the last SCK edge<br />

t I = Minimum idling time between transfers (minimum SS high time)<br />

t L , t T , and t I are guaranteed for the master mode and required for the slave mode.<br />

Bit 1<br />

Bit 6<br />

LSB<br />

MSB<br />

t T<br />

t I<br />

t L<br />

If next transfer begins here<br />

Minimum 1/2 SCK<br />

for tT , tl , tL

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

Saved successfully!

Ooh no, something went wrong!