ApiHal: initialize clock in parallel, switch LSE driving to high, enable EXTI line 18 to fix LSECSS, move some interrupts service routines to api-hal-interrupts. (#614)
This commit is contained in:
		| @@ -88,7 +88,7 @@ void rtc_init() { | ||||
|         // Start LSI1 needed for CSS | ||||
|         LL_RCC_LSI1_Enable(); | ||||
|         // Try to start LSE normal way | ||||
|         LL_RCC_LSE_SetDriveCapability(LL_RCC_LSEDRIVE_MEDIUMLOW); | ||||
|         LL_RCC_LSE_SetDriveCapability(LL_RCC_LSEDRIVE_HIGH); | ||||
|         LL_RCC_LSE_Enable(); | ||||
|         uint32_t c = 0; | ||||
|         while(!RTC_CLOCK_IS_READY() && c < 200) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user