Skip to content

stable_21.11.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT#2

Closed
nmschulte wants to merge 1 commit intoFOME-Tech:stable_21.11.x.FOMEfrom
nmschulte:nms/lse-max_wait-bkp-domain-reset
Closed

stable_21.11.x.FOME: backup domain reset re: FOME_STM32_LSE_MAX_WAIT#2
nmschulte wants to merge 1 commit intoFOME-Tech:stable_21.11.x.FOMEfrom
nmschulte:nms/lse-max_wait-bkp-domain-reset

Conversation

@nmschulte
Copy link
Copy Markdown

also consider that the RTCSEL might have fallen back to the FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset

rusefi#52

also consider that the RTCSEL might have fallen back to the
FOME_STM32_LSE_MAX_WAIT_RTCSEL when checking for backup domain reset

rusefi@f3524fc
fomeLseCounter >= FOME_STM32_LSE_MAX_WAIT
&& (RCC->BDCR & STM32_RTCSEL_MASK) != FOME_STM32_LSE_WAIT_MAX_RTCSEL
) || fomeLseCounter < FOME_STM32_LSE_MAX_WAIT
&&
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to test building with these patches, but am concerned I might need parens around the sides of && here, which means reworking the macros/code as I can tell at the moment.

@nmschulte nmschulte force-pushed the nms/lse-max_wait-bkp-domain-reset branch from b4d702a to bbf0c3e Compare January 16, 2025 07:54
This was referenced Feb 8, 2025
@mck1117
Copy link
Copy Markdown

mck1117 commented Jan 28, 2026

FOME-Tech/fome-fw#722

@mck1117 mck1117 closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants