ADAU1701
Hi,everyone.
I want to read the real data from one point of the Design. As for this question, I use a MCU like Stm32 which is to communciate with ADAU1701 by SPI . Simply ,I design a Lock in amplifier in my design in Sigmastudio, and I want to get the output data of the Lock in amplifier in digital form. Is it Ok to get the digital data by SPI and read by MCU? I want to send a command with address to read the output data by SPI?
Audio Signal Processors
SigmaDSP Audio Processors
adau1701
Hello,
Your MCU may read any memory address in the ADAU1701, including the output of a software lock-in amplifier.
However, if your application requires full audio bandwidth and MCU synchronization with the ADAU1701, you will need to account for this somehow outside of SPI.
If there is no I2S interface for your MCU, you might consider using an LRCLK signal from the DSP as a trigger for the MCU's SPI transactions.
When it comes to writing the MCU code, please reference this page: https://wiki.analog.com/resources/tools-software/sigmastudio/tutorials/microcontroller
Does this answer your question?
Regards,
Joshua
Hello yangkun1,
I want to add to what Joshua had to say. You mentioned reading from one point in the design. To do this you place a ReadBack block in your design to read the data at that point of your signal flow. In our newer SigmaDSPs this is easily done by just finding the address in memory of the ReadBack and you read the memory location. In the ADU1701 it is not that simple. I detailed it in this post:
(+) ADAU1701 how to use the data capture registers - Q&A - SigmaDSP Processors and SigmaStudio Development Tool - EngineerZone (analog.com)
Then I need to back up what Joshua said that you cannot read data very quickly using SPI. The meters we use in SigmaStudio read the values every 10ms. Clearly not every sample. The meters use an envelope generator or other means to keep a running value of what the level has been for the past 10ms. So it is not full bandwidth 48kHz audio. It is a filtered slow moving data.
You also mentioned "Lock In" in your question. I do not understand what you mean. Is this a logic signal where it is locked or not?
So what are the details of the signals that you are actually reading?
Dave T
Please log in to reply.