29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RM0008<br />

Serial peripheral interface (SPI)<br />

Bit 7 PCMSYNC: PCM frame synchronization<br />

0: Short frame synchronization<br />

1: Long frame synchronization<br />

Note: This bit has a meaning only if I2SSTD = 11 (PCM st<strong>and</strong>ard is used)<br />

Not used for the SPI mode<br />

Bit 6 Reserved: forced at 0 by hardware<br />

Bit 5:4 I2SSTD: I2S st<strong>and</strong>ard selection<br />

00: I 2 S Phillips st<strong>and</strong>ard.<br />

01: MSB justified st<strong>and</strong>ard (left justified)<br />

10: LSB justified st<strong>and</strong>ard (right justified)<br />

11: PCM st<strong>and</strong>ard<br />

For more details on I 2 S st<strong>and</strong>ards, refer to Section 23.4.2 on page 600<br />

Note: For correct operation, these bits should be configured when the I 2 S is disabled.<br />

Not used in SPI mode<br />

Bit 3 CKPOL: Steady state clock polarity<br />

0: I 2 S clock steady state is low level<br />

1: I 2 S clock steady state is high level<br />

Note: For correct operation, this bit should be configured when the I 2 S is disabled.<br />

Not used in SPI mode<br />

Bit 2:1 DATLEN: Data length to be transferred<br />

00: 16-bit data length<br />

01: 24-bit data length<br />

10: 32-bit data length<br />

11: Not allowed<br />

Note: For correct operation, these bits should be configured when the I 2 S is disabled.<br />

Not used in SPI mode<br />

Bit 0 CHLEN: Channel length (number of bits per audio channel)<br />

0: 16-bit wide<br />

1: 32-bit wide<br />

The bit write operation has a meaning only if DATLEN = 00 otherwise the channel length is fixed to<br />

32-bit by hardware whatever the value filled in.<br />

Note: For correct operation, this bit should be configured when the I 2 S is disabled.<br />

Not used in SPI mode<br />

Doc ID 13902 Rev 9 621/995

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

Saved successfully!

Ooh no, something went wrong!