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

ADAU1761 Program load problem

SigmaDSP & SigmaStudio winix Apr 22, 2015 00:00 2 replies Original on forum ↗
Subscribe
winix Question
Apr 22, 2015 00:00

Hi all, I run into a situation when doing system implementation to load the program code and other registers from the MCU, however, because of some stupid constraints in the MCU, I had to load the program code in segments using I2C, meaning 0x0800-0x083F, then 0x0840-0x087F etc, and the program would not work (no pure tone from the output viewed on the scope).

I then made another system with different MCU which I could load the program in one go, and it works! However, because of the requirements, I had to go back to the old MCU, so the problem still exists.

Here are the things I tried:

1. Checked using an logic analyser to look at the packets of I2C, no difference except the extra segments with the reg address of 0x0840 etc.

2. Put in the DSPEN and DSPRUN to stop the DSP before loading the program data.

Extra note:

1. The working setup uses 3.3v on analog, digital IO and crystal (ASFL1-12.88MHz)

2. The not working and load by segment system uses 3.3v on analog, and 1.8v for digital IO and crystal (same crystal)

3. Both systems can get the PLL lock, and respond to I2C reads on registers.

If anyone can point me to a direction which I can investigate, it would be great help. Has been 2 weeks without good sleep

Audio Signal Processors

SigmaDSP Audio Processors

adau1761

DaveThib Reply
May 27, 2015 00:00

Hello Andy,

Have a look at this thread. this may shed some light.

Anyway to download program to ADAU1761 with small-RAM size micro controller?

So how much of your program is working? You said you can get PLL lock. Are you getting any output?

So after you have programed the part try to read back the register settings and see if those are still good?

Thanks,

Dave T

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin