STM32F429x don't start - Vcap problems...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 4:33 AM
Hello there!
I've desingned a board for a project with a newSTM32F429VGT6 controller. My main problem is that I cannot program t
he controller, ST-Link says it ''can not connect to target''. Of course, I've already checked, the controller gets 3.3V, and the SWO pinout is also good.
I went through the datasheet again, and I I've found out, that on the Vcap1,2 pins I should measure around 1.2V. But I'm only getting some mV. I'm using 2.2uF capicators, with low ESR value. I have no idea what causes the problem, and at this point I'm pretty much stucked... :(I've attached my board pinout, maybe it helps.- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 6:03 AM
Check the part orientation, the designator is a small dimple, not the molding eject pin marks.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 6:07 AM
Not sure I've got a 100-pin to hand
https://community.st.com/0D50X00009Xka68SAB
I don't think you have enough pins for the Regulator Bypass to be an issue.Edit: Fixed DEAD LINK, original post from 1-Oct-2015
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 6:20 AM
Hey,
i've checked the orientation, that was the first thing, and it's OK.Any other clue?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 9:31 AM
Well you're kind of back to the supplies, you'd want to check all the nets, make sure you don't have any islands, and confirm ground connectivity.
In most case I'd expect the power ring in the die to connect all common external pins, there's usually multiple pins to localize the high current flows. What kind of current draw are you seeing? Pull BOOT0 High, not sure it helps on a blank device, but the System Loader isn't going to put the device into a low power mode that would switch off the internal regulator. Without 1.25V on VCAPs the core of the part isn't going to runUp vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 2:03 PM
Thanks for the fast response clive!
Well, right know there are only the microkontroller and the power supply circuit on the board. I'm giving 5V to the board, and I get 3.3V via a buck converter. The current drawn is less then 10mA on the board right know, since I'm limiting it when I test the board.Also, here's the attached schematic for the Boot mode selection (boot0 in particular):- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-01 3:28 PM
Limiting the current to 10mA? That's probably a bit low. Try increasing the current limit to about 50mA (or even 100mA). I generally see around ~20mA with my custom bootloader running, and around ~30mA during normal operations. That includes a couple of other components and sensors as well, however I'm only clocking (post PLL) at 30MHz.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-02 3:12 PM
What's the state of NRST and what is it connected to?
As this has caught me out in the past.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-02 3:22 PM
Hey,
so, nRST is connected to a button, and this is the scematic:- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-10-02 3:30 PM
Unfortunately I don't have a magic wand.
Have you built up a couple of boards to rule out board/chip issues? Are there components placed as resistors, capacitors or inductors that aren't actually the type and value of part specified in the design?The thing with NRST is to check if it's being clamped low by the POR circuit in the part, ie analogue supplies missing. Not aware it should stop the regulator turning on. The STM32 has other pins, some times not bonded out, which control the regulator or reset behaviour.You could stare at the Gerbers and check for lack of connections there, or shifts in pins in the symbol vs part.Up vote any posts that you find helpful, it shows what's working..
