I2C Master Receive

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

I2C Master Receive

跳至解决方案
2,720 次查看
DemaQasem
Contributor II

Hello,
I am implementing an i2c demo example to receive data from a sensor,
the s32k144 will act as a master and the sensor as a slave,

I tried to use an example code but all I found was Master Transmitter codes,

is there a simple Master Receiver code available? 

Thank you,

Dema. 

0 项奖励
回复
1 解答
2,699 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Dema,

It looks like you are referring to the S32K144_Project_LPI2C example in AN5413SW.
Please install S32DS v3.4 + S32K1 SDK RTM v4.0.3, there are several I2C examples for reference.

S32K1xx SDK RTM v4.0.3 Examples.jpg


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,700 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Dema,

It looks like you are referring to the S32K144_Project_LPI2C example in AN5413SW.
Please install S32DS v3.4 + S32K1 SDK RTM v4.0.3, there are several I2C examples for reference.

S32K1xx SDK RTM v4.0.3 Examples.jpg


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
2,655 次查看
DemaQasem
Contributor II

Thank you, Robin,

the sensor was detected and I received an ACK.

 

0 项奖励
回复