Download Print this page

ST STM32L4+ Series Reference Manual page 1886

Hide thumbs Also See for STM32L4+ Series:

Advertisement

Serial peripheral interface (SPI)
Bit 10 RXONLY: Receive only mode enabled.
Bit 9 SSM: Software slave management
Note: This bit is not used in SPI TI mode.
Bit 8 SSI: Internal slave select
Note: This bit is not used in SPI TI mode.
Bit 7 LSBFIRST: Frame format
Note: 1. 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.
Bit 2 MSTR: Master selection
Note: This bit should not be changed when communication is ongoing.
1886/2301
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 I/O value of the NSS pin is ignored.
0: data is transmitted / received with the MSB first
1: data is transmitted / received with the LSB first
2. This bit is not used in SPI TI mode.
0: Peripheral disabled
1: Peripheral enabled
SPI on page
1871.
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
0: Slave configuration
1: Master configuration
RM0432 Rev 6
RM0432
Procedure for disabling the

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?