Title: Interface I2C device with AIO 3399J [Print This Page] Author: KrunalShah Time: 3/26/2018 13:27 Title: Interface I2C device with AIO 3399J Hey, I am trying to interface MPU6050 and I2C-GPIO Expander(PCF8574) over i2c-4 of AIO 3399J.
And I have created an android application for MPU6050 using NDK.I am just using <linux/i2c-dev.h>(in my android application) to open the interface.But somehow I am not getting the bytes from the sensor.Do I need to write the drivers for MPU6050 separately or it should be fine?
Same for GPIO expander.Author: leungÏÈÉ Time: 3/29/2018 19:34
SDK have already include mpu driver, but you need to enable its driver.
take a sample with kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-edp.dts
there is sensor config inside.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)