Faster i2c
hi
i trying change i2c clock speed following instructions in past topic here:
http://forum.arduino.cc/index.php?topic=16793.0
as instructed, have changed twi.h file, found in:
..\arduino-1.5.2\hardware\arduino\avr\libraries\wire\utility
i changed definition line from:
to
however can't find wire.o delete. saw in other forums there no more need deleting .o files. in case measure i2c clock speed using scope , doesn't change initial value of 10usec.
any suggestions?
10x
gil
i trying change i2c clock speed following instructions in past topic here:
http://forum.arduino.cc/index.php?topic=16793.0
as instructed, have changed twi.h file, found in:
..\arduino-1.5.2\hardware\arduino\avr\libraries\wire\utility
i changed definition line from:
code: [select]
#define twi_freq 100000l
to
code: [select]
#define twi_freq 400000l
however can't find wire.o delete. saw in other forums there no more need deleting .o files. in case measure i2c clock speed using scope , doesn't change initial value of 10usec.
any suggestions?
10x
gil
check i2c scanner - http://forum.arduino.cc/index.php?topic=197360.0 -
you can adjust twbr within sketch, easiest way , can use every ic on max speed.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Faster i2c
arduino
Comments
Post a Comment