🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Core2 resets when recoding from build in microphone

    Scheduled Pinned Locked Moved UIFlow
    8 Posts 6 Posters 9.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      Remco
      last edited by

      I recently bought the core2 because it has a build in mic, speaker and much more. Great!

      But I can't get the mic to work in UIflow (online and app) or Arduino IDE. Both the most recent version.

      Even the most basic Blocky makes the Core2 reset when running it.
      0_1679585223920_8421186e-9b42-44c3-80de-974b43a269b9-image.png
      It does create a audio file, in my case 'test.wav', but it is 0 bites. Also if i save it to the SD card.

      The mic is working correctly because the factory test works fine.

      I also own a M5stickC-plus (a few). In UIflow there is no mic option, but it workes fine in Adruino IDE.

      So, what is going on? It seems to be a serious problem for years now, but why is nobody doing something about it?

      I bought it because if the mic and speaker.

      Please help me!

      G 1 Reply Last reply Reply Quote 3
      • K Offline
        Kombistack
        last edited by

        Yes Remco I have found the same issue with the microphone on the Core 2.
        It does create an audio file to my SD card but it is 0 bites.
        And yes this simple Blocky record function makes the Core 2 crash and restart.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          djh82uk @Kombistack
          last edited by

          @kombistack Damn, just stumbled into this issue also. I'm guessing there is still no fix?

          1 Reply Last reply Reply Quote 0
          • felmueF Offline
            felmue
            last edited by felmue

            Hello @m5stack team

            I can confirm that trying to record (a 1 second long wav) from the microphone to SD card on an M5Core2 using UIFlow 1.11.8 fails and crashes the M5Core2 with the following error in the debug log:

            [0;31mE (259807) I2S: Error malloc dma buffer␛[0m
            /home/m5/M5-Workspace/esp-idf-for-m5/components/freertos/queue.c:1802 (vQueueDelete)- assert failed!
            

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            1 Reply Last reply Reply Quote 0
            • G Offline
              giftedfinance @Remco
              last edited by

              With the Core 2's microphone, I discovered the identical problem. My SD card does receive a created audio file, but it contains 0 bites. And sure, the Core 2 crashes and restarts when using this straightforward Blocky record method.

              I recently bought the core2 because it has a build in mic, speaker and much more. Great!

              But I can't get the mic to work in UIflow (online and app) or Arduino IDE. Both the most recent version.

              Even the most basic Blocky makes the Core2 reset when running it.
              0_1679585223920_8421186e-9b42-44c3-80de-974b43a269b9-image.png
              It does create a audio file, in my case 'test.wav', but it is 0 bites. Also if i save it to the SD card.

              The mic is working correctly because the factory test works fine.

              I also own a M5stickC-plus (a few). In UIflow there is no mic option, but it workes fine in Adruino IDE.

              So, what is going on? It seems to be a serious problem for years now, but why is nobody doing something about it?

              I bought it because if the mic and speaker. https://community.m5stack.com/bubble shooter/post/15992

              Please help me!

              Even an adult can learn everything!
              Be patient if I don't know it! [url=https://google.com][color=white]google[/color][/url]
              Either I don't recall it or I'm too inebriated to remember it!

              1 Reply Last reply Reply Quote 0
              • P Offline
                pandian.nano
                last edited by

                @Remco @giftedfinance @djh82uk bug is fixed and the next firmware version 1.12.2 is supported

                1 Reply Last reply Reply Quote 1
                • K Offline
                  Kombistack
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Kombistack
                    last edited by

                    I just tried to record a simple .wav file via the built in microphone on my core2 with the M5Go Bottom2 using the blocky 'record to file' block. I am using UI flow 1.12.2 on my core2 and yes it does record and I can play the .wav file back but even at max volume of 6 the sound is very faint.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post