I2C problem with hcs08gb60

Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C problem with hcs08gb60

Contributor I
This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.

Posted: Tue Feb 08, 2005 1:40 pm    

Hi All,

I cant seem to get the I2C Module to interrupt my processor.
I setup th IIC1F register for 100kbps,
I put #%11111000 into the IIC1C register,
I clear the IIC1S register and then,
I put the address of the slave into the IIC1D register and RTS

I was under the assumption that I should now get an interrupt from the I2C module when the transfer is complete, but this is not happening Crying or Very sad


Posted: Thu Feb 24, 2005 6:54 pm  


Look at sei/cli, any other interrupt mask bits, do SW simulation first, check all the interupt mask chain and so on... Or send more info or code sample. 

Posted: Tue Mar 01, 2005 11:12 am    

Thanks for the reply.
Problem solved, I was not sending a start signal. Supposed to toggle Master Mode Select Bit in the IIC1C register from 0-slave mode to 1-master mode in order to send a start signal.

Didnt read the book properly.....
Live and learn I suppose.....

Labels (1)
0 Kudos
0 Replies