如题。
Caster Brown:
根据LM4F232H5QD的手册说明,其I2C接口支持multimaster support, and 7-bit addressing mode。
\StellarisWare\examples\peripherals\i2c\master_slave_loopback.c这个是用来测试I2C的回环模式的,类似于UART的LOOPBACK模式。即:既做主机发送,又做从机接收
谢谢JSW-p,
是用来测试I2C的回环模式的,
这个例程“ \StellarisWare\examples\peripherals\i2c\master_slave_loopback.c”
是不是稍作修改就可以用作 multi-master 模式?
Caster Brown:
呵呵 建议重新写过一个工程,功能上可以参考其相关的实现。还是有些区别的
我们发现在LM3S811评估板上以下I2C测试程序是可以用的,
但是在JSW-M4EVB 评估板上不能用,不知道是什么原因。
\StellarisWare\examples\peripherals\i2c\master_slave_loopback.c
应该不会和M4没有量产无关吧?