You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The driver works fine when using GPIO0 and GPIO2 pins. However, I'd like to use it with the bmp sensor connected to GPIO12/13/14. I've tried different combinations: SDA connected to GPIO 12 & SCL to GPIO 13, SDA to 13 & SCL to 12, SDA to 0 & SCL to 12 and a lot of other combinations. I'm getting either the "BMP180: wanted chip id 0x55, found chip id 0x0" or "slave not ACK" message. The only combinations that work for me are: SDA to 0 & SCL to 2 or vice versa.
I'm using the ESP-03. Would you have any idea why only pins 0 and 2 work? Are GPIO 12-14 different in any way? How would you try to troubleshoot the problem?
Many thanks in advance,
Regards,
Paweł
The text was updated successfully, but these errors were encountered:
Hello,
The driver works fine when using GPIO0 and GPIO2 pins. However, I'd like to use it with the bmp sensor connected to GPIO12/13/14. I've tried different combinations: SDA connected to GPIO 12 & SCL to GPIO 13, SDA to 13 & SCL to 12, SDA to 0 & SCL to 12 and a lot of other combinations. I'm getting either the "BMP180: wanted chip id 0x55, found chip id 0x0" or "slave not ACK" message. The only combinations that work for me are: SDA to 0 & SCL to 2 or vice versa.
Example definitions that I'm using:
define PERIPHS_IO_MUX_GPIO13_U (PERIPHS_IO_MUX + 0x08)
// SDA on GPIO13
define I2C_SDA_MUX PERIPHS_IO_MUX_GPIO13_U
define I2C_SDA_FUNC FUNC_GPIO13
define I2C_SDA_PIN 13
//SCK on GPIO12
define I2C_SCK_MUX PERIPHS_IO_MUX_GPIO12_U
define I2C_SCK_PIN 12
define I2C_SCK_FUNC FUNC_GPIO12
I'm using the ESP-03. Would you have any idea why only pins 0 and 2 work? Are GPIO 12-14 different in any way? How would you try to troubleshoot the problem?
Many thanks in advance,
Regards,
Paweł
The text was updated successfully, but these errors were encountered: