Clock and Low Power Modes - STM32
Clock and Low Power Modes - STM32
7 Maximumvalue ofsystemCiti
manvalue 168MHz
RCC PLL Configuration register RCC PLLCFGR
1 The Mvalues
6 bits are available
Valid values are 2to32 Clocks
2 The N values All the clocks apartfromsystemCIN
a bits
ValidValves are 50 to 432 s up work higher freq
3 PLL P z as works lower freq
2 bits he works twice the freq
Valves Divideby 3
0 0 2
ofAPB
u
0 1 4
10 6 All 3 haveSeparate clock
11 8 Zoo
5
4 PLLSRC
PLL can be used as
a source elven this
bit is 1
5 PLLQ
used 125 interface
for
Cleaveit for now
Can continuetooverran
o
Peripheral Clock Generation
2
1 Generation from System Clock
The system UN
generated earlier
is used to
generate ur
signal for
The peripherals
used for Selecting Presealers AMB we can look the car freq
b w HSI MSE PLL Pre sealers APBI On GPlos
OO MSI Presealers APB MCOI makesthe Ciaavailable Pao
01 HSE Prescaler Rec
1 O PLL 0 I IS CIN
I I notallowed HSE
I 2
5
G
f
I System Clock 168MHz
2 AMBPrescaler 1 To AMB 168MHz
3 SYSTCW MCLAG 21MM3s
4 APBI pre scalar 4 no APB I 42MHz To PCEk 42MHz
5 APBI pre scalar 1 As TIMERS 42 2 84MASS
G APB2 pre scalar 2 eAPB2 84MH3 us PCCA 84MHz
7 APB2 pre scalar I TIMERS 2 84 168MHz
RCC CR
RCC Clock config reg
all 0 them
keepnow 0 for
3 PowerConsumed
ZangXV
IronRuntimes
Istandogxstandbytime
g Gereepxsleeptime
5 If Considering only Run Standby t Estopxstoptime
Totaltime
Jang IronXruntime Istandoyxstandbytime
Totaltime
3
Powersavingfeaturesof Sem322 More Power Saving methods
1 IfExternalVoltage
Regulator is good
enough thenthe
internal one can
be bypassed
2 Acceleratoravailable
forreopens
Delaysare ted
whiledataloading
3 every elk for
device isgated
sleep mode
meteroatingsleepmode
I
Executing the WF wait for
interrupt or WFE wait for
event instr
2 Method2
If already in low pwrmode
and interruptcomes to This
will take you to normalmode
After servicing ISR you can
Come back to sleepmode
by using SLEEPonEXIT bit
available in system Ctrlneg
set the bit to enable
this
3 is off
Only Core are
Peripherals on
CIA is cut
Memory Rep
s addressis of32 bit
2 4GBmlm is available
Breakup in diagram
3 Code Area These are
James
PeripheralArea
by user