🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • M5Stack Core 2 - SD card and Display at the same time

    1
    0 Votes
    1 Posts
    448 Views
    No one has replied
  • M5Stack Audio Module ES8388

    3
    0 Votes
    3 Posts
    1k Views
    D
    I fix the problem by remove condensator C9 [image: 1767352914243-audiomodulefix.png] https://youtube.com/shorts/OJ2RSZR5Y94?si=I5c_K-Tsh-rh9QJC
  • Installation .bin files to the M5StickC plus2 RAM

    3
    0 Votes
    3 Posts
    1k Views
    R
    @MurzikYEET I think that you cannot do this if you want the firmware to run while the device is on. The way all computers work is they load the program into RAM and then run it from there. The firmware just tells the computer what to do (in this case, open boot the device and then run the python file). I believe you can't flash two sets of firmware from M5Burner anyway because each time, it erases the whole device before starting again. With esptool the same applies. It can't load firmware into the RAM. What it does do is load the stub loader which helps the device and esptool install faster. However there is a way to do it. I myself am not familiar with it but I believe that you can create OTA slots that store firmware in different slots on the device and then you can boot into different firmware. Here is documentation on OTA: Espressif Docs Hope this helps, RPi
  • AXP2101 not working properly CoreS3 with battery.

    4
    0 Votes
    4 Posts
    2k Views
    felmueF
    Hello @RubberDuck I can confirm the shark fin like signals on my M5CoreS3. I am no I2C expert, but I think they might be marginal and so maybe just barely working on one M5CoreS3 but not on the other when talking to AXP2101. Maybe a stronger pull-up resistor might help? BTW: I checked the I2C SCL line on an M5Core2 and it is much more rectangular, e.g. much more like I would expect it. Thanks Felix
  • [M5Tab5] How to de-init the GT911 touch panel?

    2
    0 Votes
    2 Posts
    2k Views
    ImLunchtimeI
    Problem already fixed with only two lines of code: esp_sleep_enable_timer_wakeup(50000); // 50ms esp_deep_sleep_start(); A very short deep sleep will power off the GT911 chip and power it on again, so that fixes the problem. Thanks to the chatbot!
  • M5Atom Echo issues with ESP-WIFI-MESH

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • espressif/Board Support Package (BSP) for Papers3 or StickC plus2

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Vedio Streaming through ESP32 M5 Timer Camera

    4
    0 Votes
    4 Posts
    3k Views
    A
    Hi, could someone please help with this?
  • Atom Echo Display I2c write errors

    2
    0 Votes
    2 Posts
    2k Views
    A
    Problem solved: Since this used to work, I started poking around looking at version numbers. It turns out that at some point, the component manager "upgraded" my component from V0.1.16 to 0.2.6. I am talking about: https://github.com/m5stack/M5GFX.git Sure enough, rolling back to 0.1.16 solved the issue. I think I am done with automated component management.
  • m5stick c plus 2 not turning on

    5
    0 Votes
    5 Posts
    7k Views
    E
    @felmue what do you mean "connect wire from G0 to GND"?
  • M5StackS3-SE + LoRa868 V1.1 SPI Conflict?

    5
    1 Votes
    5 Posts
    4k Views
    R
    @felmue Thank you for the pointer! Looks like perhaps it's fixed for the Arduino implementation? It does not seem fixed for the ESP-IDF version quite yet. Your workaround combined with the pre_cb and post_cb callbacks worked! Here's a snippet/summary of what I did: #ifdef CONFIG_M5CORES3_SPI_CONFLICT_FIX #define M5CORES3_SPI_CONFIG_FIX_MISO_PIN 35 void sx127x_spi_pre_transfer_m5cores3_fix_callback(spi_transaction_t* t) { // before a SPI transaction is started, we need to change the driving direction // of the DC pin in the CoreS3 (the CoreS3 uses the MISO pin as the DC pin and // configures it as an output ping which conflicts with other SPI devices on the bus) // set gpio direction for MISO pin to input gpio_set_direction(M5CORES3_SPI_CONFIG_FIX_MISO_PIN, GPIO_MODE_INPUT); } void sx127x_spi_post_transfer_m5cores3_fix_callback(spi_transaction_t* t) { // undo pin direction change after SPI transaction is done // set gpio direction for MISO pin back to output gpio_set_direction(M5CORES3_SPI_CONFIG_FIX_MISO_PIN, GPIO_MODE_OUTPUT); } #endif sx127x_handle_t sx127x_init(const sx127x_modem_config_t* modem_config) { // ... // Configure SPI device spi_device_interface_config_t spi_dev_cfg = { .clock_speed_hz = 9000000, // 9MHz .mode = 0, .spics_io_num = modem_config->cs_gpio, .queue_size = 7, .flags = 0, #ifdef CONFIG_M5CORES3_SPI_CONFLICT_FIX .pre_cb = sx127x_spi_pre_transfer_m5cores3_fix_callback, .post_cb = sx127x_spi_post_transfer_m5cores3_fix_callback #endif }; ret = spi_bus_add_device(spi_host, &spi_dev_cfg, &device->spi); if (ret != ESP_OK) { ESP_LOGE(TAG, "Failed to add SPI device"); vSemaphoreDelete(device->spi_mutex); free(device); return NULL; } // ... } I can now use both the display and the sx1276 at the same time on the M5Stack CoreS3. Thanks again for your assistance!
  • 0 Votes
    2 Posts
    3k Views
    M
    @inteladata Try setting baud rate to 1500000.
  • esp32 to usb driver issues.

    7
    1
    0 Votes
    7 Posts
    5k Views
    L
    @robski I have tried it with a different usb to ttl bridge with the same results, and m5burner gives me the exact same error as arduino IDE
  • CoreS3 and W5500 fail

    3
    0 Votes
    3 Posts
    3k Views
    G
    Hi @felmue, thank you for your fast response. I think a GPIO conflict. I use PoE Lan Module w5500 that use as Interrupt PIN the GPIO_14 and is also the I2S_DIN used by the integrated microphone. Now it works without M5 initialization M5.begin(cfg);. I also try to set the polling mode without success. Gio
  • i2c read timeout issue while reading Pb hub through atom lite in ESP-IDF

    2
    0 Votes
    2 Posts
    3k Views
    T
    can you try adding ESP_ERROR_CHECK(esp_event_loop_create_default()); and see what errors you get? When I compile and deploy my project, I see the following warning i2c: This driver is an old driver; please migrate your application code to adapt driver/i2c_master.h, which causes my system to never finish initialization. In my case, the M5Unified library needs to be updated to use driver/i2c_master.h Perhaps your timeout is related to the loop never initializing. At this point, I am only guessing what the issue might be.
  • M5Stack ENV III

    4
    0 Votes
    4 Posts
    6k Views
    B
    Thank you very much for your reply! I will look into UI Flow.
  • Unknown board ID 'm5stack-stamps3'

    7
    1
    0 Votes
    7 Posts
    10k Views
    I
    Hi, this issue was solved. Easy and logical way: VScode > PlantformIO home > plantforms > update [image: 1686380169106-n%C3%A4ytt%C3%B6kuva-2023-06-10-085534-resized.png]
  • m5stack atom s3 issue:

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Howto is broken

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • M5 Core2 DAC polarity

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied