Introduction - If you have any usage issues, please Google them yourself
I ve never managed to get the Mega128 TWI (two wire interface,
also called I2C) interface working totally satisfactorily. It seems
to require some "magic numbers" I suspect it does some wierd
clocking tricks which results in strange waveforms with certain
settings. Just a suspicion, as I don t have a digital scope so I cannot
verify anything. And it s possible that the STA013 is very picky
about its I2C parameters, although I view this as less likely.
Nonetheless the current TWI parameters do work reliably. I don t consider
them optimal (I d like it faster) but if you want to play with
the TWI interface, be warned, it s extremely easy to break it.
Not an issue per-se just a warning.