Skip to main content
energycsdx
Visitor II
December 21, 2021
Question

Bug report: wrong baud rate displayed for SPI

  • December 21, 2021
  • 1 reply
  • 777 views

Seems like baud rate calculated using last changed APB frequency

This topic has been closed for replies.

1 reply

ST Employee
December 23, 2021

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.