FunkyDidi:
I have been working on a project involving a spectrofluorometer. As a first step I would like to reproduce the clock of the I2C system (to then control the system and send data to the spectro). The problem is that the I2C bus involved is a proprietary one, which means there are additional wires between the computer and the spectrofluorometer.
Do you know what the extra wires do?
I tried to code a new clock frequency (8kHz) with the Arduino but when i checked the results with a Saleae Logic16, the frequency slightly changed. I have been trying to change the TWBR parameter in the Wire library but I didn't achieve to get this exact frequency.
When you say slightly changes, by how much? Maybe the I2C is software driven and that could give slight changes. A small variation should not matter as data should be loaded on CLK low and read on CLK high.
Would you have any idea to do it or any piece of advice please ?
Can you attach the Saleae capture.