SPI1
Direction
Full Duplex
1 Line Tx
1 Line Rx
2 Lines Rx Only
Mode
Master
Slave
Data size
8 bit
16 bit
CPOL
Low
High
CPHA
1st edge
2nd edge
NSS
Software
Hardware
Prescaler
2
4
8
16
32
64
128
256
Data Order
MSB First
LSB First
CRC
CRC Polynomial, do not fill if not used
DeInit
DeInitialize SPI before configuration
Enable
Enable SPI after configuration
Interrupt settings
Tx Empty
...TXE Flag
Rx Not Empty
...RXNE Flag
Error
...ERR Flag
DMA request settings
Tx Request
Rx Request
Functions
SPI_xfer8()
SPI_xfer16()
SPI_xfer24()
MOSI PA7,PB5
MISO PA6,PB4 (NJRST)
SCK PA5,PB3 (TRACES WO)
NSS PA4,PA15
home
spi