cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F101C4

jgalea
Associate II
Posted on June 12, 2009 at 04:03

STM32F101C4

6 REPLIES 6
jgalea
Associate II
Posted on May 17, 2011 at 13:12

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

jj
Associate II
Posted on May 17, 2011 at 13:12

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!''

jgalea
Associate II
Posted on May 17, 2011 at 13:12

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

monmsn1234
Associate II
Posted on May 17, 2011 at 13:12

[ This message was edited by: monmsn1234 on 26-05-2009 15:05 ]

sofiene
Associate III
Posted on May 17, 2011 at 13:12

Hi jgalea;

The suitable value of the resistor connected to BOOT0 is 10K. refer to AN2586 ''hardware development:getting started'' Application note.

B.R.

M3allem

jgalea
Associate II
Posted on May 17, 2011 at 13:12

Hello M3allem,

Thanks for the useful information and pdf file

Johann