您好!
我的ARM平台是 Cortex A9,MSP430G2231通过P1.6、P1.7与ARM核I2C总线通信,ARM上跑的是Linux系统,Linux内核有I2C总线驱动。
所以除了MSP430端的程序外,ARM端我还需要做MSP430的Linux设备驱动程序,请问我如何获得MSP430 设备在I2C总线上的地址?
首次做Linux I2C驱动,整个开发流程也有点混乱,请指导,谢谢!!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
I2C Slave地址你可以自己设定,参见User's Guide page465:
Jacky,你好,按你的意思是不是:
I2C slave地址设定与硬件无关?只要在软件里设定就好?比如MSP430里设定slave地址为0x48,只要在上层linux 应用层里设定I2C设备的slave地址为0x48,MSP430就能正确收到I2C消息?