SPI sniffer?
T Chap
Posts: 4,223
I want to see what some data is doing on a third party device. If I solder some leads to the device and then connect them to a Prop, is there an object that is already suited to reading what is received and display it on a terminal? I am new to SPI and not too familiar with what is available. I assumed that the wires could be swapped from the devices data in/data out to see what is happening in each direction as separate views, or maybe even have a second cog running with the device data in on one cog, the devices data out on another? This way there could be markers for each in the terminal display.
Comments
You might look at Hanno's Viewport which can act as a logic analyzer to show you the data on the SPI signal lines. It's got a 30-day free trial and is worth every penny of the $29 cost for a license.
All these extras tack time though. I usually strip them out when I want a faster SPI object.
I have one of these and it's great. You tell the analyzer what SPI rules you want to apply and it displays the data along with the logic display. It's a huge time saver when debugging SPI devices.
I'll put up a screen shot next time I use mine. (Probably later today.)