1/how can I can disable peripherals clocks in order to optimize power consumption
2/ how to activate RTC1 to wakeup system from hibernate eash 1µS then execute active mode @26MHz
any help would be apreciated
The register that controls the clock gate for some peripherals is the CLKG_CLK_CTL5 register.
But note that most of the peripherals clocks (exceptions only the ones on the mentioned register) are automatically disabled when the peripheral is disabled. That means that no extra effort is necessary from the user point of view except disabling the peripheral when not in use to optimize power consumption
Please refer to RTC setup to wake up from Hibernate Mode each 1µs thread to the RTC question.
Retrieving data ...