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.