Just change the speed in board file or in dts
&i2c4 {
pinctrl-names = "default";
clock-frequency = <400000>;
};
It is 400kHz you can change to 100kHz
or If you are using a board file
omap_register_i2c_bus(2, 400, drishti_i2c2_board_info,
ARRAY_SIZE(drishti_i2c2_board_info));
You can specify 100
I also dont see a point to reduce . You can also specify in u-boot as well
Kavitha
On Mon, Sep 1, 2014 at 12:17 PM, Martin H. <[email protected]> wrote:
> You might like to have a look at the P82B96 data sheet.
> Feature:
> "400kHz operation over at least 20 meters of wire"
>
> And you don't have to modifiy your I2C code!
>
> Martin H.
>
> Am Freitag, 29. August 2014 19:18:46 UTC+2 schrieb [email protected]:
>
>> I want to stretch the I2C bus to a few metres, I will use screened
>> cable to minimise noise pick-up but this will increase the capacitive
>> load on the bus. So, I probably need to reduce the I2C clock
>> frequency, how easy is it to do this? I will probably use the
>> Adafruit libraries but don't have to.
>>
>> --
>> Chris Green
>> ยท
>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.