use i2c on MC9S08QE8

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

use i2c on MC9S08QE8

2,359件の閲覧回数
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!
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

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

1,003件の閲覧回数
Tramp
Contributor I
Hi fabio, thank you
0 件の賞賛
返信