2024-10-21 12:03 AM
Hi I am using below controller in one of our design
STM32G474CET3
i would like to know minimum external clock frequency on which my microcontroller works.
Also my requirement includes 1 SPI, 1 I2C and 4 ADC input sensing.
I would need very minimum external clock frequency on which it can ru,
And ultimate goal is to run 1 SPI, 1 I2C and 4 ADC input sensing at a very low current consumption for 3.3V microcontroller supply,
In datasheet its mentioned from 4 MHz, can this be used in 1 to 3 MHz range too
Also any ball park current consumption can i get for 1 SPI, 1 I2C and 4 ADC input sensing at 3.3V input to Microcontroller.
Solved! Go to Solution.
2024-10-21 12:20 AM - edited 2024-10-21 01:33 AM
Hello @sag
This MCU minimum HSE resonator Frequency is 4MHz. You can't use any other value under 4MHz.
For the Current consumption of your MCU, you may can refer to the Table 35 of the DS12288.
Ps: don't forget to read the description of the Table 35.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-21 12:20 AM - edited 2024-10-21 01:33 AM
Hello @sag
This MCU minimum HSE resonator Frequency is 4MHz. You can't use any other value under 4MHz.
For the Current consumption of your MCU, you may can refer to the Table 35 of the DS12288.
Ps: don't forget to read the description of the Table 35.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-21 12:45 AM
Hi,
Why not use the HSI ?
No external clock needed at all.
2024-10-21 01:26 AM
@sag wrote:In datasheet its mentioned from 4 MHz, can this be used in 1 to 3 MHz range too
The datasheet defines the guaranteed operating conditions - if says 4MHz is the limit, then that is the limit for guaranteed operation.
If you want a lower-speed external clock, there's LSE:
2024-10-21 01:29 AM
@STTwo-32 wrote:This MCU minimum HSE Frequency is 4 MHz. You can't use any other value under 4MHz.
But, when operating with an external clock source (so not using the HSE oscillator), there is no minimum limit stated:
2024-10-21 01:32 AM
@sag wrote:I would need very minimum external clock frequency ... at a very low current consumption
Note that, for low(est) power consumption, it is often better to run the microcontroller fast - so that it can sleep longer.
2024-10-21 01:33 AM
Our operating temperature is 180 deg C which will cause drift in internal oscillator at higher temperature.
The stability is not good at higher temperature.
2024-10-21 01:37 AM
@sag wrote:Our operating temperature is 180 deg C .
That's well outside the specified operating limits:
2024-10-23 03:02 AM - edited 2024-10-23 03:03 AM
So can i connect 1 MHz then if lower is not mentioned at clock generated from an external source.
Same for 2 MHz external clock
2024-10-23 03:32 AM
@sag wrote:So can i connect 1 MHz then if lower is not mentioned at clock generated from an external source.
Same for 2 MHz external clock
So it seems.
To be clear, that requires an external, active source - not just a crystal.
But, again, for low(est) power consumption, it is often better to run the microcontroller fast - so that it can sleep longer.
eg, here you can see that even at 100kHz, you'll typically draw 0.22mA:
whereas in the sleep modes that can be a few uA or even nA ...
In other words, sleep modes are more beneficial than running with a slow clock.