-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i2c_scanner does not work on olimexino_stm32 #22027
Comments
I have tested another eeprom , at24c02 , address is 0x50 , but there is nothing in the i2c_scanner console . |
Cf #20325: Moving this to enhancement. |
#20560 fixed the I2C scanner on STM32, so if this is reproducible there's something else going on. Possibly scanning the wrong I2C bus. |
please file a bug if this still occurs. |
building the i2c_scanner on olimexino_stm32 , with the sht3xd sensor connected to i2c1 , I keep getting this error when running i2c_scanner
[00:00:00.051,000] i2c_ll_stm32_v1.msg_end: stm32_i2c_msg_write: NACK
is there need extra kernel config when using the i2c API in stm32 ?
Starting i2c scanner...
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
0 devices found on I2C_1
prj.conf
CONFIG_I2C=y
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_PRINTK=y
CONFIG_I2C_LOG_LEVEL_DBG=y
The text was updated successfully, but these errors were encountered: