Jump to content
  • 0

I2C together with digital io


Memtronic

Question

I am using an Analog Discovery 2 and the SDK with Python. I am trying to communicate via I2C (AD2 as master) and also control some digital outputs. The I2C communication seems to stop working when I set the another pin in the interface as output using FDwfDigitalIOOutputEnableSet. I do realise that the pin I use for DO must be masked with logic one in the FDwfDigitalIOOutputEnableSet function call and the bits used for I2C as zero. What have I missed?

 

Link to comment
Share on other sites

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