Re: I cannot make i2c work in raspberry pi Zero W

2024-07-13 Thread Ramiro Aceves
El 11/7/24 a las 19:20, Michael van Elst escribió: ea1...@gmail.com (Ramiro Aceves) writes: Just a probably silly question: If I want to read the sensor that is being used by the bmh280thp driver, should I stop the driver first or the sensor can be inquired by the driver and my program ? You

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-11 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >Just a probably silly question: If I want to read the sensor that is >being used by the bmh280thp driver, should I stop the driver first or >the sensor can be inquired by the driver and my program ? You should remove the driver. The driver gets regularly

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-11 Thread Ramiro Aceves
Hello Brad, El jue, 11 jul 2024 a las 12:25, Brad Spencer () escribió: > > Ramiro Aceves writes: > > [snip] > > > Just a probably silly question: If I want to read the sensor that is > > being used by the bmh280thp driver, should I stop the driver first or > > the sensor can be inquired by the dr

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-11 Thread Brad Spencer
Ramiro Aceves writes: [snip] > Just a probably silly question: If I want to read the sensor that is > being used by the bmh280thp driver, should I stop the driver first or > the sensor can be inquired by the driver and my program ? > > Regards. > Ramiro. That question is device and driver depe

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-11 Thread Ramiro Aceves
Hello Michael El mar, 9 jul 2024 a las 0:38, Michael van Elst () escribió: > > ea1...@gmail.com (Ramiro Aceves) writes: > > >I see that i2c works even if not configured on /boot/config.txt > >commenting the dtparam=i2c_arm=on: > > Yes, that dtparam doesn't exist in our DTB file. > > Our DTB file m

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-08 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >I see that i2c works even if not configured on /boot/config.txt >commenting the dtparam=i2c_arm=on: Yes, that dtparam doesn't exist in our DTB file. Our DTB file makes all 3 I2C devices available, like: i2c@7e205000 { status = "okay"; } i2c@7e80400

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-08 Thread Ramiro Aceves
Hello Michael, El 7/7/24 a las 22:10, Michael van Elst escribió: ea1...@gmail.com (Ramiro Aceves) writes: I have connected a BMP280 pressure sensor to my piZeroW just to learn a li= ttle of i2c programming on NetBSD=2E Before doing real programming I issued= a i2scan command to ensure the syst

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-08 Thread Ramiro Aceves
Hello Brad, El 7/7/24 a las 20:40, Brad Spencer escribió: ... >... All of the above is probably fine, assuming that the i2c bus is found. I am not familiar with using that particular dtparam line... and don't have a RPI0W. I have never needed anything to enable i2c on the RPI. You will have t

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-07 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >I have connected a BMP280 pressure sensor to my piZeroW just to learn a li= >ttle of i2c programming on NetBSD=2E Before doing real programming I issued= > a i2scan command to ensure the system works, but a lot of inexistent devic= >es are detected (even i

Re: I cannot make i2c work in raspberry pi Zero W

2024-07-07 Thread Brad Spencer
Ramiro Aceves writes: > Hello, > > I have connected a BMP280 pressure sensor to my piZeroW just to learn a > little of i2c programming on NetBSD. Before doing real programming I issued a > i2scan command to ensure the system works, but a lot of inexistent devices > are detected (even if nothin