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

OTA upgrade on ADAU145x

SigmaDSP & SigmaStudio Yosen Nov 12, 2019 00:00 3 replies Original on forum ↗
Subscribe
Yosen Question
Nov 12, 2019 00:00

Hi Guys,

I have some questions about the ADAU1452. Does ADAU1452 support OTA?

here is the system diagram. So how can I OTA udpdate the wav files stored in the SPI Flash through ADAU145X.

B.R.

Yosen

Audio Signal Processors

adau1452

SigmaDSP Audio Processors

2781.diagram.png
2781.diagram.png
Yosen Reply
Nov 13, 2019 00:00

In addition:

I notice that ADAU1452 has a SPI slave port and SPI master port. and in the datasheet, it said the SPI master can read/write the external memory like E2PROM, flash.

So, is that possible ADAU1452 receive the OTA data from MCU via the SPI slave port and send it out(write the external flash) to the external flash?

if yes, is there a example to illustrate how to configure the ADAU1452 in SigmaStudio.

if no, is there any other way to do the OTA ?

B.R.

Yosen

DaveThib Reply
Nov 15, 2019 00:00

Hello Yosen,

There are a couple of posts that discuss this for updating the EEPROM using a controller.

https://ez.analog.com/dsp/sigmadsp/f/q-a/65079/write-eeprom-through-adau1452/348158#348158

What you need to do will be similar in that a small program will need to be loaded into the DSP to pass through the data and program the SPI Flash. Then after it is done then the DSP application code needs to be reloaded into the part.

I think you will run into problems with the application DSP code. You have to define the different sound files rather precisely. If the new files are exactly the same size and reside in exactly the same memory locations then you should be fine but if they are not then the sound file player parameters need to be changed. I think some of those are compile time settings not run time so you may not be able to change them easily. It will take a bit of investigation before you get too far. This is not something I have done very often.

Dave T

Yosen Reply
Jan 8, 2020 00:00

Hi Dave,

Thanks for your help!