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.

DS90UB926Q-Q1: How to allocate the master and slave of I2C

Part Number: DS90UB926Q-Q1


Hi, support team

My customer has the questions as follow:

About the follow picture,

1. How to allocate the master and slave of I2C

2. In general, the address of the slave (an example)

Thanks so much.

Best regards,
Yuki

  • Hi Yuki, 

    Here is an example for the setup. If the devices had the following physical I2C addresses:

    941  - 0x18 

    926  - 0x58 

    MCU2  - 0x24

    There is no allocation needed from MCU1 to the 941. 

    On the 941 

    register SlaveID_0 will need to be set to the physical address of the 926 (0x58)

    register SlaveAlias_0 will need to be set as the alias for SlaveID_0, this can be anything but I recommend keeping it the same as SlaveID_0 for simplicity and continuity (0x58)

    register SlaveID_1 will need to be set to the physical address of MCU2 (0x24)

    register SlaveAlias_1 - 0x24

    On the 926

    register SlaveID[0] will need to be set to the physical address of MCU2 (0x24)

    register SlaveAlias[0] - (0x24)

    Hope this helps, 

    Shu