29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

Serial peripheral interface (SPI)<br />

MSB justified st<strong>and</strong>ard<br />

For this st<strong>and</strong>ard, the WS signal is generated at the same time as the first data bit, which is<br />

the MSBit.<br />

Figure 218. MSB Justified 16-bit or 32-bit full-accuracy length with CPOL = 0<br />

CK<br />

WS<br />

Transmission<br />

Reception<br />

SD<br />

May be 16-bit, 32-bit<br />

MSB<br />

LSB MSB<br />

Channel left<br />

Channel right<br />

Data are latched on the falling edge of CK (for transmitter) <strong>and</strong> are read on the rising edge<br />

(for the receiver).<br />

Figure 219. MSB Justified 24-bit frame length with CPOL = 0<br />

CK<br />

WS<br />

SD<br />

Transmission<br />

24-bit data<br />

Reception<br />

8-bit remaining<br />

0 forced<br />

MSB<br />

LSB<br />

Channel left 32-bit<br />

Channel right<br />

Figure 220. MSB Justified 16-bit extended to 32-bit packet frame with CPOL = 0<br />

CK<br />

WS<br />

SD<br />

Transmission<br />

16-bit data<br />

Reception<br />

16-bit remaining<br />

0 forced<br />

MSB<br />

LSB<br />

Channel left 32-bit<br />

Channel right<br />

Doc ID 13902 Rev 9 603/995

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

Saved successfully!

Ooh no, something went wrong!