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.

DS90UB948-Q1: can 949 read GPIO_REG value of 948 via I2C

Part Number: DS90UB948-Q1

Hi team,

can the 949 read the D_GPIO and GPIO_REG value via I2C? customer use D_GPIO2 and GPIO_REG[6] as fault indicator, they would like read these pin status in the 949 side.

in the datasheet, for the GPIO_REG is said it can read in local register access and remote register acces, it is mean 949 can remote read GPIO_REG of 948,right?

do you have documents talking about GPIO application? thank you

  • Hi Betty,

    Thanks for reaching out.

    Yes, after configuring  GPIO/D_GPIO to be in the input mode (in this case: Address = 0x1E GPIO1_2_CONFIG and Address = 0x20 GPIO5_6_CONFIG), the input value can be read via I2C through these registers:

    GPI_PIN_STATUS_1 Register (Address = 0x6E)

    GPI_PIN_STATUS_2 Register (Address = 0x6F)

    and you can use  PORT1_SEL and PORT0_SEL bits (0x34[1:0] register) to select between GPIO values (PORT0_SEL=1, PORT1_SEL=0) or D_GPIO values (PORT0_SEL=x, PORT1_SEL=1)

    Re: "do you have documents talking about GPIO application? "

    No there is no separate document about GPIO application. You can refer to the datasheet, section 7.3.9 for details about General-Purpose I/O (GPIO). If you still have any questions, please let us know.

    Best Regards,

    Solomon