yutaide edited a comment on pull request #3646: URL: https://github.com/apache/incubator-nuttx/pull/3646#issuecomment-831129055
I got -11 as returned value of mpu60x0_register(). I got errors below too after I enabled I2C Debug features in menuconfig. ```: nsh> stm32_i2c_sendstart: RELOAD enabled: dcnt = 1 msgc = 2 stm32_i2c_sendstart: Sending START: dcnt=1 msgc=2 flags=0x0040 stm32_i2c_isr_process: ENTER: status = 0x00008201 stm32_i2c_isr_process: ERROR: Invalid state detected, status 0x00000201 stm32_i2c_isr_process: MSG: Shutting down I2C ISR stm32_i2c_isr_process: EXIT: status = 0x00000001 stm32_i2c_process: Waitdone success: CR1: 0x00000010 CR2: 0x010100d0 status: 0x00000201 stm32_i2c_process: priv->status: 0x00000201 stm32_i2c_process: ERROR: I2C Arbitration Lost ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
