cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the state of an output pin?

MGara.1
Associate

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 discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
KnarfB
Super User

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
Associate

thank you knarfB,