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

ADAU1401 register readback

SigmaDSP & SigmaStudio -RDTP- Oct 17, 2020 00:00 1 replies Original on forum ↗
Subscribe
-RDTP- Question
Oct 17, 2020 00:00

Hi,

I want to read a value using the readback function in SigmaStudio using a microcontroller connected to the I2C bus.

For testing purpose I have connected a DC value to the readback module.

When I press the READ button the module correctly shows the DC input level. But when I manually read the register using the Read/Write tool in SigmaStudio I get a wrong and random value.

I entered the same values shown in the output window when I pres the Read button.

What could go wrong?

Audio Signal Processors

adau1401

SigmaDSP Audio Processors

SigmaReadback.jpg
SigmaReadback.jpg
DaveThib Reply
Oct 26, 2020 00:00

Hello RDTP,

This is somewhat of a complicated explanation. In the datasheet you can look up the details about the Data Capture Registers. This early SigmaDSP core has a complicated way to perform a readback. We simplified it on the newer DSP cores. Here is an explanation:

https://ez.analog.com/dsp/sigmadsp/w/documents/5171/using-hardware-data-capture-trap-registers-with-the-dsp-readback-cell-ad1940-adau1701

Let me know if you have more questions.

Dave T