I2C Communication

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C Communication

991件の閲覧回数
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 返信

678件の閲覧回数
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 件の賞賛
返信