13 lines
282 B
Plaintext
13 lines
282 B
Plaintext
CONFIG_SPI_LOOPBACK_DRV_NAME="SPI_1"
|
|
|
|
CONFIG_SPI_STM32_DMA=y
|
|
CONFIG_SPI_STM32_INTERRUPT=n
|
|
|
|
CONFIG_SPI_ASYNC=n
|
|
|
|
CONFIG_SPI_LOOPBACK_MODE_LOOP=n
|
|
|
|
# Reduce bus clock speed to be able to reach SPI_LOOPBACK_SLOW_FREQ = 500000
|
|
# with max prescaler 256
|
|
CONFIG_CLOCK_STM32_APB2_PRESCALER=2
|