I2C/SPI interface tool, bus-pirate or something else - Page 1
Forum section: electronics / general

author: prutser
author_rank: Regular Contributor
timestamp: June 27, 2023, 06:07:14 am
content: I am looking into buying a test tool to be used mainly for I2C/SPI interfacing from PC (Both Windows/Linux).It seems Bus-pirate is still the most common one, although it looks a bit outdated. GreatFET looked nice, but seems obsolete.Bus-PirateShikra.GoodFET.GreatFET.Any opinions/suggestions/experiences ?

author: tai
author_rank: Contributor
timestamp: June 29, 2023, 01:30:10 am
content: Cheaper alternative would be a FT2232* modules (usually sold as simple breakout module or JTAG adapter) as it can be just repurposed as SPI/I2C/JTAG/GPIO/UART adapter. You can also expect great driver/library support across all OSs for foreseeable future.Products based on a microcontroller or FPGA/CPLD are capable of firmware upgrades, may have additional features, maybe faster (for protocols like I2C), and usually comes with good level shifter frontend to support IO below 3.3V. But if you work with usual 3.3-5V logic only, it would be a good alternative.

author: tai
author_rank: Contributor
timestamp: June 29, 2023, 01:33:45 am
content: Here's a good comparison chart from Tigard project.https://www.crowdsupply.com/securinghw/tigardTigard itself seems to be a decent FT2232H-based interface module that worth consideration.

author: Faranight
author_rank: Unknown
timestamp: June 30, 2023, 08:51:50 am
content: So, what happened to Bus Pirate? Seemed like a nice gadget, but then development stopped all the sudden.

author: prutser
author_rank: Regular Contributor
timestamp: June 30, 2023, 07:00:13 pm
content: QuoteThat was what I noticed as well, hence my question. I have seen a newer version once, but I think it wasn't a big success.

author: prutser
author_rank: Regular Contributor
timestamp: June 30, 2023, 07:03:24 pm
content: @tai Thanks for the link.Tigard itself seems a nice alternative. And the advantage is indeed that the FTDI MPSSE is quite standard. Probably I will order one.

author: RAPo
author_rank: Super Contributor
timestamp: June 30, 2023, 07:05:37 pm
content: Wouldthissuffice?

author: Electro Fan
author_rank: Super Contributor
timestamp: July 01, 2023, 03:33:25 am
content: It’s been a long time since I tried the Bus Pirate but at the time the software interface seemed pretty basic/primitive.Depends on what you are going to use it for. If it happens to be as a logic analyzer you might want to look for devices that work with PulseView.https://openhub.net/p/pulseviewhttps://sigrok.org/wiki/PulseView

author: zapta
author_rank: Super Contributor
timestamp: November 26, 2023, 04:50:21 am
content: For I2C there is thishttps://www.adafruit.com/product/4267and thishttps://www.adafruit.com/product/4970They communicate with the host over a USB serial port and thus doesn't require any additional drivers to install.

author: Nominal Animal
author_rank: Super Contributor
timestamp: November 26, 2023, 09:32:00 pm
content: I tend to just use myTeensy 4.0with a custom interface using USB Serial (well over 200 Mbit/s sustained data rate) and voltage level translators (TXU0202 or TXU0204 for UART, TXU0304 for SPI) or digital isolators (ISO1640for I2C,ISO6721for UART,ISO7741for SPI). They're cheap, easily available at Mouser, and lets me not worry about ground loops or power supply issues.The standard Teensyduino USB configurations include dual and triple USB Serial, so I can trivially use three completely separate buses on a single Teensy. If I need more, I use a simple multiplexing and escaping scheme. As Teensy 4.x are high-speed USB devices, the bandwidth is sufficient even for display modules. Only the actual data transfer code needs to be written, as the USB details are handled by the Teensyduino add-on based on menu selection. It is useful to implement any time-sensitive stuff and initialization directly on the microcontroller, however. One particularly useful detail is that when using USB Serial endpoints, one can detect on Teensy whether an application has opened the serial device or not, simply by checking if the device object (Serialfor main USB serial) evaluates to True or False. I find cobbling together quick tools dedicated for the task at hand more suitable to my mindset than reaching for a professional tool I use at most once a month.I do have a very cheap Cypress FX2LAFW logic analyzer I occasionally use (with Sigrok PulseView). For example, if I want to just peek at I²C traffic, it's easier than using an I²C peripheral on a MCU. For UART traffic, it makes it easy to discover the exact format and baud rate.

author: RAPo
author_rank: Super Contributor
timestamp: March 18, 2024, 03:57:43 pm
content: Version 5is out now.I really like it.Quote from: prutser on June 30, 2023, 07:00:13 pm

author: thm_w
author_rank: Super Contributor
timestamp: March 18, 2024, 09:18:45 pm
content: Looks good:- Voltage measure every pin (unsure of sample rate)Supply with:- Current sense- 1-5V output- 0-500mA limit

author: BennoG
author_rank: Frequent Contributor
timestamp: March 19, 2024, 12:30:04 pm
content: I have the V5 in back order at dirty pcb.If I have time and think of it will post some photo's and tests when it arrives.Benno

author: RAPo
author_rank: Super Contributor
timestamp: March 19, 2024, 04:04:25 pm
content: Just to tease you:It is fivebyRense Posthumus, on Flickr.Quote from: BennoG on March 19, 2024, 12:30:04 pm