how do I recover from sda stuck with a bare metal imx6

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

how do I recover from sda stuck with a bare metal imx6

572 Views
rogergipson
Contributor I

Please help, If anyone knows the answer.

I am having a devil of a time with sda being stuck during reads on the i2c bus for a single core imx6.

I NEED bare metal code for the i2c routines for the imx6 .. I am very far behind now.  Any help would be appreciated.

Thank you...

Tecfacet at yahoo dot com

Labels (1)
0 Kudos
2 Replies

416 Views
YixingKong
Senior Contributor IV

Roger, please click Corret Answer/Helpful answer, if your question has been answed.

Thanks,

Yixing

0 Kudos

416 Views
israelpz
Senior Contributor I

Hi,

The SDK have bare metal driver for i2c and also a a test example.

You could get it in the i.mx6 download page only select your desired processor (i.mx6q or i.mx6dl, etc).

For example the i.mx6q is in i.MX6Q Product Summary Page is under Snippets, Boot Code, Headers, Monitors, etc. (3).


Check under sdk/drivers/i2c. The i2c code depends of other code like pll.


Regards,

-Israel.

0 Kudos