How to SWITCH HSI to LSE for STM8L152C6 discovery board?
When I switch HSI to LSE using IAR, there is always an error that "Failed to get execution status: SWIM error [30004]: Comm timeout"There is switch function:void HSI_TO_LSE(void){ if(CLK_SCSR!=0x08) // if LSE is not selected as the system clock ...