Jump to content
  • 0

I2C Protocol in WaveForms


CJS

Question

     I'm using an Analog Discovery2 device and WaveForms V3.14.3.  I want to use WaveForms as an I2C slave device and use a microcontroller as the I2C master.  I'm trying to validate that the microcontroller is sending the correct data for various transactions (i.e. read and writes, multi-byte transfers, etc). 

     In the Protocol window, there is a "Master" tab under I2C and also a "Spy" tab.  Neither of these appear to be the correct tab so I assume that I need to use the "Custom" tab and write my scripts.  However, after reading through the help guide under the Protocol section, I don't believe that Protocol supports transactions as an I2C slave device.  It looks like all of the commands are as an I2C master.   Can Protocol behave like an I2C slave device?  What is the best way to approach this?  Should I be using the Logic Analyzer to script this?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...