🤖Have you ever tried Chat.M5Stack.com before asking??😎

Categories

  • Firmware updates, Hardware Revisions, New Product info can be found here.

    75 Topics
    826 Posts
    KhanFromNorthK
    You can continue developing on the M5Stack Core2 reliably. The key is to bypass UIFlow entirely and use MicroPython directly through Thonny or VS Code.
  • M5Stack Events

    8 Topics
    31 Posts
    kurikoK
    @Apex574R Does the Userdemo firmware running normally?
  • Wish for a feature that doesn't exist yet? this is the place to ask for it. we will collect all the requirements and enquiry's and who knows ... sometime wish might come true!

    224 Topics
    681 Posts
    0
    I know the ESP32-S31 is new, Would love to see a " M5Stamp ESP32-S31 Module ", much like your M5Stamp ESP32P4 Module. Unlike your M5Stamp ESP32P4 Module which has a operating range or 0 ~ 40°C, maybe you can make 2 versions. One for general people who could use the 0 ~ 40°C, but for more serious people that would use it as a simple plugin module for new designs for industrial use, extend that range.
  • Forum rules - Announcements - General chit chat (ESP-32, ESP-8266, IoT, Raspberry Pi etc...)

    976 Topics
    3k Posts
    S
    Can anyone help me find a replacement smd button as the one on the pcb the A button (the big button that says m5 on) fell off
  • Core and Modules info.

    3k Topics
    14k Posts
    Y
    Root Cause Analysis A detailed schematic review revealed the source of the problem. All three components — Core2, Audio Module, and Bottom2 — are interconnected through the shared M5 BUS. The Bottom2 module includes a SPM1423 MEMS microphone, which uses: GPIO0 (BUS pin 24) for the clock signal (CLK) GPIO34 (BUS pin 26) for the data signal (DAT, digital output) The Audio Module, based on the ES8388 codec, uses: GPIO0 (BUS pin 24) for I2S_MCLK GPIO34 (BUS pin 26) for I2S_MAIN_DIN This creates a fundamental hardware conflict on the I2S bus. The Core Conflict Two independent devices attempt to drive the same data line: The ES8388 (M144 Audio Module) uses GPIO34 to send digitized audio data from its ADC (line-in or microphone) to the ESP32 via I2S. The SPM1423 (Bottom2) uses the same GPIO34 to output PDM audio data from its internal MEMS microphone. From the ESP32’s perspective: GPIO34 is input-only However, on the physical PCB traces, both devices are electrically connected to this same line and actively drive it. This results in a classic and severe bus contention scenario: Two outputs connected together No arbitration No isolation No possibility for coexistence Why This Cannot Be Solved in Software At first glance, one might consider disabling the microphone via software. Unfortunately, this is not feasible due to both architectural and hardware constraints. The Bottom2 doesn’t expose the SPM1423 MEMS dedicated enable/disable (chip select) pin. The only way to silence it — effectively forcing its data output into a high-impedance (Hi-Z) state — is to stop its clock signal on GPIO0. This leads directly to a deadlock: If the M144 switch is set to position A: GPIO0 is used as MCLK (mandatory master clock for ES8388 operation, typically 12.288 MHz) If the switch is set to position B: GPIO0 becomes I2S SCLK (bit clock) Additionally: The internal amplifier of the Core2 (NS4168) also uses GPIO0 for BCLK In other words, GPIO0 is always actively used in any valid configuration. Stopping the clock to disable the microphone would simultaneously break: the ES8388 codec or the Core2 internal audio path Thus, there is no viable way to control the microphone via software without disrupting essential system functionality. Design Oversight The A/B switch on the M144 Audio Module was clearly designed to avoid clock conflicts (MCLK vs SCLK) with other peripherals. However, the design completely overlooks the data line conflict on GPIO34. This is particularly problematic because: the Bottom2 module is an official M5Stack accessory the SPM1423 microphone is always active by default both modules are intended to be used within the same ecosystem Despite this, their coexistence leads to a non-functional configuration when using the ES8388 input path. Conclusion This issue is not a matter of configuration, firmware, or library incompatibility. It is a fundamental hardware design conflict on the shared M5 BUS. When Bottom2 is attached: the SPM1423 microphone continuously drives the I2S data line the ES8388 is unable to deliver valid audio data the result is severe noise and corrupted signal There is no reliable software workaround. The only effective solutions are hardware-level: physically removing or isolating the SPM1423 microphone redesigning the Bottom2 PCB to include a switch or gating mechanism routing the microphone control (e.g., SELECT or enable logic) to a dedicated GPIO Until such changes are implemented, the ES8388 input functionality cannot be used in conjunction with the Bottom2 module in a stable and predictable way. My solution was to remove the SPM1423 Microphone from the PCB. Another solution is to cut the relevant pins from the Bottom2 BUS with the same effect - removing SPM1423 from the circuit.
  • Projects Sharing.

    501 Topics
    2k Posts
    ZeloksaZ
    HUGE UPDATE: Piano Tiles ADV V2.0 is LIVE! 🚀🎹 Hello everyone! Thank you so much for the support on the first version. Today, I'm extremely excited to announce the release of Piano Tiles ADV V2.0 - the biggest expansion to the game yet! This isn't just a minor update; the game has been completely overhauled to bring a much deeper, more immersive rhythm game experience to the Cardputer. 🔥 What's New in V2.0: Massive Library Expansion: We went from 12 tracks to 54 full-length tracks! 5 Themed Music Packs: Play through Classics, Anime Hits, Gaming Legends, Movie Epics, and Rock Legends. Immersive Visuals: 5 custom animated backgrounds (Retro Grid, Falling Sakura, Digital Matrix, etc.) and completely handcrafted, ultra-detailed 8-bit icons for every single track. New Progression System: A dynamic emoji face now visually tracks your overall pack completion rate in real-time, alongside your High Scores and Star ratings. Audio Tuning: Background music and track frequencies have been carefully adjusted to get the absolute best, punchy sound out of the Cardputer's piezo speaker. 📥 How to get the update: You can grab the V2.0 update right now via M5Burner (Search for "Zeloksa" or "Piano Tiles ADV"). Alternatively, you can download the .bin file directly from the GitHub Releases page: 👉 https://github.com/Zeloksa/Piano-Tiles-ADV/releases As always, I'd love to hear your feedback and see those new high scores! Have fun! 🎵
  • This is the place to discuss driver issues, M5 burner troubleshooting, and development of software compatible with M5Stack

    3k Topics
    10k Posts
    felmueF
    Hello @sbeeker UIFlow2 doesn't use API keys. (Only UIFlow1 used them.) Are you sure you installed UIFlow2 firmware onto your M5Stack device? Use M5Burner from here to install UIFlow2 firmware (as an example for M5Core2) then use your browser to go to UIFlow2. [image: 1781279688656-m5burner_uiflow2.0_m5core2.png] Thanks Felix
  • 265 Topics
    581 Posts
    felmueF
    Hallo @Studi97 die M5Stack DAC2 Unit wird ueber I2C angesteuert und soweit ich weiss, unterstuetzen alle M5Stack Cores I2C. Fuer folgende M5Stack Cores, die hier aufgelistet sind, gibt es Beispiel Programme. Thanks Felix