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.

DS90UB941AS-Q1: In a structure like mine, how do I set up the UB941 aliases so that the processor can iic access both Dispaly A and Dispaly B at the same time.

Part Number: DS90UB941AS-Q1

Hi TI members:

The block diagram is as follows, I want to access displayA and B at the same time, I configure the UB941 alias register as follows to access displayA(0x35 alias) only, there is no way to access displayB(0x36 alias ).

#define TFT_MCU_CLIENT_ADDRESS (0x35)
#define TFT_MCU_ALIAS_A                   (0x35)
#define TFT_MCU_ALIAS_A                   (0x36)
#if 1
{0x0c, 0x1E, 0x01, 0x5},
{0x0c, 0x07, TFT_MCU_CLIENT_ADDRESS<< 1, 0x5},
{0x0c, 0x08, TFT_MCU_ALIAS_A<< 1, 0x5},
{0x0c, 0x03, 0x9A, 0x5},


{0x0c, 0x1E, 0x02, 0x5},
{0x0c, 0x07, TFT_MCU_CLIENT_ADDRESS<< 1, 0x5},
{0x0c, 0x08, TFT_MCU_ALIAS_B<< 1, 0x5},
#endif

  • Sorry about the mistake.

    #define TFT_MCU_ALIAS_B                   (0x36)

  • Hello,

    {0x0c, 0x1E, 0x02, 0x5},
    {0x0c, 0x07, TFT_MCU_CLIENT_ADDRESS<< 1, 0x5},
    {0x0c, 0x08, TFT_MCU_ALIAS_B<< 1, 0x5},

    The above portion of code is overriding the below:

    #if 1
    {0x0c, 0x1E, 0x01, 0x5},
    {0x0c, 0x07, TFT_MCU_CLIENT_ADDRESS<< 1, 0x5},
    {0x0c, 0x08, TFT_MCU_ALIAS_A<< 1, 0x5},
    {0x0c, 0x03, 0x9A, 0x5},

    If you need to program multiple aliases, you will need to use registers 0x07 and 0x08 for the first ID/Alias, then for the second, you should use the additional registers found in addresses 0x70-0x7D:

    Additionally, it seems that the SER I2C address in the block diagram does not match the address used in your code. Please make sure you are using the correct SER address.

    Regards,

    Ben

  • Hi Ben,

      Thanks for the quick reply.I'm confused here.The above portion of code is overriding the below.I'm aliasing port0 and port1 here.

       Regards

  • Hello,

    This register can only be programmed for one remote device. The port select determines which port the remote device is accessed through. For the second remote device, please use the additional registers I mentioned previously.

    Regards,

    Ben Dattilo