Need help capturing audio from X-NUCLEO-CCA02M2 on STM32N657 (Edge Impulse working with raw features only)

Hi Edge Impulse Team and Community,

I’m working on deploying an audio model on an STM32N6 using the X-NUCLEO-CCA02M2 microphone expansion board with the NUCLEO-N657X0-Q, and I’m currently stuck at the audio capture stage.

I was able to successfully run inference using manually provided raw features from this repository:

So the Edge Impulse model and inference pipeline are working correctly on the STM32N6.
However, I’m having difficulties capturing real audio data from the CCA02M2 board due to lack of clear examples or documentation for STM32N6-based Nucleo boards.

My setup:

• X-NUCLEO-CCA02M2 connected pin-to-pin via ST-Morpho to NUCLEO-N657X0-Q
• Power supplied through CN9 (1-2)
• On-board microphones selected (J2 = 1-2)
• J1 open

Current issue:

I cannot obtain changing audio data from the microphones, which suggests that the clock, pin mapping, or peripheral configuration may not be correct. Unfortunately, I couldn’t find any working examples for STM32N6 + CCA02M2 in STM32Cube or Edge Impulse integrations.

Could anyone please help with:

• A minimal working example for capturing audio from CCA02M2 on STM32N6
• Recommended approach for integrating microphone input with Edge Impulse on STM32N6
• Confirmation if this setup is currently supported or tested

Any guidance or pointers would be greatly appreciated.

Thank you very much!