ADAU1787
Recommended for New Designs
The ADAU1787 is a codec with four inputs and two outputs that incorporates two digital signal processors (DSPs). The path from the analog input to the...
Datasheet
ADAU1787 on Analog.com
Hello Roi,
You have to switch the USBi to 1.8V or you risk damaging the board. There are resistors in series so it will tolerate it for a little while.
I took a screenshot of your picture to show you where the switch is. I can see it is not changed because the tape covering it up is still there. The tape is so that the switch will survive when the PCB is cleaned with water.
Dave T
Hi Dave,
Thanks for the information.
I've taken off the tape, incidentally the switch appeared to have already been on 1.8v.
In any case i tried again the link-compile-download button, doesn't seem to be any change.
here's my schematic:
And here's my power control view:
Any more ideas to try?
Hi Dave,
Thanks for the information.
I've taken off the tape, incidentally the switch appeared to have already been on 1.8v.
In any case i tried again the link-compile-download button, doesn't seem to be any change.
here's my schematic:
And here's my power control view:
Any more ideas to try?
Hello Roi,
Can you attach your project?
Thanks
Dave T
Hi Dave,
this is a link to my project: my current sigma project
As an update, I've been successful in compiling and downloading the project, it appears that the board I was working with was not working properly (tried a new one), in addition it seems that adding a jumper to the place marked in red in the picture was necessary.
I still don't hear anything on the earplugs.
Please also take into consideration that eventually when using the actual board in our device, i will have two input flows and one output,
the first input flow will be an i2s input, the second one I'm not sure yet what type of input will be, and the output will probably by an analog loudspeaker.
I'd really like to be able to make this work, along with understanding how to configure the inputs and outputs.
I will also need a little further down the road two more "features", one is to be able to disable/enable each of the input flows separately and the other is to be able to add noise cancellation.
Any help will be much appreciated.
Thanks.
Hello robiren,
Thanks for the project.
I am going to write a somewhat stream of consciousness post here detailing what I am doing to get this to work.
The first I want to say is that you have a powerful troubleshooting tool at your fingertips. It is called sigmaStudio.
The project you shared is just like the picture you posted earlier which is just the input block from the ADCs to the DAC outputs.
Loaded up your project. Connected the Audio Precision and I hear audio just fine.
Well, the first you should do is split this problem in two. Is the audio getting into the DSP core? So I added meters so I could see if the signal was getting to the core to determine is the problem is going in or going out?
This is what I did:
Low and behold, I have audio getting into the core! I am sending in a -10dBV signal and it is reading a level of -9dB in the core. So no need to look at the input side.
Then to test the other half you can also do this:
Note the readback and DC cell for testing comms between the board and SigmaStudio.
I do not know if you have found my YouTube channel but I have a video about troubleshooting using SigmaStudio:
I will attach the multiple pictures of my eval board that is working.
This is what I was asking for.
Have a look and compare to your board and hopefully you can find the issue.
Dave T
Hi Dave,
I've just been watching your video.
I've tried adding the meters as requested to see if anything is coming in from the microphone, and for now it doesn't look like it, but I'm not clear why.
I've tried the microphone on my laptop directly and it works (same goes for the earphones).
here are the pictures of my current setup:
As you can see the meter seems to see -96dB, speaking into the mic doesn't seem to have any effect.
I did notice that after compilation the value is around -50db, and it goes down to around -96 after pressing the reset button on the board, however speaking into the mic before or after the reset doesn't seem to change the values.
Since this part doesn't seem to work yet, I didn't see a point to go further yet.
I'm attaching the other pictures i have of the board and the mic and the earphones.
do you see any reason for not seeing any change in the input flows?
Hello robiren,
Thanks for the pictures.
The microphone you are using is probably the issue. I am guessing it has a TRRS jack and requires power. Since there are different ways microphones in the market are wired and powered we do not have an input for an actual mic with a TRRS jack. Your computer does. Anyhow, you will have to build an adapter cable of some sort.
For now, take a standard 3.5mm TRS male to TRS male and plug it into the line output of your laptop. Then play a sound file from somewhere. Then see if you get audio through the board.
The line output of the laptop will be correctly wired for the AIN2/3 input on the eval board.
So all you need is a standard 3.5mm male to male cable.
See how that goes.
Dave T
Hi Dave,
I got me a TRS 3.5mm male to male cable, as you recommended, and presto i have sound!
So thank you very much for that.
Now, I need to move along to the next step of the process.
Since in reality the input will not come from a microphone or my laptop, but rather from an mcu board with an i2s output, I'd like to know how to configure sigma studio for such an input.
thanks in advance,
Roi
Hello robrien,
Great. Glad you got it working.
Here is a project that takes the audio from serial port 0.
Dave T