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.

INA226EVM: USB BULK Command AddressID

Part Number: INA226EVM
Other Parts Discussed in Thread: TI-SCB

Tool/software:

Dear TI,

Could please kind share example how to form the channelAddressIDs byte in USB BULK Channel if we connecting 4 INA226EVM to a TI-SCB.

Example: 

EVM1 - SW1 - GND, SW2 - GND

EVM2 - SW1 - VS, SW2 - GND

EVM3 - SW1 - SDA, SW2 - SDA

EVM4 - SW1 - SDA, SW2 - SCL

  • Hello, 

    Here is how to get the value for channelAddressIDs:

    First, lets get the 4 LSBs of each addresses for each EVM based on the switch settings. This is from the table in the datasheet:

    4 LSBs of each EVM are:

    EVM1: 0b0000

    EVM2: 0b0100

    EVM3: 0b1010

    EVM4: 0b1011

    Then we will string together the LSBs in this order: EVM4 EVM3 EVM2 EVM1

    This puts the final binary as 0b 1011 1010 0100 0000

    This number in decimal is: 47680

    So for your setup above, channelAddressIDs is 47680.

    As a side note, in your screenshot, you highlighted the number 12 in the acknowledge, but the number 49 is the one for the channelAddressIDs.

    Regards,

    Mitch