I2C Communication

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

I2C Communication

562 Views
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

Labels (1)
0 Kudos
1 Reply

249 Views
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 Kudos