天嵌 ARM开发社区

 找回密码
 注册
查看: 1654|回复: 0

uboot中关于i2c_init函数的从机地址

[复制链接]
fengc234 发表于 2013-9-30 11:27:12 | 显示全部楼层 |阅读模式
在uboot board\embedsky\tq3358\Evm.c中的i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);为何定义CONFIG_SYS_I2C_SLAVE为1呢?? 在TPS65910的文档里有这么一句话 The general-purpose I2C module using one slave hard-coded addresse (ID1 = 2Dh). TheSmartReflex I2C module uses one slave hard-coded address (ID0 = 12h).对应不上啊????
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-27 10:01 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表