Closed
Description
The problem occures e.g. on the STM32L4 when a 40 Mhz hz value is being used.
See file stm_spi_api.c:
handle->Init.BaudRatePrescaler = baudrate_prescaler_table[prescaler_rank-1];
With the 40000000 hz sample, the baudrate_prescaler_table is zero and initializes the Init.BaudRatePrescaler with random values. The previous hal implementation in spi_frequency file spi_api.c does not have this problem.
Regards Helmut