Navid T
Full Member level 3
Hi friends
I want to read ITG-3200 ( by I2C module of dspic30F2011 ). in normal program it's ok and i can read it without problem, but the problem is my main program has timer interrupt too, the timer interrupt happens so faster than reading from i2c and when it's reading ITG-3200 from I2C module lot of interrupt comes between reading and after short time it makes problem for ITG read. ( i use timer interrupt to make software pwm )
do you have any suggestion?
Regards
I want to read ITG-3200 ( by I2C module of dspic30F2011 ). in normal program it's ok and i can read it without problem, but the problem is my main program has timer interrupt too, the timer interrupt happens so faster than reading from i2c and when it's reading ITG-3200 from I2C module lot of interrupt comes between reading and after short time it makes problem for ITG read. ( i use timer interrupt to make software pwm )
do you have any suggestion?
Regards