Firefly Open Source Community

Title: I2C-1 of Firefly RK3288 [Print This Page]

Author: BBMechan    Time: 11/10/2016 17:18
Title: I2C-1 of Firefly RK3288
We are interfacing MPU6050 sensor to I2C-1 of Firefly RK3288. We are accessing the I2C module through NDK-JNI interface in Android.
We were able to read the sensor data at the rate of 40Hz running I2C @ 400Khz in one of our earlier prototype boards (Samsung Chipset) and now we have shifted to Firefly for our production version.
With Firefly RK3288 we are able to achieve only 20Hz sensor data rate running I2C @ 400KHz, we would like to achieve 40Hz sensor data rate how can we achieve it in Firefly.

Question 1 : Does Firefly uses Software bit-banging for I2C implementation or it used hardware controller?
Question 2 : How can I achieve 1Mhz I2C clock rate in Firefly.(I was able to do 1 MHz in Samsung chipset)
Author: isle    Time: 11/11/2016 09:46
Hi
1 It use hardware controller for I2C implementation.
2 NO! the rk3288 has the maximum limit of 400Kbit/s transmission rate.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1