use i2c on MC9S08QE8

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

use i2c on MC9S08QE8

2,349 Views
Tramp
Contributor I
Hello all
I use controller MC9S08QE8 as a slave for transmission to i2c, configure:
IICC2_GCAEN=0;
IICC2_ADEXT=0;
IICA=0xA0;
IICC1_IICEN=1;
IICC1_IICIE=1;
IICS_IAAS=1;
but when I send the master address A0 or A1 my controller did not recognize it. Please tell me what could be the reason for this?

Thank you!
Labels (1)
0 Kudos
Reply
2 Replies

993 Views
fabio
Contributor IV

Hello Tramp,

I used the I2C slave example from my book HCS08 Unleashed with a QE8 and it worked ok (the example in the book was written for a QG8, but it is very simple to re-write it to the QE8).

You can download the examples at: www.sctec.com.br/hcs08 (check example 13.6).

Best,

0 Kudos
Reply

993 Views
Tramp
Contributor I
Hi fabio, thank you
0 Kudos
Reply