LS1043A - I2C module baremetal project

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

LS1043A - I2C module baremetal project

691 次查看
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.

标签 (1)
标记 (1)
0 项奖励
1 回复

560 次查看
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 项奖励