Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

Re: Re: Re: ADAU1701 and Arduino

$
0
0

Hello Kal, thank you for your help !

 

Unfortunately it still doesnt work. I would like to show you guys my pin config:

 

Ardu_DSP.jpg

So what I am doing all the time is:

1. Programm a DSP-Project (.hex) File to the EEProm

    - I am doing this with an .ino file you can see in the attachment

    - You can program then the EEProm of the DSP via a Program called "Tera Term"

    - Everything works fine so far. The DSP-Project is running

2. Now I load another .ino to the Arduino, e.g. Kal´s Code

     - With the wire.h you have SDA=Pin 4 and SCL=Pin 5 at the arduino and I connected it also this way ("Direct Communication")   

     - according to the schematic of the DSP the two SDA and SCL Pins I am using (EEProm and Direct) are the same (although two      different connectors K9 and K10)

3. After i loaded the code to the arduino, the DSP doesnt run the Project anymore

 

I checked the Levels of the pins and these are my results:

  • if I programmed either the file for the EEProm, or the file for the direct communication to the arduino (so in both cases!!) and I disconnected the connectors, the levels of the DSP were:

SDA: 2.3V

SCL: 2.3V

WP: 2.3V

RST: 1.5V

  • when the Arduino is programmed with the file for the EEProm (DSP worked properly) and I disconnected the connectors and checked the levels of the pins of the Arduino the results were:

SDA: HIGH

SCL: HIGH

WP: HIGH

RST: HIGH

(HIGH ~ 4.8V)

  • when the Arduino is programmed with the file for the direct communication and I disconnect the connectors and checked the levels of the two Arduino pins:

SDA: HIGH and I can see data every 3 seconds (with Kal´s Code)

SCL: HIGH and I can see that the clock comes, everytime when data comes

 

But when they are connected to the DSP nothing happens at all.

 

What am I doing wrong ??


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>