Skip to main content
energycsdx
Visitor II
Dec 21, 2021 6:41 PM UTC
Question

Bug report: wrong baud rate displayed for SPI

Seems like baud rate calculated using last changed APB frequency

This topic has been closed for replies.

1 reply

ST Employee
Dec 23, 2021 9:42 AM UTC

Hello,

Thank you for reporting this issue.

In fact, on the STM32F373 they are 3 SPIs (SPI1, SPI2 and SPI3) the SPI1 is located on the APB2 (Fmax = 72Mhz) and SPI2 and SPI3 are both on the APB1 (Fmax = 36Mhz). By changing the APB1 or APB2 frequency, STM32CubeMX calculates the Baud Rate for the SPI without taking on count if the selected SPI is on APB1 or APB2.

I will report this issue and it will be solved on the next update.

BR.