About problem of Rrk3399's I2C being not able to driven up

We encountered some problem of Camera integration. Currently our R&D progress is blocked at I2C being not able to driven up。 Even we are using official open-source code project and Devicetree file:

The phenomenon is any enabled I2C bus, SDA SCLkeep low. If externally connect to pull-up circuit,SDA become high voltage,but SCL is still less than 0.2V.
Check dmesg, it reports: “rk3x-i2c ff120000.i2c: timeout, ipd: 0x00, state:1”

Does anyone know the reaosn?

I thought if you have not changed the code of the i2c2, it might be the hardware broken.

Hi,
I have got the same problem (same error message), but on I2C4.
When you say “It might be the hardware broken” : does Firefly change the board ? It’s a brand new one received one week ago !!!

@wizama

I2C4_SDA & I2C4_CLK are pulled up by the VCC_3V0 regulator.
Plz describe your problem more specifically.
It might be the same error message, but might not be the same reason.

Hi penguin,
Thank you for your message.

I have got 3 boards AIO-3399C, and the issue only concerns one of them.
All three run the same customized firmware which is compiled from the sources with only the LVDS screen resolution modified in the DTS and the boot animation updated with customized logo. No changes have been made about I2C configuration.
On the I2C4 port, a NFC reader is connected, but is never detected whereas it is on the 2 other boards.

Here is the log I got from debug serial port on launch :

[    1.878134] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff800994a000

which suppose it seems to correctly initialized;
however, when i run “i2cdetect -y 4” command as root, it runs very slow, and for each tested address, I have the following in the logs :

[  288.691942] rk3x-i2c ff3d0000.i2c: timeout, ipd: 0x00, state: 1

SDA is 3V and SCL is 0V, but should be 3V also

On the 2 other boards, this command is fast and displays for each address if a device is connected or not.

Any idea ?

You need to have the hardware guy check that. SDA and SCL are pulled up to 3V. If no communication is in place, the voltage should be both 3V.
While communicating, there should be a square clock/signal.

See: https://robot-electronics.co.uk/i2c-tutorial
In particular:
It shows how to wire up the I2C bus.

Addendum: I’ve not tested the I2C bus yet, but I plan to.

Thanks ballsystemlord , for attaching a clear picture and tutorial link.

This is so good, I’m liking it immediately. The Valid dumps 156-836 ppt resource is available for free, hoping it supports your learning process.

Your article was incredibly refreshing, thank you. Reliable NCE-ABE exam bootcamp gives you a wealth of free content, created to assist you.

I love the content, so it’s an instant like for me. With Latest test Experience-Cloud-Consultant collection free, you get access to valuable content at no cost, designed for your benefit.

我相信不論在哪個行業工作的人都希望自己有很好的職業前景。當然在競爭激烈的IT行業裏面也不例外。在IT行業中工作的專業人士也希望自己有個很好的提升機會和很大的提升空間。很多專業的IT人士都知道SAP C_BCBDC_2505 認證考試可以幫你滿足這些願望的。而PDFExamDumps是一個能幫助你成功通過SAP C_BCBDC_2505 的網站。

Thank you for your wonderful share; this article really opened my eyes! The PCAP-31-03 free Brain dumps content is of great value, and it’s completely free.