3 Replies Latest reply on Jun 25, 2015 11:52 PM by sam.wang Branched from an earlier discussion.

    Does I2C write have length limitation? (How about size > 16B) - Con't

      Hi dmiya


      Just came across this post: Does I2C write have length limitation? (How about size > 16B) - Con't

       

      It seems the documentation is quite confusing.

       

      For "datasheet of BCM20737", are you referring to this document? WICED Smart Hardware Interfaces

      1. In this doc, it says "maximum transaction length of 16 bytes." But the comment of function "cfa_bsc_OpExtended" says "the size of the address plus the size of the data must be <= 8". Could you confirm it's 8 or 16?


      2. Is maximum transaction length referring to (bufCount + addrCount)?


      CFA_BSC_STATUS cfa_bsc_OpExtended(UINT8* buf,

                               UINT16 bufCount,

                               UINT8* addr,

                               UINT8 addrCount,

                               UINT8 slaveAdr,

                               UINT8 operation);

       

      ps. one comment of function "cfa_bsc_OpExtended" is "

      both addressed and unaddressed

      //      The amount of data read/written can (not?) exceed 8", which I guess it's a typo?