Skip to content

Simplify GPIO sequence on V2 for reset

On DI/OT V2, we use a sequence to reset the device:

PWR_Cycle_REQ = GPIO_PIN_VALUE_HIGH
PWR_Cycle_STR = GPIO_PIN_VALUE_LOW
PWR_Cycle_STR = GPIO_PIN_VALUE_HIGH
sleep_ms(1000);
PWR_Cycle_STR = GPIO_PIN_VALUE_LOW
PWR_Cycle_REQ = GPIO_PIN_VALUE_LOW
PWR_Cycle_STR = GPIO_PIN_VALUE_HIGH
sleep_ms(1000);
PWR_Cycle_STR = GPIO_PIN_VALUE_LOW

According to our discussion, this can be simplified to a simple

PWR_Cycle_REQ = GPIO_PIN_VALUE_HIGH

which is then consistent on both platforms.