09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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 (SPI) <strong>RM0090</strong><br />

27.2 SPI and I 2 S main features<br />

27.2.1 SPI features<br />

● Full-duplex synchronous transfers on three lines<br />

● Simplex synchronous transfers on two lines with or without a bidirectional data line<br />

● 8- or 16-bit transfer frame format selection<br />

● Master or slave operation<br />

● Multimaster mode capability<br />

● 8 master mode baud rate prescalers (f PCLK /2 max.)<br />

● Slave mode frequency (f PCLK /2 max)<br />

● Faster communication for both master and slave<br />

● NSS management by hardware or software for both master and slave: dynamic change<br />

of master/slave operations<br />

● Programmable clock polarity and phase<br />

● Programmable data order with MSB-first or LSB-first shifting<br />

● Dedicated transmission and reception flags with interrupt capability<br />

● SPI bus busy status flag<br />

● SPI TI mode<br />

● Hardware CRC feature for reliable communication:<br />

– CRC value can be transmitted as last byte in Tx mode<br />

– Automatic CRC error checking for last received byte<br />

● Master mode fault, overrun and CRC error flags with interrupt capability<br />

● 1-byte transmission and reception buffer with DMA capability: Tx and Rx requests<br />

791/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!