Skip to main content
Lubos Medovarsky
Associate II
October 18, 2017
Solved

STM32L0 custom board does not connect below 3.0 V

  • October 18, 2017
  • 7 replies
  • 1703 views
Posted on October 18, 2017 at 19:42

Hi all,

My custom designed bare STM32L052C (QFP48) board refuses to talk to external debuggers (STLinkV2, JLink) when the power goes below 3.0 Volts on Vdd pins.

Only SWD interface and step-down power source are connected. The target voltage is detected correctly by both external debuggers. STLinkV2 is completely new, never connected before. I tried switching debuggers, connecting external PSU, checking all SWD pins, with the same results.

The SWD signals, with the exception of 22 Ohm serial resistors, are pretty much the same as in STM32L073Z-EVAL board, which by the way have been proven to work well down to 1.8 V, using the very same equipment. Reset and SWDIO are normally high when the debugger is connected. BOOT0 is grounded.

I did my best to follow AN4467 'Getting started with STM32L0xx hardware development' during HW design. Since this is an ultra low power application, I omitted 1uF and 4.7 uF blocking capacitors. The board works reliably at 3.3 V. The signal lines are as short as possible, with ground poured between pins and over bottom layer (2-layer PCB). The debug interface is passively connected over TagConnect2030 (RJ12), converted to standard 20-pin JTAG IDC connector over very short ribbon.

No LCD or USB is used in the design. Drop-in replacements are L053C and L063C.

Logic analyzer signal capture failed to reveal anything, since I have no SWD decoder available. The capture files are available at

http://bit.ly/2yvAgSX

.

Does anyone have an idea what else could be possibly checked?

#stm32l0
This topic has been closed for replies.
Best answer by Tesla DeLorean
Posted on October 19, 2017 at 01:37

VDDA is used by the POR and PLL/VCO, so needs a connection.

7 replies

Tesla DeLorean
Guru
October 18, 2017
Posted on October 18, 2017 at 19:45

Lot of fake/clone ST-LINK V2 pods out there, make sure VTarget is supplied to the pod, and the pod has a buffer chip in it.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
October 18, 2017
Posted on October 18, 2017 at 19:50

 ,

 ,

https://community.st.com/0D70X000006SqIsSAK

 ,
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Lubos Medovarsky
Associate II
October 18, 2017
Posted on October 18, 2017 at 21:30

Hi Clive,

Thanks for fast response.

This one was bought from authorized distributor, but I couldn't resist to open it. TI's variant marked NH245 (SN74LVC8T245) in TSSOP-24 is soldered there.

Anyway, JLink has the same circuit and behaves identically with this board.

Is there anything else to try?

EDIT: forgot to mention that JLink is also a genuine one. I would exclude the possibility that these are fake ones.