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?

1,630件の閲覧回数
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,166件の閲覧回数
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,166件の閲覧回数
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,165件の閲覧回数
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,165件の閲覧回数
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,165件の閲覧回数
LeonardoSandova
Specialist I

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

0 件の賞賛
返信

1,165件の閲覧回数
rogergipson
Contributor I

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

Thank you.

Roger

0 件の賞賛
返信

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