stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reconfiguring Clocks results in endless loop

jhbruhn opened this issue · comments

When initializing the clocks again, the device gets stuck in an endless loop during clocks freeze():

while rcc.cr.read().pllrdy().bit_is_set() {}

This scenario is relevant in bootloader + application scenarios for example, where the application initializes the clocks independently from the bootloader.