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.

MSP430G2553: I2C - 16bit addressing

Part Number: MSP430G2553


Dear TI Team, 

please could you provide a code example for a I2C 16bit addressing? Also a document ion "how to do" would work? 

Thanks and best regards

Jens 

  • Are you thinking of 10-bit bus addressing [Ref User Guide (SLAU144J) Secs 17.3.4.1.3 and 17.3.4.2.3] or working with a slave which uses 16-bit register numbers [e.g. VL53L3CX].

    I don't recall seeing any examples of the former. The latter depends on the slave, notably byte order.

  • Hi Bruce, 

    In the Reference Guide is for my point of view only a 10 bit addressing of the slave described. We have to use 16 Bit  Register Numbers of the slave. Please could you help with an solution code/proposal for this?

    Thanks and best regards

    Jens 

  • What hardware/software do you have now?

    When I moved from the VL53L0 (8-bit register numbers) to the VL53L3 (16-bit register numbers) all I had to do was change my register-read/write functions to send two register-number bytes rather than one, since the lower-level (I2C) driver didn't care. As I recall the VL53L3 wanted the register numbers MSByte first.

**Attention** This is a public forum