Hi @attila,
For a bit of additional background - I'm running Waveforms as a Master and talking to an ATtiny85 microcontroller.
Here's a screenshot of Waveforms v3.18.59:
I've programmed my slave device to return it's address (h62), followed by a count that increments each read, followed by four zeros.
Here's a modified version of the Digital_I2c.py example that has been tweaked to connect to different pins and to set an analog IO voltage output of 3.3V:
Digital_I2c.py
The output of this script when using the v3.18.59 SDK looks like this:
PS C:\AnalogDiscovery> python .\Digital_I2c.py
Opening first device
Configuring power...
Configuring I2C...
Separate Write and Read:
[98, 79, 0, 0, 0, 0]
[98, 80, 0, 0, 0, 0]
[98, 81, 0, 0, 0, 0]
[98, 82, 0, 0, 0, 0]
[98, 83, 0, 0, 0, 0]
As you can see, it's working as expected.
Then I upgraded to Waveforms v3.20.1. Again, using the Waveforms software works as expected:
However, running the same attached script with SDK v3.20.1 gives me garbage:
PS C:\AnalogDiscovery> python .\Digital_I2c.py
Opening first device
Configuring power...
Configuring I2C...
Separate Write and Read:
NAK 5
[102, 60, 24, 103, 204, 0]
NAK 5
[102, 60, 48, 103, 240, 0]
NAK 5
[204, 120, 48, 207, 248, 0]
NAK 13
[204, 120, 48, 120, 0, 0]
[102, 60, 24, 60, 6, 0]
Thanks so much for your help, and let me know if you need any more details.