Can't connect to STM32F412 with SWD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-04 7:58 PM
Here is my schematic and board. I'm wondering if someone can verify that I have everything that's needed on the stm32f4. I can't connect with SWD to the core. My JLink tries multiple times and fails. When I press the reset button on my board the JLink's LED turns red so it seems that the connection between my board and the JLink is correct.
I've found a mistake in my crystals' capacitor values, but I don't think that should cause this issue?
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 6:10 AM
Big issues:
VSSA needs grounded.
VDDA needs connected to VDD.
Smaller issues:
The capacitor on VCAP should be 2.2uF or 4.7uF.
The load caps for X1 (8MHz crystal) almost certainly shouldn't be 0.1uF. Probably closer to 10uF. Probably true for X2 caps as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 6:10 AM
Big issues:
VSSA needs grounded.
VDDA needs connected to VDD.
Smaller issues:
The capacitor on VCAP should be 2.2uF or 4.7uF.
The load caps for X1 (8MHz crystal) almost certainly shouldn't be 0.1uF. Probably closer to 10uF. Probably true for X2 caps as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 11:57 AM
Thanks, I'll try connecting VSSA and VDDA and see if it works.
Are you sure about the load cap values? In the datasheet it seems to recommend 5pF to 25pF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-05 12:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-06 12:19 AM
I tried on a blank board with a new chip, and connected vdda and vssa and it worked, thanks!
