1 1
Rafal

How to change i2c baudrate

Recommended Posts

Hi everyone. I have nano pi neo core 2 with ARMBIAN 5.75 stable Debian GNU/Linux 9 (stretch) 4.19.20-sunxi64. I try to change i2c speed from 100 000 to 400 000.

I try:

 

sudo fdtput -t i sun50i-h5-nanopi-neo-core2.dtb i2c0 clock-frequency 400000
Error at 'i2c0': FDT_ERR_BADPATH


Anyone have idea how to change i2c speed?

Share this post


Link to post
Share on other sites
26 minutes ago, Rafal said:

Anyone have idea how to change i2c speed?

The node should be described as full path, so "/soc@1c00000/i2c@1c2ac00" should do it.

This tweak can also be done with an overlay ...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1