MC9S08QE32 I2C problem with Tmp112

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

MC9S08QE32 I2C problem with Tmp112

678 Views
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.

Labels (1)
0 Kudos
3 Replies

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

401 Views
gpd
Contributor I

Hi Zhang,

I can't see the attached.

0 Kudos

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