🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • m5burner not loading firmware list - Endpoint appears off

    General
    1
    0 Votes
    1 Posts
    68 Views
    No one has replied
  • [Cardputer-ADV & UIFlow]

    Русскоязычный форум
    1
    0 Votes
    1 Posts
    92 Views
    No one has replied
  • HaM5dsp

    PROJECTS
    1
    4
    0 Votes
    1 Posts
    89 Views
    No one has replied
  • Make M144 - Audio Module true STEREO

    Features Wish List
    1
    0 Votes
    1 Posts
    87 Views
    No one has replied
  • CoreS3 not recognized by USB, cannot enter download mode

    Cores
    1
    0 Votes
    1 Posts
    94 Views
    No one has replied
  • 0 Votes
    2 Posts
    199 Views
    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.
  • 1 Votes
    2 Posts
    504 Views
    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! 🎵
  • MQTT connection

    SOFTWARE
    11
    2
    0 Votes
    11 Posts
    5k Views
    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
  • 0 Votes
    1 Posts
    115 Views
    No one has replied
  • M5Core2 - How to restore to pre-installed factory firmware

    Core 2
    8
    0 Votes
    8 Posts
    11k Views
    S
    @caccum Did you have any luck ? Little late to party . I cannot do anything because keeps saying I need an API Key. No idea where / how to get the to do the factory reset. Every search I do sends me to an M5 AI bot that does not actually tell you how to get the key. Just says device screen will give it to you.
  • ⚠️ M5Stack Core2 v1.3 - Ouroboros-like power loop -

    Core 2
    6
    0 Votes
    6 Posts
    456 Views
    Y
    @felmue Unfortunately, I can't find the AXP dump from that condition to double check but the current loop was there and was very annoying! Oh, I think I missed to specify that the charging current of the LiPo cell was limited from registers to 360mA! It was definetly a current loop but I solved it and this is what matters... VBUS must be set to OFF when EXTEN is Enable otherwise the AXP IPS will try to charge the battery from itself after the voltage is raised to 5V through SY7088! Cheers, Adrian
  • Can't run/download the program/ M5 Stopwatch

    PRODUCTS
    1
    2
    0 Votes
    1 Posts
    65 Views
    No one has replied
  • M5Stamp ESP32-S31 Module

    Features Wish List
    1
    0 Votes
    1 Posts
    202 Views
    No one has replied
  • M5Stack CoreS3-SE MIDI Looper & Synthesizer

    PROJECTS
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • 0 Votes
    4 Posts
    6k Views
    konacurrentsK
    I finally updated to 3.x and got my M5Atom to compile. BLE code has the biggest changes. But I switch to the M5Core2 and I'm getting this same error, but the suggested fix <minz.h> doesn't work as I have no minz.h file anywhere. Anyone get anywhere without downgrading - which defeats the whole convert to 3.x plan?
  • External 1S LIPO on M5Core2 BUS PIN1 and PIN30?

    Core 2
    4
    1
    1 Votes
    4 Posts
    1k Views
    Y
    @easytarget The internal battery have it's own protection module; if you really want to put another one in parallel with the internal one, choose one with a similar protection module. This would be the "next best practice" if you don't want to simpl replace the internal one with a bigger external one. Cheers, Adrian
  • Stufenlose Drehzahl einer Pumpe

    Deutsches Forum
    6
    0 Votes
    6 Posts
    541 Views
    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
  • clawd-mochi-m5dial

    PROJECTS
    1
    1
    0 Votes
    1 Posts
    158 Views
    No one has replied
  • CardPuter ADV Doom - Keyboard Fix (First Working Firmware)

    Cores
    1
    0 Votes
    1 Posts
    126 Views
    No one has replied
  • 0 Votes
    1 Posts
    181 Views
    No one has replied