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.

UCD9090 Add delay to Input Pin

Other Parts Discussed in Thread: UCD9090

Hi Experts,

I have a small query in UCD9090.

 There is a MANUAL RESET switch connected to one of the GPIOs in UCD9090. Our requirements are

  1. For short duration press(<500ms) of the MANUAL RESET, I want a particular operation to be performed, say, toggle another GPIO
  2. For longer duration press(>1000ms) of the MANUAL RESET, I want some other operation to be performed.

Can you please tell me whether this is possible?

Thanks in advance :)

  • It depends on your application. It is possible considered the below configuration using 1 GPI pin and 2 Logic Controlled GPO pins

    1. Connect the MANUAL RESET switch to the GPI pin

    2. Configure 2 Logic controlled GPO to have the state depended on GPI state. The 2 GPO pins are configured almost identical, except the delay time: 1 GPO has 0 ms and the other GPO has 500 ms delay time. If you use Fusion Digital Power Designer GUI, the configuration looks like the below.

    When GPI pin (MANUAL RESET switch) is pressed for a duration less than 500 ms => GPI is de-asserted for a duration of less than 500 ms => GPO #1 is de-asserted for 500 ms, and then asserted, whereas GPO #2 stays asserted.

    When GPI pin (MANUAL RESET switch) is pressed for a duration of more than 500 ms => Both GPO pins are toggled.

    => If only GPO #1 is toggle => MANUAL RESET switch is pressed for less than 500 ms => do something. If both GPOs are toggle => MANUAL RESET switch is pressed for >= 500 ms => do something else.

  • Thank you Anne.

    I will check and get back!