2021-10-04 06:42 AM
Hello, all.
How to post info about found bugs in STM32CubeMX?
Can't find correct way for it. (Feedback? ST Online Support Center?)
Thank you.
Solved! Go to Solution.
2021-10-06 02:44 AM
Hello @ADr.1 , @TDK ,
Thanks for your feedbacks.
Actually you're right, Prescaler (for Baud Rate) (as well as Baud Rate) are not configurable and should not appear in CubeMX interface when using SPI in slave mode.
In fact, the SPI master always controls the bus traffic and provides the clock signal to the dedicated slave through the SCK line.
This is reported internally to be reviewed. I'll keep you posted with the updates.
Internal ticket number: 115095 (This is an internal tracking number and is not accessible or usable by customers).
Sorry for any inconvenience that this may cause.
Even though this reply doesn’t directly solve the issue, I’m marking it as Best, since it will help clarify the current situation for other customers with the same question. I will post an update here once the issue has been fixed.
Khouloud.
2021-10-04 06:55 AM
Hello @ADr.1 and welcome to the Community :)
You can report your finding issues here in the STM32 Community.
I added a couple of topics "STM32CubeMX" & "Bug-report" to your question in order to increase its chance to be reviewed by our CubeMx experts.
Imen
2021-10-04 07:15 AM
Thank you, Imen.
2021-10-04 07:21 AM
@ADr.1 , Thank you for sharing these issues to us.
Hi @Khouloud OTHMAN , @Khouloud ZEMMELI ,
Can you please review the reported issues here?
Thanks
Imen
2021-10-04 07:34 AM
> STM32CubeMX 6.3.0, MCU STM32F103C8Tx: Connectivity / SPI1 / Mode: Full-duplex Slave, there is Prescaler and Baud Rate configuration in Parameter settings, which is useless for slave mode.
In slave mode, the prescaler configures the maximum supported clock rate. Only the prescaler is editable, the baud rate is informational.
2021-10-04 07:44 AM
Thank you, TDK.
Yes, Baud Rate is non-editable.
2021-10-04 08:03 AM
Hmm, it looks like I'm just wrong here. I'm not sure why I thought that. In both RMs, the prescaler field (BR) in SPIx_CR1 is ignored. Apologies for the noise.
2021-10-06 02:44 AM
Hello @ADr.1 , @TDK ,
Thanks for your feedbacks.
Actually you're right, Prescaler (for Baud Rate) (as well as Baud Rate) are not configurable and should not appear in CubeMX interface when using SPI in slave mode.
In fact, the SPI master always controls the bus traffic and provides the clock signal to the dedicated slave through the SCK line.
This is reported internally to be reviewed. I'll keep you posted with the updates.
Internal ticket number: 115095 (This is an internal tracking number and is not accessible or usable by customers).
Sorry for any inconvenience that this may cause.
Even though this reply doesn’t directly solve the issue, I’m marking it as Best, since it will help clarify the current situation for other customers with the same question. I will post an update here once the issue has been fixed.
Khouloud.