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.

DS90UB914A-Q1: How can I read 16bit Registeradress with the Analog Launch Pad tool?

Part Number: DS90UB914A-Q1
Other Parts Discussed in Thread: USB2ANY

For Reading 8 bit Register i can use the following Command:

board.ReadI2C(devAddr, regIndex, regLength= 1)

The Slave has 16bit Register for example 0x3012 and the Device Adress 0x60, when i want to read it like this: board.ReadI2C(0x60, 0x3012, 1)

I get the answer: 0

Is the syntax right and i have an other problem for communication, or do i use the wrong syntax?

Thank you for help

  • Hello,

    I believe there is support for 16bit writes but not reads. Please try example below:

    board.WriteI2C(0x60,0x30,[0x12,0x01])
    The imager device ID is 0x60, the 16-bit address is 0x3012, and the data is 0x01.

    You can experiment if a variation of this works for read. Are you using usb2any or Aardvark?

    Thanks,
    Vishy