ST STM32F412 Reference Manual page 853

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0402
Bit 11 DFF: Data frame format
Note: This bit should be written only when SPI is disabled (SPE = '0') for correct operation.
Bit 10 RXONLY: Receive only mode enable
Note: This bit is not used in I
Bit 9 SSM: Software slave management
Note: This bit is not used in I
Bit 8 SSI: Internal slave select
Note: This bit is not used in I
Bit 7 LSBFIRST: Frame format
Note: This bit should not be changed when communication is ongoing.
Bit 6 SPE: SPI enable
Note: When disabling the SPI, follow the procedure described in
Bits 5:3 BR[2:0]: Baud rate control
Note: These bits should not be changed when communication is ongoing.
0: 8-bit data frame format is selected for transmission/reception
1: 16-bit data frame format is selected for transmission/reception
2
It is not used in I
This bit enables simplex communication using a single unidirectional line to receive data
exclusively. Keep BIDIMODE bit clear when receive only mode is active.
This bit is also useful in a multislave system in which this particular slave is not accessed, the
output from the accessed slave is not corrupted.
0: full-duplex (Transmit and receive)
1: Output disabled (Receive-only mode)
When the SSM bit is set, the NSS pin input is replaced with the value from the SSI bit.
0: Software slave management disabled
1: Software slave management enabled
This bit has an effect only when the SSM bit is set. The value of this bit is forced onto the
NSS pin and the IO value of the NSS pin is ignored.
0: MSB transmitted first
1: LSB transmitted first
2
It is not used in I
0: Peripheral disabled
1: Peripheral enabled
for disabling the SPI
This bit is not used in I
000: f
/2
PCLK
001: f
/4
PCLK
010: f
/8
PCLK
011: f
/16
PCLK
100: f
/32
PCLK
101: f
/64
PCLK
110: f
/128
PCLK
111: f
/256
PCLK
They are not used in I
Serial peripheral interface/ inter-IC sound (SPI/I2S)
S mode.
2
S mode
2
S mode and SPI TI mode
2
S mode and SPI TI mode
S mode and SPI TI mode
.
2
S mode.
2
S mode.
RM0402 Rev 6
Section 26.3.10: Procedure
853/1163
862

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF