2026-02-18 10:58 AM
Hello ST Community,
I’m working on bringing up audio capture using the X-NUCLEO-CCA02M2 microphone expansion board with the NUCLEO-N657X0-Q (STM32N6), and I’m struggling to obtain any audio data.
According to the CCA02M2 documentation, the board is compatible with STM32 Nucleo boards via the ST-Morpho connector and supports acquisition through I²S, SPI, DFSDM, or similar digital audio peripherals. However, I have not been able to find any example, tutorial, or application note specifically targeting STM32N6 devices.
My goal is to run an Edge Impulse audio model on the STM32N6.
I was able to successfully run inference using manually provided raw features from the example in this repository:
https://github.com/edgeimpulse/example-standalone-st-stm32n6
So the ML pipeline itself is working correctly.
My difficulty is specifically with capturing audio from the X-NUCLEO-CCA02M2, due to lack of clear documentation or examples for STM32N6 boards.
My setup:
• Boards connected pin-to-pin through ST-Morpho
• Power supplied through CN9 (1-2) on the Nucleo
• On-board microphones used (J2 = 1-2)
• J1 open
Main issues:
I cannot confirm which MCU pins are routed to the CCA02M2 through ST-Morpho on the NUCLEO-N657X0-Q.
There are no STM32Cube examples or BSP packages for STM32N6 + CCA02M2.
I cannot detect changing values in the audio buffers, suggesting the microphone clock or routing may be incorrect.
Could anyone from ST or the community please provide:
• A minimal working example for NUCLEO-N657X0-Q + X-NUCLEO-CCA02M2
• Recommended peripheral choice on STM32N6 for PDM microphone acquisition
• Correct pin mapping between ST-Morpho and microphone signals
Any guidance or confirmation that this setup is supported on STM32N6 would be greatly appreciated.
Thank you very much for your help!
Best regards,
Daniel Lopes Ferreira
Brazil
2026-02-19 3:19 AM
Hello @daniellferreira
Please refer to the X-CUBE-MEMSMIC1 and the Quick Start Guide as starting point.