AnsweredAssumed Answered

Connect adau1701 to Linux Processor

Question asked by Krzyzanowski on Dec 8, 2015
Latest reply on Dec 11, 2015 by DaveThib

Hi,

I am facing issue with getting any response from adau1701.

 

I would like to use I2S port and ALSA to stream music.

But at the begging I have to be able to communicate with ADAU1701. As far as I understand it correctly steps needed:

1. Enable all supplies

2. Enable MCLK

3. Reset (rising edge needed)

4. Set configuration through I2C

5. Communicate via I2S.

 

1. --> So I enable all supplies needed and check with oscilloscope - OK.

2. --> I enable MCLK (26MHz with existing Linux driver, but also checked with external function generator (sinus 11.289MHz both 1.8V and 3.3V))

3. --> And I am preforming reset:

echo 0 > /sys/class/gpio/gpioX/value

sleep 5

echo 1 > /sys/class/gpio/gpioX/value

4. --> Nothing. I can't get any response from ADAU1701. I check with I2C tools:

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00:          -- -- -- -- -- -- -- -- -- -- -- -- --

10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- --

20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

60: -- -- 62 -- -- -- -- -- -- -- -- -- -- -- -- --

70: 70 -- -- -- -- -- -- --


And should get response between 68-6F. (Those 62 and 70 are different device on same bus to check if I2C communication works). I can see that power consume by board rising if I enable clock and have reset high.

System: Linux 3.0.35

Attachments

Outcomes