MC9S08QE32 I2C problem with Tmp112

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

MC9S08QE32 I2C problem with Tmp112

966件の閲覧回数
gpd
Contributor I

Hi,

I'm tring to read temperature from Tmp112 sensor connected to my MC9S08QE32 via I2C bus.

 

I've generated the code with Processor Expert, but I never receive the ack condition, so I always read ZERO.

 

Is possible to see some I2C (Processor Expert) working code? Just as example.

 

Thank you.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

689件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello Gain,

I attached you a processor expert I2C demo code made under CW6.3. you can also get it from

{CW6.3 install}\ProcessorExpert\Projects\Test projects\InternalI2C.


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

689件の閲覧回数
gpd
Contributor I

Hi Zhang,

I can't see the attached.

0 件の賞賛
返信

689件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

I just attached it.

can it help?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信