-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Cannot get BMP388 / ICM20948 sensors to work #286
Comments
I've got exactly the same issue with the same module. |
Fantastic, it now works flawlessly with the two resistors removed. Thanks @oriagranat9 |
I have not had much time to play with this since posting but I did put it on the scope shortly after and noticed that at certain times an I2C line (forget which one - e.g. SCL vs SDA) sat at half bus voltage during comms and did not return to Vbus. So I thought there was some contention between the two I2C devices during or after they are initially configured. Almost as though one is trying to hold the line high while the other is holding the line low. Didn't get much time to spend on it beyond that but if the above solution works, then great. I'll try it out shortly. It is odd though that it's rated to operate from 1.8-5V. I think the above solution is possibly a work-around and not addressing the core issue. When I get a chance, I'll try to play around with in on a controlled 3.3V Arduino setup to confirm either way what the underlying issue is - be it hardware or software. |
I see the two reisitors are for I2C pullup to Vcc, if I'm looking at the board correctly. Vdd for the chips is 3.3 so there is a voltage regualtor to drop the 5V pin to 3.3v. Or you can use the 3.3v pin for power. Pi I/O is 3.3v. Odd #1: the reisitors are 2.2K ohm. Typically the pullups are 4.7k or 10k. Unless you have another I2C device on the bus you need pullups. Odd #2: The ICM20948 , while being a 3.3v device has a max. I/O voltage of 1.95v so I'm at odds on how it's life will be when feed 3.3v on the I2C pins. I wish "they" had changed the part # (GY-91) when "they" change the actual chips. |
Stratux version: Latest
Stratux config:
SDR
GPS
type:ublox9
AHRS
power source: Wall wart
usb cable: n/a
EFB app and version: (e.g., WingX Pro7 8.6.2) N/A
EFB platform: (e.g., iOS 9.2)
EFB hardware: (e.g., iPad Mini 2)
Description of your issue:
I'm trying to use a GY-912 module (which includes a BMP388 and a ICM20948). I'm unable to get data from the sensor(s) with error:
2024/06/20 22:12:39 Error identifying BMP: remote I/O error
2024/06/20 22:12:39 Error identifying IMU: remote I/O error
I know both sensors are good because I was able to read their data successfully using an Arduino and some basic Arduino libraries.
The I2C addresses (as read via Arduino) are as follows:
BMP388 - 0x76
ICM20948 - 0x68
I also know the stratux setup I'm testing with is good because I have no issue reading both BMP280 and MPU-9250 sensor boards.
Is there any specific config I need to do to get these sensors to work? Any thoughts on the issue?
The text was updated successfully, but these errors were encountered: