Download Print this page

Table Of Contents - ST STM32F413 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F413:

Advertisement

Contents
28.6.5
28.6.6
28.6.7
28.6.8
29
Serial peripheral interface/ inter-IC sound (SPI/I2S) . . . . . . . . . . . . . 907
29.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 907
29.1.1
29.1.2
29.1.3
29.2
SPI/I2S implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
29.3
Spi Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
29.3.1
29.3.2
29.3.3
29.3.4
29.3.5
29.3.6
29.3.7
29.3.8
29.3.9
29.3.10 Procedure for disabling the SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 921
29.3.12 SPI status flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 924
29.3.13 SPI error flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
29.4
Spi Special Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
29.4.1
29.4.2
29.5
Spi Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929
29.6
I
29.6.1
29.6.2
29.6.3
29.6.4
29.6.5
29.6.6
26/1284
Control Register 2 (Usart_Cr2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 902
Control Register 3 (Usart_Cr3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 903
Guard Time And Prescaler Register (Usart_Gtpr) . . . . . . . . . . . . . . 905
Usart Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 906
SPI main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 907
Spi Extended Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
I2S features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
Standard Multi-Slave Communication . . . . . . . . . . . . . . . . . . . . . . . . . . 913
Multi-Master Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 914
Slave select (NSS) pin management . . . . . . . . . . . . . . . . . . . . . . . . . . 914
Communication Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 916
Spi Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
Procedure for enabling SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 918
Data Transmission And Reception Procedures . . . . . . . . . . . . . . . . . . . 919
TI mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
Crc Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 927
2
S functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
2
I
S general description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
Supported Audio Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
2
I
S master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
2
I
S slave mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 940
2
I
S status flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
DocID029473 Rev 3
RM0430

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F413 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f423