Skip to main content
HABIJ.1
Associate III
Nov 24, 2020 9:31 AM UTC
Question

PROBING PINS/LOGICAL ANALYZERS

Hello ST community,

I am using STM32L476RG nucleo board and I am interested in reading the boards pin states while running , especially I would like to debug the serial protocols like SPI, I2C, ...

I tried with Cube Monitor but it seems, it is only used to inspect variables and not for probing pins.

Does anyone know if there is a ST tool that can be used for probing pins? If not, could someone recommend a third party tool? I have identified some analogical analyzers that could help : SALEAE, SEGGER J-LINK, ... Does anyone have a user experience to share?

Thanks in advance,

Regards,

This topic has been closed for replies.

4 replies

Uwe Bonnes
Chief
Nov 24, 2020 10:16 AM UTC

If you have GPIOx->IDR and ODR in your program, you should be able to read themvia the monitor. I doubt however that you get sensible sampling rates to decode. Saleae works find, if you can couple it to the lines in question.

HABIJ.1
HABIJ.1Author
Associate III
Nov 24, 2020 10:48 AM UTC

Thanks for the reply,

What do you mean by coupling SALEAE "to the lines in question"?

Tesla DeLorean
Guru
Nov 24, 2020 1:10 PM UTC

Attach wires to the pins, traces, vias, headers, etc​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..