2026-04-24 8:16 AM - edited 2026-04-24 8:18 AM
Hi ST,
I’m trying to configure the clocks for the STM32C071GBUx MCU in CubeMX (latest version, 6.17).
This MCU has two SPI interfaces, two UARTs, and two I²C peripherals. However, CubeMX only allows me to configure the clock for one UART, one I²C, and no SPI at all.
Am I missing something?
I’ve attached the complete clock configuration diagram below.
2026-04-27 10:36 PM - edited 2026-04-27 10:39 PM
Simply catch is datasheet claims independent clock SPI1, but this dont exist in clock tree diagram. Based this on current for this independent block seems ... But back to @TDJ query , simply add to diagram (SPI1) or remove independent info from pdfs
2026-04-28 1:47 AM
@MM..1 wrote:
simply add to diagram (SPI1)
Which diagram? datasheet? reference manual? which page?
@MM..1 wrote:
or remove independent info from pdfs
Better to indicate which info to be removed in the pdf..
2026-04-28 9:06 AM
OMG
Diagram i mean MX Clock settings
and independent SPI1 clock is mentioned for example in Table 35 C071 pdf.
2026-04-28 9:45 AM - edited 2026-04-28 9:59 AM
@MM..1 wrote:
and independent SPI1 clock is mentioned for example in Table 35 C071 pdf.
I don't see any mention of "independent" wording in Table 35. That table is focusing on power consumption and it shows all the peripherals connected to the different bridges AHB/APB. I don't see why need to remove SPI1 from table 35!
@MM..1 wrote:
Diagram i mean MX Clock settings
SPI1 is multiplexed with I2S1:
Perhaps CubeMx needs to mention SPI1/I2S1 instead of I2S1.
2026-04-28 9:57 AM
@MM..1 wrote:
and independent SPI1 clock is mentioned for example in Table 35 C071 pdf.
Ok I see it now: