LS1043A - I2C module baremetal project

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

LS1043A - I2C module baremetal project

640 Views
babatejbotcha
Contributor I

Need to enable the INA220 current sensor through I2C module of LS1043A RDB,
Could you please share me the code of I2C initilization, transfer, receive sequences inorder to access the INA220 digital current sense amplifier.

Labels (1)
Tags (1)
0 Kudos
1 Reply

509 Views
Pavel
NXP Employee
NXP Employee

Look at the Section 8.3.4.3 od NXP SDK 2.0-1703 documentation:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

This Section contains description for using the INA220 Linux driver.

 

See also the Section 8.4.1.

 

See the Chapter 11.4 of NXP LSDK 18.03 documentation about using the INA220 Linux driver:

https://www.nxp.com/docs/en/supporting-information/LSDK-KC-REV18.03.pdf


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos