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 />

23.2 SPI <strong>and</strong> I 2 S main features<br />

23.2.1 SPI features<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<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 <strong>and</strong> slave<br />

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

of master/slave operations<br />

Programmable clock polarity <strong>and</strong> phase<br />

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

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

SPI bus busy status flag<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 <strong>and</strong> CRC error flags with interrupt capability<br />

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

Doc ID 13902 Rev 9 587/995

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

Saved successfully!

Ooh no, something went wrong!