ΣSigmaStudio Ask AI Русский Log in

adau1701 no i2c signal in selfboot

SigmaDSP & SigmaStudio Jaroon Jul 23, 2013 00:00 10 replies Original on forum ↗
Subscribe
Jaroon Question
Jul 23, 2013 00:00

dear madam, sir,

I'm new to this forum and I have a question.

I've designed test board with the adau1701 dsp with the intention to use it in selfboot mode. I based this design on the selfboot design in the datasheet.

The gpio's and I2C are all brought to headers and all the filters and oscillator are onboard. The selfboot pin and the /reset are pulled up with a 10K resistor, the I2C wires are pulled up with 2k2 resistors.

I copied an eeprom from a working (commercial) board from which I want to boot, I2C addresses are the same.

When I start the board with selfboot and WP high there is no I2C signal at all apart from the 3.3v pull-up (checked it with a data logger), i can imagine that using eeprom data from another board is little to easy, but was expecting at least a little communication but the I2C lines are completely dead.

I've checked the oscillator with an oscilloscope, this runs fine (12.228Mhz, 2v pp), all voltages are according to specs. When the board is reset it draws about 70mA after reset it draws around 100mA. I've checked all pins and connection (many times) they all work, all gpio's measure 3.3V.

Then I changed the chip for a new one, this one had the same problems.

Now I'm afraid that I might have fried both chips with my hot air tool (max 265c), is this possible? I never had any problems with it before.

Or could it be that I am missing something obvious, or maybe my whole set-up/idea is wrong?

I don't have a way to connect the board to Sigmastudio.

I understand that these questions are somewhat hard to answer without having the board at hand, but I hope you can help me.

Kind regards,

Jeroen

Audio Signal Processors

i2c

SigmaDSP Audio Processors

adau1701

Jaroon Reply
Jul 24, 2013 00:00

A follow-up,

today I received a fresh adau1701.

I cleaned all traces and soldered the ic the old fashion way. Then I checked every pin for connection and shorts, this was all good. After that I turned the board on checked the oscillator and supply voltages, these were all good too. But still no traffic on the I2C port. Now I'm pretty sure the ic is not fried caused by overheating.

I have now a concrete questions:

Is it possible to boot a new clean adau1701 in selfboot mode, without configuring it in sigmastudio?

Should the I2C port show any sign of life in selfboot mode, even if the configuration is wrong?

Do any of you have an idea what I'm doing wrong?

kind regards,

Jeroen

ColemanR Reply
Jul 29, 2013 00:00

Hi,

Your schematic looks OK. With regards to your question about booting a new, clean eval board: the ADAU1701 would just sit idle in its default state until it receives a program, either from SigmaStudio or the EEPROM. When you copied the EEPROM from the other board, did you erase the new EEPROM before stuffing the code? The code in the source EEPROM might be protected, not allowing you to copy the code directly.

I would recommend that you purchase an EVAL-ADAU1701MINIZ. You will be able to see the part working in a known good hardware environment, and also you will be able to study the selfboot protocol. These boards are available from one of our distributors.

Best regards,
Coleman

Jaroon Reply
Jul 31, 2013 00:00

Hello Coleman,

Thank you for your reply and taking the time to check the schematic.

I am not a very experienced engineer with I2C and DSP, so I wanted something that was not to expensive and would work for sure (based on other people's knowledge), this would allow me to ease into the DSP world.

I did not erase the EEPROM because it was a brand new one of the same type as the original, could this make a difference?

I was expecting that since the adau1701 is I2C master in selfboot mode that it would at least try to communicate on the I2C bus to the EEPROM, even if the config files on the EEPROM are not correct, but there is no communication on the I2C bus whatsoever, is this normal behaviour?

I've got the system working by "loaning" another systems PIC configuration in which the adua1701 is in slave mode, now I know that the system is working. This system has the drawback of having a fixed configuration, in the future I want to be able to make a configuration with Sigmastudio, I've got many ideas I want to try.

Can I only use the USBi to test the system live with Sigmastudio on a 64bit win7 pc?

Best regards,

Jeroen

ADIApproved Reply
Jul 31, 2013 00:00

Hello Jeroen,

The EVAL-ADUSB2EBZ (USBi) is currently the only supported way of programming the SigmaDSP or EEPROM. It's very difficult for us to offer support with device programming if you don't have a USBi.

If the selfboot pin is pulled high and you have a valid EEPROM image, the device should attempt to selfboot.

Jaroon Reply
Jul 31, 2013 00:00

Hello Brett, Coleman,

I have ordered a EVAL-ADUSB2EBZ .

I still find it curious that I cannot detect any I2C signal on the I2C bus in selfboot mode with my oscilloscope, but maybe when I make a proper design with sigmastudio and the USBi this will resolve itself.

Since my board is running in a different configuration, I hope that buying the USBi is enough to keep me experimenting with the DSP, I find the EVAL-ADAU1701MINIZ a bit expensive.

Are there any Sigmastudio example designs which I can use as a reference?

Thanks,

Jeroen

ColemanR Reply
Aug 1, 2013 00:00

Hi Jeroen,

Here are a few links that you might find helpful:

https://www.analog.com/static/imported-files/application_notes/AN-923.pdf

https://wiki.analog.com/resources/tools-software/sigmastudio

https://form.analog.com/Form_Pages/sigmastudio/SSDownLoad.aspx

I would suggest sending an email to sigmadsp@analog.com to get a SigmaStudio download key.

Best regards,
Coleman

ADIApproved Reply
Aug 1, 2013 00:00

Hi Coleman,

There's no need now to send an email, because a key is no longer necessary.

To download the software...

• Log in to the Analog Devices website ( http://www.analog.com ) using your myAnalog account.

• Go here: http://www.analog.com/en/dsp-software/ss_sigst_02/sw.html

• Click “Download the latest SigmaStudio release” or "Download the latest SiggmaStudio beta release," selecting the right OS version.

(Here is what it looks like on the website)

• Fill in the Software download form.

• Under “Target Hardware”, select “Other” and then type “SigmaDSP” in the text box that appears below it.

• Click submit.

• You should then be able to download the software.

Jaroon Reply
Aug 1, 2013 00:00

Hi Brett, Coleman,

I have Sigmastudio already up and running and I'm looking forward to the possibilities it offers.

I am already impressed with the sound quality of my current set-up.

I would thank you both for taking the time to answer my questions and when I have any more questions I will start a new thread.

best regards,

Jeroen

Jaroon Reply
Aug 4, 2013 00:00

Hello,

One last reply, just to tie things up.

Everything is running smoothly now. After some struggles it appears the eeprom was broken, without Sigmastudio and the USBi I would never have found it.

I noticed there was no feedback from the eeprom to Sigmastudio at all. I changed the eeprom and everything worked immediately.

One last thing I noticed. When the USBi is connected to the circuit but isn't powered, the selfboot function also doesn't work, hope this might save someone some time in bug tracing .

regards,

Jeroen

ADIApproved Reply
Aug 5, 2013 00:00

Jaroon wrote:

One last thing I noticed. When the USBi is connected to the circuit but isn't powered, the selfboot function also doesn't work, hope this might save someone some time in bug tracing .

Thanks for reporting this. The reason that an unpowered USBi on the I2C bus will prevent self-boot from working is that the Cypress IC appears to pull the I2C lines when it is powered off. You need to either power the USBi or remove it from the circuit when using self-boot.