2020-05-05 12:11 AM
2020-05-05 01:56 AM
You can configure them any way you like. They can be used as GPIO inputs or outputs, or be not connected at all.
They can only sink/source a limited amount of current, check the datasheet if you want to use them as outputs.
2020-05-05 12:32 AM
Code generated from STM32CubeMX does a good job of initializing the clock based on your settings. I'd recommend starting with that.
The internal clock is in use after reset.
2020-05-05 01:07 AM
Thanks for your answer. But i mean the hardware configuration of the internal clock pins. Sorry i didn't specify it before
2020-05-05 01:10 AM
The internal clocks are, well, internal, so they don't have any pins.
Do you mean using the internal real-time clock with an external crystal for accuracy?
2020-05-05 01:47 AM
Sorry again, i have expressed badly my question.
i meant if i use the internal clock, how should be configurated the external clock pins (PF0-OSC_IN; PF1-OSC_OUT;PC14-OSC32_IN;PC15-OSC32_OUT)?
should i let them floating or i need to configure them with pull down network or put them to ground?
Thanks
2020-05-05 01:56 AM
You can configure them any way you like. They can be used as GPIO inputs or outputs, or be not connected at all.
They can only sink/source a limited amount of current, check the datasheet if you want to use them as outputs.