• 0
jma_1

Analog Discovery 2 - multiple functions simultaneous?

Question

Greetings,

I am having difficulty using both the protocol or script and logic instruments.  When I start logic, it stops immediately when I exercise the read/write on I2C Master Protocol.  The same behavior happens with a quick script I have for writing and reading I2C.  However, when I use the scope, I can capture the signals at the same time.  I'm using DIO 7 & 15 for the logic and DIO 0 & 1 for I2C protocol.  Any suggestions?  Thank you.

 

Cheers,
JMA

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi @jma_1

See the help of the application:
The Protocol interface uses the device Digital Pattern Generator and Logic Analyzer resources to transfer data using UART, SPI, and I2C protocols.
When the Debug option is enabled, the Logic Analyzer can be used to investigate the signals. In this case, the Protocol instrument will not receive data, it will only send data.

Share this post


Link to post
Share on other sites
  • 0

Hi @jma_1

The "Debug" mode is in the upper right corner of the Protocol window.
In case you need DIO lines for other purposes, uncheck the Clock stretching since this option would use by default DIO 0-9 on Analog Discovery.

image.thumb.png.c6e6b27dac9736fa8b640e661fe7e2fc.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.