??? 02/13/06 15:05 Read: times |
#109845 - then the question is "when" Responding to: ???'s previous message |
On all my applications the SW-I2C cost only 1% or less of CPU time. So changing to HW-I2C will give no noticeable speed improvement.
if you do all IIC e.g. at startup, then, of course who cares, but if you have much other going on the bit-banging whatever (not only IIC) can cause so called "unexplained" errors. bit-bang which is 1% of processing total is still 100% of processing when it takes place. If you can accept 100% at such times, who cares, if you can't then you need HW IIC. So, Peter, in many cases you can use bit-bang with no ill effect, but, as I post, not in all. Should that be a reason to shun HW IIC? that is where we disagree. Erik |