Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/11/02 17:03
Read: times


 
#24288 - RE: Philips 87LPC767 & I2C
No Erik,
we have a I2C-ISR that works fine (it seems so).
But when we change the following statements inside the I2C-ISR, the I2C-Communication is corrupt. The only difference is the EA=0 and
EA=1 around the reading of the global variable!


Original statements inside the I2C-ISR:
---------------------------------------

static unsigned char ucd;

ucd=ucd_GlobalCounter



---------------------------------------
Changed statement inside the I2C-ISR:
---------------------------------------
static unsigned char ucd;

EA=0;
ucd=ucd_GlobalCounter
EA=1;








List of 6 messages in thread
TopicAuthorDate
Philips 87LPC767 & I2C            01/01/70 00:00      
RE: Philips 87LPC767 & I2C            01/01/70 00:00      
RE: Philips 87LPC767 & I2C            01/01/70 00:00      
RE: Philips 87LPC767 & I2C            01/01/70 00:00      
RE: Philips 87LPC767 & I2C            01/01/70 00:00      
RE: Philips 87LPC767 & I2C            01/01/70 00:00      

Back to Subject List