09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

<strong>RM0090</strong> Serial peripheral interface (SPI)<br />

27.4 I 2 S functional description<br />

27.4.1 I 2 S general description<br />

The block diagram of the I 2 S is shown in Figure 286.<br />

Figure 286. I 2 S block diagram<br />

MOSI/ SD<br />

MISO/<br />

I2S2ext_SD/<br />

I2S3ext_SD (1)<br />

NSS/WS<br />

CK<br />

MCK<br />

I2SMOD<br />

I2S_CK<br />

Master control logic<br />

SPI<br />

baud rate generator<br />

Tx buffer<br />

Shift register<br />

1. I2S2ext_SD and I2S3ext_SD are the extended SD pins that control the I 2 S full duplex mode.<br />

The SPI could function as an audio I 2 S interface when the I 2 S capability is enabled (by<br />

setting the I2SMOD bit in the SPI_I2SCFGR register). This interface uses almost the same<br />

pins, flags and interrupts as the SPI.<br />

16-bit<br />

Rx buffer<br />

16-bit<br />

Bidi<br />

mode<br />

Address and data bus<br />

BSY OVR MODF CRC<br />

ERR<br />

Bidi<br />

OE<br />

LSB first<br />

I2SCFG I2SSTD CK DATLEN CH<br />

[1:0] [1:0] POL [1:0] LEN<br />

CRC<br />

EN<br />

CH<br />

TxE RxNE<br />

SIDE<br />

CRC Rx<br />

DFF<br />

Next only SSM SSI<br />

LSB<br />

First SPE BR2 BR1 BR0 MSTR CPOL CPHA<br />

I 2 S clock generator<br />

MCKOEODD I2SDIV[7:0]<br />

I2S<br />

MOD I2SE<br />

Communication<br />

control<br />

Doc ID 018909 Rev 3 816/1416<br />

UDR<br />

I2SxCLK<br />

FRE<br />

MS19909V1

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

Saved successfully!

Ooh no, something went wrong!