Skip to content

stm32l4 System Power Management issue #37269

Answered by erwango
ivonalo asked this question in Q&A
Discussion options

You must be logged in to vote

As for the moment, I do not have lptimer defined in device tree. Should I?

Yes, you should. Anyway, at least it seems to be enabled.
And for sure, to use LSE, you need to have an external oscillator available.
If this is not the case, then, you should select LSI. This can be done by adding the following in your board's Kconfig.defconfig file:

choice STM32_LPTIM_CLOCK
	default STM32_LPTIM_CLOCK_LSI
	depends on STM32_LPTIM_TIMER
endchoice

Also, from what I understand you're trying to implement your worn version of power management on unknown hardware (to me at least).
It will really be difficult to provide you support in these conditions.
So I'd suggest to get back to a known state, and …

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@ivonalo
Comment options

@erwango
Comment options

erwango Jul 28, 2021
Collaborator

Comment options

You must be logged in to vote
7 replies
@erwango
Comment options

erwango Sep 30, 2021
Collaborator

@filip-primozic
Comment options

@filip-primozic
Comment options

@filip-primozic
Comment options

@filip-primozic
Comment options

Comment options

You must be logged in to vote
1 reply
@filip-primozic
Comment options

Answer selected by erwango
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants