SPI setting speed is too low.
Hi, I'm testing a custom STM32WB09TEF7TR board.
To communicate with the analog front end, I need to use SPI.
However, SPI communication requires 17 us setting time, which means around 60 kHz.
This speed is very slow.
So, the Initiation of SPI becomes the bottleneck of the speed of the overall system.
So, I wonder if there is anything I missed.
Below is the oscilloscope result for the SCLK (yellow) MOSI (green) and MISO (blue) CS (pink) pins, respectively.
After the CS pin reset, around 17 us are required to start SPI transmission.

My code for this function is below.
void spi_read_write(void)
{
GPIOA->BSRR = GPIO_BSRR_BR9; // Reset CS_pin
HAL_SPI_TransmitReceive_DMA(&hspi3, SPI_tx_DMA, SPI_rx_DMA, 5);
HAL_Delay(1);
GPIOA->BSRR = GPIO_BSRR_BS9; // Set CS_pin
}
