Skip to content

Conversation

jernejp21
Copy link

HSEM clock was enabled after first use, resulting in endless loop without error exception. Moved HSEM clock enable before first use.

BSP_LED_Init() function uses BSP_ENTER_CRITICAL_SECTION() function. If you follow inside the function, HAL_HSEM_FastTake() is being called which reads HSEM_RLR register. Register reading was done before HSEM clock was enabled.

jernejp21 and others added 2 commits August 9, 2022 10:45
HSEM clock was enabled after first use, resulting in endless loop without error exception. Moved HSEM clock enable before first use.
Changed also on STM32MP157C-EV1 samples.
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.

1 participant