Skip to main content
Graduate
October 3, 2024
Question

NUCLEO-F446RE SMARTMIC1 with MP34DT06J Microphone

  • October 3, 2024
  • 1 reply
  • 642 views

Hardware:

NUCLEO-F446RE,  X-NUCLEO-CCA01M1,  X-NUCLEO-CCA02M2

Software: 

SMARTMIC1 V2.4.0 & V2.3.0

 

I am attempting to run the SMARTMIC1 program on the hardware list above but instead of using the microphones on the  STEVAL-MIC001V1, I want to use the CCA02M2 onboard MP34DT06J microphones. 

In an attempt to achieve this on CCA02M2 I changed the position of J2 to position 1-2, removed J3, and installed the solder bridge on SB9.

While Audacity will start recording, 0 microphone volume is recorded. 

I am now looking into the cca02m2_conf.h file and change the AUDIO_IN_CHANNELS from 4 to 2. 

In Audacity, channel 2 is 100% volume, and channel 1 is 0% volume. 

Is there any way to achieve what I am trying to do? 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    October 15, 2024

    Hello @OceanPlumber 

    The SMARTMIC1 demo is meant to work with 4 microphones only. Updating the cca02m2_conf.h file is not sufficient.

    The demo uses a custom USB class that allows both USB audio communication and serial communication so that the firmware can be controlled by the GUI distributed in the package. It is a complex setup, designed to showcase the Acoustic libraries at their maximum capacity.

    If you'd like to focus your attention on easier examples, I suggest you look into X-CUBE-MEMSMIC1, where you can find a specific example for any of the audio in related Acoustic library. Natively, it supports NUCLEO-F401RE, but porting it to NUCLEO-F446RE is straightforward (both Nucleo boards use the same Cortex).

     

    Best regards,
    Simone