Hello,
I use SDK_2.0_MK64FN1M0xxx12 the I2C routines for communication, but when I put the hosts set I2C1, the slave is set to I2C0, the two can not communicate properly, why? (SPI also have the same situation)
P.S:The code is downloaded from the NXP,and nothing modification.Accessory is the code for I2C and SPI
Look forward to answer.
各位好:
我使用SDK_2.0_MK64FN1M0xxx12中的I2C例程进行通信,但是当我把主机设为I2C1,从机设置为I2C0时,这两个没法正常通信,请问这是为什么?(SPI也有同样的情况)
附件是我从NXP下载下来的例程代码
期待各位的回复。
Original Attachment has been moved to: dspi_interrupt.zip
Original Attachment has been moved to: I2C_interrupt.zip
你好,
不知道你用的是哪个版本的FRDM-K64F的板子, 老版本的K64板子的I2C 信号线有错误. 具体信息可以参考errta:
http://cache.nxp.com/files/32bit/doc/errata/FRDMK64F_ERRATA.pdf
您好,
谢谢您的回复,我在重新查看了程序和线路后,发现是I2C0和I2C1之间的连接线出现了问题,还是非常感谢您的回答。:smileyhappy: