2025-07-10 9:23 PM - edited 2025-07-11 5:33 AM
Hi everyone,
I'm working with the STM32F303CCT6 chip, and I've configured the system clock such that HCLK is running at 72 MHz.
I'm trying to configure SPI1 in full-duplex master mode using CubeMX / STM32CubeIDE. However, when I attempt to set the prescaler to 2, it gives me the following warning:
"With this Prescaler value and APB2 Clock Frequency (72.0 MHz), Baud Rate is more than 18.0 MBits/s.
Please set Prescaler more than 4."
This is confusing because I thought SPI1 could go up to 32 Mbit/s.
Has anyone encountered this?
Is this a limitation from CubeMX or HAL?
Is it safe to ignore this warning and proceed manually in code?
Or is there a hardware limitation I'm overlooking?
Any insights or workarounds would be greatly appreciated!
Thanks in advance!