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.

[参考译文] 如何在10ms 上电后设置 GPIO2输出?

Guru**** 2461570 points
Other Parts Discussed in Thread: DS90UB949-Q1EVM

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1485407/how-to-set-gpio2-output-after-10ms-powerup

器件型号:DS90UB948-Q1
主题中讨论的其他器件:DS90UB949-Q1EVM

工具与软件:

尊敬的 TI 团队成员:  

我们的 Android 系统包括  Android  板+ DS90UB949-Q1EVM + 948 +触摸屏

我们需要 在10ms 的系统上电后使 GPIO2输出(高电平有效)、  

如何 通过设置寄存器来实现此类延迟?

感谢您的支持。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Huang:

    可以在发出 GPIO 使能命令之前在软件中添加延迟。 例如、在 python 中、可执行以下操作。

    例如、要强制 GPIO2在949侧为高电平、您可以写入以下内容。

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

    此致、
    Fadi A.