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: DS90UB941AS-Q1+948 GPIO through config

Part Number: DS90UB941AS-Q1

HI

I want to put PWM signal input from GPIO1 of 941 through GPIO1 of 948. And control the level output of 948GPIOI0/GPIO2 through 941 GPIOI0/GPIO2

My configuration is

Write( 941, 0x1E, 0x01)

Write( 941, 0x0D,0x30)

Write( 941, 0x0F,0x55)

Write( 948, 0x34, 0x01)

Write(948, 0x1E,0x10)

Write(948, 0x1F,0x55)

But the 941 can't transmit the level signal to the 948's GPIO0/1/2

Am I configured correctly?

Are there registers that need to be configured for this transfer?

Best Regards

  • Hello Luuel,

    PWM signal input 941AS GPIO1 ==> 948 GPIO1 output.
    SER 0x0E[3:0]= 0x03
    DES 0x1E[3:0]= 0x05
    Please refer to 941AS datasheet Table 8-2.


    Control the level output of 948 GPIOI0/GPIO2 through 941AS GPIOI0/GPIO2

    Why do not you simply controll the GPIOs via I2C by writing to the DES registers? i.e. for GPIO0 on the DES write 0x1D[3:0]=0x01 for low, and 0x1D[3:0]=0x09 for High.
    and for GPIO2 on the DES write 0x1E[7:4]=0x01 for low, and 0x1E[7:4]=0x09 for High.

  • Hello Jaradat

    Ok, we can control GPIO0/2 of 948 by writing registers
    The problem now is, we still can't output pwm on gpio1 of 948, gpio1 is always low
    Our current configuration

    Write( 941, 0x0D, 0x03)

    Write( 941, 0x0E, 0x53)

    Write(948, 0x1D, 0x01)

    Write(948, 0x1E, 0x15)

    If I set 941 to DES
    948 is set to SER
    The registers are written as follows
    Write( 941, 0x0E, 0x55)
    Write(948, 0x1E, 0x13)
    The level on gpio1 of 948 is still 0
    But the amplitude of gpio1 from soc to 941 is reduced by 2v
    Can you analyze where the problem is?

    Best Regards

  • Hello Luuel,

    I will check and come back to you during the day!

  • Hello Luuel,

    please follow the steps shown in this thread and see if that works for you! But please make sure to use the register values I shared with you above for transmitting GPIO1 to GPIO1.