2018-10-03 06:20 AM
Hello,
I am using an Nucleo - F401RE MCU, with the CCA02M1 module, and the STEVAL-MKI155V1 microphone coupon board and have encountered an issue with acquiring 4 audio channels.
Using the Acoustic Source Localisation program provided in the X-cube-MEMSMIC1 package, I can build the project, but when I debug, I encounter an Audio Error in the CCA02M1 driver, when it checks the SPI receive.
if(HAL_SPI_Receive_DMA(&hAudioInSPI, (uint8_t *)SPI_InternalBuffer, X_NUCLEO_CCA02M1_Handler.PdmBufferSize) != HAL_OK)
{
return AUDIO_ERROR;
}
}
Due to this, the only thing I can think the issue may be, is the solder bridge configuration. I followed the user manual configuration attached.
I have triple checked the configurations, and checked continuity with a multi-meter, and there doesn't seem to be any issue with it, but its the only thing I can think of.
I can still upload the microphone streaming code, and am able to record audio with 2 microphones.
Thanks in advance for any help.
Damien