I2Cin/I2Cout too slow - HELP!?
Archiver
Posts: 46,084
I am working on an application where the speed of a constant data
transfer over the I2C bus is everything. Transfer of 9 bytes at a time
from a 24FC515 and directly out again to a MAX6956.
I see in the Basic Stamp Manual 2.0 that it says the maximum rate
should be about 81kbits/second (including I2C overhead). It doesn't
list variations for different models. Is that constant for all Basic
Stamp modules? I'm running the BS2p40, and I don't think I'm doing any
faster.
Is it realistic to think that I could bit bang the ports with my own
code any faster than the I2Cin/I2Cout commands?
If the Basic Stamp won't do it because it is too slow, is there a good
recommendation of something else to migrate to? BASIC is fun, but I'll
switch to assembly if it gets the job done.
transfer over the I2C bus is everything. Transfer of 9 bytes at a time
from a 24FC515 and directly out again to a MAX6956.
I see in the Basic Stamp Manual 2.0 that it says the maximum rate
should be about 81kbits/second (including I2C overhead). It doesn't
list variations for different models. Is that constant for all Basic
Stamp modules? I'm running the BS2p40, and I don't think I'm doing any
faster.
Is it realistic to think that I could bit bang the ports with my own
code any faster than the I2Cin/I2Cout commands?
If the Basic Stamp won't do it because it is too slow, is there a good
recommendation of something else to migrate to? BASIC is fun, but I'll
switch to assembly if it gets the job done.