2022-08-14 02:49 AM
hi we haveseveral boards in need of the stm32L151C8t6 and we have some stock of the mcu in question the problem is that all the pcbs 'from JLCPCB' have this weird issue were the mcu is stuck and i have to manually poke thenrst pin multiple time for it to run normally "poke as in pull it to gnd for it to reset " please i need help with this i'll share some the the designs
example :
example 2:
here is an example :
https://youtu.be/QQdRiFgf2KA
2022-08-14 03:45 AM
I see many things I dislike about that PCB design - but here are some things to start-
Some more general comments-
If you are trying to do sensitive analog measurements, you might have trouble with noise with this design. You might want to find someone experienced with low noise PCB design.
2022-08-14 04:03 AM
Most likely as mentioned previously Boot0 pin is the main problem, followed by non existent decoupling capacitors. Floating RST pin usually not such big deal while PCB is not next to EMC noisy environment.
I just don't understand why someone would do 2 layer PCB while for prototypes at JLCPCB the price is almost the same as 4 layer PCB.
2022-08-14 05:40 AM
i tried fixing the pcbs with all what was suggested in the datasheet including the NRST pull and BOOT0 pull but still nothin works
we have other boards that have these requirements and they won't work either
2022-08-14 07:22 AM
To add to gregstm:
SWCLK and SWDIO need 10K pullups, else noise could put the unit in an indeterminant state.
Cheers, Hal