How to programm DSP with MCU
Hello. I control ADAU1466 with PIC32 over SPI, it works well. ADAU1466 is programmed with sigmastudio, and then controlled with PIC32. But I need solution, where Sigmastudio generates hex (or other file), and this will be possible upload to ADAU1466.
I'm communicating with PIC32 over ethernet, it has sdcard. There is no probelm to pload there hex file. But which steps must be done to program DSP from MCU over SPI?
Edit Notes
mistakes
[edited by: Andrej at 7:29 AM (GMT -5) on 25 Nov 2020]
Audio Signal Processors
programming
mcu
SigmaDSP Audio Processors
adau1466
Sigma Studio is able to generate C code header files for your MCU application. There are some informations in the wiki also.
ez.analog.com/.../SigmaStudioBasicuCIntegrationTutorial.pdf
Ok. I did it by the tutorial. It works, but only first time. When I upload project to DSP over SPI, it works. But when I upload it again, it not works.
I'm testing next (used EVAL-ADAU1466). In eeprom is loaded project. I can communicate with MCU over SPI and set parameters of blocks.
Now I test upload project from MCU. WHen I upload it first time, it works. Then I can set block prameters in project, uploaded in DSP. After next project uploading from MCU it will stop working. I can reset DSP with MCU, and program is booted to DSP from eeprom. But uploaded program from MCU will stop DSP. I must do Hardware reset of DSP, then first uploading of program of MCU again works.
Please log in to reply.