2009-06-11 07:03 PM
STM32F101C4
2011-05-17 04:12 AM
Hello, I'm using the micro STM32F101C4 and occasionally when I turn ON the micro, the program seems that it does not start. Right now I'm using TIM3 to blink LED and occasionally it does not turn ON. I have to turn OFF and ON again for the LED to blink. Even the Watch dog seems not to be working. I'm using the kickstart IAR. Did any one meet such problem? Thanks Johann
2011-05-17 04:12 AM
It's possible that you have a power and/or reset or ''boot pin'' issue. Suggest that you ''not'' use either the timer or watchdog during your initial test/checkout. (thus eliminating both of these as issue cause)
Sounds like small STM32 on custom pcb - have you a 2nd board to duplicate exactly? We've had good luck by always bringing up new boards in simplest manner possible - and enabling peripherals only ''one at a time.'' This method has ''saved'' us/clients many times - even after we ''knew what we were doing!''2011-05-17 04:12 AM
Hello Many thanks. the problem seems to have been related to the pull down resistor I was using with BOOT0. This was 47k. When I lowered it down to 4k7, it was working well. thanks Johann
2011-05-17 04:12 AM
2011-05-17 04:12 AM
Hi jgalea;
The suitable value of the resistor connected to BOOT0 is 10K. refer to AN2586 ''hardware development:getting started'' Application note. B.R. M3allem2011-05-17 04:12 AM
Hello M3allem,
Thanks for the useful information and pdf file Johann