7 years, 10 months ago.

I cant connect to my stm32 board when it is hooked up to my oscilloscope or logic analyser.

When I connect my stm32 board to a StlinkV2 and plug it in my computer, it works fine but when I connect an oscilloscope or logic analyser between the clock pin and data pin to see how the bits work, it is not able to connect to my PC.

It sounds like a grounding issue, is everything on the same ground connection and ground on the scope connected to ground on the board?

posted by Andy A 31 May 2018

Agree with Andy could be a grounding issue. If you have a laptop could try running on battery power so only the scope is actually earth grounded. Could try plugging PC and scope into the same outlet or power strip so that ground path between devices is as short as possible. Potentially could be a capacitive loading issue as well. You could try the scope probe on 10x setting and see if that makes any difference.

posted by Graham S. 31 May 2018

Actually Im using a PC based oscilloscope( ISDS205B ) and yes I connected the ground of the scope to the board but Im using a different laptop to see the oscilloscope readings and a different laptop (which is constantly connected to my power adapter) to program the board. I will try use the probe on 10X and let you know if the problem still occurs.

posted by Nathan Mangar 03 Jun 2018

Wait but what about the Logic Analyser? By the way my Logic analyser is one of these cheap $6 ones on ebay.

posted by Nathan Mangar 04 Jun 2018
Be the first to answer this question.