MC9S08DZ60AMLH I2C issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9S08DZ60AMLH I2C issue

594 次查看
Chicago1984
Contributor II

I'm developing the IIC driver for the MC9S08DZ60AMLH processor.  At first it was working, then suddenly it stopped.  I found a bad solder joint and repaired it, but it still does not work.

 

Whenever I set the MST bit, it immediately clears!  The unit never enters master mode - it never sends any data out.

 

I've searched all the datasheets I can find, nothing mentions this as an issue.  They all simply say "set the MST bit to enter into master mode and create an IIC START".

 

To test the lines I've set the GPIO to output on the same lines and have had no problem making the lines go high and low.

 

I also switched to the other pins (you can use two different sets of pins) and tried it there.  Same results.

 

Any ideas?  Could the IIC module be damaged?

标签 (1)
0 项奖励
回复
1 回复

446 次查看
david_diaz
NXP Employee
NXP Employee

Hello,

Please find attached to this response an IIC sample code for your device.

I recommend testing the mentioned code in order to check if the IIC module is still working.

In that way we can be sure if the code or the hardware is the problem.

Have a great day. :smileyhappy:

0 项奖励
回复