2019-01-02 10:53 PM
My product has a 5% chance of that LSI didn't start when system Power up. So IWDG not functional due to LSI missed.
Here is my code to start LSI
******************************
LSI_CNT = 0;
RCC_LSICmd(ENABLE);
while( RCC_GetFlagStatus(RCC_FLAG_LSIRDY) == RESET )
{
LSI_CNT++;
if( LSI_CNT > 100) break;
}
*******************************
Is there any software solution (code segment ) for suring LSI start perfectly at system power up?
2019-01-03 06:20 AM
100 iterations a 8 MHz+ is probably not enough to quantify if the 40 KHz signal started properly.
If the LSI really doesn't start in STM32 parts you'd need to discuss that with an FAE associated with your account as you're using bad or damaged parts.
Time the actual start time, specs say it should be 85us or faster.
2019-01-03 06:22 PM
I've got , It's kind of U