Page 1 of 1

Sam3X8E + WM8731, I2C communication error.

Posted: Mon Oct 19, 2015 4:54 am
by Magician
I have an audio module WM8731, configured to 2-wire I2C link. Have a hard time to make it working with my DUE board.
NACK is most common error, sometimes link just hang-up. I tried both available interfaces TW0 and TWI1 , module has on-board pull-ups.
Status register reports arbitr lost on occasions.
Does someone has a recommendation to solve an issue?

PS: AtMega328 able to communicate with the same module via level converters 3.3 / 5V, but not DUE. My impression about I2C on Sam3X8E :evil:

Re: Sam3X8E + WM8731, I2C communication error.

Posted: Thu Oct 22, 2015 1:31 am
by Magician
I find a solution, writing my own software I2C driver. Bit banging, timer driven three state automate.
More info at: ... o-due.html