Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. nexusdk
    N
    • Continue chat with nexusdk
    • Start new chat with nexusdk
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    nexusdk

    @nexusdk

    0
    Reputation
    3
    Posts
    614
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    nexusdk Follow

    Posts made by nexusdk

    • RE: M5Stack speaker not working

      Hi @felmue,

      I believe it's the M5Stack Core. The sticker on the top reads 2AN3WM5Stack-CORE. It was purchased from here:
      https://www.tinytronics.nl/shop/en/platforms-and-systems/m5stack/m5core/m5core/m5stack-esp32-basic-development-kit

      My current sketch connects to my wifi, gets time via NTP and shows a little game of Pong on the screen. All of this works fine on the device.

      The board selected in Arduino IDE is M5Stack-Core-ESP32

      posted in PROJECTS
      N
      nexusdk
    • RE: M5Stack speaker not working

      Hi @felmue,

      Thanks for the response. This is the crash log:

      M5Stack initializing...OK
      E (14534) ledc: freq_hz=0 duty_resolution=13
      Guru Meditation Error: Core  1 panic'ed (IntegerDivideByZero). Exception was unhandled.
      
      Core  1 register dump:
      PC      : 0x4000d099  PS      : 0x00060830  A0      : 0x800ddc9e  A1      : 0x3ffb2720  
      A2      : 0x0f424000  A3      : 0x00000000  A4      : 0x00000000  A5      : 0x00000000  
      A6      : 0x00060820  A7      : 0x00000001  A8      : 0x00000001  A9      : 0x00000000  
      A10     : 0x00000000  A11     : 0x0f424000  A12     : 0x00060820  A13     : 0x3ffb2720  
      A14     : 0x007bdc94  A15     : 0x003fffff  SAR     : 0x00000001  EXCCAUSE: 0x00000006  
      EXCVADDR: 0x00000000  LBEG    : 0x4008b5a5  LEND    : 0x4008b5b5  LCOUNT  : 0xfffffffe  
      
      
      Backtrace:0x4000d096:0x3ffb27200x400ddc9b:0x3ffb2740 0x400d90b1:0x3ffb2780 0x400d572e:0x3ffb27c0 0x400d5755:0x3ffb27e0 0x400d29b9:0x3ffb2800 0x400dab9a:0x3ffb2820 
      
      
      
      
      ELF file SHA256: 0000000000000000
      
      Rebooting...
      ets Jul 29 2019 12:21:46
      
      rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
      configsip: 0, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff0030,len:1324
      ho 0 tail 12 room 4
      load:0x40078000,len:13508
      load:0x40080400,len:3604
      entry 0x400805f0
      

      When calling M5.Speaker.begin() I also get the IntegerDivideByZero.
      I actually did not know there was a crash log like this, so thanks for that!

      Burning the UIFlow firmware and using the speaker via https://flow.m5stack.com/ does work, so it must be something I am doing wrong. I am relieved that the device itself is not broken.

      posted in PROJECTS
      N
      nexusdk
    • M5Stack speaker not working

      When I call the M5.Speaker.begin or M5.Speaker.tone functions it just crashes and reboots.
      I'm coding from the Arduino IDE, and even the example Speaker sketch causes the same behaviour.
      Is my M5Stack broken? I got the thing today, and I'm certain it was making sounds when it booted up the first time.

      posted in PROJECTS
      N
      nexusdk