??? 10/16/08 14:46 Read: times |
#159119 - Routines Responding to: ???'s previous message |
Thanks Stefan,
I've ommit some parts of my code due to lack of time, but my main routine at this time just read the addresses continously. The main initialization starts at 4bh and the loop is few bytes later I also tried to read once and stop in an endless loop (jmp $). Sometimes read all bytes, sometimes not. I'm calling the display routine in the interrupt just for debuging purposes, i have another piece of code that read the data from the registers filled with i2c data after i2cbusy is clear. As far i can remember, even when displaying data outside the interrupt, the same issue happens, and when reading another data (like the configuration registers) it runs smoothly. I'll remove that and try again. I pused/poped R's just as a desperated resort :P Thank you for your help, any progress i'll keep in touch Best Regards, |
Topic | Author | Date |
TWI and AD7745 with 5131 | 01/01/70 00:00 | |
where is main routine? | 01/01/70 00:00 | |
Routines | 01/01/70 00:00 | |
lack ot time ???? | 01/01/70 00:00 | |
License on I2C | 01/01/70 00:00 | |
Code | 01/01/70 00:00 | |
Slave? | 01/01/70 00:00 | |
Master![]() | 01/01/70 00:00 | |
TWI is a very common "generic" name for I2C-compat | 01/01/70 00:00 | |
I do not think so | 01/01/70 00:00 | |
Oh yes it is! (with examples) | 01/01/70 00:00 | |
Don't want to fight a lawyer | 01/01/70 00:00 |