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

sine source not working when flashing the ADAU1701 over I²C

SigmaDSP & SigmaStudio Luk_Hof Dec 10, 2019 00:00 2 replies Original on forum ↗
Subscribe
Luk_Hof Question
Dec 10, 2019 00:00

Hello,

I'm working on a project where i control an ADAU1701 with an ATMEGA328 via I²C.
Everything in the DSP is working fine, except a signal generator.

I use a sine source and when I'm linking the Project with SigmaStudio everything is working properly, but if i write the firmware via
I²C the sine source is not working. I observed the I²C bus with a logic analyzer, the firmware is transmitted properly, it is the same as from SigmaStudio
(i compared byte by byte).

Then I created a blank project with a sine source connected to the DAC0 and a connection from ADC0 to DAC1. The sine source is working
when linking with SigmaStudio, it's not working when using the ATMEGA, but i can hear the sound from ADC0 at DAC1, so the ADAU1701
is running (like i mentioned earlier everything else is working fine).

I used every signal source in SigmaStudio and none worked when flashing the firmware with the ATMEGA. I also tried with
an ESP32, still no luck.

I doubble checked evey register, setting, I²C transmission...

I appreciate every help or hint...

Audio Signal Processors

SigmaDSP Audio Processors

adau1701

Luk_Hof Reply
Dec 10, 2019 00:00

I have found the problem myself.

I have accidently written in the core register (0x081C) bytewise, but it is a word length...

DaveThib Reply
Dec 12, 2019 00:00

Good find!

Sorry I was not able to help sooner.

Dave T