I was working on a project up to October last year, that contained the use of two slots on a 28X2.
Slot 1 contained a full function clock/alarm. And slot 0 monitored/controlled dozens of I/O's. Which required continuous scanning of those inputs.
The issue I have experienced, is the i2C bus loosing data sync as the programs shift back and forth between slot's, at least 6 x per second... Which is obviously slowed by changing command and flag variable data and the re-diverting of the program to where it left off.
I tried all sorts of methods... running i2C read in both slots, trying to resync the data as it entered each slot.
But can not maintain continous sync for longer than a 1 minute or so.
Both program memory's have used around 3500byte.
Both programs are 95% complete. But I couldn't get this to work... So I moved to other things and forgot most of what I tried.
Just thought I'd ask if anyone else found a fool proof way to accomplish this?
Thanks
Slot 1 contained a full function clock/alarm. And slot 0 monitored/controlled dozens of I/O's. Which required continuous scanning of those inputs.
The issue I have experienced, is the i2C bus loosing data sync as the programs shift back and forth between slot's, at least 6 x per second... Which is obviously slowed by changing command and flag variable data and the re-diverting of the program to where it left off.
I tried all sorts of methods... running i2C read in both slots, trying to resync the data as it entered each slot.
But can not maintain continous sync for longer than a 1 minute or so.
Both program memory's have used around 3500byte.
Both programs are 95% complete. But I couldn't get this to work... So I moved to other things and forgot most of what I tried.
Just thought I'd ask if anyone else found a fool proof way to accomplish this?
Thanks
Last edited: