Skip to main content
MGara.1
Associate
April 13, 2022
Question

How to read the state of an output pin?

  • April 13, 2022
  • 2 replies
  • 1150 views

I'm using STM32L053 to send an SPI data to other compenet.

i don't know if the data has been send or not. I don't have an oscilloscope to see the signal.

what should i do to know if the data is sent correctly or not?

This topic has been closed for replies.

2 replies

KnarfB
Super User
April 13, 2022

External USB logic analyzers start at $10. Or you build one using a FTDI chip https://sigrok.org/wiki/FTDI-LA.

You could read the SPI back by using a 2nd SPI port on the MCU. But even then, you cannot tell if the data on the wire is exactly as it should be.

hth

KnarfB

MGara.1
MGara.1Author
Associate
April 13, 2022

thank you knarfB,