Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

I2C-1 of Firefly RK3288

17

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
17

I2C-1 of Firefly RK3288

Posted at 11/10/2016 17:18:07      View:3043 | Replies:1        Print      Only Author   [Copy Link] 1#
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)
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 11/11/2016 09:46:06        Only Author  2#
Hi
1 It use hardware controller for I2C implementation.
2 NO! the rk3288 has the maximum limit of 400Kbit/s transmission rate.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list