invensense-imu
invensense-imu copied to clipboard
assert failed: i2c_ll_set_bus_timing i2c_ll.h:109 (scl_high > 13)
Hi
I tried your library with i2c.ino to EPS32. https://github.com/bolderflight/invensense-imu/tree/main/examples/arduino/mpu9250/i2c The compilation is a success (no error). However, the system continuously reboots.
Please share your comments with me to fix it.
`ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (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:1416 load:0x40078000,len:14804 load:0x40080400,len:4 load:0x40080404,len:3356 entry 0x4008059c
assert failed: i2c_ll_set_bus_timing i2c_ll.h:109 (scl_high > 13)
Backtrace: 0x40082529:0x3ffb2080 0x40088335:0x3ffb20a0 0x4008d362:0x3ffb20c0 0x400dc932:0x3ffb21f0 0x400d3601:0x3ffb2210 0x400d2047:0x3ffb2240 0x400d1582:0x3ffb2260 0x400d4eb5:0x3ffb2290
ELF file SHA256: 31605a112e3abb44
Rebooting...`
Checked with Arduino I2Cscanner, the sample found I2C address 0x68. https://playground.arduino.cc/Main/I2cScanner/ This shows the system and connection are corrected.
`ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (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:1416 load:0x40078000,len:14804 load:0x40080400,len:4 load:0x40080404,len:3356 entry 0x4008059c
I2C Scanner Scanning... I2C device found at address 0x68 ! done
Scanning... I2C device found at address 0x68 ! done`