Does anyone have bare metal code for the i2c engine on IMX6 single core?

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

Does anyone have bare metal code for the i2c engine on IMX6 single core?

2,350 次查看
rogergipson
Contributor I

I desperately need some working I2C code for a bare metal application on a IMX6 single core.

I have used the freescale SDK and there is NO working code found in it.

Please help.....

Thank you.

Tecfacet at yahoo dot come

标签 (1)
0 项奖励
回复
7 回复数

1,886 次查看
LeonardoSandova
Specialist I

If SDK code is not working, I do not believe there is other place to find code like this.

What is the problem with the SDK I2C code?

Leo

0 项奖励
回复

1,886 次查看
rogergipson
Contributor I

It appears that the i2c code does not want to allow two byte reads to some devices.  I just want to see some code that has been tested to work.

I cannot get a definitive answer from Freescale.  They have been less than helpful.

Roger

0 项奖励
回复

1,885 次查看
YixingKong
Senior Contributor IV

Roger

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 项奖励
回复

1,885 次查看
YixingKong
Senior Contributor IV

Roger

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel

free to reply with an update to this discussion.

Thanks,
Yixing

0 项奖励
回复

1,885 次查看
LeonardoSandova
Specialist I

If you provide more details on the problem, we can help you more.

0 项奖励
回复

1,885 次查看
rogergipson
Contributor I

I understand that u-boot has this function.  I need bare metal code.

Thank you.

Roger

0 项奖励
回复

1,885 次查看
fabio_estevam
NXP Employee
NXP Employee

You can use U-boot for this purpose. It has i2c commands you can use for your tests.

0 项奖励
回复