Post Go back to editing

how can the host MCU get the command response after sending it to ADSP215xx via SPI?

Category: Software
Product Number: SigmaStudioforSharc
Software Version: CCES2.10.1

We are using CCES and SS4SH to do development based on DemoUC projects. The version of CCES is 2.10.1, the version of SS4SH is v4.7. The target hardware platform is our customized ADSP21565 platform. Now, the DSP can be booted and controlled by MCU via SPI2. And by sending commands via the SPI, we can change SS4SH modules like Volume successfully. But the problem is that MCU can not know whether its commands have been successfully processed by DSP. Then, we found that we can define our callback functions of SPIRxIsr and SPITxIsr in adi_ss_commn_initialize(). But after define our callback functions of SPI, we found that it can never be reached. We also defined spi connection callback function "ISRRx" in adi_ss_connection_initialize(), but it can also never be reached. Could you tell me how to realize such spi command response mechanism in current SS4SH framework? Do you have any demo projects for us to refer to?

Thank you!