Categories

Bus Pirate SPI sniffer using RealTerm for highspeed transfer

Posted on Monday, October 26th, 2015 in Bus Pirate by DP

realterm-buspirate-sniff

pyblendnet-js  writes:

The Bus Pirate has at least three other out-of-the-box methods of sniffing SPI data from a Master and Slave communication:
– The Bus Pirate GUI
– Bus Pirate SPI Sniffer Utility
– Third party tools such as the Sump Logic Analyzer Client – an example here.

I believe the fastest of these may be the sniffer utility. I used BusPirate.SPIsniffer.v0.3 application with a version 3.0 Spark Fun Bus Pirate Clone to sniff the SPI data between a microcontroller and a BK2421 tranceiver slave device from an MJX RC helicopter. This was fine to grab the initialisation sequence but the 115200 baud FTDI USB link to the laptop could not keep up long after that. I was able to interpret the hex code grabbed using my own parser – see my GitHub project at ParseSPI.
For higher speed comms, I discovered the solution had been found on this post:Using Bus Pirate with SPI Sniffer. Armed with this, the Bus Pirate SPI API and the Real Term help file, iwas able to develop this small console program in visual basic (VS2010) to automate the process of receiving the sniffed data at 800000 baud.

Via the forum.

This entry was posted on Monday, October 26th, 2015 at 11:54 am and is filed under Bus Pirate. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Paul Robertson: Count me in
  • Chris Jennings: I too like the cold and snow (it means no grass mowing). Now I can focus on fun stuff like hobby boards and woodworking.
  • flubba86: Commenting for fun and profit.
  • Sohan: If wishes were PCBs, beggars would be soldering!
  • Luke: Neat