STM32L151C8 Keep freezing because of the NRST pin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-11 10:59 AM
here is the pcb
tried adding a capacitor of 100nF to GND like it was suggested in the datasheet
still nothing the only work around i found is if i fiddle with a jumper between NRST and groud sometimes start the mcu or by touching the top of it with my finger as soon as i remove my finger it stop
- Labels:
-
STM32L1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-11 6:25 PM
Is that just a two layer board? If so, the bottom layer should be mainly dedicated to ground plane. I don't see decoupling capacitors for the micro. Decoupling capacitors should be used as close as possible to the the micro with the minimum path from power pin to capacitor to ground plane - surface mount capacitors of course. The trouble with your NRST pin might be a symptom of a noisy board because of inadequate power supply decoupling of the micro. Careful design of power supply decoupling will make your board "quieter" for analog measurements and reduce the EMI it produces.
I'm sure ST have similar documents, but here is an older TI document I have found very useful over the years "PCB Design Guidelines for Reduced EMI" https://www.ti.com/lit/an/szza009/szza009.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-13 4:51 AM
Also, I assume you have a pull-down on Boot0 pin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 4:59 AM
Without the recommended capacitor, short capacitive coupled pulses may win over the weak pull up on NRST and may reset the device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-14 5:13 AM
It is a momentary switch, not a jumper.​
The pins should be high in normal operation.​
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
‎2022-06-20 4:46 AM
no boot 0 is just floating a trid pulling it down no result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-20 4:48 AM
yeah tested it with a scope and it showed 3.3v but the mcu keeps doing this
