this time I did not only run into a problem.
Today I measured the clock speed of an added I2C bus and the result was different from what I expected following (500 / udelay). I used an arbitrary "ground" pin and the scl pin, I specified when adding the bus, to measure the frequencies. In this case this was gpio pin 4. Maybe I understood the equation's meaning wrong in any way, but here are my results:
udelay = 5 => clock frequency = 76,5 kHz
udelay = 4 => clock frequency = 90 kHz
udelay = 3 => clock frequency = 111 kHz
After that I stopped, as I need a speed of about 100 kHz. Is there simply a number different from 500 used or did I get something wrong?
The problem now is passing 1 instead of 0 to sda_od and scl_od. Doing so causes the bus only to recognise one address in a chain of I2C devices. Passing 0, the bus recognises all of te devices. Any idea, what's happening here?
Thanks a lot and greets