NRF52 Thingy:52 board does not report sensors on I2C bus #1
- Dominant language
- C
- Stars
- 891
- Forks
- 381
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
I'm having some I2C issues while running the **sensors_test** application on a Thingy:52 (pca20020) board.
Although scanning the I2C #0 bus does report the proper number of devices at the correct address (one single device @0x19), scanning the I2C #1 bus does not report any connected
devices, despite that there are few of them (pressure, humidity,..).
I do believe that there is a mistake in the **hw/bsp/nordic_pca20020/syscfg.yml** since I2C_1_PIN_SCL and I2C_PINSDA values seems to be inverted according the the Thingy:52 user's guide.
But applying the fix below did not solve my issue:
# I2C_1 is SCL/SDA (MPU-9250, LPS22HB, HTS221, BH1745NUC, CCS811)
- I2C_1_PIN_SCL: 7
- I2C_1_PIN_SDA: 8
+ I2C_1_PIN_SCL: 8
+ I2C_1_PIN_SDA: 7
The I2C scan on bus #1 still reports no device after cleaning, rebuilding and running the new image.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the sensors_test application and hw/bsp/nordic_pca20020/syscfg.yml, then compare the I2C_1 pin assignments with the Thingy:52 user's guide. Reproduce the scan after cleaning and rebuilding the image. Done means I2C bus #1 detects the expected pressure, humidity, and other connected sensors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100