External delay in ADAU1452
Hello,
I use Microchip SRAM 23LC1024 with ADAU1452. Now I have got a problem that when I use more than one external delay modules, an assembler error will come out. It's quite necessary for me to use two or more external delay modules. Is that not allowed? Could you help me? Thanks a lot!
Audio Signal Processors
adau1452
SigmaDSP Audio Processors
Hi Stephan,
Unfortunately, it seems that we only support 1 external device with the cell.
From what I understand, only one I2C/SPI master port operation can be active at a time, and the master port operations cannot be scheduled or initiated until any pending operation is complete (i.e, the SPI Master Port register's DONE bit set to '1', which indicates a read or write operation has completed).
-JT
Hi John,
Thanks for your help. I'd like to know if I can use 2 or more external delay modules with only 1 23LC1024? If it is not allowed, it's for the reason of SigmaStudio or the just impossible in principle? Thanks again!
Hi John,
I only use 1 external SRAM. But I want to know why I can't use more than 1 external delay modules with 1 SRAM. Is that a problem of SigmaStudio or impossible in principle? I'm not familiar with this. Thanks!
Hi Stephan,
I discussed this issue with the SigmaStudio developers.
It is not impossible in principle. The ADAU145x device can support up to 7 SPI slave devices, and with a fast (say 20 MHz) SPI clock you can communicate with more than one SPI slave device.
However SIgmaStudio cannot currently support more than 1 SPI RAM because we would need to include some sort of scheduler in the framework to support more than one device currently, because the SPI code does check to see if there is an active SPI transaction when it attempts to use the SPI. This would require some development effort and schedule to support this.
-JT
Hi John,
Thanks a lot! But I think I didn't make it clear. My last question is that if I use only 1 SPI slave device, how many external delay modules can I use for this single device? I hope this will not bother you. Thanks again!
Hi Stephan,
As I mentioned before, within the current SigmaStudio framework there is no additional code in there that checks to see if a SPI transaction is active, so the answer for current SigmaStudio 3.11 is "only one SPI RAM delay can be supported".
Having said that, the ADAU145x should theoretically be able to handle multiple SPI RAM delays, but to be able to answer exactly how many would depend on the speed of the SPI interface, and the sample rate of the core for processing the audio data. The faster the SPI bus, the sooner the data can be written to or read from the SPI RAM. And slowing down the sample rate for the core will allow for more instructions per sample to allow for more delay lines.
We can look into adding this support into SigmaStudio, but it would probably not be available until a release in the future and we would have to prioritize this with other new features.
If it is critical for you to get more than one SPI RAM delay up and running in your application much sooner, then we should take the discussion off-line and maybe perhaps we can provide you additional information to accomplish this with custom SPI register assembly instructions. I will send you a private message to start this discussion.
-JT
Hi John,
We are currently finishing the schematic for our current project and we are facing the same problem about the delay.
We definitely need to implement 4 delay lines, and we would like to use two or 4 SPI ram (as much as possible)
I opened a thread as well but no one has replied already: ADAU1452 external delay
could you please help me, i really need a solution as soon as possible.
I'm sorry to step in this thread but i'm the hurry.
Thanks in advance,
Sabry
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
Please log in to reply.

