AnsweredAssumed Answered

Can't set GPIO after performing safeload.

Question asked by Nando.One on May 18, 2016
Latest reply on May 19, 2016 by Nando.One

Hello there, how are you?

I am developing an application with PIC32 + ADAU1701. I am running short on IO pins of the PIC32, so I decided to use some of the MP pins of the DSP as outputs to expand the number of pins available.


The DSP boots from the microcontroller via SPI normally and works fine. I created my "Safeload" function to change things on the fly without creating pop noises. The strange thing is that, I can set the GPIOs normally, works fine. However, if I ever perform a Safeload operation (such as changing the gain), I can't set the GPIOs anymore. Very strange.


Please find attached my "WRITE_WORD"  and "SAFELOAD"  functions. My "safeload byte" is 0x3C with the DSP running at 48Khz.


I really have no idea of what's going on. Any help will be highly appreciated!


Thank you.