I've been asked if it's possible to write some code to decode I2C and similar serial protocol signals. Of course, I assume it is. Here's the task (let's assume the task is to decode some I2C data):
I'll be given two sampled waveforms that represent the transitions on the data and clock lines of an I2C connection (think of them as some deep scope or logic analyzer traces). I need to decode that data into the stream of information it represents.
My preference would be to find a chunk of open source software that already does this. The next preference would be to purchase a library to do such a task. My last preference is to write my own code to do this (even though I'd probably get paid to do this), mainly because I think it would be silly to write something that has probably been implemented many times already.
I have no experience with this stuff. Can anyone recommend some software tools to help with this task?
I'll be given two sampled waveforms that represent the transitions on the data and clock lines of an I2C connection (think of them as some deep scope or logic analyzer traces). I need to decode that data into the stream of information it represents.
My preference would be to find a chunk of open source software that already does this. The next preference would be to purchase a library to do such a task. My last preference is to write my own code to do this (even though I'd probably get paid to do this), mainly because I think it would be silly to write something that has probably been implemented many times already.
I have no experience with this stuff. Can anyone recommend some software tools to help with this task?