Jump to content
  • 0

I2C Issue with filtering Pins on Digital Discovery 2


Stanko

Question

6 answers to this question

Recommended Posts

  • 0

hi @attila,

thanks for the insight. The labels and how they relate to the indexing is a bit confusing.

however i still get a NAK error. When i communicate over the GUI everything is fine. 

GUI:
image.png.5c69e88b4dd3838dedf290a07d90a52d.png

trying to do the same with python I am getting  a NAK error

image.png.3eb3fb13b49cfe643a3c90448d0fbd8a.png

image.png.7e5e5b852572cb0975ea96c8047ea055.png

Is there a way, maybe through some logger to read back the set settings and on which GPIO actually is sent what.

In the gui I am seeing the full message sent...

Edited by Stanko
Link to comment
Share on other sites

  • 0

hi @attila,

Thank you, issue is resolved. I had to shift the 7bit address 1 bit to the left '0x28 <<1' for the write operation. Now it is working.

A debugging feature, like a logger. which displayes the raw messages sent would be nice to have. Do you have something like this, which i could use for the future?
Similar like we see this in the gui:

image.png.2f44787d74066f34c7cb0e0f10cdb720.png

Link to comment
Share on other sites

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...