i2c communication in uboot

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

i2c communication in uboot

1,308 次查看
mathew_k_t
Contributor II

Hi,

I have an LCD module. I would like to initialize the LCD from uboot over i2c. I'm using imx6ull based custom board.

Are there any existing solutions available to do that?

If not, how I can get the i2c access in uboot?

Thanks in advance.

0 项奖励
2 回复数

1,257 次查看
igorpadykov
NXP Employee
NXP Employee

Hi mathew_k_t

i2c example can be found in pmic initialzation (function power_init_board())

in uboot-imx/tree/board/freescale/mx6ullevk/mx6ullevk.c

mx6ullevk.c\mx6ullevk\freescale\board - uboot-imx - i.MX U-Boot 

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

0 项奖励

1,257 次查看
mathew_k_t
Contributor II

Hi,

I have read about i2c commands in u-boot. Can I use that here?

Could you give me an example of "i2c write" command with -s(bulk of bytes)?

0 项奖励