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

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

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

1,690 Views
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

Labels (1)
0 Kudos
Reply
7 Replies

1,226 Views
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 Kudos
Reply

1,226 Views
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 Kudos
Reply

1,225 Views
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 Kudos
Reply

1,225 Views
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 Kudos
Reply

1,225 Views
LeonardoSandova
Specialist I

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

0 Kudos
Reply

1,225 Views
rogergipson
Contributor I

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

Thank you.

Roger

0 Kudos
Reply

1,225 Views
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 Kudos
Reply