Cypress技术论坛
直播中

刘超

8年用户 1511经验值
私信 关注
[问答]

FX3的I2C寄存器与DMA传输模式区别是什么?

你好,
FX3中的I2C接口的寄存器和DMA传输模式之间的区别是什么(硬件级别)?
我知道,如果只需要传输一些字节和DMA模式,在更多数据(应该是16字节的多堆)的情况下,应该使用寄存器模式。
I2C线上的行为是否使用寄存器或DMA模式,或者有一些不同吗?传输速度有什么不同吗?
当做!

以上来自于百度翻译


     以下为原文
  Hi,
    what's exactly the difference (on hardware-level) between the register- and the DMA-transfer mode of the I2C-interface in FX3?
    I understood, the register-mode should be used if only some bytes are to be transferred and the DMA-mode in case of more data (which should be multpile of 16 bytes).
    Is the behaviour on the I2C-wire the same using either register- or DMA-mode or are there some differences? Are there any differences in transfer-speed?
     
    Regards!

回帖(1)

何柳青

2019-4-12 08:45:50
I2C线上的行为将是相同的,而不考虑该方法。2种方法是基于固件如何在内部处理传输,因此基于传输的推荐的大小。
你应该能够通过CYU3I2C.H的评论找到更多的信息。
当做,
阿南德

以上来自于百度翻译


     以下为原文
  The behavior on the I2C lines is going to be the same irrespective of the method. The 2 methods are based on how the firmware handles the transfer internally hence the size of transfer based recommendation.
    You should be able to find more information through the comments in cyu3i2c.h
    Regards,
    Anand
举报

更多回帖

发帖
×
20
完善资料,
赚取积分