6 Replies Latest reply on Apr 25, 2017 11:08 PM by Daniel Martinez Martinez


    Daniel Martinez Martinez

      Hello all,


      I have bought a NUCLEO-L476RG board and a X-NUCELO_CCA02M1 board a couple of months ago and I have flashed the stm32f476RG micro of the board with the sample application that it is include in the folder


      and it works the application with Audacity. It is possible to record with the board and much more. To make it works, I had also to change the bridges of the CCA02M1 board according to the UM1900 User manual section  Jumper settings for DFSDM-based systems for 1 or 2 microphone acquisition.




      But the fact is, when I open the project with SystemWorkbench that is here ..\Projects\Multi\Applications\Microphones_Streaming\SW4STM32\STM32L476RG-Nucleo\STM32L476RG-MEMSMIC1

      and I compile and debug or run the program on the board it does not works the application with Audacity.


      In the documentation says very clear this:


      @par Hardware and Software environment


        - This example runs on STM32F401RE, STM32F072RB, STM32L053R8, STM32L476RG and STM32746ZG devices.
        - This example has been tested with STMicroelectronics STM32F401-Nucleo,
          STM32L476-Nucleo, STM32L053-Nucleo, STM32F746-Nucleo-144 and STM32F072-Nucleo
          boards and can be easily tailored to any other supported device
          and development board.


      Maybe somebody change something in the some file and it didn't test it.


      To buy something and then it doesn't go it is not fair play.


      Here I put the links of the boards


      NUCLEO-L476RG - STM32 Nucleo-64 development board with STM32L476RG MCU, supports Arduino and ST morpho connectivity - ST… 




      I hope to hear from you soon.


        • Re: X-NUCLEO_CCA02M1
          Amel N

          Hello Daniel,


          Could you please explain: "it does not works the application with Audacity"?

          Does it mean that you are no more able to record or hear any voice?

          Did you made any update on the example?



          • Re: X-NUCLEO_CCA02M1
            Daniel Martinez Martinez

            Hello Amel,


            Thank you for your answer. I really appreciate it. I would like to make you a question? Do you have a X-NUCLEO-CCA02M1 Board with a STM32L053R8, STM32L476RG, STM32F072RB, STM32F401RE or STM32F746ZG Nucleo board? If you have such a combination you could make the same test a did and simply check that the code doesn't work with audacity. The test consist of opening the proyect, programm the micro and check with audacity if it records. If you did it please tell me your results.


            Ok, regarding your questions here are my answers:


            This is what I mean with it doesn't work the application with Audacity. Of course, I am not able to record. (if it doesn't work, it is normal)


            And regarding your second question, I did no update. Because, the version I am working with, it is the last. I have check it now, and there was no update since I bought the board.



            So please, for the next time you answer in a forum take a minute before you answer, and think twice what you are going to say and take the trouble to try to respond instead to make the typical easy questions.


            And finally, it is very frustrating to buy a product, it is supposed to function, and sadly it is not truth. In the documentation says clear it is tested, but it is false. And additionaly the support is null.




              • Re: X-NUCLEO_CCA02M1
                Amel N

                Hello Daniel,


                I made tests as you suggested using the NUCLEO-L476RG board: I wasn't able to make sound recording.

                This issue is reported internally for farther checks. 


                Now, if you have an error message like this one:

                You have to update the microphone properties to select the 2 channels, 16 KHz option:


                I will keep you updated about the status of the checks.



              • Re: X-NUCLEO_CCA02M1
                Daniel Martinez Martinez

                Hi Amel,


                Thanks for the support. Now you did the Test and you checked it what I said. Regarding your sugestion about the microphone configuration I had it already. As I said in my first post, with the programming file, I mean the *.bin, the application functions !! but with the source proyect files, NOP. That means that there is no problem in the PC configuration. The problem is clear. Somebody forgot to make his job. I suppose the person who programmed the application could resolve the error in a short time. I suppose I am not the only one who has bought these boards.




                  • Re: X-NUCLEO_CCA02M1
                    Amel N

                    Hello Daniel,


                    When using the .bin version, it will stream at 16KHz and the microphone will be recognized by Wiindows as a 16Khz, 2ch mic.


                    When using the firmware package, the default sampling frequency is set to 8Kz. So you will need to update the advanced options for the STM32 microphone to change the sampling frequency (as shown in my previous post to set 8000 Hz this time).

                    You can also set to 16000 the AUDIO_SAMPLING_FREQUNCY macro in the “audio_application.h” file.

                    Another recommendation when using NUCLEO-L476RG board is to review jumpers setting of X-NUCLEO-CCA02M1: they have to be aligned with the settings described in the section "Jumper settings for DFSDM-based systems" of UM1901 (I think this should be OK for you as you already tested successfully the .bin version with this board).