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

How to read status of Singal Detection by Safeload on ADAU1451?

SigmaDSP & SigmaStudio j.chen@sounddimension.se Jul 3, 2015 00:00 8 replies Original on forum ↗
Subscribe
j.chen@sounddimension.se Question
Jul 3, 2015 00:00

Hello Everyone,

Is there everyone knows how to read status of singal detection by Safeload on ADAU1451?

I have used on ADAU1701 but that is HW safeload.

Jason

Audio Signal Processors

adau1451

SigmaDSP Audio Processors

adau1701

KJBob Reply
Jul 5, 2015 00:00

Hello Jason,

You can connect a DSP Readback to the Signal Detect output and read from there. With your target hardware connected, pressing the Readback's Read button displays the appropriate address in the Capture Window:

When I tried this, pressing the Read button many times did not cause any audible disturbance. The I2C Read procedure is described on Page 37 of the ADAU1452 Data Sheet.

Best regards,

Bob

83f8ff5762721dad2a5c1e6b4d8a20c3.png
83f8ff5762721dad2a5c1e6b4d8a20c3.png
83f8ff5762721dad2a5c1e6b4d8a20c3.png-576x343.png
83f8ff5762721dad2a5c1e6b4d8a20c3.png-576x343.png
j.chen@sounddimension.se Reply
Jul 6, 2015 00:00

Hello Bob,

This portion has been tested. Is it able to read b Safeload too? Can you descripte if

it is avaiable? We would like to read some Filter too.

KJBob Reply
Jul 6, 2015 00:00

Hello Jason,

I'm not able to test reading a ADAU1451 filter since my prototype hardware uses a ADAU1701, and though I do have a ADAU1452MINIZ board, I can only interface it with SigmaStudio. Perhaps another member with ADAU145x experience could answer for you. In the meantime, you could experiment with an ordinary block read of a filter's contents, while testing to see if such a read causes any audible artifacts.

Because all the filter coefficients come from your system microcontroller (either at the initial program load or via I2C/SPI), your microcontroller already "knows" what's in the filters. It may be simpler to keep the coefficients in the uC's memory in parallel with what's in the DSP. Whenever the end user adjusts EQ (etc), your uC would calculate the new coefficients, refresh its own memory, then safeload to the DSP. This way, there's never a need to read from a filter.

Best regards,

Bob

j.chen@sounddimension.se Reply
Jul 7, 2015 00:00

Is there anyone can have 145X EVB can test and tell m?

ADIApproved Reply
Jul 8, 2015 00:00

Hi Jason:

You don't use safeload to read. Safeload is meant for writing multiple values, usually related to filters but sometimes used for compressors......

To read a value, simply read from the direct memory location.

Yes, this is different from the 1701 since the 1701 core didn't allow direct memory reads. Starting with the 1761,1781,144x and 145x, you can simply read from memory directly.

Does this makes sense?

Miguel

j.chen@sounddimension.se Reply
Jul 8, 2015 00:00

Hello Miguel,

I got this point if u say different btw 1701. then I got it.

However, where can I get address of Signal Detetor becasue it doens't show in capture window of SS.

Should I look log file as saftload address shows one?

ADIApproved Reply
Jul 8, 2015 00:00

HI Jason:

Corrected the logged files should contain the address that you are looking for. These files are written after the compilation process.

Miguel

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