Low Power Consumption Mode
When used as a coprocessor, the Atlas 200 AI accelerator module supports the deep sleep and fast wakeup functions to reduce power consumption.
The deep sleep and fast wakeup functions require the GPIO2 and GPIO6 pins. The following figure shows the application scenario and pins.
- GPIO2 is an output pin that indicates the hibernation status of the Atlas 200 AI accelerator module.
- When the GPIO2 output is the high level, the Atlas 200 AI accelerator module is in the deep sleep state.
- When the GPIO2 output is the low level, the Atlas 200 AI accelerator module is in the wakeup state.
- GPIO6 is an input pin used to control the Atlas 200 AI accelerator module to enter the deep sleep state or wake up.
- When the GPIO6 input is the high level, the Atlas 200 AI accelerator module enters the deep sleep state.
- When the GPIO6 input is the low level, the Atlas 200 AI accelerator module wakes up quickly.
- Before starting the Atlas 200 AI accelerator module, ensure that the GPIO6 pin is at the low level. Otherwise, hibernation and wakeup will become invalid.
- If the Atlas 200 AI accelerator module wakes up from deep sleep during an upgrade, the upgrade will become abnormal.
- During SoC power-off on the control end, if the GPIO6 input pin is floated or the state of the pin is changed, the Atlas 200 AI accelerator module hibernation status may become abnormal.
- Hibernation and wakeup are not supported when the PCIe is enabled (the enabling status is controlled by the hardware pin).
Deep Sleep
The Atlas 200 AI accelerator module controls the system to enter the deep sleep state by using the GPIO6 pin.
Basic Process
- When the GPIO6 input is the high level, deep sleep is enabled.
- When the Atlas 200 AI accelerator module detects a rising edge interrupt from GPIO6, it enters the deep sleep state and sets GPIO2 to the high level.
- Internal modules of the Atlas 200 AI accelerator module, such as the NIC, eMMC, and flash controller, are powered off and enters the deep sleep state.
Fast Wakeup
After the Atlas 200 AI accelerator module enters the deep sleep state, the main processor can quickly wake it up by using the GPIO6 pin.
Basic Process
- When the GPIO6 pin input is the low level, wakeup is enabled.
- When the Atlas 200 AI accelerator module detects a falling edge interrupt from the GPIO6 pin, it starts to wake up and sets the GPIO2 pin to the low level.
- Internal modules of the Atlas 200 AI accelerator module, such as the NIC, eMMC, and flash controller, start working.