AnsweredAssumed Answered

Different reading STM32F4 + adau1452 SPI of DSP readback block

Question asked by kaeroul on Mar 29, 2017
Latest reply on Jul 10, 2017 by DaveThib

hello guys,

 

   I am doing a project with adau1452 and STM32F407VGTX-Keil using SPI comm. I want to use these chips to make audio enhancement processing such as automatic gain controller (AGC), Feedback destroyer (FD), delay, crossover, loudspeaker correction, and Equalizer (EQ). For the current progress project i want to upgrade to adau1452 and now i am facing problem as stated below and by referring to attached pic below.

DSP readback ADAU1452

1. termite: read from STM and display HEX number.

2. keil: SPI communication program code between ADAU1452 and STM32F4.

3.I am expecting termite will show value of 0x00 0x00 0x00 0x03 as shown in last row of capture window, but showing 0x01 0x00  0x00 0x00 instead. Meanwhile in SPI code, i put address of DSP readback block (0x001A) clearly instead address of DC Gain block (0X001D).
4. so how should i do for my system so that STM32 will be able to read the value of DSP readback block?

5. is there any confusion made by me?

hope you guys could please give me some input and guidance.

 

thanks and best regards,

kal

Outcomes