Author Topic: I2C sniffer  (Read 6013 times)

0 Members and 1 Guest are viewing this topic.

Offline JaneTopic starter

  • Frequent Contributor
  • **
  • Posts: 381
I2C sniffer
« on: August 11, 2015, 08:01:34 pm »
Can anyone recommend a good I2C sniffer?
I have a logic analyzer, but a problem is that it can not capture a long enough time I would need. Is there any way how to capture long enough time period I need?
Thanks

 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: I2C sniffer
« Reply #1 on: August 11, 2015, 08:37:39 pm »
What are you trying to sniff? Are you trying to trigger on a specific data definition?

Bus Pirate maybe?
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline RogerRowland

  • Regular Contributor
  • *
  • Posts: 193
  • Country: gb
    • Personal web site
Re: I2C sniffer
« Reply #2 on: August 12, 2015, 04:42:28 am »
How much do you want to spend? I would say bus pirate too, and will be useful anyway, but if you want to spend more, then something like the Intronix Logicport would be more than enough for your needs - http://www.pctestinstruments.com/
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: I2C sniffer
« Reply #3 on: August 12, 2015, 04:46:28 am »
I have a Saleae Logic.
I find it exceptionally good.
I cannot remember how much it was. Got it a couple of years ago now.
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline TiN

  • Super Contributor
  • ***
  • Posts: 4543
  • Country: ua
    • xDevs.com
Re: I2C sniffer
« Reply #4 on: August 12, 2015, 04:58:56 am »
Or you can setup your LA to store only only edge changes, this way it would not use up memory for all those same-level samples, if your analyzer supports this mode.
YouTube | Metrology IRC Chat room | Let's share T&M documentation? Upload! No upload limits for firmwares, photos, files.
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: I2C sniffer
« Reply #5 on: August 12, 2015, 06:49:45 am »
+1 on Saleae. I used a friends $10 clone and that was so good I am saving up for one.

The originals are very nice, carry bag, clips etc.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline tipofthesowrd

  • Contributor
  • Posts: 23
  • Country: be
Re: I2C sniffer
« Reply #6 on: August 12, 2015, 06:53:48 am »
If this is for a professional environment I'd recommend the Totalphase Beagle
http://www.totalphase.com/products/beagle-i2cspi/

Much more pricey then the other suggestions but the software is excellent and the software and pre & post filtering options are excellent.
 

Offline cyr

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: se
Re: I2C sniffer
« Reply #7 on: August 12, 2015, 07:22:20 am »
+1 for the Beagle, if you have the budget for it.
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: I2C sniffer
« Reply #8 on: August 12, 2015, 07:29:33 am »
+1 for the Beagle, if you have the budget for it.

Just interested...
What makes the Beagle so much better than the Saleae?
Saleae has excellent software and can do multiple protocols...
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline tipofthesowrd

  • Contributor
  • Posts: 23
  • Country: be
Re: I2C sniffer
« Reply #9 on: August 12, 2015, 08:34:29 am »

Just interested...
What makes the Beagle so much better than the Saleae?
Saleae has excellent software and can do multiple protocols...


The Beagle is much more of a I2C/SPI protocol analyzer then the Saleae (which is more a generic logic analyzer).
The main view for example of the Beagle is based on listing all the transactions with their data, valid ACK, timing details etc. You could view the timing diagram if a single transaction if you wanted. For example if you're debugging a complex i2c device (say a DVB decoder or audio processing peripheral) you can easily spot a faulty transaction and capture the commands proceeding it etc.
You 'capture' i2c packets, not generic bit data.

The main screen of the Saleae on the other hand is that of a simple logic analyzer. Which does the protocol analyzing as a pure post processing step.
 

Offline cyr

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: se
Re: I2C sniffer
« Reply #10 on: August 12, 2015, 08:55:16 am »
+1 for the Beagle, if you have the budget for it.

Just interested...
What makes the Beagle so much better than the Saleae?
Saleae has excellent software and can do multiple protocols...

I have not used the Saleae, but from what I understand it's like any logic analyzer with a basic protocol decoder.

The beagle is a special purpose tool that allows you to very easily filter, and search through gigs of captured traffic for specific conditions like "any write to slave 0x48 of no more than 12 bytes, containing the data 0xAA, that took more than 100ms to complete".

Great debugging tool.
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: I2C sniffer
« Reply #11 on: August 12, 2015, 09:43:36 am »
I have not used the Saleae, but from what I understand it's like any logic analyzer with a basic protocol decoder.

The good thing about the Saleae is that the capture length is limited to available hard disk space, and it does all the decoding on the PC. You can literally capture days worth of data if you have and then review it looking for that once-a-day glitch.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: I2C sniffer
« Reply #12 on: August 12, 2015, 10:27:56 am »
@tipofthesowrd and @cyr...
Thanks for the response.
I have only ever had the need to analyse the stream after the event.
As @hamster_nz says, the software is fantastic for storage depth and the ability to analyse vast quantities of logged data.
Of course, a reasonably powerful PC assists this process...
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: I2C sniffer
« Reply #13 on: August 13, 2015, 10:31:10 pm »
If this is for a professional environment I'd recommend the Totalphase Beagle
http://www.totalphase.com/products/beagle-i2cspi/

Much more pricey then the other suggestions but the software is excellent and the software and pre & post filtering options are excellent.

I think I will get on of these to replace my Saleae. The Saleae is a decent little box for capture, but the software is very basic. There is no way to filter in real time of trigger of of a defined data event. In my applications, I need to monitor for various errors or alarms over long periods of time  and the Saleae system is not able to help me there.

For $330, the Beagle seems to be a serious bargain.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf