Max Speed for I2C
Posted 15 March 2013 - 02:35 PM
Posted 15 March 2013 - 04:30 PM
Posted 18 March 2013 - 08:24 AM
I2C on the U6 is software generated. 130kHz is about as fast as it can go.
I am trying to find what are the speeds for the I2C on the LAbjack but I can't find it on the datasheet. I want to set the I2C to 100KHz. i know the function to set it up on C# is
//0 is max speed of about 130kHz
LJUD.AddRequest(LJU6.ljhandle, LJUD.IO.PUT_CONFIG, LJUD.CHANNEL.I2C_SPEED_ADJUST, 0, 0, 0);
from the examples folder.
Thanks in advance.
Posted 18 March 2013 - 08:39 AM
If you want to get closer to 100 kHz for some reason, I would try values from 1-19 and see what is closest. Section 4.3.11 refers you to Section 5.2.12 which has the following description:
SpeedAdjust: Allows the communication frequency to be reduced. 0 is the maximum speed of about 150 kHz. 20 is a speed of about 70 kHz. 255 is the minimum speed of about 10 kHz.
BTW: For digital expansion or multiplexing, we and customers have used a port expander IC. SPI is generally simpler and easier to troubleshoot than I2C, so we have used the MCP23S17 before:
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users