Skip to main content
Visitor II
May 30, 2019
Solved

I am using the example project MEMSMIC1 in order to stream audio to host PC. But it is not working beside the following configuration: 2 channels, 16000 sample rate.

  • May 30, 2019
  • 4 replies
  • 1999 views

When I am changing the number of channels to 1 channel.

it is recognized by the windows driver, but the

"advanced" TAB is disappear (unlike 2 channels configuration). 

Did someone faced with this kind problem? Do I missed

something? 

of course, audacity do not allow to record and I receive this message:

" error while opening sound device"

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @JHuang​ ,

    After internal alignment I confirm you that, if you change channels or frequency in the firmware, with Win10 you have to delete the driver as explained and reset the board (no need to restart it). When the operation is completed, the "advanced" tab reappears and is usually already correctly created with the new channels / frequency; in some cases it must instead be changed "manually".

    -Eleon

    4 replies

    ST Employee
    May 30, 2019

    Hi, if you are using win7, the device is recognized as a standard, xx channels microphone. If you did't already do it, you should check the mic configuration, right clicking on the loudspeaker icon on the bottom right of the windows screen and choose “Recording devices�? in the following way. Regards

    0690X000008aDclQAE.png

    AA.10Author
    Visitor II
    May 30, 2019

    hello

    thanks for your reply.

    I am using Win 10,

    that is what I see when the configuration is 2 channels, 48000 sample rate.

    the Advanced Tab not exist.

    0690X000008aDlOQAU.png

    Visitor II
    September 16, 2020

    I have similar problem with Nucleo-L476RG and MEMSMIC1 5.4.0 package. In 48KHz, the Advanced tab is gone and Audacity or other recorders failed to start recording. Also on Win 10. Any solution now?

    Update: The only sampling rate that works on my machine is 192KHz. Then I remember I run the X-NUCLEO-AMICAM1 demo project at first, which is 192KHz... then I modify it to 48KHz or others and not working.

    I guess windows don't like sampling rate change on the SAME device. I'll try change some USB device descriptions, see if it will be recognized as a new device with 48KHz.

    ST Employee
    September 17, 2020

    Hi @JHuang​ ,

    that's strange... I can see the configuration with Win10... may it be a matter of administration permissions?

    0693W000003RuMnQAK.png

    You may try this other way. Go to Sound settings --> Input --> chose the correct input microphone --> Device properties --> Additional device properties --> Advanced

    0693W000003RuQfQAK.png

    -Eleon

    Visitor II
    September 17, 2020

    That is exactly what we do. The problem is: the Advanced tab is not there, if we set other sampling rates (except 192KHz in my situation) in the project and build and run.

    ST Employee
    September 17, 2020

    Aren't you able to see the "Advanced" tab in any case? I mean, don't you see it also when selecting the "Internal microphone"?

    It may be a driver issue, as I can see from this forum (similar issue on another tab). The suggested procedure is the following one:

    If you are not able to see the same then it could be because the sound card installed on the computer do not have the ability for displaying sound enhancements or the sound card drivers are corrupt.
     
    Step 1:
    You may try uninstalling and re-installing the sound card drivers from device manager and
     
    a. Type in Device Manager in the Start Screen. Select the same.
    b. Expand Sound, Video and Game Controllers in the Device Manager Window.
    c.Right click on the Device.
    d.Click on Properties.
    e.Click on Driver Tab.
    f.Click on Uninstall drivers.
    g.Click OK.
     
    Now restart the computer and install the latest drivers and check if the issue still persists.
     
    Step 2:
    If the issue still persists, reinstall the latest drivers from the manufacturer’s website and check.

    -Eleon

    ST Employee
    September 17, 2020

    Hi @JHuang​ ,

    After internal alignment I confirm you that, if you change channels or frequency in the firmware, with Win10 you have to delete the driver as explained and reset the board (no need to restart it). When the operation is completed, the "advanced" tab reappears and is usually already correctly created with the new channels / frequency; in some cases it must instead be changed "manually".

    -Eleon

    Visitor II
    September 18, 2020

    It works! Thank you so much!​