Mar 26, 2006 #1 R ragabs Full Member level 1 Joined Jun 28, 2005 Messages 96 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 2,111 i2c for mc68hc908lk24 dear all can u help me to write code for i2c module in mc68hc908lk24? i already write one but it makes the two pins sda and scl to go low. if u send me a sample code it will be very useful. thanx
i2c for mc68hc908lk24 dear all can u help me to write code for i2c module in mc68hc908lk24? i already write one but it makes the two pins sda and scl to go low. if u send me a sample code it will be very useful. thanx
Mar 26, 2006 #2 LBdgWgt Member level 5 Joined Mar 6, 2006 Messages 83 Helped 5 Reputation 10 Reaction score 0 Trophy points 1,286 Activity points 2,066 Re: i2c for mc68hc908lk24 I recently made code for I2C module for Freescale uC 9S12DP256, writen in C and using ICC12 compiler. are u interested? best regards,
Re: i2c for mc68hc908lk24 I recently made code for I2C module for Freescale uC 9S12DP256, writen in C and using ICC12 compiler. are u interested? best regards,
Mar 26, 2006 #3 R ragabs Full Member level 1 Joined Jun 28, 2005 Messages 96 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 2,111 Re: i2c for mc68hc908lk24 yes ofcourse i think it will be a good guide to debug my code. can u send it to me? i think it will be very helpeful. thanx lbdgwgt
Re: i2c for mc68hc908lk24 yes ofcourse i think it will be a good guide to debug my code. can u send it to me? i think it will be very helpeful. thanx lbdgwgt
Mar 26, 2006 #4 LBdgWgt Member level 5 Joined Mar 6, 2006 Messages 83 Helped 5 Reputation 10 Reaction score 0 Trophy points 1,286 Activity points 2,066 Re: i2c for mc68hc908lk24 Here it is, hope it helps. I am using the internal I2C module of the uC. If it helps, don't forget to click the "Helped me" button best regards,
Re: i2c for mc68hc908lk24 Here it is, hope it helps. I am using the internal I2C module of the uC. If it helps, don't forget to click the "Helped me" button best regards,
Mar 27, 2006 #5 R ragabs Full Member level 1 Joined Jun 28, 2005 Messages 96 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 2,111 Re: i2c for mc68hc908lk24 thank you i compare my code with urs and i found that they were almost the same but the difference is the sequence u first load the adress register then enable the i2c module; i made the apposite. now it seems working good needs the traditional debugging steps . thank u again i will press helped me
Re: i2c for mc68hc908lk24 thank you i compare my code with urs and i found that they were almost the same but the difference is the sequence u first load the adress register then enable the i2c module; i made the apposite. now it seems working good needs the traditional debugging steps . thank u again i will press helped me