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.

How to set GPIO2 output after 10ms powerup?

Part Number: DS90UB948-Q1
Other Parts Discussed in Thread: DS90UB949-Q1EVM

Tool/software:

Hi Ti-teams, 

Our Android system included Android board + DS90UB949-Q1EVM + 948 + Touchscreen.

We want to make GPIO2 output (active high) after 10ms system-powerup, 

How to make such delay by register-setting?

Thanks for your supports.

  • Hi Huang,

    Delay could be added in software prior to GPIO enable command. For example in python you can do the following.

    For example to force GPIO2 high on the 949 side you can write the following.

    import time
    
    serAddr = 0x18 
    time.sleep(0.01) #10 ms 
    board.WriteI2C(serAddr,0xe,0x90) #Setting GPIO2 high

    Regards,
    Fadi A.