I2C Communication

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

I2C Communication

736 次查看
alancalonico
Contributor II

Dear all,

I'm working with 2u (MC9S08SH8CWJ and MC9S08QG4) the problem is that the slave doesn't respond anything, as the protocol indicate first I send a byte(with an specific add 0x84) and then read a byte saved in a void byte in master mode,  and in slave mode i'm just send a data with an pointer that point an specif address with content.

 

I'm using the I2C methods and function, but doesn't work, I see an Oscilloscope like the Master send the start conditional, slave address, and the  write bit, but like never receive the acknowledge, so i think that problem is slave rigth? have you any idea like repair?

Original Attachment has been moved to: SL6TXRX.rar

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

423 次查看
MehmetAliIpin
Contributor V

Please check if the power supply/oscillator of slave is ok, and the chip is working;

then check I2C start condition requirements are met (rise time, fall time, high/low before/after timing requirements )

then check its slave address is correct, and same as you see on oscilloscope,

then check if slave chip is not in master mode, with its status/control register.

0 项奖励
回复