This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: Connecting i2c Sensor to Expansion (40-pin Header)[J3]

Part Number: SK-TDA4VM


I use the PROCESSOR-SDK-LINUX-SK-TDA4VM and I would like to include a BME280 sensor to my board.

I connected a BME280 sensor to the i2c-pins of the 40-pin Header, but I can't detect the sensor via i2cdetect.

Is it possible to use these pins out of the box?

Thanks!

  • Hi Tom,

    Which i2c instance of the SoC is being used?

    Also what's the slave id of the BME280 Device?

    Which 40 pin header? And what pin numbers are connected?

    Best Regards,

    Keerthy 

  • Hi Keerthy,

    thanks for your response.

    I use the i2c5 bus and the adress of my BME280 device is 0x76.

    I use the SK-TDA4VM Board and there is only one 40-Pin Header played on it.

    The SDA Pin of my Sensor is connected to Pin 3, the SCL Pin is conncected to Pin 5, VCC to Pin 1 and Gnd to Pin 6.

    Best Regards,

    Tom

  • Hi Tom,

    Couple of things to start with:

    • First can you check if the i2c5 is probed: 'dmesg | grep i2c'
    • With the above command make sure i2c5 is probed and get the instance number.
    • If i2c commands are failing do you see any clk signal?
    • Also is the pinmux set correctly for the i2c pins?

    Best Regards,

    Keerthy